Read and write Java property files, including comments and location info.
This library allows you to read Java property files including all the lesser known formatting details, like Unicode escaping. What sets it apart from similar projects are these requirements:
- Modification of property files with minimal differences due to normalization.
- Comments are parsed and associated with their property key.
- Location information is available, mostly to improve diagnostics for humans.
- The property set can be exposed as a dict-like object with attribute semantics, mainly for use in template engines; stemmed values are supported.
- Provide an optional inclusion mechanism via special comments.
To create a development environment, use these commands:
git clone "https://github.com/Feed-The-Web/javaprops.git"
cd javaprops; deactivate; /usr/bin/virtualenv .venv/$(basename $PWD)
. .venv/$(basename $PWD)/bin/activate
pip install -U pip; pip install -r "dev-requirements.txt"
invoke build --docs
See CONTRIBUTING.md for details on how to give back your improvements and fixes to upstream, so every user can benefit from them.
TODO
TODO
TODO
TODO
TODO
Python
Go
Project sponsored by 1&1.