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

Release History

  • 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.13a0.tar.gz (45.0 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.13a0-py3-none-any.whl (60.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: polyants-0.13a0.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.12 Linux/5.15.154+

File hashes

Hashes for polyants-0.13a0.tar.gz
Algorithm Hash digest
SHA256 8318615f1a30c12d191eb03502b315a5cacfb44f78b9bc1eb7de35e128e07606
MD5 8c704582370ed559753245c08219df91
BLAKE2b-256 83146394ae80655931761801ae9572752a3e2678a4118f5bf19e31573bf5db10

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for polyants-0.13a0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ff5392f95d4a767fbde070fde48755afb606c6247973c2eab5cc20c45957ec8
MD5 47d950fcc9851cf0065ac30a7dcdb2ca
BLAKE2b-256 b443e037bdafc4eaf914a54e6c8cb8a81edea594622b34f2168d062fa2f28eb1

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