Skip to content
项目

noahgift/functional_intro_to_python

在 GitHub 查看

关于

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

数据

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…