โ† Open Source

[tutorial]A functional, Data Science focused introduction to Python.

TutorialsGetting startedJupyter Notebook
Momentum
+0stars in 24 hours0.0%
315
Stars
198
Forks
+0
This week
3
Contributors
Created 2017-11-04 ยท Updated 2026-11-23 ยท #26984 today
Top developers
noahgifthugotoledo
README

Functional Intro to Python (& Rust)

Modernized teaching repo: uv + ruff + ty only ยท 100% branch coverage ยท icontract + hypothesis provable contracts ยท every example transpilable to Rust via depyler and held to clippy -D warnings + proptest parity. See docs/specifications/upgrade-spec.md.


Pragmatic AI Labs Specializations

๐Ÿ“š Rust Data Engineering Specialization โ€” ๐Ÿ“ฆ GitHub: paiml/rust-de-specialization

๐Ÿ“š Next-Gen AI Development with Hugging Face Specialization โ€” ๐Ÿ“ฆ GitHub: paiml/applied-ai-engineering

๐Ÿ“š Enterprise AI and Data Engineering with Databricks Specialization

๐Ÿ“š AI Tooling Specialization โ€” ๐Ÿ“ฆ GitHub: paiml/ai-tooling

๐Ÿ“š Mastering GitHub Specialization โ€” ๐Ÿ“ฆ GitHub: paiml/mastering-github


Duke University Specializations

๐Ÿ“š Building Cloud Computing Solutions at Scale Specialization

๐Ÿ“š MLOps | Machine Learning Operations Specialization

๐Ÿ“š Rust Programming Specialization

๐Ÿ“š Large Language Model Operations (LLMOps) Specialization

๐Ÿ“š Applied Python Data Engineering Specialization

๐Ÿ“š Python, Bash and SQL Essentials for Data Engineering Specialization


๐Ÿ“ Guided Projects


๐ŸŽฏ Standalone Courses

More from Pragmatic AI Labs

Learn real-world ML engineering from industry experts. Used by Fortune 500 companies.


Functional, Data Science Intro To Python

The first section is an intentionally brief, functional, data-science-centric introduction to Python. The assumption is that someone with zero programming experience can follow this tutorial and learn Python with the smallest amount of information possible.

The sections after that vary in difficulty and cover Machine Learning, Linear Optimization, build systems, commandline tools, recommendation engines, Sentiment Analysis, and Cloud Computing.

Lessons

The notebook files live under notebooks/. Run them with uv run jupyter lab after make install.

  • Lesson 1: Introductory Concepts
  • Lesson 2: Functions
  • Lesson 3: Control Structures
  • Lesson 4: Intermediate Topics โ€” Classes, Modules, Libraries
  • Lesson 5: IO in Python

Quality Gates

Single source of truth for the toolchain. No pip, no pylint, no black, no mypy, no poetry โ€” enforced by CI grep.

Concern Tool Make target
Env + deps uv make install
Lint + format ruff make lint, make fmt-check
Type check ty make type
Tests + cov pytest + coverage make cover (100% required)
Contracts icontract + hypothesis runs via make cover
Compliance pmat comply make comply
Py โ†’ Rust depyler make depyler
Rust gate cargo fmt + clippy -D warnings + proptest make rust

Run everything: make all.

License

The text content of these notebooks is released under the CC-BY-NC-ND license (see license.md).


Learn Python for data and AI engineering: AI Debugging and Test-Driven Fixes (Coursera) ยท Applied Python Data Engineering, Duke (Coursera) ยท Data Engineering with Python and Linux program (edX)

More courses from Noah Gift and Pragmatic AI Labs.

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store