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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
package_utils-0.8.5.tar.gz
(11.9 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
File details
Details for the file package_utils-0.8.5.tar.gz.
File metadata
- Download URL: package_utils-0.8.5.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0ce3e6c7012515cea46c2bb04dea1ab084f98605044e3a37aed26ecec8ab18f
|
|
| MD5 |
9057e988bc7132a4748219f095296c87
|
|
| BLAKE2b-256 |
4f81f1dbef6bb25796a0f9fb51ec029e13ce39f05c361f441d8ac0adfd84ce73
|
File details
Details for the file package_utils-0.8.5-py3-none-any.whl.
File metadata
- Download URL: package_utils-0.8.5-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5924dceb0a1ecbb7dd86054a4095869020933d30510f1a3c38349554cd612f1
|
|
| MD5 |
e2683bc327f6141f7f55261b5dad15e1
|
|
| BLAKE2b-256 |
1a1f2ad28caeb778b139c8021d95058259f6232be44e58706d1df73f8aeb998d
|