GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - njr0/abouttag: Normalized about tag format for FluidDB

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
abouttag
abouttag
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
AUTHOR
AUTHOR
 
 
COPYRIGHT
COPYRIGHT
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
tests.py
tests.py
 
 

Repository files navigation

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 than OL23269355M
  • 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

About

Normalized about tag format for FluidDB

abouttag.blogspot.com

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.