skip to main content
joncoded
insights + run-times + snippets
nooks / python

📝

code

[runtimes]

Pdf-ESL-easel

LLM (AI)-powered app that helps English learners understand PDFs

visit URL

❇️

code

[runtimes]

Pdf-Docotoco

LLM (AI)-powered PDF document summarizer and discusser

visit URL

❇️🔀

2026-01-12

code

[snippets]

LLM evaluative routing

letting the LLM decide what action to take

🐍🧮

2026-01-11

code

[snippets]

Environment variables with Python

setting data secrets with local machine or Google Colab

❇️🥁

2026-01-11

code

[snippets]

LLM orchestration

splitting a big task into several smaller subtasks with JSON for the LLM

❇️📒

2026-01-10

code

[snippets]

LLM-generated JSON output

outputting JSON (instead of text) as a response to a prompt

❇️⛓️

2026-01-09

code

[snippets]

Prompt chaining

using the output from an LLM for another prompt (and so on)

🔌

2026-01-08

code

[snippets]

Connecting to an LLM API with Python (for beginners)

a bare-bones ChatGPT (or chatbot wrapper) on your own computer

📜⚙️📃

2025-12-17

code

[snippets]

Pre-processing steps for NLP

splitting text up with tokenization + removing "textual noise" + reducing tokens with stemming and lemmatization

🐍🔢

2025-11-17

code

[snippets]

NumPy essentials

providing mathematical functions for the Python programmer

🐍📚

2025-11-16

code

[snippets]

Using Python libraries

using add-ons for Python : installing + importing + programming

visit URL

🐍❇️

2025-11-15

code

[snippets]

Python matrix with a cross of numbers

summarizing an exercise in matrix data manipulation

🐍✳️

2025-11-11

code

[snippets]

Python unpacking operator

allowing any number of arguments in a function

🐍🗓️

2025-11-06

code

[snippets]

Python solution: finding the day of the week

given a date in the yyyy-mm-dd format

🐍📋

2025-11-05

code

[snippets]

Python sets

grouping objects into a collection of unordered and unchangeable items

🐍📋

2025-11-05

code

[snippets]

Python dictionaries

grouping objects into a collection of unordered but changeable key-value pairs

🐍📋

2025-11-05

code

[snippets]

Python tuples

grouping objects into a collection of ordered but unchangeable items

🐍📋

2025-11-05

code

[snippets]

Python lists

grouping objects into a collection of ordered and changeable items

🐍📝

2025-11-05

code

[snippets]

Python strings

performing operations on plain text variables

🐍📦

2025-11-05

code

[snippets]

Python and object-oriented principles: polymorphism

different objects with the same variable names

🐍📦

2025-11-05

code

[snippets]

Python and object-oriented principles: inheritance

making a subclass that inherits variables of its superclass

🐍📦

2025-11-05

code

[snippets]

Python and object-oriented principles: encapsulation

packaging variables into a single variable for later use

🐍🔑

2025-11-05

code

[snippets]

Python access modifiers (public + private + protected variables)

limiting access of variables and functions to a specific code block

🐍📦

2025-11-05

code

[snippets]

Python classes and objects

organizing code into blueprints and their instances

🐍‼️

2025-11-04

code

[snippets]

Python error handling (try + except + finally)

try to do something, except if it fails, then finally do something else!

🐍

2025-11-04

code

[snippets]

Python functions

grouping code into actionable chunks

🐍

2025-11-04

code

[snippets]

Python looping control (break + continue + pass)

by-passing a loop depending on exceptions

🐍

2025-11-04

code

[snippets]

Python looping (for + while)

making events happen again and again in Python

🐍

2025-11-04

code

[snippets]

Python match + case

writing match + case instead of if + elif + else

🐍

2025-11-04

code

[snippets]

Python branching (if + else + elif)

making decisions between or among conditions

12

built with sanity + next.js in the early 2020s

jonchius | keywords | loglists | mixmarks | newsnook