Collection of utilities used in other python projects.
Project description
packg
Collection of utilities used in other python projects.
Features
caching: Cache objects to disk / to memoryConst: Base class for defining constants, as alternative toenum.Enumtypext: 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"]. (requiresfrom __future__ import annotationsin 3.7/3.8)
- 3.8: Self-documenting f-strings:
- 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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
packg-0.3.2-py3-none-any.whl
(48.0 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecb5d0a0ce8313c4e878f8a9f82c9140f94ee0ef42de8d9b2d764fbc7a4cbdd7
|
|
| MD5 |
a40d09e9f07d50f9f18d8c8e03c3c413
|
|
| BLAKE2b-256 |
5df84a297694d915da3ecf2929faf997a21f3a923766da96c79ed670a7aa7ec8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90b81c2e058449d390bed59c1a18b8c630405ec6aca7afc0a28739838eb9eccf
|
|
| MD5 |
a8a9bd06451a31592d84938a8bb23473
|
|
| BLAKE2b-256 |
ad364466d3603f1b90ffb52535f0cbc7cc4fecb3b69dc9297c850643c1d21b39
|