Skip to main content

POLYHUB system helpers

Project description

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

Project details


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.14a0.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polyants-0.14a0-py3-none-any.whl (63.6 kB view details)

Uploaded Python 3

File details

Details for the file polyants-0.14a0.tar.gz.

File metadata

  • Download URL: polyants-0.14a0.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.12.13 Linux/5.15.154+

File hashes

Hashes for polyants-0.14a0.tar.gz
Algorithm Hash digest
SHA256 fdfaa4494bfbe4e02a935756331016dd7b07fac9a43da3a7f33cb55d9b776ca0
MD5 597e47d32b4bea0adc2a21139b06f5e6
BLAKE2b-256 5a4c6953676d2e8dd73b55100ef69ec4cb9488f2758b46972eb828ece29d4c47

See more details on using hashes here.

File details

Details for the file polyants-0.14a0-py3-none-any.whl.

File metadata

  • Download URL: polyants-0.14a0-py3-none-any.whl
  • Upload date:
  • Size: 63.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.12.13 Linux/5.15.154+

File hashes

Hashes for polyants-0.14a0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d5b045a4c606382c1efea7eabc7fe176d1a5ffd3a7dfd8c2157ab9eab7cb53c
MD5 e7ebff18192cd0a791ab2f10e467aa85
BLAKE2b-256 50114cd13f6db0d286bd2768065ae3379354b2ca907e83ca91a2be143749760a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page