Last updated:
0 purchases
polyants 0.4a0
polyants
POLYHUB system helpers.
Installation
OS X & Linux & Windows:
pip install polyants
Usage example
from polyants.polyhub.helpers.common import get_now
print(get_now())
Development setup
tool requirements:
poetry
activating environment
poetry shell
preparing environment
poetry install --no-root
generating grpc artifacts
rm -rf ./polyants/polyhub/grpc/*
touch ./polyants/polyhub/grpc/__init__.py
python -m grpc_tools.protoc -I ./protos --python_out=./ --pyi_out=./ --grpc_python_out=./ ./protos/polyants/polyhub/grpc/*.proto
coverage
$ poetry run pytest --cov
format
$ poetry run black polyants -S
lint
$ poetry run ruff check
type checking
$ poetry run pyre --sequential
Release History
0.4a0
to_plain_json function to remove meta from json definitions (#28)
0.3a0
polyhub helpers starter bundle (#21)
0.2a0
configurable enum class (#3)
0.1a0
mvp (#1)
Meta
[email protected] (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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.