tag

#python

23 public pages use this tag.

Data Types vs Data Shapes

Data Types vs Data Shapes This page was filed from a query that asked: what are the different kinds of data types? Short answer The wiki uses a few overlapping lenses: column/dataf…

Environment Variables

Environment Variables environment variables are the recommended home for secrets in brevvie python ai section 4 apis postman and calling the web. The source explicitly says API key…

FastHTML

FastHTML fasthtml is the Python web UI framework used in the Section 3 dashboard scaffold in brevvie python ai section 3 data polars and pair programming. It is presented as a ligh…

HTTPX

HTTPX httpx is the Python HTTP client standardized on in brevvie python ai section 4 apis postman and calling the web. It is positioned as the code side companion to postman: explo…

Pandas

Pandas pandas is the long dominant Python dataframe library. In brevvie python ai section 3 data polars and pair programming, Pandas is acknowledged respectfully as the library tha…

Polars

Polars polars is the dataframe library standardized on in brevvie python ai section 3 data polars and pair programming. It is presented as the modern, high performance successor to…

Pydantic

Pydantic pydantic is introduced in brevvie python ai section 1 setup your ide as the preferred way to validate and coerce user input in early Python programs. Role in the source Tu…

Python Control Flow

Python Control Flow python control flow is how a Python program decides what to do next: branch, repeat, stop, or continue. In brevvie python ai section 2 control flow and the trea…

Python Data Shapes

Python Data Shapes python data shapes is a practical way to think about the structure of data at runtime: string, list, dict, or object. In brevvie python ai section 2 control flow…

Python Dataclasses

Python Dataclasses python dataclasses are a lightweight Python way to define structured objects that mostly hold data. In brevvie python ai section 2 control flow and the treasure …

Python Dotenv

Python Dotenv python dotenv is the helper library used in brevvie python ai section 4 apis postman and calling the web to load values from a .env file into environment variables in…

Python Error Handling

Python Error Handling python error handling is the practice of anticipating failure, catching expected exceptions, and responding clearly. In brevvie python ai section 2 control fl…

Python Functions

Python Functions python functions are named blocks of reusable logic. In brevvie python ai section 1 setup your ide, they are introduced as the first step beyond top to bottom scri…

Python Input Validation

Python Input Validation python input validation is the move from accepting raw user input to checking and shaping it into trustworthy program data. In brevvie python ai section 1 s…

Python List Comprehensions

Python List Comprehensions python list comprehensions are a compact way to build a list from another iterable, optionally filtering as you go. In brevvie python ai section 2 contro…

Python Logging

Python Logging python logging is the practice of recording events, warnings, and failures in a structured way instead of relying only on ad hoc print() calls. In brevvie python ai …

Python Loop Types

Python Loop Types python loop types compares the main loop forms emphasized in the wiki: for loops, while loops, and python list comprehensions. It is meant to answer the practical…

Python Loops

Python Loops python loops are Python’s main repetition tools. In brevvie python ai section 2 control flow and the treasure hunt, loops are taught through room exploration, torch co…

Python Main Guard

Python Main Guard The python main guard pattern is if __name__ == "__main__":. In brevvie python ai section 1 setup your ide, it is taught as a core Python structure pattern. Purpo…

Python Packaging

Python Packaging In brevvie python ai section 1 setup your ide, python packaging begins with a simple but important step: turning a folder of scripts into a package by adding __ini…

Python Regex

Python Regex python regex is Python’s regular expression pattern matching capability, primarily via the re module. In brevvie python ai section 2 control flow and the treasure hunt…

Python Virtual Environments

Python Virtual Environments A virtual environmentpython virtual environments is a project local Python environment containing its own interpreter context and installed packages. In…

uv

uv uv is the Python tool manager preferred in brevvie python ai section 1 setup your ide. The lesson presents it as a modern replacement for older multi tool workflows involving py…