POLYHUB system helpers
Project description
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
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.4a0.tar.gz
(35.3 kB
view details)
Built Distribution
polyants-0.4a0-py3-none-any.whl
(49.8 kB
view details)
File details
Details for the file polyants-0.4a0.tar.gz
.
File metadata
- Download URL: polyants-0.4a0.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c5037dd62f54cf3d53e82a6cf267726154d81ed6e707312609756cdb870242 |
|
MD5 | 2861b1a8b6db51da1d20e23dfa3cfa96 |
|
BLAKE2b-256 | 224af0eafb33ee9faa0896c2b06ef6425348c9e4500924888423c6117e12f20b |
File details
Details for the file polyants-0.4a0-py3-none-any.whl
.
File metadata
- Download URL: polyants-0.4a0-py3-none-any.whl
- Upload date:
- Size: 49.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d67494245814398fb4e3c8a066d4fdd8ab4fcc2b36f89f841adb56d5d0e101 |
|
MD5 | 305fa9def8c42fdf4c5dec1fa828f176 |
|
BLAKE2b-256 | a9688cb0009d18d79235871b8123cdb0c877320033b4e57a49cfcbbf3bef9363 |