tattrdb
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.
Metadata
Release files for tattrdb 0.1.2
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 |
|---|---|---|---|---|
| tattrdb-0.1.2.tar.gz | 6.7 kB | Without provenance | Details for tattrdb-0.1.2.tar.gz |
Release files / tattrdb-0.1.2.tar.gz
| Download URL | tattrdb-0.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67f1fb5ed92785be8b0ab8bd5927b0bd8317f8127d595ddb5ac7f1a40a39fcb7
|
|
BLAKE2b-256 checksum How to use checksums |
d3e81dd3c9e7c6026114a242e05f687dd23967c4d9c636a7ce2817e097a0ae0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tattrdb 0.1.2
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.