Skip to main content

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

Metadata

Release files for til-cli 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for til-cli 0.2.0
File Size Uploaded Provenance
til-cli-0.2.0.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for til-cli 0.2.0
File Interpreter ABI Platform
til_cli-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / til-cli-0.2.0.tar.gz

Download URL til-cli-0.2.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5d14726e5b103234bdc2586e4865105fb68fc2a94d3d02dbba7284f0e7da2c61
BLAKE2b-256 checksum
How to use checksums
555c938311ea6c0445a54ec8221e96bcbfcd0b233ebe8f16b5ca08659ce271ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.2 CPython/3.8.10 Darwin/19.6.0

Release files / til_cli-0.2.0-py3-none-any.whl

Download URL til_cli-0.2.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9be924efd8780d52234466d4ff1420fd55b7b26dde0906f450d8ceb3c36e954b
BLAKE2b-256 checksum
How to use checksums
6f328fae36afeb2a8b5643720654633a0d90b40de37c41d5494dcb2f9d5def82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.2 CPython/3.8.10 Darwin/19.6.0

Security for til-cli 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page