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.1.tar.gz
(39.0 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.1-py3-none-any.whl
(47.1 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1406c4628eb58453c1e75023906a65d993f291b28a99925b51ed48b30e1216f4
|
|
| MD5 |
3d5507bec1772c12c4ec8e0d5c2f3f68
|
|
| BLAKE2b-256 |
b9ac312e009e7369d2ff1fbe35c07e52689240d7be8c7215fe9ea162f51620e6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
466002e5d9e8111c5a22addc5b939e4e5e79f137b803464005275400e5590f11
|
|
| MD5 |
3ca118a00c0fa4a453ae4f764d297705
|
|
| BLAKE2b-256 |
9f9d4ba1083036ca6c52a8f8b7bd8115c728f6e9a23bb44534ad5dc1344f819b
|