Skip to main content

python-relations-unum

Source for locally using multiple Unifist sources as a single Unum

Part of Relations. Source agnostic: it builds on the core library's Source, Model and hooks only, so it works over any relations source.

Status: scaffold. See the first ticket for the design and what done looks like.

Models under /model

relations_unum.RestSource is a relations-rest source for an API that serves its models under /model, as relations-unifist does: /model/{singular} and /model/{singular}/<id>. It takes what relations_rest.Source does and adds /model to the url, so an app opts in by making its source from it, giving the API's url without /model:

relations_unum.RestSource("cumulus", "https://cumulus.example.com")

A model's ENDPOINT is relative to /model. relations_rest.Source still reads models at the root of its url, for APIs that serve them there.

Metadata

Release files for relations-unum 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for relations-unum 0.3.0
File Size Uploaded Provenance
relations_unum-0.3.0.tar.gz 7.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for relations-unum 0.3.0
File Interpreter ABI Platform
relations_unum-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / relations_unum-0.3.0.tar.gz

Download URL relations_unum-0.3.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ecf48c6b58730bf9888ed630b8d1d0b66339a968ce06165c3b9c5c64f26c6ecb
BLAKE2b-256 checksum
How to use checksums
caa413b96342b9b40bf61e3ef3ff4071a51774a72d5b6cefb4e129f88472ac62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

Release files / relations_unum-0.3.0-py3-none-any.whl

Download URL relations_unum-0.3.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47678baeb38c2a052ba7b6d0925e4ec904c84e40ad9df94e94ff93e1dbbfad22
BLAKE2b-256 checksum
How to use checksums
72b20b9b460d4783d319a7aefce33d2a1bf69a19c264ce42fbabf723242afc9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

Security for relations-unum 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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