Search
  • Software
    • Overview
    • Project Navigator
    • Sample Configs
    • Security
    • Get Started
    • Roadmap
    • Latest Release
    • Source Code
  • Users
    • Overview
    • Telecoms and NFV
    • OpenStack in the Enterprise
    • Application Developers & ISVs
    • Superuser Magazine
    • User Survey
  • Community
    • Welcome! Start Here
    • OpenStack Foundation
    • OpenStack Wiki
    • User Groups
    • Speakers Bureau
    • Supporting Companies
    • Jobs
    • Join The Community
  • Marketplace
  • Events
    • Overview
    • The OpenStack Summit
    • More OpenStack Events
    • OpenStack Days
  • Learn
    • Training
    • Get Certified
    • Ask a Technical Question
    • Superuser Magazine
    • Summit Videos
    • Analyst Reports
    • News
    • Blog
  • Docs
  • Join
    • Sign up for Foundation Membership
    • Sponsor the Foundation
    • More about the Foundation
  • Log In

Using Stevedore in Your Application

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

this page last updated: 2020-07-04 12:08:57
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.

found an error? report a bug 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 3.2.3.dev2

  • 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
  • g
  • 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.