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.9.0.tar.gz
(12.1 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.9.0.tar.gz.
File metadata
- Download URL: package_utils-0.9.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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 |
1aa02c3258643419518e3659e4e961195b38eb98ca664ff749710d687e075b85
|
|
| MD5 |
9e50215c1ba6839c6b8b0d06d679b8e7
|
|
| BLAKE2b-256 |
7b88716673d38e92e1b8f1c4f759c6d0fa9dffcf745ae2c1bc31938d9e2f530c
|
File details
Details for the file package_utils-0.9.0-py3-none-any.whl.
File metadata
- Download URL: package_utils-0.9.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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 |
3b8638170c626bb97841bad7728151e8c999df48e3c3519a423c4eeca82a1abd
|
|
| MD5 |
6f52a9d867bb401cd732a4f7ebcbeaca
|
|
| BLAKE2b-256 |
c88d841748afa64234c2a1bc1d85042c7bda9213bf61dd5cb833a8cc2a099685
|