fastbrick 0.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastbrick
3
- Version: 0.3
3
+ Version: 0.4
4
4
  Summary: A CLI tool for generating FastAPI projects and apps
5
5
  Home-page: UNKNOWN
6
6
  Author: Sandeep Singh Negi
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
11
11
  Classifier: License :: OSI Approved :: MIT License
12
12
  Classifier: Operating System :: OS Independent
13
13
  Requires-Python: >=3.7
14
- Description-Content-Type: text/plain
14
+ Description-Content-Type: text/markdown
15
15
  License-File: LICENSE
16
16
  Requires-Dist: click
17
17
  Requires-Dist: fastapi
@@ -35,12 +35,32 @@ Start the FastAPI server with:
35
35
  uvicorn main:app --reload
36
36
  ```
37
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
+
38
58
  ## Project Structure
39
59
 
40
60
  ```
41
61
  myproject/
42
62
  │── main.py # Entry point for FastAPI app
43
- │── routes.py # Contains 'custom_routes'
63
+ │── routes.py # Contains 'custom routes'
44
64
  │── alembic.ini
45
65
  │── models.py
46
66
  │── schemas.py
@@ -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,,
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ fastbrick = fastbrick:cli
3
+
@@ -1,6 +0,0 @@
1
- fastbrick-0.3.dist-info/LICENSE,sha256=VueWmlho5XxqjRpByo5KlMuWT7T-_AjQOVeiXRad66o,244
2
- fastbrick-0.3.dist-info/METADATA,sha256=RKVDqXq5lqM6ht-Ugqku-WSulBpW_peq9JcZOEFX1bA,1406
3
- fastbrick-0.3.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
4
- fastbrick-0.3.dist-info/entry_points.txt,sha256=PdmQx7gBRECxTrnA3YwBPlXsiGKDsiJOaZCaJQo_HPE,47
5
- fastbrick-0.3.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
- fastbrick-0.3.dist-info/RECORD,,
@@ -1,3 +0,0 @@
1
- [console_scripts]
2
- fastbrick = fastapi_cli:cli
3
-