This python module enables python programs to specify and validate their input parameters via a schema, while allowing those parameters to be passed into it in different ways in different contexts.
In particular it will allow you to
- Specify an input_json file which contains the parameters via the command line
- OR pass a dictionary directly into the module with the parameters defined
- AND/OR pass individual parameters via the command line, in a way that will override the input_json or the dictionary given.
In all cases, it will merge these different parameters into a single dictionary and then validate the parameters against your schema.
The User Guide¶
This is where you should start to understand how to use argschema
This contains the complete documentation of the api
Indices and tables¶
We are planning on occasional updating this tool with no fixed schedule. Community involvement is encouraged through both issues and pull requests. Please make pull requests against the dev branch, as we will test changes there before merging into master.
- Issue Tracker: https://github.com/AllenInstitute/argschema/issues
- Source Code: https://github.com/AllenInstitute/argschema