Skip to content

Commit 0d7452e

Browse files
Add flowchart for Python packaging steps
Added a flowchart to illustrate the Python packaging process.
1 parent 7abbeb9 commit 0d7452e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

episodes/intoduction_python_packaging.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ Versioning: You may version your package and distribute multiple versions, there
3737
Standardisation: Packaging is the established method of distributing code via recognised repositories such as PyPI.
3838

3939
Metadata: Packages include project-specific metadata, which is essential for end users.
40+
```mermaid
41+
graph LR
42+
A["Write Your Python Code"] --> B["Create Packaging Files(pyproject.toml)"]
43+
B --> C["Build the Package<br/>(e.g., python -m build)"]
44+
C --> D["Publish to PyPI<br/>(e.g., twine upload dist/*)"]
45+
D --> E["User Installs via pip<br/>(pip install your-package)"]
46+
E --> F["✅ User Can Import and Use Your Code"]
47+
48+
```
49+
4050

4151
## What may be packaged ?
4252

0 commit comments

Comments
 (0)