Python3 library for parsing pipeline components with their own options.
Project description
Simple Entry Point PipeLines (seppl). Python library for parsing pipeline components with their own options.
seppl takes a very light-weight approach to avoid encroaching too much on your code. If you want to, you can add some compatibility checks between the pipeline components with some additional mixins. However, the execution of the pipeline (and potentially moving data between components) is left to you and your code.
Usage and examples can be found here:
https://github.com/waikato-datamining/seppl
Changelog
0.0.7 (2023-11-09)
Plugin.parse_args now returns any unparsed arguments that were found
the args_to_objects method now raises an Exception by default when unknown arguments are encountered for a plugin (can be controlled with the allow_unknown_args parameter)
0.0.6 (2023-10-11)
enforcement of uniqueness is now checking whether the class names differ before raising an exception.
0.0.5 (2023-10-10)
added OutputProducer and InputConsumer mixins that can be use for checking the compatibility between pipeline components using the check_compatibility function.
0.0.4 (2023-10-09)
added support for dynamic mode which only requires listing the superclass of a plugin and the module in which to look for these plugins (slower, but more convenient)
0.0.3 (2023-10-05)
added generate_entry_points helper method to easily generate the entry_points section for plugins, rather than manually maintaining it
added generate_help and generate_plugin_usage methods for generating documentation for plugins
0.0.2 (2023-10-04)
removed old, logging-related code from Plugin class
added args_to_objects to quickly instantiate plugins from parsed arguments
added example to README.md and example library (https://github.com/waikato-datamining/seppl-example)
0.0.1 (2023-09-28)
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file seppl-0.0.7.tar.gz
.
File metadata
- Download URL: seppl-0.0.7.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56a5a539747ad8814dc6b03615026aed4300c69c842d6687515d29f5b49e0809 |
|
MD5 | 61798beace9d9774cfbed66b0053bfa6 |
|
BLAKE2b-256 | 9581ae4d0ced9acc7544184faf29dd35dc88cf6dfdd617136ed84cbe8c567ab7 |