Skip to main content

POLYHUB system helpers

Project description

polyants

POLYHUB system helpers.

pipeline status PyPI version

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

  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

Project details


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)

Uploaded Source

Built Distribution

polyants-0.2a0-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page