Skip to main content

A simple digital notebook using Markdown.

Project description

Tidynotes

A script to generate a notebook in Markdown. The basic setup is designed around how I take digital notes but should be fairly hackable. I use it to make a single file per day that can then be merged into a single hmtl export or an export for each project I'm working on.

Inside each note:

  • There's a single level 1 heading that is the name of the note (generally the day it covers),
  • Each project goes under a level 2 heading,
  • Tasks within those projects have a level 3 heading,
  • Level 4 & 5 headings are optional sub-divisions within those tasks,

The script is designed to be called from the command-line. It takes a directory passed as a positional argument and a number of flags:

  • -g/--generate_note generates a note for the current day,
  • -s/--make_series generates notes for n days in the future,
  • -i/--initialise_notebook generates a blank notebook in the directory,
  • -r/--render_all merges all markdown files and renders them into a single html output,
  • -c/--clean runs a simple heading cleanup routine and runs user-set regex over all notes,
  • -e/--extract_project extracts and renders the notes for a specific project,
  • -a/--extract_all extracts and renders the notes for all projects,

The script also allows for a few additional features (mainly during cleanup):

  • Storing a list of all projects / tasks. This is mainly to allow corrections of misspellings etc.
  • A list of regex corrections. The default set:
    • Standardises newlines between tasks,
    • Newline at the end of each file,
    • Homogenises quote marks (e.g. ’ to '),

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

tidynotes-21.1.1.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

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

tidynotes-21.1.1-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file tidynotes-21.1.1.tar.gz.

File metadata

  • Download URL: tidynotes-21.1.1.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for tidynotes-21.1.1.tar.gz
Algorithm Hash digest
SHA256 2a9a3d8046384304ba02c5c5e27b3ed08cbe5fd78ce8e2ec8627c4189d6543e0
MD5 4a79d8b8d5eda6603642275507461b4d
BLAKE2b-256 a7b7506558fba2fb7f03245ecfa983c39f51efa878bc5f36383569410e97ef50

See more details on using hashes here.

File details

Details for the file tidynotes-21.1.1-py3-none-any.whl.

File metadata

  • Download URL: tidynotes-21.1.1-py3-none-any.whl
  • Upload date:
  • Size: 46.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for tidynotes-21.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 370d9d177433e911ec1da08645b6681826c896ca2a9964e2ba0ee06e8b64540f
MD5 4dddb0195a997b8a15962f6065fa9106
BLAKE2b-256 7a2c6927775ceda1b1b953c5a068e31884f876fa33786c60573c6262a1062b4e

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