Repository navigation
Full Changelog: 0.2.0...0.2.0.post1
Changelog of this version
- Fixed some typos in README.md.
- Added missing changelog of version 0.2.0.
Changelog of version 0.2.0
-
Added an
environparse-based HTTP server start script for example purpose.-
To access/use this script, run:
$ > [ENVIRONS]... python -m environparse.examples.httpserver
-
-
Added some base path validators.
- These validators are members of class
PathValidators. For example,PathValidators.HasPermissioncan validate the path accessibility with specifiedmodeargument. - To create a custom path validator, please inherit from
environparse.AbstractPathValidatorand implement the__call__()method.
- These validators are members of class
-
Now you can finer control over display of option defaults in help messages through keyword-only argument
show_defaultin parser initialization and option definition. -
Protocol class
DefinedOptionTypeis removed. NowDefinedOption(renamed from_DefinedOption) can use to annotate the return type ofEnvironmentVariableParser.defineOption().