fastbrick 0.2__py3-none-any.whl → 0.4__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- fastbrick-0.4.dist-info/METADATA +79 -0
- fastbrick-0.4.dist-info/RECORD +6 -0
- fastbrick-0.4.dist-info/entry_points.txt +3 -0
- fastbrick-0.2.dist-info/METADATA +0 -21
- fastbrick-0.2.dist-info/RECORD +0 -6
- fastbrick-0.2.dist-info/entry_points.txt +0 -3
- {fastbrick-0.2.dist-info → fastbrick-0.4.dist-info}/LICENSE +0 -0
- {fastbrick-0.2.dist-info → fastbrick-0.4.dist-info}/WHEEL +0 -0
- {fastbrick-0.2.dist-info → fastbrick-0.4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,79 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: fastbrick
|
3
|
+
Version: 0.4
|
4
|
+
Summary: A CLI tool for generating FastAPI projects and apps
|
5
|
+
Home-page: UNKNOWN
|
6
|
+
Author: Sandeep Singh Negi
|
7
|
+
Author-email: sandeepnegi1710@gmail.com
|
8
|
+
License: UNKNOWN
|
9
|
+
Platform: UNKNOWN
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
12
|
+
Classifier: Operating System :: OS Independent
|
13
|
+
Requires-Python: >=3.7
|
14
|
+
Description-Content-Type: text/markdown
|
15
|
+
License-File: LICENSE
|
16
|
+
Requires-Dist: click
|
17
|
+
Requires-Dist: fastapi
|
18
|
+
Requires-Dist: jinja2
|
19
|
+
|
20
|
+
# FastBrick 🚀
|
21
|
+
|
22
|
+
A simple CLI tool to generate FastAPI project structures.
|
23
|
+
|
24
|
+
## Installation
|
25
|
+
|
26
|
+
Install FastBrick using:
|
27
|
+
```sh
|
28
|
+
pip install fastbrick
|
29
|
+
```
|
30
|
+
|
31
|
+
## Run Server
|
32
|
+
|
33
|
+
Start the FastAPI server with:
|
34
|
+
```sh
|
35
|
+
uvicorn main:app --reload
|
36
|
+
```
|
37
|
+
|
38
|
+
## Help Command
|
39
|
+
|
40
|
+
To see available options and commands:
|
41
|
+
```sh
|
42
|
+
fastbrick --help
|
43
|
+
```
|
44
|
+
|
45
|
+
## Usage
|
46
|
+
Create a New Project
|
47
|
+
Creates a new FastAPI project with a structured layout.
|
48
|
+
```sh
|
49
|
+
fastbrick create-project my_project
|
50
|
+
```
|
51
|
+
Create a New App
|
52
|
+
Creates a new FastAPI app (router) with database settings.
|
53
|
+
|
54
|
+
```sh
|
55
|
+
fastbirck create-app my_app
|
56
|
+
```
|
57
|
+
|
58
|
+
## Project Structure
|
59
|
+
|
60
|
+
```
|
61
|
+
myproject/
|
62
|
+
│── main.py # Entry point for FastAPI app
|
63
|
+
│── routes.py # Contains 'custom routes'
|
64
|
+
│── alembic.ini
|
65
|
+
│── models.py
|
66
|
+
│── schemas.py
|
67
|
+
│── middlewares/
|
68
|
+
│ ├── middleware.py # Global middleware logic
|
69
|
+
│── routers/ # API route modules
|
70
|
+
│── settings/
|
71
|
+
│ ├── database.py # Database configuration
|
72
|
+
│ ├── routing.py # Router configurations
|
73
|
+
│── alembic/
|
74
|
+
```
|
75
|
+
|
76
|
+
This structure ensures modularity and scalability for your FastAPI project. Adjust the folders and files as needed based on your project requirements.
|
77
|
+
|
78
|
+
|
79
|
+
|
@@ -0,0 +1,6 @@
|
|
1
|
+
fastbrick-0.4.dist-info/LICENSE,sha256=VueWmlho5XxqjRpByo5KlMuWT7T-_AjQOVeiXRad66o,244
|
2
|
+
fastbrick-0.4.dist-info/METADATA,sha256=Ce94KytoRlAE9o0P4j_SVzZktPYU4VbEgTV9UNL9NTo,1741
|
3
|
+
fastbrick-0.4.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
4
|
+
fastbrick-0.4.dist-info/entry_points.txt,sha256=E25qyIpsqpZCjdza4bncHZhd7tmQwWqnWaz8eTz5luE,45
|
5
|
+
fastbrick-0.4.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
6
|
+
fastbrick-0.4.dist-info/RECORD,,
|
fastbrick-0.2.dist-info/METADATA
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: fastbrick
|
3
|
-
Version: 0.2
|
4
|
-
Summary: A CLI tool for generating FastAPI projects and apps
|
5
|
-
Home-page: UNKNOWN
|
6
|
-
Author: Sandeep Singh Negi
|
7
|
-
Author-email: sandeepnegi1710@gmail.com
|
8
|
-
License: UNKNOWN
|
9
|
-
Platform: UNKNOWN
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
12
|
-
Classifier: Operating System :: OS Independent
|
13
|
-
Requires-Python: >=3.7
|
14
|
-
Description-Content-Type: text/plain
|
15
|
-
License-File: LICENSE
|
16
|
-
Requires-Dist: click
|
17
|
-
Requires-Dist: fastapi
|
18
|
-
Requires-Dist: jinja2
|
19
|
-
|
20
|
-
FastAPI-CLI created by Sandeep Singh Negi on 2025-02-19.
|
21
|
-
|
fastbrick-0.2.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
fastbrick-0.2.dist-info/LICENSE,sha256=VueWmlho5XxqjRpByo5KlMuWT7T-_AjQOVeiXRad66o,244
|
2
|
-
fastbrick-0.2.dist-info/METADATA,sha256=Hbckx37CWnf46YPUX_s1jLJVedyfmsGHOxwpI2r-pcs,586
|
3
|
-
fastbrick-0.2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
4
|
-
fastbrick-0.2.dist-info/entry_points.txt,sha256=PdmQx7gBRECxTrnA3YwBPlXsiGKDsiJOaZCaJQo_HPE,47
|
5
|
-
fastbrick-0.2.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
6
|
-
fastbrick-0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|