Studio Py

Index — Studio Py

Concepts Mastered: 0

00 / 25 complete

Index

Twenty-five modules. Real programs. No abstractions.

0% complete
  1. W00 SYS.MOD.00 Setup and the First Script T+12M Not started W00 — 12 min Not started It is 3:14 AM, srv-07 is at 96%, and your own terminal answers command not found. Install the interpreter, install an editor, and run one script that proves the machine is ready. Open module
  2. W01 SYS.MOD.01 Variables, Types, and Output T+16M Not started W01 — 16 min Not started It is 2:47 AM and srv-07 is filling up. Hold two numbers, divide them without lying about the types, and print one clean status line. Open module
  3. W02 SYS.MOD.02 Conditionals and Loops T+18M Not started W02 — 18 min Not started It is 3:14 AM and srv-07 is at 95% disk. Write a script that decides for itself when a number crosses the line, and keeps checking until the list runs out. Open module
  4. W03 SYS.MOD.03 Functions and Modules T+18M Not started W03 — 18 min Not started The same disk check is pasted into a third script. Define it once, name it, and import it from anywhere. Open module
  5. W04 SYS.MOD.04 Lists, Dictionaries, and Files T+20M Not started W04 — 20 min Not started A few hundred lines of records.txt, addressable by field name instead of by guesswork, and a script that survives the file going missing at 4 AM. Open module
  6. W05 SYS.MOD.05 Classes and Objects T+20M Not started W05 — 20 min Not started Status and the rule that judges it live in two places. Put them in one object, then let a list of those objects be the fleet. Open module
  7. W06 SYS.MOD.06 Data Wrangling with Pandas T+20M Not started W06 — 20 min Not started Three thousand rows, a loop inside a loop, and forty seconds to answer one question. Hand the whole table to pandas instead. Open module
  8. W07 SYS.MOD.07 String Manipulation T+20M Not started W07 — 20 min Not started The auth log spells one host four different ways. Normalise the text before a single line gets counted. Open module
  9. W08 SYS.MOD.08 Web APIs and JSON T+22M Not started W08 — 22 min Not started The inventory is a CSV on someone else’s server and the incident metadata is behind an API. Ask for it, and read the status code before the body. Open module
  10. W09 SYS.MOD.09 Hashing and Authentication T+22M Not started W09 — 22 min Not started The password file is worth stealing. Make what is inside it useless to whoever takes it, without ever storing the password itself. Open module
  11. W10 SYS.MOD.10 SQL and Databases T+20M Not started W10 — 20 min Not started Forty thousand log lines and grep is returning line numbers instead of answers. Move the events into ops.db and ask real questions. Open module
  12. W11 SYS.MOD.11 The Rerun Mental Model T+18M Not started W11 — 18 min Not started Three people are on call and one will not open a terminal at 3 AM. Build the state machine behind every UI before adding a UI library. Open module
  13. W12 SYS.MOD.12 Calling an LLM API T+20M Not started W12 — 20 min Not started Call a real model with a key that may be missing, handle a rate limit, mock the network in tests, and ship the pass that does it. Open module
  14. W13 SYS.MOD.13 CLI Tools and File Paths T+20M Not started W13 — 20 min Not started Cron cannot click a selectbox at 3:14 AM. Give the scanner a real command line, pathlib paths and exit codes automation can read. Open module
  15. W14 SYS.MOD.14 Dataclasses and Type Validation T+20M Not started W14 — 20 min Not started Six scripts, three names for the same key, and a used value that arrives as text. Declare the shape once so bad records fail at the door. Open module
  16. W15 SYS.MOD.15 REST APIs with FastAPI T+22M Not started W15 — 22 min Not started Twenty agents across three regions need to push readings. Stand up an HTTP service that validates payloads before they touch the database. Open module
  17. W16 SYS.MOD.16 Async I/O and Concurrency T+22M Not started W16 — 22 min Not started Two hundred hosts at 250 ms each is a minute spent waiting for packets. Run the health sweep concurrently instead of in a line. Open module
  18. W17 SYS.MOD.17 Generators and Data Streams T+20M Not started W17 — 20 min Not started A 14 GB access log will not fit in a list. Stream it with yield and itertools and count the 502s in constant memory. Open module
  19. W18 SYS.MOD.18 Decorators and Context Managers T+20M Not started W18 — 20 min Not started Retries, timing logs and cleanup are pasted into twenty functions. Extract them into decorators and context managers instead. Open module
  20. W19 SYS.MOD.19 Logging and Monitoring T+20M Not started W19 — 20 min Not started Ten thousand print statements and no timestamps when the API returns 500. Replace them with structured logs, request IDs and metrics. Open module
  21. W20 SYS.MOD.20 Task Queues and Workers T+22M Not started W20 — 22 min Not started A four-second webhook holds every agent POST open. Put the slow delivery on a queue and let a worker own the retries. Open module
  22. W21 SYS.MOD.21 Database Indexing and Caching T+22M Not started W21 — 22 min Not started Two million rows and a four-second refresh. Add indexes, wrap the migration in one transaction, and cache the read-heavy queries. Open module
  23. W22 SYS.MOD.22 API Security and Rate Limiting T+22M Not started W22 — 22 min Not started Someone is guessing passwords at 200 requests per second and spoofing your webhook. Verify signatures, compare in constant time, rate-limit. Open module
  24. W23 SYS.MOD.23 Testing: Fixtures and Mocks T+20M Not started W23 — 20 min Not started Forty tests copy the same setup and stay green while production breaks. Replace the boilerplate with fixtures and parameterized tables. Open module
  25. W24 SYS.MOD.24 Architecture and Deployment T+22M Not started W24 — 22 min Not started Twenty-three weeks of scripts only run from the right terminal. Package them, declare the entrypoint, and wire the release. Open module

Python runs in the browser via Pyodide.

Progress is stored locally, in this browser.