Skip to main content

tdb: text based database with tagging

Project description

tdb

A text based database with tagging.

Usage: py -m tdb [add | edit | template | show | open | listen] [text | options]
----------------------------------------------------------------
Commands:
add:            Make a record when text is supplied. Otherwise, open an editor to write one.
edit:           Open an editor with some view of the database, see options.
template:       Open an editor to write a record with the passed template file as a basis.
open:           Open tdbs files: tdb open ['archive', 'config', 'db']
listen:         Starts a server listening on passed port.
----------------------------------------------------------------
Options:
span:           The records to select, example: span:7d is the last 7 days.
format:         The format to see the records in. Only valid for show currently. [html, json, short]
@{tag}:         This tag or any others must be included, example: @notes @school, records must have either.
+@{tag}:        This tag and any others must be included. i.e. +@notes +@school, records must have both.
-@{tag}:        This tag must not be included. i.e. -@notes @school, records for school, no notes.
{text}:         This text is optional.
+{text}:        This text must be included.
-{text}:        This text must not be included

Note, text must be quoted if there are spaces.

Project details


Download files

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

Source Distribution

pypi_tdb-0.0.4.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypi_tdb-0.0.4-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file pypi_tdb-0.0.4.tar.gz.

File metadata

  • Download URL: pypi_tdb-0.0.4.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pypi_tdb-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3eb5adb25319ea8ec242014613a10b971c85b5d453750141dc829bba62d1f80e
MD5 8e821dbe6302eebacabef31888874fb9
BLAKE2b-256 a7f5ffe45edd5fb526b174f803913c08647f81fe02d9131951f3008935823733

See more details on using hashes here.

File details

Details for the file pypi_tdb-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pypi_tdb-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pypi_tdb-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2689386033191d367888b30055349624f13a494b639425fe4705d6ceaef2b06a
MD5 efdfd5fb5eb93f1659efa9ee616a0072
BLAKE2b-256 9df00537bb547a893d8f37323589dbe52037820d72bbba62160e46dcbfad40c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page