dns-as-a-database
DNS as a Database (DAAB) is a key-value database using DNS TXT records for it's data structure.
Features
- Redis-like
- No storage or memory requirements
- Works
Requirements
- Python 3.6+
- A DigitalOcean account and API key
- A domain name
Installation and Setup
To install DAAB use pip:
pip install daab
But you're also going to need to:
- Buy a domain name
- Point it to DigitalOcean Namservers
- Add it to your DigitalOcean account
- Create an access token
Examples
from daab import DAAB
daab = DAAB('<DIGITALOCEAN_API_KEY>', '<DOMAIN_NAME>')
# Create/update a record
daab.set('mykey', 'myvalue')
# Use glob search to find keys
daab.scan('*key')
# Get record
daab.get('mykey')
# Delete record
daab.delete('mykey')
Tutorials
Read the announcement blog here.
Documentation
Read the code, it's not that big.
License
MIT.
Metadata
Release files for daab 1.1.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 |
|---|---|---|---|---|
| daab-1.1.0.tar.gz | 2.7 kB | Without provenance | Details for daab-1.1.0.tar.gz |
Release files / daab-1.1.0.tar.gz
| Download URL | daab-1.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a2f10d1ce8420dc92eea56c2440dab4ab636208cd1917e0e4c6e81306fcd87c
|
|
BLAKE2b-256 checksum How to use checksums |
4d983f1a29896da2670823dd1a8e5b62706efff0f0bad41e9ac51a7d0bb814d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Security for daab 1.1.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.