Conda Recipe Manager#
Latest Version: 0.8.0
Conda Recipe Manager (CRM) is a library and tool set capable of parsing conda recipe files. It is intended to be used by package builders and developers to automate the generation and editing of conda recipe files.
This website acts as an API document for using conda-recipe-manager in other projects. For details about how to use the CLI tools provided by this project or how to contribute to this project directly, please visit our repository on GitHub.
Modules Overview#
Here is a brief overview of all of the modules provided by Conda Recipe Manager, available as import conda_recipe_manager.<module>.
A full over of all the modules provided can be found here.
commands- provides a set of command line interfaces that can be used to test-out and work with the primary features of the library without developing custom code.fetcher- provides tools for fetching and normalizing remote resources. Files that are downloaded are done so using secure temporary directories.grapher(WIP) - provides tools that are capable of plotting and understanding how recipe dependencies are related to each other.licenses(WIP) - provides license file utilities.ops- provides higher-level recipe editing tooling than what you might find in theparsermodule. In other words, library components found inopstend to useparsercomponents.parser- provides various tools to parse common conda recipe file formats and other conda-build constructs.scanner(WIP) - provides tools for scanning files and other feedstock/recipe artifacts.utils- provides general utilities that have no other sensible home and used by the other modules.
Notes about logging#
CRM uses the standard Python logging library. However, the library modules use the NullHandler, so no logs are emitted by default. It is up to the client program to define a log handler.
A log handler is defined and used in the provided crm command line interface. By default, WARNING-level-and-above messages are reported to STDERR. Use crm --verbose to see all the logs.