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
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
Hashes for nti.ntiids-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 246063fa8ba290cb26f2e15fecaa8c14e8257d48ba65426f4ee2bcb998802e5a |
|
MD5 | d96f4ec84d66419bf35805dedd235b89 |
|
BLAKE2b-256 | 50e374904b071dbf70e08fc15f8646c52774c395e32783e585ff0b22235761e2 |