palace-util
Small, dependency-light utilities shared across Palace Project
Python packages. Lives in the palace.util namespace.
This package exists so that the handful of cross-cutting helpers that every Palace package needs
— a common exception hierarchy, timezone-aware datetime handling, a standardized
LoggerMixin — can be depended on without pulling in the heavier palace-manager application.
Packages that need only these primitives depend on palace-util directly; palace-manager is
also just a consumer.
Scope
palace-util sits at the bottom of the Palace dependency graph: other Palace packages depend
on palace-util; palace-util depends on no other Palace package.
If a utility is only useful inside the Palace Manager application, it does not belong here —
keep it in src/palace/manager/util/. Candidates for palace-util should be:
- Reusable outside the manager application (e.g., by other Palace services, CLI tools, or
by future extracted packages like
palace-opds). - Runtime-dependency-light — stdlib-only is the ideal, and in the rare case a third-party
library is justified it must be tiny and widely-used. Consumers of
palace-utilshould be able to add it to theirpyproject.tomlwithout materially growing their install footprint. - No intra-Palace dependencies.
- Stable enough that the wider ecosystem can rely on it without expecting frequent breaking changes.
Development
This package is a uv workspace member
of the main circulation repository. Work on it from the repo root — uv sync
picks up all workspace members automatically; tox -e py312-docker runs the full test suite.
Tests for this package live at the repository root under tests/palace_util/ (workspace-member
tests are kept under the root tests/ tree so they share the repo's pytest fixtures and conftest
plugins).
Metadata
Release files for palace-util 46.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| palace_util-46.0.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| palace_util-46.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / palace_util-46.0.0.tar.gz
| Download URL | palace_util-46.0.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb726c9274cb4c04b19a15e09c17f877824300270ab61e9ce40d303e50238263
|
|
BLAKE2b-256 checksum How to use checksums |
8e4d6b43ca71d22c7a09a39fafb7676cc47ffb12dc9e57c5be0a140fe5f7724d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency logRelease files / palace_util-46.0.0-py3-none-any.whl
| Download URL | palace_util-46.0.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fdc34d7e8e1d3a44148e997e57a9300d32534ff32a4c01a1ae6f9b3e49bd288
|
|
BLAKE2b-256 checksum How to use checksums |
782525cb84ace6fc974d9e0b913691a7eca9ca6f6dfecfbe005d11e4b1232cd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency log