Using Stevedore in Your Application

updated: 2022-11-28 08:12

Using Stevedore in Your Application¶

This tutorial is a step-by-step walk-through demonstrating how to define plugins and then use stevedore to load and use them in your application.

  • Guidelines for Naming Plugins
    • Names and Namespaces
  • Creating Plugins
    • Example Plugin Set
    • A Plugin Base Class
    • Concrete Plugins
    • Registering the Plugins
    • setuptools Metadata
    • Adding Plugins in Other Packages
  • Loading the Plugins
    • Loading Drivers
    • Loading Extensions
    • Why Not Call Plugins Directly?
  • Testing

See also

  • Dynamic Code Patterns: Extending Your Applications with Plugins

  • Using setuptools entry points

  • Package Discovery and Resource Access using pkg_resources

  • Using Entry Points to Write Plugins | Pylons

  • importlib.metadata

updated: 2022-11-28 08:12
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

questions?
  • Guides
  • Install Guides
  • User Guides
  • Configuration Guides
  • Operations and Administration Guides
  • API Guides
  • Contributor Guides
  • Languages
  • Deutsch (German)
  • Français (French)
  • Bahasa Indonesia (Indonesian)
  • Italiano (Italian)
  • 日本語 (Japanese)
  • 한국어 (Korean)
  • Português (Portuguese)
  • Türkçe (Türkiye)
  • 简体中文 (Simplified Chinese)

stevedore

  • stevedore User Guide
    • Patterns for Loading
    • Patterns for Enabling
    • Using Stevedore in Your Application
    • Sphinx Integration
    • Dynamic Code Patterns: Extending Your Applications with Plugins
    • ChangeLog
  • Extension Manager Classes
  • Installation

OpenStack

  • Projects
  • OpenStack Security
  • Common Questions
  • Blog
  • News

Community

  • User Groups
  • Events
  • Jobs
  • Companies
  • Contribute

Documentation

  • OpenStack Manuals
  • Getting Started
  • API Documentation
  • Wiki

Branding & Legal

  • Logos & Guidelines
  • Trademark Policy
  • Privacy Policy
  • OpenStack CLA

Stay In Touch

The OpenStack project is provided under the Apache 2.0 license. Openstack.org is powered by Rackspace Cloud Computing.