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 | rm | 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.
rm:         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.6.tar.gz (24.0 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.6-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi_tdb-0.0.6.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0rc1

File hashes

Hashes for pypi_tdb-0.0.6.tar.gz
Algorithm Hash digest
SHA256 8fc2dd3c83bb0b105036d4d3b54d5961f3d00c7592d73be50466936fa1f9e541
MD5 bdd2d2bf870952e58ea4de9d71e782c0
BLAKE2b-256 526fa36128529e9c1cd9088e79e35a281cf2e3db0723ca2b5b16c68951fac492

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypi_tdb-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0rc1

File hashes

Hashes for pypi_tdb-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e19dd2d8b39b8cf1047657deccfedcfbc5fcc935970ca5894806f8319167a9f6
MD5 61a651f44d80e41d780d169a148d2a3e
BLAKE2b-256 56cea70cbe6785cccbf62132070f2f9aa9f6366e2c7c1fd160342db3d4fd15e7

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