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.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.15a0

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.15a0
File Size Uploaded
polyants-0.15a0.tar.gz 47.6 kB Details

Built distribution (wheel)

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

Total release size: 111.5 kB

Release files / polyants-0.15a0.tar.gz

Download URL polyants-0.15a0.tar.gz
Size 47.6 kB
Tags Source
SHA-256 checksum
How to use checksums
73379032fc61e535286b669f08529894e8192d4ffe4318d6408d3e29107508cb
BLAKE2b-256 checksum
How to use checksums
192382042a6d0c1f503095fa8d3caf8d533a348d6a29fa04176add1e1418cb55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.2 CPython/3.12.14 Linux/5.15.154+

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

Download URL polyants-0.15a0-py3-none-any.whl
Size 64.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d161ecd50c2689da0dcfe4a5c007003bfb17de96271f866a1fc8bb1656d4ab7b
BLAKE2b-256 checksum
How to use checksums
f22f5da72d20d8933f5f1d5fdb6e2b33de75267ba7980752e9f8b79fbe15b13b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.2 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