# polyants
> POLYHUB system helpers.
[![pipeline status](https://gitlab.com/ru-r5/polyants/badges/master/pipeline.svg)](https://gitlab.com/ru-r5/polyants/-/commits/master)
[![PyPI version](https://badge.fury.io/py/polyants.png)](https://badge.fury.io/py/polyants)
![](polyants.png)
## Installation
OS X & Linux & Windows:
```sh
pip install polyants
```
## Usage example
```python
from polyants.adapters import dict_to_enumdef
SomeEnum = dict_to_enumdef('SomeEnum', {'A': 'a'})
print(SomeEnum.A.value)
```
## Development setup
- coverage
```sh
$ poetry run pytest --cov
```
- format
```sh
$ poetry run black polyants -S
```
- lint
```sh
$ poetry run flakehell lint
```
- type checking
```sh
$ poetry run pyre
```
## Release History
- 0.2a0
- configurable enum class (#3)
- 0.1a0
- mvp (#1)
## Meta
pymancer@gmail.com ([Polyanalitika LLC](https://polyanalitika.ru))
[https://gitlab.com/ru-r5/polyants](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
1. Fork it (<https://gitlab.com/ru-r5/polyants/fork>)
2. Create your feature branch (`git checkout -b feature/foo`)
3. Commit your changes (`git commit -am 'Add some foo'`)
4. Push to the branch (`git push origin feature/foo`)
5. Create a new Pull Request
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/ru-r5/polyants",
"name": "polyants",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "tools,helpers",
"author": "pymancer",
"author_email": "pymancer@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7d/0c/ab5e646cba0a2a55eb84c9befe663dfc9bd0f40c6f072903f73a85736156/polyants-0.2a0.tar.gz",
"platform": null,
"description": "# polyants\n> POLYHUB system helpers.\n\n[![pipeline status](https://gitlab.com/ru-r5/polyants/badges/master/pipeline.svg)](https://gitlab.com/ru-r5/polyants/-/commits/master)\n[![PyPI version](https://badge.fury.io/py/polyants.png)](https://badge.fury.io/py/polyants)\n\n![](polyants.png)\n\n## Installation\n\nOS X & Linux & Windows:\n\n```sh\npip install polyants\n```\n\n## Usage example\n\n```python\nfrom polyants.adapters import dict_to_enumdef\n\nSomeEnum = dict_to_enumdef('SomeEnum', {'A': 'a'})\nprint(SomeEnum.A.value)\n```\n\n## Development setup\n- coverage\n\n```sh\n$ poetry run pytest --cov\n```\n\n- format\n\n```sh\n$ poetry run black polyants -S\n```\n\n- lint\n\n```sh\n$ poetry run flakehell lint\n```\n\n- type checking\n\n```sh\n$ poetry run pyre\n```\n\n## Release History\n- 0.2a0\n - configurable enum class (#3)\n- 0.1a0\n - mvp (#1)\n\n## Meta\n\npymancer@gmail.com ([Polyanalitika LLC](https://polyanalitika.ru)) \n[https://gitlab.com/ru-r5/polyants](https://gitlab.com/ru-r5/polyants)\n\n## License\n\nThis Source Code Form is subject to the terms of the Mozilla Public \nLicense, v. 2.0. If a copy of the MPL was not distributed with this \nfile, You can obtain one at https://mozilla.org/MPL/2.0/. \n\n## Contributing\n\n1. Fork it (<https://gitlab.com/ru-r5/polyants/fork>)\n2. Create your feature branch (`git checkout -b feature/foo`)\n3. Commit your changes (`git commit -am 'Add some foo'`)\n4. Push to the branch (`git push origin feature/foo`)\n5. Create a new Pull Request\n",
"bugtrack_url": null,
"license": "MPL-2.0",
"summary": "POLYHUB system helpers",
"version": "0.2a0",
"project_urls": {
"Documentation": "https://gitlab.com/ru-r5/polyants/-/wikis/home",
"Homepage": "https://gitlab.com/ru-r5/polyants",
"Repository": "https://gitlab.com/ru-r5/polyants"
},
"split_keywords": [
"tools",
"helpers"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2c8983276ec66814d9bd5f17c532cabccf86925d395b1a54fde54e2d4139beac",
"md5": "a4d0087c38f8b45e5d10c17f712a9e65",
"sha256": "b619650c83c2b5445c656442832c4197cea0732afb0bc840b4d47cd38a64afaa"
},
"downloads": -1,
"filename": "polyants-0.2a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a4d0087c38f8b45e5d10c17f712a9e65",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 2647,
"upload_time": "2023-12-26T12:53:45",
"upload_time_iso_8601": "2023-12-26T12:53:45.838781Z",
"url": "https://files.pythonhosted.org/packages/2c/89/83276ec66814d9bd5f17c532cabccf86925d395b1a54fde54e2d4139beac/polyants-0.2a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7d0cab5e646cba0a2a55eb84c9befe663dfc9bd0f40c6f072903f73a85736156",
"md5": "fd881c08a2ec92d13ff014164f8fed46",
"sha256": "ecf2d9cecad1ca86b2a14cdf6241e5d7c3d0d97635f9f4e0936687676214bca0"
},
"downloads": -1,
"filename": "polyants-0.2a0.tar.gz",
"has_sig": false,
"md5_digest": "fd881c08a2ec92d13ff014164f8fed46",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 2342,
"upload_time": "2023-12-26T12:53:48",
"upload_time_iso_8601": "2023-12-26T12:53:48.380169Z",
"url": "https://files.pythonhosted.org/packages/7d/0c/ab5e646cba0a2a55eb84c9befe663dfc9bd0f40c6f072903f73a85736156/polyants-0.2a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-26 12:53:48",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "ru-r5",
"gitlab_project": "polyants",
"lcname": "polyants"
}