Lexikon
My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.
Filters (3 active)
A
-
API key
A secret string that identifies you to a service and is billed to your account.
-
argparse and command-line scripts
Turning a script into a proper command with options and --help.
B
-
Basic types (str, int, float, bool, None)
The building blocks of Python values; None means "no value".
C
-
Class (Python)
A blueprint for objects with their own data (attributes) and functions (methods).
D
-
datetime and time zones
Dates, times, durations, and why every stored time should carry its time zone.
-
Decorator
A line starting with @ above a function that wraps it with extra behaviour, such as caching.
-
Dictionary (dict)
Python’s key-value map, like a PHP associative array or a JS object.
E
-
Environment variable
A named setting the system passes to programs, like PATH, HOME or an API key.
F
-
Flask and FastAPI
Small Python web frameworks for APIs, webhooks and simple web apps.
-
Function (def)
A named block of reusable code, defined with def; it can take arguments and return a value.
G
-
Generator and yield
A function that produces values one at a time, so huge data never has to fit in memory.
-
Guard
A check at the start of a function that exits early when a condition is not met.
H
-
Hard-coded
A value written directly into the code instead of coming from settings or data.
I
-
Indentation
In Python, spaces at the start of a line decide which block the line belongs to.
J
-
json and csv modules
Read and write JSON and CSV files, the two most common data exchange formats.
-
Jupyter notebook
An interactive document mixing code, results, charts and notes; popular for data exploration.
L
-
List and tuple
A list is an ordered, changeable collection; a tuple is the same but fixed.
-
List comprehension
A one-line way to build a list from another list.
P
-
pandas
The library for tables of data in Python: load, clean, filter, group and export.
-
PEP 8, ruff and black
Python's style rules, and the tools that check and format code automatically.
-
pip
Python’s package installer.
-
Predicate
A function or condition that answers yes or no about a value.
-
pytest
The standard tool for writing and running tests in Python.
-
Python
A readable general-purpose language, the favourite for scripts, data work, automation and AI.
-
python-dotenv and os.environ
Reading settings and API keys from environment variables or a .env file.
R
-
Regular expression (regex)
A pattern language for finding and replacing text, used in grep, sed, code editors and every programming language.
-
requests
The popular package for calling websites and APIs from Python.
S
-
Set
A collection without duplicates, with very fast "is it in there?" checks.
-
SQLite
A complete database stored in a single file, with no server to run.
-
Standard library
The modules that come with Python: files, dates, JSON, CSV, HTTP, regex, and more.
T
-
Traceback
Python's error report: the chain of calls that led to the error, with the error itself last.
-
Type hints
Optional notes on which types variables and functions expect; editors and tools like mypy check them.
V
-
Virtual environment (venv)
A private folder of Python packages for one project, so projects don’t break each other.
W
-
Web scraping (BeautifulSoup, Playwright)
Extracting information from web pages with code.