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

You can decide what you want to do with your TILs using TIL plugins:

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

You can edit 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 in YAML plugin creates a til.yaml file in your home directory, you can make it use any path your system.

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.

If you do not have it yet, consider installing it either with brew or using a tool like pyenv

Macos
$ brew install python@3.9

Visit Python.org

Install poetry

$ brew install poetry

or (Sugge)

$ 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.1.4.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

til_cli-0.1.4-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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