OpenStack

  • Home
  • Projects
  • User Stories
  • Community
  • Blog
  • Wiki
  • Documentation

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

Previous topic

Patterns for Enabling

Next topic

Guidelines for Naming Plugins

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • next |
  • previous |
  • stevedore 1.20.2.dev4 documentation »
© Copyright 2016, DreamHost. Created using Sphinx 1.3.6.