Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Tag and Attribute Database.

Project Description

Description

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

Installation

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
models._sync(models.connect("sqlite:///tattr.sqlite"))

Configuration

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"

Command-line

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.

Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tattrdb-0.1.2.tar.gz (6.7 kB) Copy SHA256 Checksum SHA256 Source Dec 25, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting