Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

LiveTribe Plugins

LiveTribe’s simple Python plugin framework.

https://secure.travis-ci.org/maguro/livetribe-plugins.png?branch=master

See the LiveTribe site for more information. See github for the latest source.

About

The LiveTribe Plugins distribution contains a simple Python plugin framework. It defines no classes that need to be implemented nor imposes arbitrary lifecycle events or special plugin information files.

Inspired by Calvin Spealman’s straight plugin, https://github.com/ironfroggy/straight.plugin.

Issues / Questions / Feedback

Any issues with, questions about, or feedback for LiveTribe Plugins should be sent to the livetribe-user list on LiveTribe’s Mailing Lists. For confirmed issues or feature requests, open a case on jira. Please do not e-mail any of the LiveTribe developers directly with issues or questions - you’re more likely to get an answer on the list.

Installation

If you have distribute installed you should be able to do easy_install livetribe-plugins to install LiveTribe Plugins. Otherwise you can download the project source and do python setup.py install to install.

Dependencies

The LiveTribe Plugins distribution is supported and tested on Python 2.x (where x >= 6) and Python 3.x (where x >= 2).

Additional dependencies are:

  • (to generate documentation) sphinx

  • (to auto-discover tests) nose

Examples

Here’s a basic example (for more see the examples section of the docs):

from livetribe.plugins import collect_plugin_classes
from acme.framework import Factory

for plugin in collect_plugin_classes('acme.plugins', subclasses_of=Factory, recurse=True):
    instance = plugin()
    instance.work()

Documentation

Full Documentation: http://readthedocs.org/docs/livetribe-plugins.

You will need sphinx installed to generate the documentation. Documentation can be generated by running python setup.py doc. Generated documentation can be found in the doc/build/html/ directory.

Testing

The easiest way to run the tests is to install nose (easy_install nose) and run nosetests or python setup.py test in the root of the distribution. Tests are located in the tests/ directory.

Metadata

Release files for livetribe-plugins 1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for livetribe-plugins 1.0a1
File Size Uploaded
livetribe-plugins-1.0a1.tar.gz 19.6 kB Details

Release files / livetribe-plugins-1.0a1.tar.gz

Download URL livetribe-plugins-1.0a1.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
77cff2b0be22da1cc724de4c40be745492e5e65dcef234a705f6dff2da224ef4
BLAKE2b-256 checksum
How to use checksums
72ae382859136f4c5c014d3bf88f2c862d468d8d90f9aa3023b88c95b389b383
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0a1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page