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.0
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.0.tar.gz | 8.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| relations_unum-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / relations_unum-0.4.0.tar.gz
| Download URL | relations_unum-0.4.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8b6b083d5a26754cb44981def2ddf688ac85effb94d9c65c85925cf3e7aa56c
|
|
BLAKE2b-256 checksum How to use checksums |
3e8d4c34f1a7361f70fc62fcaa51d181f254ae7c3a2047fd491255e753494449
|
| 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.0-py3-none-any.whl
| Download URL | relations_unum-0.4.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
580768622c4aec52277efc4a48934e8c364619938ced955a1a259007ca9c9932
|
|
BLAKE2b-256 checksum How to use checksums |
73ad7500e265af8db444cfd563f5dcdd90cb682345a7a08a4c4ee220056fa0e8
|
| 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.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.