Shared utilities for Palace Project packages.
Project description
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 palace_util-41.0.0.tar.gz.
File metadata
- Download URL: palace_util-41.0.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b41eab0a4fcb883fcd7e2b4145bad6de43004d2dd883002475f8797cb4ef9148
|
|
| MD5 |
cb30894035faad3bcd82ab1678d39eef
|
|
| BLAKE2b-256 |
c53620ca3e6d235346879dfd72a1f981fd92da01f57dc62ad4258ee68fb29a36
|
Provenance
The following attestation bundles were made for palace_util-41.0.0.tar.gz:
Publisher:
publish-pypi.yml on ThePalaceProject/circulation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
palace_util-41.0.0.tar.gz -
Subject digest:
b41eab0a4fcb883fcd7e2b4145bad6de43004d2dd883002475f8797cb4ef9148 - Sigstore transparency entry: 1309728080
- Sigstore integration time:
-
Permalink:
ThePalaceProject/circulation@8dc14ae4cc4e7499eb07dbe4e3172aa4b1a0985c -
Branch / Tag:
refs/tags/v41.0.0 - Owner: https://github.com/ThePalaceProject
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8dc14ae4cc4e7499eb07dbe4e3172aa4b1a0985c -
Trigger Event:
release
-
Statement type:
File details
Details for the file palace_util-41.0.0-py3-none-any.whl.
File metadata
- Download URL: palace_util-41.0.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c89873a5ae2c421d37637e7ac1a91fe17f113f90c29012bba7981ae5d6114ccc
|
|
| MD5 |
74bb485a8ebeb43e3ba818f006f09839
|
|
| BLAKE2b-256 |
fd06dce6f2b8cf07a8ff23ba509e20ea92de23bc0aa8fe28099ecac49ee9e008
|
Provenance
The following attestation bundles were made for palace_util-41.0.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on ThePalaceProject/circulation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
palace_util-41.0.0-py3-none-any.whl -
Subject digest:
c89873a5ae2c421d37637e7ac1a91fe17f113f90c29012bba7981ae5d6114ccc - Sigstore transparency entry: 1309728155
- Sigstore integration time:
-
Permalink:
ThePalaceProject/circulation@8dc14ae4cc4e7499eb07dbe4e3172aa4b1a0985c -
Branch / Tag:
refs/tags/v41.0.0 - Owner: https://github.com/ThePalaceProject
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8dc14ae4cc4e7499eb07dbe4e3172aa4b1a0985c -
Trigger Event:
release
-
Statement type: