OVERVIEW
This package provides functions for generating 'semantic' identifiers for various kinds of entities. The basic goals for these identiers are:
- IDs should be descriptive ('semantic'), rather than opaque:
- e.g.
book:animal farm (george orwell)rather thanOL23269355M
- e.g.
- Ideally, IDs should be constructable from accurate knowledge of the entity without recourse to a source of truth. In the case of books, for example, the title and author, as printed on the book cover or spine, should normally be enough to construct the identifier, given knowledge of the normalization scheme used.
- Most IDs should be unique and unambiguous, but this is a lower priority than the previous two: occasional clashes might occur and will require disambiguation.
These identifiers are based on English at the moment, but might be extended. Accents and other diacritics are accepted in input and can either be removed as part of normalization for the purposes of constructing the identifiers, or left. The abouttag package defaults to leaving them ('u' versions rather than 'a' versions of normalization functions).
HISTORY AND USES
This scheme was first developed in the context of FluidDB/Fluidinfo, a short-lived online, collaborative, tag-based database developed by Terry Jones in the early 2000s. FluidDB allowed users to attach tags with value to objects, and these objects has a system tag calle about which was used to identify what the object was about.
For more information on the ideas that motivated this module, see posts at https://abouttag.blogspot.com. A good place to start is this blog post
It is now being used in CheckEagle to extend its social bookmarking capabilities to cover URIs and other string-based object identifiers as well as URLs. Like FluidDB, the tags in CheckEagle can have typed values. CheckEagle uses the non-u versions, i.e. ones that strip accepts, which is not the default in this package. In time, there will probably be a new package with CheckEagle's conventions.
EXAMPLE
Examples of usage are provided in the examples directory. Some simple examples are:
from abouttag.books import book
from abouttag.music import album, artist, track
from abouttag.film import film, movie
print book('One Hundred Years of Solitude', 'Gabriel García Márquez')
print book('The Feynman Lectures on Physics',
'Richard P. Feynman', 'Robert B. Leighton',
'Matthew Sands')
print track('Bamboulé', 'Bensusan and Malherbe')
print album('Solilaï', 'Pierre Bensusan')
print artist('Crosby, Stills, Nash & Young')
print film('Citizen Kane', '1941')
print movie("L'Âge d'Or", '1930')
INSTALLATION
pip install -U abouttag
DEPENDENCIES
rfc3986
Metadata
Release files for abouttag 1.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 | Actions |
|---|---|---|---|---|
| abouttag-1.4.0.tar.gz | 19.4 kB | Without provenance | Details for abouttag-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| abouttag-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for abouttag-1.4.0-py3-none-any.whl |
Total release size: 36.2 kB
Release files / abouttag-1.4.0.tar.gz
| Download URL | abouttag-1.4.0.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9afed367460c7182ceb6d57aad02d24bcf32c0ef6c38042402972678b67bad0
|
|
BLAKE2b-256 checksum How to use checksums |
8cc8580110fc650c15814a435ed0a129fda1301b4f5fb414b69e03de705f17f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / abouttag-1.4.0-py3-none-any.whl
| Download URL | abouttag-1.4.0-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36338aed1069de34c503379ddf452d3f48ebaf15816ee092c01337532e081ab2
|
|
BLAKE2b-256 checksum How to use checksums |
bf803277d2bebe12e3e2f442411418635966bd64945edb2dbdaa44989b1bc9d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for abouttag 1.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.