Semantic tag: URIs for objects, including resolution
Project description
nti.ntiids
This package provides support for semantic URIs for objects using the tag URI scheme. These tag URIs are used to look up objects in an application, usually independent of their traversal path. These URIs, structured in a particular way, are called NTIIDs. When represented as strings, they use the Python text (unicode) type.
In the specific part of the URI, each NTIID includes a type. A type is essentially a namespace in which the rest of the specific part is to be interpreted. A set of known types are defined in nti.ntiids.ntiids, as are functions to parse and generate NTIIDs.
The set of types is extensible through zope.component registrations for important interfaces like nti.ntiids.interfaces.INTIIDResolver, which is registered by name for specific types of NTIIDs. No resolvers are provided by this package.
The package nti.ntiids.oids integrates with nti.externalization and serves as the hook used for external identifiers. These are derived from persistent ZODB object identifiers (“oid”) with support for multiple databases (a multi-ZODB).
Changes
1.0.0 (2024-11-12)
Drop support for Python < 3.10.
Add support for Python up to 3.13.
Use native namespace packages.
0.0.1 (2020-06-18)
First public PyPI release.
Add support for Python 3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nti_ntiids-1.0.0.tar.gz
.
File metadata
- Download URL: nti_ntiids-1.0.0.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b282a53614fdd39f39bce848f8f2a5540a1bc5c1b4e47963038d2d09b22b71a |
|
MD5 | 146028b8b9242b77df60bb91f67c6c32 |
|
BLAKE2b-256 | 4b20ac19a5766021a4da5ec8f470917ddad11397ffa02083bccc4376de4e11c2 |
File details
Details for the file nti.ntiids-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: nti.ntiids-1.0.0-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70b392f008766dc12f792bc146a16c76af204e6402fd5ab8d64fe0bc3bb74952 |
|
MD5 | ee967159b0c29ed266d8971a4120c360 |
|
BLAKE2b-256 | 11e1d10ca282d3553641f1c0bade33c5649c28e0487a65cc2429705ee93e1b01 |