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.4.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 | |
|---|---|---|---|---|
| relations_unum-0.4.1.tar.gz | 8.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| relations_unum-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.3 kB
Release files / relations_unum-0.4.1.tar.gz
| Download URL | relations_unum-0.4.1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30b156a5050124f0f7209a53c486736c6a02e7352753b88b2599a09e0799f5be
|
|
BLAKE2b-256 checksum How to use checksums |
0e0a4caffad03e522a5677b106836d4b6eb5ce6a0fa4a1805b57e47c07bcc972
|
| 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.4.1-py3-none-any.whl
| Download URL | relations_unum-0.4.1-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b22db30236ca8b336a5b83f6c3cae055a3bc15e4176c3b27a9c1efcc813b80cf
|
|
BLAKE2b-256 checksum How to use checksums |
80bcffd5ef2dacb9ff33dbb58ca1fb806d1086fd1ddacc30e58026ddbf4bb2ff
|
| 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.4.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.
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.