Skip to main content

Collection of utilities used in other python projects.

Project description

packg

build 3.7 status build 3.9 status coverage version

Collection of utilities used in other python projects.

Features

  • caching: Cache objects to disk / to memory
  • Const: Base class for defining constants, as alternative to enum.Enum
  • typext: Type definitions
  • etc

Install

Requires python>=3.7

pip install packg

Dev install

Clone repository and cd into, then:

pip install -e .
pip install pytest pytest-cov pylint pytest-lazy-fixture

python -m pytest --cov

pylint packg
pylint tests

Version history

  • 0.3: Now support python>=3.9 only, to use new syntax:
    • 3.8: Self-documenting f-strings: python -c 'expr = 1; print(f"{expr=}")' prints 'expr=1'
    • 3.9: Typing with generics x: list[str] = ["hi"]. (requires from __future__ import annotations in 3.7/3.8)
  • 0.2: Last version to support python 3.7

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

packg-0.3.1.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

packg-0.3.1-py3-none-any.whl (47.1 kB view details)

Uploaded Python 3

File details

Details for the file packg-0.3.1.tar.gz.

File metadata

  • Download URL: packg-0.3.1.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for packg-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1406c4628eb58453c1e75023906a65d993f291b28a99925b51ed48b30e1216f4
MD5 3d5507bec1772c12c4ec8e0d5c2f3f68
BLAKE2b-256 b9ac312e009e7369d2ff1fbe35c07e52689240d7be8c7215fe9ea162f51620e6

See more details on using hashes here.

File details

Details for the file packg-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: packg-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 47.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for packg-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 466002e5d9e8111c5a22addc5b939e4e5e79f137b803464005275400e5590f11
MD5 3ca118a00c0fa4a453ae4f764d297705
BLAKE2b-256 9f9d4ba1083036ca6c52a8f8b7bd8115c728f6e9a23bb44534ad5dc1344f819b

See more details on using hashes here.

Supported by

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