Skip to content

Commit 1e1edb2

Browse files
committed
Update Python requirement to 3.9 and add Table of Contents to README
1 parent 23fef04 commit 1e1edb2

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# PyO3 101 - Writing Python modules in Rust
22

3+
## Table of Contents
4+
- [Preflight checklist](#preflight-checklist)
5+
- [Windows checklist](#windows-checklist)
6+
- [Setting up](#setting-up)
7+
- [Build settings](#build-settings)
8+
- [Different between Python and Rust](#different-between-python-and-rust)
9+
- [Terms used in Rust](#terms-used-in-rust)
10+
- [Write our library code in Rust](#write-our-library-code-in-rust)
11+
- [How to build the library](#how-to-build-the-library)
12+
- [Exercise 1 - Hello world](#exercise-1---hello-world)
13+
- [Exercise 2 - Reading a file and handling error](#exercise-2---reading-a-file-and-handling-error)
14+
- [Exercise 3 - Python and Rust type conversion](#exercise-3---python-and-rust-type-conversion)
15+
- [Exercise 4 - Custom Python classes](#exercise-4---custom-python-classes)
16+
- [Exercise 5 - Creating iterators in Rust](#exercise-5---creating-iterators-in-rust)
17+
- [Exercise 6 - Class methods and attributes](#exercise-6---class-methods-and-attributes)
18+
- [Exercise 7 - Creating Class Decorators](#exercise-7---creating-class-decorators)
19+
- [Reference](#reference)
20+
- [Support this workshop](#support-this-workshop)
21+
322
## Preflight checklist
423

524
- [Install/ Update Rust](https://www.rust-lang.org/tools/install)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "pyo3_101"
7-
requires-python = ">=3.8"
7+
requires-python = ">=3.9"
88
classifiers = [
99
"Programming Language :: Rust",
1010
"Programming Language :: Python :: Implementation :: CPython",

0 commit comments

Comments
 (0)