open atlas

python

Python for JS/TS developers

Learn Python coming from JavaScript — language core, scripting and automation, with an eye toward AI tooling.

13 units·45 lessons·~13 h

Start track
00

Start from zero

Why a JS/TS developer should add Python, and where it differs.
01

Language core

Syntax, the built-in data structures, and how typing differs from TS.
02

Scripting & I/O

Files, HTTP and packaging — enough to write a useful automation script.
03

The Python data model

Everything is an object with a protocol: dunders define behaviour, descriptors power attributes, and __slots__ is the memory lever.
04

Typing and the modern toolchain

Type hints are a static contract the runtime ignores: mypy/pyright enforce it, generics and protocols express it, uv and ruff ship it.
05

Concurrency: GIL, threads, asyncio

The GIL serializes bytecode, not I/O: threads for waiting, processes for CPU, asyncio for many sockets — free-threading changes the rules.
06

Web services: ASGI and FastAPI

ASGI is the contract, FastAPI the ergonomics: pydantic validates at the boundary, sync handlers block the loop, lifespan owns resources.
07

Testing with pytest

pytest is fixtures and assertions, not classes: parametrize kills copy-paste, fixtures are generators with teardown, hypothesis finds the cases you did not.
08

Performance: profiling and limits

Profile before touching code: cProfile lies under threads, py-spy samples production, memory has object overhead, and some jobs are not for Python.
09

Data work: pandas, polars, formats

DataFrames are pragmatic, not magic: pandas vs polars honestly, parquet over csv, pipelines that validate at every boundary.
10

Packaging and distribution

Imports are a runtime system: packages and sys.path mechanics, pyproject as the single source, lock files make installs reproducible.
11

Async internals

The event loop is a scheduler you can read: task stepping, cancellation as injected exception, timeouts as scoped cancel, sync bridges.
12

Python in production

Production Python is logging you can query, config that fails at boot, containers built right, and postmortems of leaks and hangs.

Build with this track

Guided projects that exercise what you learn here.

Next track

CI/CD pipelines

Ship safely on every push — pipelines, caching, and tests that gate a merge, with GitHub Actions.