Skip to content

noahgift/functional_intro_to_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

204 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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 | Join 2M+ ML Engineers


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).