Skip to content

python library to approach xml DOM trees as python dicts with iterating and attribute-getting behavior

License

Notifications You must be signed in to change notification settings

vliz-be-opsci/py-xmlasdict

Repository files navigation

py-xmlasdict

python library to read xml DOM trees as dicts (with iter and gettattribute behaviour)

Started on 2022-02-01

Setup

Start using this project in a virtual environment

$ virtualenv venv
$ source venv/Scripts/activate
$ pip install -r requirements.txt

Initialize to grab dependencies

$ make init       # install dependencies
$ make init-dev   # includes the previous + adds dependencies for developers

Build Docs

$ make docu

Developers

Run Tests

$ make test                                                   # to run all tests
$ PYTEST_LOGCONF=debug-logconf.yml python tests/test_demo.py  # to run a specific test with specific logging

Check the code-style and syntax (flake8)

$ make check