| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7725b14 commit 6d5b78e
12 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,7 @@ jobs: | |||
| 33 | 33 | ||
| 34 | 34 | - name: Format check (Black) | |
| 35 | 35 | run: | | |
| 36 | - black --check src apps tests | ||
| 36 | + black --check src examples tests | ||
| 37 | 37 | ||
| 38 | 38 | - name: Type check (MyPy) | |
| 39 | 39 | run: | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,7 @@ pip install -e . | |||
| 20 | 20 | pytest -q | |
| 21 | 21 | ||
| 22 | 22 | # format and lint | |
| 23 | - black src apps tests || true | ||
| 23 | + black src examples tests || true | ||
| 24 | 24 | ruff check . | |
| 25 | 25 | ``` | |
| 26 | 26 | ||
@@ -33,8 +33,8 @@ pn --help | |||
| 33 | 33 | # create a new sample app (template fetch is remote) | |
| 34 | 34 | pn init my_app | |
| 35 | 35 | ||
| 36 | - # run a local demo app skeleton | ||
| 37 | - cd apps/pythonnative_demo && pn run android | ||
| 36 | + # run the Hello World example | ||
| 37 | + cd examples/hello-world && pn run android | ||
| 38 | 38 | ``` | |
| 39 | 39 | ||
| 40 | 40 | ## Project layout (high‑level) | |
@@ -44,9 +44,8 @@ cd apps/pythonnative_demo && pn run android | |||
| 44 | 44 | - `cli/` – `pn` command | |
| 45 | 45 | - `tests/` – unit tests for the library | |
| 46 | 46 | - `templates/` – Android/iOS project templates and zips | |
| 47 | - - `apps/` – application projects | ||
| 48 | - - `django_pythonnative/` – Django project for docs/demo hosting and E2E | ||
| 49 | - - `pythonnative_demo/` – minimal demo app using the library | ||
| 47 | + - `examples/` – runnable example apps | ||
| 48 | + - `hello-world/` – minimal demo app using the library | ||
| 50 | 49 | - `experiments/` – platform experiments (Android/iOS/Briefcase) | |
| 51 | 50 | - `README.md`, `pyproject.toml` – repo docs and packaging | |
| 52 | 51 | ||
@@ -62,7 +61,7 @@ Common commands: | |||
| 62 | 61 | ```bash | |
| 63 | 62 | pytest -q # run tests | |
| 64 | 63 | ruff check . # lint | |
| 65 | - black src apps tests # format | ||
| 64 | + black src examples tests # format | ||
| 66 | 65 | ``` | |
| 67 | 66 | ||
| 68 | 67 | ## Conventional Commits | |
@@ -107,11 +106,10 @@ Recommended scopes (match the smallest accurate directory/module): | |||
| 107 | 106 | ||
| 108 | 107 | - Templates and examples: | |
| 109 | 108 | - `templates` – `templates/` (Android/iOS templates, zips) | |
| 110 | - - `demo` – `apps/pythonnative_demo/` | ||
| 109 | + - `examples` – `examples/` (e.g., `hello-world/`) | ||
| 111 | 110 | - `experiments` – `experiments/` | |
| 112 | 111 | ||
| 113 | - - Django app and site: | ||
| 114 | - - `django` – `apps/django_pythonnative/` (site, docs pages, E2E harness) | ||
| 112 | + <!-- Django app and site removed: the old Django project has been retired --> | ||
| 115 | 113 | ||
| 116 | 114 | - Repo‑level and ops: | |
| 117 | 115 | - `deps` – dependency updates and version pins | |
| Back | FazBrowse Home | New Git URL |
0 commit comments