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 49.0.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 | Provenance | Actions |
|---|---|---|---|---|
| palace_util-49.0.1.tar.gz | 6.0 kB | With provenance | Details for palace_util-49.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| palace_util-49.0.1-py3-none-any.whl | Python 3 | none | any | Details for palace_util-49.0.1-py3-none-any.whl |
Total release size: 13.0 kB
Release files / palace_util-49.0.1.tar.gz
| Download URL | palace_util-49.0.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71a7c0fed3dd66c28f9fffd808622175c6a587d7e6d32c2ccbe51f1e45e45fbf
|
|
BLAKE2b-256 checksum How to use checksums |
89cf775d125d057437a3c3ed39e47dd8f08a66bfc077fd891e9ea7263ab4d11c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 4, 2026.
Transparency logRelease files / palace_util-49.0.1-py3-none-any.whl
| Download URL | palace_util-49.0.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3118eb168fe2270a47be3c51f51af18a7df92af59bdf52423571f680f362b1d3
|
|
BLAKE2b-256 checksum How to use checksums |
b2638ae88f56838bc9521a6322d5f3829a96b27b2fd3f9ef4d3f6d8340331591
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 4, 2026.
Transparency logSecurity for palace-util 49.0.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for palace_util-49.0.1.tar.gz
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 Nov 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.