Tags: python* + cli*

0 bookmark(s) - Sort by: Date ↓ / Title /

  1. * **http.server**: Run a localhost web server on port 8000: `python -m http.server`
    * **base64**: Encode/decode base64: `python -m base64 -h`
    * **asyncio**: Python console with top-level `await`: `python -m asyncio`
    * **tokenize**: Debug mode for Python tokenizer: `python -m tokenize cgi.py`
    * **ast**: Debug mode for Python AST module: `python -m ast cgi.py`
    * **json.tool**: Pretty-print JSON: `echo '{"foo": "bar"}' | python -m json.tool`
    * **random**: Benchmarking suite for random number generators (fixed in Python 3.13)
    * **nntplib**: Display latest articles in a newsgroup: `python -m nntplib`
    * **calendar**: Show a calendar for the current year: `python -m calendar` (with options like `-t html`)
    2024-10-29 Tags: , , by klotz
  2. The api_base key can be used to point the OpenAI client library at a different API endpoint.
    2023-10-03 Tags: , , , by klotz
  3. The author has also automated their weeknotes by using an Observable notebook, which generates the "releases this week" and "TILs this week" sections.

    The notebook fetches TILs from the author's Datasette, grabs releases from GitHub, and assembles a markdown string for the new post.

    * `llm` CLI tool for running prompts against large language models
    * Automation of weeknotes using an Observable notebook
    * Notebook generates "releases this week" and "TILs this week" sections
    * Tool stores prompts and responses in a SQLite database
    2024-10-29 Tags: , , , , , , by klotz
  4. 2022-11-11 Tags: , , , , , by klotz
  5. 2019-09-12 Tags: , , by klotz
  6. 2016-04-01 Tags: , by klotz
  7. 2016-03-15 Tags: , , , by klotz
  8. 2014-11-06 Tags: , , by klotz
  9. 2014-05-22 Tags: , by klotz

Top of the page

First / Previous / Next / Last / Page 2 of 0 SemanticScuttle - klotz.me: tagged with "python+cli"

About - Propulsed by SemanticScuttle