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.
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/PKG-INFO +21 -9
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/README.md +20 -8
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/docs/plinth-complete-guide.md +15 -4
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/pyproject.toml +1 -1
- plinth_cli-1.0.2/src/plinth/templates/base/.env.local +1 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/README.md.j2 +11 -1
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/docs/developer-guide.md +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/requirements.txt +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/__init__.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/__main__.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/cli.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/__init__.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/add.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/doctor.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/init.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/list.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/commands/remove.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/config.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/exceptions.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/injector.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/logger.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/packages.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/state.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/.env.example +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/.gitignore +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/pyproject.toml.j2 +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/__init__.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/api/__init__.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/api/v1/__init__.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/api/v1/health.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/config.py.j2 +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/core/__init__.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/core/config.py.j2 +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/core/database.py.j2 +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/core/registry.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/main.py.j2 +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/src/models/__init__.py +0 -0
- {plinth_cli-1.0.1 → plinth_cli-1.0.2}/src/plinth/templates/base/tests/__init__.py +0 -0
- {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.
|
|
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
|
-
│ ├──
|
|
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
|
-
│ │ ├──
|
|
217
|
-
│ │
|
|
218
|
-
│
|
|
219
|
-
│
|
|
220
|
-
└──
|
|
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
|
-
│ ├──
|
|
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
|
-
│ │ ├──
|
|
182
|
-
│ │
|
|
183
|
-
│
|
|
184
|
-
│
|
|
185
|
-
└──
|
|
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
|
-
│ │ ├──
|
|
156
|
+
│ │ ├── __init__.py
|
|
157
|
+
│ │ ├── config.py # Application settings
|
|
158
|
+
│ │ ├── database.py # Database connection (if DB selected)
|
|
151
159
|
│ │ └── registry.py # Route registration
|
|
152
|
-
│ └──
|
|
153
|
-
│ └──
|
|
154
|
-
|
|
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
|
|
|
@@ -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
|
-
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|