Skip to main content

Tag and Attribute Database.

Project description


TattrDB is a simple way to add Tags and Attributes to hostnames for use as a very generic service management database.


pip install tattrdb

Database Creation

Tattr uses sqlalchemy underneath and those uses a database url to connect. Once you’ve constructed your url you can plugin it into the example below:

from tattrdb import models


Using the same url from the example above you’ll need to create a configuration file at /etc/tattr.yaml as follows:

db_uri: "sqlite:///tattr.sqlite"


Once you’ve finished installing and configuring tattr you can use the tattr command line tool to add/rm/modify hosts/tags/attributes. Tattr uses subcommands and each individual subcommand has it’s own help messages.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tattrdb, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size tattrdb-0.1.2.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page