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.2.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.2.0
File Size Uploaded Provenance
relations_unum-0.2.0.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 14.4 kB

Release files / relations_unum-0.2.0.tar.gz

Download URL relations_unum-0.2.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b2c244eb429be59d1142afd388c9b2347e5db3356670e0f10748c51f5eedd568
BLAKE2b-256 checksum
How to use checksums
c91d4b6f1cc0802931374fce0c41d053451a5f209535e1728359a1fb37af054c
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.2.0-py3-none-any.whl

Download URL relations_unum-0.2.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caaca5a14563269989a5f345c1156520f71afb8f21ca7e74d75bb8c0b9dbc359
BLAKE2b-256 checksum
How to use checksums
f25752c0a48424cbdfbddd601a0c7aa8b5c4aacdae3dba20534ba166bd26decd
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.2.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