Package Utils
Usage
from dataclasses import dataclass, field
from pathlib import Path
from package_utils.cli.entry_point import create_entry_point
@dataclass
class Options:
debug: bool = False
output_path: Path = field(default_factory=Path.cwd)
def main(options: Options): ...
entry_point = create_entry_point(main)
if __name__ == "__main__":
entry_point()
see examples in tests and python-package-template
Installation
pip install package-utils
Metadata
Release files for package-utils 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| package_utils-0.9.1.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| package_utils-0.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.0 kB
Release files / package_utils-0.9.1.tar.gz
| Download URL | package_utils-0.9.1.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e1c14f8e20506d6b5f4ea3179503362869ec96a98c0a2703d4290abec33b61e
|
|
BLAKE2b-256 checksum How to use checksums |
726567c7b51598da5b54a364becb21717d24f65399cc4886274bbb1a8abc98b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / package_utils-0.9.1-py3-none-any.whl
| Download URL | package_utils-0.9.1-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a658a3096817efeeccae61b87958cfafc8a56b8be19ab6e8a715023f57268a4f
|
|
BLAKE2b-256 checksum How to use checksums |
632ecb384daa9bc5235af9377b34e835cd0c535aa7f315e658b305fa674a5162
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|