RUST & PYTHON REFERENCE

Developer
cheat sheets.

Syntax, code examples, and common patterns
for Rust and Python development.

Browse the guides
Rust and Python reference library
Guides
08
Topics
259
Code examples
507
Rust guides Python guidesSyntax, patterns, and APIs
THE COLLECTION

Find your reference.

8 guides

Rust

Axum

HTTP routing and middleware

Routing, extractors, shared state, SQLx, SeaORM, authentication, and deployment.

RoutingExtractorsSQLx & SeaORMAuthentication
4 chapters 31 topicsExplore
Rust

Tokio

Async tasks, channels, and I/O

Futures, tasks, channels, timers, cancellation, networking, and graceful shutdown.

TasksChannelsCancellation
6 chapters 26 topicsExplore
Rust

clap

Command-line argument parsing

Typed arguments, subcommands, validation, help text, shell completions, and CLI tests.

ArgumentsSubcommandsOutput & errors
5 chapters 27 topicsExplore
Python

FastAPI

Python web APIs

Routes, request validation, dependencies, SQLAlchemy, authentication, and testing.

ValidationDependenciesAuth
8 chapters 28 topicsExplore
Python

Pydantic & core

Data validation and serialization

Models, validators, serialization, settings, custom types, and pydantic-core.

Models & validationSerializationpydantic-core
5 chapters 44 topicsExplore
Python

Polars

DataFrames and data pipelines

Expressions, joins, file formats, reporting, lazy queries, and streaming.

Expressions & joinsLazy queriesFile pipelines
7 chapters 50 topicsExplore
Python

SQLAlchemy

ORM queries and transactions

Models, queries, relationships, and transactions, with matching SQL examples.

QueriesRelationshipsAsyncIO
4 chapters 27 topicsExplore
Python

pytest

Python tests and fixtures

Assertions, fixtures, parametrization, mocks, async tests, and plugins.

FixturesMocksPlugins
4 chapters 26 topicsExplore