POLYHUB system helpers
Project description
polyants
POLYHUB system helpers.
Installation
OS X & Linux & Windows:
pip install polyants
Usage example
from polyants.adapters import dict_to_enumdef
SomeEnum = dict_to_enumdef('SomeEnum', {'A': 'a'})
print(SomeEnum.A.value)
Development setup
- coverage
$ poetry run pytest --cov
- format
$ poetry run black polyants -S
- lint
$ poetry run flakehell lint
- type checking
$ poetry run pyre
Release History
- 0.2a0
- configurable enum class (#3)
- 0.1a0
- mvp (#1)
Meta
pymancer@gmail.com (Polyanalitika LLC)
https://gitlab.com/ru-r5/polyants
License
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
Contributing
- Fork it (https://gitlab.com/ru-r5/polyants/fork)
- Create your feature branch (
git checkout -b feature/foo
) - Commit your changes (
git commit -am 'Add some foo'
) - Push to the branch (
git push origin feature/foo
) - Create a new Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
polyants-0.2a0.tar.gz
(2.3 kB
view hashes)