Skip to main content

Keep track of things you learn each day

Project description

Install TIL

$ pip install til-cli

Then start adding things that you learn:

$ til new "How to parse yaml in Python"
Content:
Just use ruamel.yaml
pip install ruamel.yaml
^C

Store your TILs wherever you want using TIL plugins:

  • YAML: Write to a yaml file
  • ...more to come...

Copy .til.toml.default to your home directory as .til.toml and add more plugins or change their configuration. As an example by default TIL uses YAML plugin to store entries in til.yaml file in your home directory, this is configurable.

Simon Willison's TIL Page was main inspiration to be able to create something similar with minimal extra effort.

Planned features:

  • Initial implementation
  • YAML plugin as POC
  • CI / CD for publishing to pypi with releases
  • some tests
  • Other tools to install
    • MacOS - brew
    • Debian/Ubuntu - apt (snap packages?)
  • More plugins
    • POST to endpoint
    • Twitter
    • Email?
  • tags support (e.g. Python, js, k8s, devops, science, etc.)
  • Search tils by
    • keyword
    • tags

Contribute:

Install Python 3.x

Requires Python >= 3.9.

Consider installing it either with brew or using a tool like pyenv

Macos
$ brew install python@3.9

Or download from Python.org

Install poetry

$ brew install poetry

or

$ pip3 install poetry

Create Env

$ poetry env use python3.9          # Setup env
$ poetry shell                      # Drop into Poetry env
$ poetry install                    # Install from pyproject.toml

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

til-cli-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

til_cli-0.2.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file til-cli-0.2.0.tar.gz.

File metadata

  • Download URL: til-cli-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.8.10 Darwin/19.6.0

File hashes

Hashes for til-cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5d14726e5b103234bdc2586e4865105fb68fc2a94d3d02dbba7284f0e7da2c61
MD5 2442d36842b22fc7f44d170e7d42b30d
BLAKE2b-256 555c938311ea6c0445a54ec8221e96bcbfcd0b233ebe8f16b5ca08659ce271ce

See more details on using hashes here.

File details

Details for the file til_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: til_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.2 CPython/3.8.10 Darwin/19.6.0

File hashes

Hashes for til_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9be924efd8780d52234466d4ff1420fd55b7b26dde0906f450d8ceb3c36e954b
MD5 eb4811a4b5fd754cdccd86bb672a0a81
BLAKE2b-256 6f328fae36afeb2a8b5643720654633a0d90b40de37c41d5494dcb2f9d5def82

See more details on using hashes here.

Supported by

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