Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

polyants

POLYHUB system helpers.

pipeline status PyPI version

logo

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 --version none

Release History

  • 0.16a0
    • jsqlib safe qouting support (#71)
    • workflow trigger_advance call fix (#70)
    • Redis caching from pickle to json migration (#69)
  • 0.15a0
    • column names escaping and data types fixed list (#68)
  • 0.14a0
    • postgresql provider hook to use in scripts (#66)
    • http calls timeout support (#65)
    • viapi requests timeout support (#64)
    • build_url base_url support (#63)
    • aiagent object type support (#61)
  • 0.13a0
    • python, grpcio, protobuf, jsonschema requirements update (#59)
    • ODS, ODF report format support (#60)
  • 0.12a0
    • catalog switched off errors list updated (#57)
    • skipper's stream instantiation fix (#58)
  • 0.11a0
    • workflow object type support (#51)
    • product object type support (#52)
    • report generator timeout support (#53)
    • internal token based API requests (#54)
    • data quality API support (#55)
    • platform aware path sanitizer (#56)
  • 0.10a0
    • temp file context manager (#38)
    • telegram notification support (#45)
    • rate limiter integration (#46)
    • using lookup attribute dataType as default lookup key column type (#47)
    • support for alert attachments as parameters (#48)
    • support for adding and deleting historical records in datagrids with lookups (#49)
    • support for SMB storage (#50)
  • 0.9a0
    • datagrid filters boolean values handling (#44)
    • catalog timeout error handling (#43)
    • fix_base64_padding function (#42)
    • to_plain_json should not sort target json attributes (#40)
    • column attribute should not be required for datagrid filter attributes (#39)
    • Visiology v3 API support (#37)
  • 0.8a0
    • SYNC_FILES bucket token capability (#36)
  • 0.7a0
    • REPOSITORY object type and auxiliary functions (#35)
  • 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

  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

Metadata

Release files for polyants 0.16a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polyants 0.16a0
File Size Uploaded
polyants-0.16a0.tar.gz 47.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polyants 0.16a0
File Interpreter ABI Platform
polyants-0.16a0-py3-none-any.whl Python 3 none any Details

Total release size: 111.4 kB

Release files / polyants-0.16a0.tar.gz

Download URL polyants-0.16a0.tar.gz
Size 47.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8e0a0768b9d3531f9e2431db2217e35c74a4cea372dd7011bb68f7e6bdf5d604
BLAKE2b-256 checksum
How to use checksums
1205eb2f7e3a6273c8b6042d0fc1fadda02f2cc8bc2c97c10754fc0e261decea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.12.14 Linux/5.15.154+

Release files / polyants-0.16a0-py3-none-any.whl

Download URL polyants-0.16a0-py3-none-any.whl
Size 63.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46447180fd2482366ffbfcb6dd91b74a99e3e116738840d3efc5da05aa704637
BLAKE2b-256 checksum
How to use checksums
ad135bd6625ea4ed69e49e3b6d296272996f1867d0a50d8f62839c968dd09450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.12.14 Linux/5.15.154+
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page