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.6a0
- float schema version number support (#34)
- new object type
SCRIPT
and it's types (#35)
- 0.5a0
- process_folder function without recursion (#29)
- object settings caching (#30)
- function to encode a string as urlsafe base64 (#31)
- semi-automatically generation of
calculated
attribute in datagrid definitions (#32)
- 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.6a0.tar.gz
(36.0 kB
view details)
Built Distribution
polyants-0.6a0-py3-none-any.whl
(50.2 kB
view details)
File details
Details for the file polyants-0.6a0.tar.gz
.
File metadata
- Download URL: polyants-0.6a0.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a73cf6e17efec4032fe9c296b36b7c1d554cdea68c46e64637adf0391c3b044 |
|
MD5 | 012891d4e04c0864d42e1c99747b392b |
|
BLAKE2b-256 | 2c717aabd741dd95ba5e6485eb2d71b1adb03e561caa494d2752e7221dbe0472 |
File details
Details for the file polyants-0.6a0-py3-none-any.whl
.
File metadata
- Download URL: polyants-0.6a0-py3-none-any.whl
- Upload date:
- Size: 50.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e6f841bfce2a242b0c07058f1281726da7b05006e128a37b1fc68f2c35fbbaf |
|
MD5 | 58387bcca11a278796f18d74dc06479c |
|
BLAKE2b-256 | 04b86b1c24659da84b0bae27e19df0edb2caa23707d14040121991eaa5503f57 |