plinth-cli 1.0.1__tar.gz → 1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of plinth-cli might be problematic. Click here for more details.

Files changed (39) hide show
  1. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/PKG-INFO +21 -9
  2. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/README.md +20 -8
  3. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/docs/plinth-complete-guide.md +15 -4
  4. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/pyproject.toml +1 -1
  5. plinth_cli-1.0.2/src/plinth/templates/base/.env.local +1 -0
  6. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/README.md.j2 +11 -1
  7. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/docs/developer-guide.md +0 -0
  8. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/requirements.txt +0 -0
  9. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/__init__.py +0 -0
  10. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/__main__.py +0 -0
  11. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/cli.py +0 -0
  12. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/__init__.py +0 -0
  13. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/add.py +0 -0
  14. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/doctor.py +0 -0
  15. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/init.py +0 -0
  16. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/list.py +0 -0
  17. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/remove.py +0 -0
  18. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/config.py +0 -0
  19. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/exceptions.py +0 -0
  20. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/injector.py +0 -0
  21. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/logger.py +0 -0
  22. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/packages.py +0 -0
  23. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/state.py +0 -0
  24. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/.env.example +0 -0
  25. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/.gitignore +0 -0
  26. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/pyproject.toml.j2 +0 -0
  27. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/__init__.py +0 -0
  28. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/api/__init__.py +0 -0
  29. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/api/v1/__init__.py +0 -0
  30. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/api/v1/health.py +0 -0
  31. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/config.py.j2 +0 -0
  32. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/core/__init__.py +0 -0
  33. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/core/config.py.j2 +0 -0
  34. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/core/database.py.j2 +0 -0
  35. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/core/registry.py +0 -0
  36. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/main.py.j2 +0 -0
  37. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/models/__init__.py +0 -0
  38. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/tests/__init__.py +0 -0
  39. {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plinth-cli
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Scaffold FastAPI projects in seconds, add features as you grow
5
5
  Project-URL: Homepage, https://github.com/cybertycoon/plinth
6
6
  Project-URL: Documentation, https://github.com/cybertycoon/plinth/blob/main/docs
@@ -208,16 +208,28 @@ Your project stays clean, typed, and maintainable.
208
208
 
209
209
  ```
210
210
  my-app/
211
- ├── .plinth.json # Tracks installed modules
212
- ├── pyproject.toml # Dependencies
213
211
  ├── src/
214
- │ ├── main.py # FastAPI entry
212
+ │ ├── __init__.py # Package initializer
213
+ │ ├── main.py # FastAPI entry
214
+ │ ├── api/
215
+ │ │ ├── __init__.py
216
+ │ │ └── v1/
217
+ │ │ ├── __init__.py
218
+ │ │ └── health.py
215
219
  │ ├── core/
216
- │ │ ├── config.py # Pydantic settings
217
- │ │ └── registry.py # Auto-router registration
218
- │ └── api/
219
- │ └── v1/
220
- └── tests/
220
+ │ │ ├── __init__.py
221
+ │ │ ├── config.py # Pydantic settings
222
+ │ │ ├── database.py # Database connection (if DB selected)
223
+ │ │ └── registry.py # Auto-router registration
224
+ │ └── models/
225
+ │ └── __init__.py
226
+ ├── tests/
227
+ │ └── __init__.py
228
+ ├── .env.example # Environment template
229
+ ├── .gitignore # Git ignore rules
230
+ ├── .plinth.json # Tracks installed modules
231
+ ├── pyproject.toml # Dependencies
232
+ └── README.md # Project readme
221
233
  ```
222
234
 
223
235
  ## Documentation
@@ -173,16 +173,28 @@ Your project stays clean, typed, and maintainable.
173
173
 
174
174
  ```
175
175
  my-app/
176
- ├── .plinth.json # Tracks installed modules
177
- ├── pyproject.toml # Dependencies
178
176
  ├── src/
179
- │ ├── main.py # FastAPI entry
177
+ │ ├── __init__.py # Package initializer
178
+ │ ├── main.py # FastAPI entry
179
+ │ ├── api/
180
+ │ │ ├── __init__.py
181
+ │ │ └── v1/
182
+ │ │ ├── __init__.py
183
+ │ │ └── health.py
180
184
  │ ├── core/
181
- │ │ ├── config.py # Pydantic settings
182
- │ │ └── registry.py # Auto-router registration
183
- │ └── api/
184
- │ └── v1/
185
- └── tests/
185
+ │ │ ├── __init__.py
186
+ │ │ ├── config.py # Pydantic settings
187
+ │ │ ├── database.py # Database connection (if DB selected)
188
+ │ │ └── registry.py # Auto-router registration
189
+ │ └── models/
190
+ │ └── __init__.py
191
+ ├── tests/
192
+ │ └── __init__.py
193
+ ├── .env.example # Environment template
194
+ ├── .gitignore # Git ignore rules
195
+ ├── .plinth.json # Tracks installed modules
196
+ ├── pyproject.toml # Dependencies
197
+ └── README.md # Project readme
186
198
  ```
187
199
 
188
200
  ## Documentation
@@ -145,15 +145,26 @@ After running `plinth init`, you get:
145
145
  ```
146
146
  my-app/
147
147
  ├── src/
148
+ │ ├── __init__.py # Package initializer
148
149
  │ ├── main.py # API entry point
150
+ │ ├── api/
151
+ │ │ ├── __init__.py
152
+ │ │ └── v1/
153
+ │ │ ├── __init__.py
154
+ │ │ └── health.py
149
155
  │ ├── core/
150
- │ │ ├── config.py # Settings
156
+ │ │ ├── __init__.py
157
+ │ │ ├── config.py # Application settings
158
+ │ │ ├── database.py # Database connection (if DB selected)
151
159
  │ │ └── registry.py # Route registration
152
- │ └── api/
153
- │ └── v1/
154
- │ └── health.py
160
+ │ └── models/
161
+ │ └── __init__.py
162
+ ├── tests/
163
+ │ └── __init__.py
155
164
  ├── .env.example # Environment template
165
+ ├── .gitignore # Git ignore rules
156
166
  ├── pyproject.toml # Dependencies
167
+ ├── README.md # Project readme
157
168
  └── .plinth.json # Plinth state
158
169
  ```
159
170
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "plinth-cli"
3
- version = "1.0.1"
3
+ version = "1.0.2"
4
4
  description = "Scaffold FastAPI projects in seconds, add features as you grow"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
@@ -0,0 +1 @@
1
+ PY_TOKEN=pypi-AgEIcHlwaS5vcmcCJDAzYjY5ZmI4LTE4YzUtNGRlZC1hOTVmLWRhNTQwYWIwMWRkNQACElsxLFsicGxpbnRoLWNsaSJdXQACLFsyLFsiZTc4YzMyMjUtZmY1My00NGYxLTgxZWMtODRjN2Q5ZDRiNDBiIl1dAAAGIAYnkejQ7ggiW28d2f5gyBlRmKvtUGxcduSqKY19-Ahl
@@ -19,17 +19,27 @@ The API will be available at `http://localhost:8000`.
19
19
  ```
20
20
  {{ project_name }}/
21
21
  ├── src/
22
+ │ ├── __init__.py # Package initializer
22
23
  │ ├── main.py # FastAPI application entry point
23
24
  │ ├── core/
25
+ │ │ ├── __init__.py
24
26
  │ │ ├── config.py # Application settings
27
+ │ │ ├── database.py # Database connection (if DB selected)
25
28
  │ │ └── registry.py # Router registry
26
29
  │ ├── api/
30
+ │ │ ├── __init__.py
27
31
  │ │ └── v1/
32
+ │ │ ├── __init__.py
28
33
  │ │ └── health.py # Health check endpoints
29
34
  │ └── models/ # Database models
35
+ │ └── __init__.py
30
36
  ├── tests/ # Test suite
37
+ │ └── __init__.py
31
38
  ├── pyproject.toml # Project dependencies
32
- └── .env # Environment variables (create from .env.example)
39
+ ├── .env.example # Environment template
40
+ ├── .gitignore # Git ignore rules
41
+ ├── .plinth.json # Plinth state
42
+ └── README.md # Project readme
33
43
  ```
34
44
 
35
45
  ## Configuration
File without changes
File without changes