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.2.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

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

packg-0.3.2-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: packg-0.3.2.tar.gz
  • Upload date:
  • Size: 39.7 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.2.tar.gz
Algorithm Hash digest
SHA256 ecb5d0a0ce8313c4e878f8a9f82c9140f94ee0ef42de8d9b2d764fbc7a4cbdd7
MD5 a40d09e9f07d50f9f18d8c8e03c3c413
BLAKE2b-256 5df84a297694d915da3ecf2929faf997a21f3a923766da96c79ed670a7aa7ec8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: packg-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 48.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 90b81c2e058449d390bed59c1a18b8c630405ec6aca7afc0a28739838eb9eccf
MD5 a8a9bd06451a31592d84938a8bb23473
BLAKE2b-256 ad364466d3603f1b90ffb52535f0cbc7cc4fecb3b69dc9297c850643c1d21b39

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