Skip to main content

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-util should be able to add it to their pyproject.toml without 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).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

palace_util-45.2.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

palace_util-45.2.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file palace_util-45.2.0.tar.gz.

File metadata

  • Download URL: palace_util-45.2.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for palace_util-45.2.0.tar.gz
Algorithm Hash digest
SHA256 6d53e8369e75a20e9c22c15b1ef82a3d46df9502e214d79510ee4b41bebd93ad
MD5 e797f3d0ae7a485736afb4bb15d084fc
BLAKE2b-256 a9cf8aedfa9bb7d85b0b964702748c41df4b44f3da7b58e260be665397e5929e

See more details on using hashes here.

Provenance

The following attestation bundles were made for palace_util-45.2.0.tar.gz:

Publisher: publish-pypi.yml on ThePalaceProject/circulation

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file palace_util-45.2.0-py3-none-any.whl.

File metadata

  • Download URL: palace_util-45.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for palace_util-45.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a3ed1914a2861e2c38c1ae9460f9c790949ba2ccb1f79b1f84810c70448f596
MD5 be0dca6963e9e73be4453ad8b1ce4124
BLAKE2b-256 e5d8d95ea20dcf8aec644a2d0ba00df30f5e0be602a06f7c6224dbe9ab9e8a3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for palace_util-45.2.0-py3-none-any.whl:

Publisher: publish-pypi.yml on ThePalaceProject/circulation

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

45.3.0

2 files

This release

45.2.0 This release

2 files

45.1.0

2 files

45.0.0

2 files

44.0.5

2 files

44.0.4

2 files

44.0.3

2 files

44.0.2

2 files

44.0.1

2 files

44.0.0

2 files

43.1.1

2 files

43.1.0

2 files

43.0.2

2 files

43.0.1

2 files

43.0.0

2 files

42.0.0

2 files

41.1.1

2 files

41.1.0

2 files

41.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page