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 | remove | 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.
remove:         Move matching records to the archive.
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.
as:             The format to see the records in. Only valid for show currently. [html, json, list, tags]
@{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.5.tar.gz (22.8 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.5-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi_tdb-0.0.5.tar.gz
  • Upload date:
  • Size: 22.8 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.5.tar.gz
Algorithm Hash digest
SHA256 ef3eb33eb3002e1ead3db12652ab95e69ab282deba90fc84e04fd061d70264bb
MD5 203f2803934cd2bf374e17552b0326b6
BLAKE2b-256 056618a7f06930ff0886d762ecc981782c67d752cb05c524930ba2dfe9709c5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypi_tdb-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 25.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 443b35fa1b90c5a07241a658351f9f2339197f056897ce16ae1aacef268568fe
MD5 2f7ef8a41b45e7c046f27e683de3e2c7
BLAKE2b-256 0373a96cde52c4f0a0f2aec7954f152329e29459dd81137b19965219e3f41185

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