fastbrick 0.2__tar.gz → 0.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
fastbrick-0.4/PKG-INFO ADDED
@@ -0,0 +1,76 @@
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
+
17
+ # FastBrick 🚀
18
+
19
+ A simple CLI tool to generate FastAPI project structures.
20
+
21
+ ## Installation
22
+
23
+ Install FastBrick using:
24
+ ```sh
25
+ pip install fastbrick
26
+ ```
27
+
28
+ ## Run Server
29
+
30
+ Start the FastAPI server with:
31
+ ```sh
32
+ uvicorn main:app --reload
33
+ ```
34
+
35
+ ## Help Command
36
+
37
+ To see available options and commands:
38
+ ```sh
39
+ fastbrick --help
40
+ ```
41
+
42
+ ## Usage
43
+ Create a New Project
44
+ Creates a new FastAPI project with a structured layout.
45
+ ```sh
46
+ fastbrick create-project my_project
47
+ ```
48
+ Create a New App
49
+ Creates a new FastAPI app (router) with database settings.
50
+
51
+ ```sh
52
+ fastbirck create-app my_app
53
+ ```
54
+
55
+ ## Project Structure
56
+
57
+ ```
58
+ myproject/
59
+ │── main.py # Entry point for FastAPI app
60
+ │── routes.py # Contains 'custom routes'
61
+ │── alembic.ini
62
+ │── models.py
63
+ │── schemas.py
64
+ │── middlewares/
65
+ │ ├── middleware.py # Global middleware logic
66
+ │── routers/ # API route modules
67
+ │── settings/
68
+ │ ├── database.py # Database configuration
69
+ │ ├── routing.py # Router configurations
70
+ │── alembic/
71
+ ```
72
+
73
+ This structure ensures modularity and scalability for your FastAPI project. Adjust the folders and files as needed based on your project requirements.
74
+
75
+
76
+
@@ -16,12 +16,32 @@ Start the FastAPI server with:
16
16
  uvicorn main:app --reload
17
17
  ```
18
18
 
19
+ ## Help Command
20
+
21
+ To see available options and commands:
22
+ ```sh
23
+ fastbrick --help
24
+ ```
25
+
26
+ ## Usage
27
+ Create a New Project
28
+ Creates a new FastAPI project with a structured layout.
29
+ ```sh
30
+ fastbrick create-project my_project
31
+ ```
32
+ Create a New App
33
+ Creates a new FastAPI app (router) with database settings.
34
+
35
+ ```sh
36
+ fastbirck create-app my_app
37
+ ```
38
+
19
39
  ## Project Structure
20
40
 
21
41
  ```
22
42
  myproject/
23
43
  │── main.py # Entry point for FastAPI app
24
- │── routes.py # Contains 'custom_routes'
44
+ │── routes.py # Contains 'custom routes'
25
45
  │── alembic.ini
26
46
  │── models.py
27
47
  │── schemas.py
@@ -0,0 +1,76 @@
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
+
17
+ # FastBrick 🚀
18
+
19
+ A simple CLI tool to generate FastAPI project structures.
20
+
21
+ ## Installation
22
+
23
+ Install FastBrick using:
24
+ ```sh
25
+ pip install fastbrick
26
+ ```
27
+
28
+ ## Run Server
29
+
30
+ Start the FastAPI server with:
31
+ ```sh
32
+ uvicorn main:app --reload
33
+ ```
34
+
35
+ ## Help Command
36
+
37
+ To see available options and commands:
38
+ ```sh
39
+ fastbrick --help
40
+ ```
41
+
42
+ ## Usage
43
+ Create a New Project
44
+ Creates a new FastAPI project with a structured layout.
45
+ ```sh
46
+ fastbrick create-project my_project
47
+ ```
48
+ Create a New App
49
+ Creates a new FastAPI app (router) with database settings.
50
+
51
+ ```sh
52
+ fastbirck create-app my_app
53
+ ```
54
+
55
+ ## Project Structure
56
+
57
+ ```
58
+ myproject/
59
+ │── main.py # Entry point for FastAPI app
60
+ │── routes.py # Contains 'custom routes'
61
+ │── alembic.ini
62
+ │── models.py
63
+ │── schemas.py
64
+ │── middlewares/
65
+ │ ├── middleware.py # Global middleware logic
66
+ │── routers/ # API route modules
67
+ │── settings/
68
+ │ ├── database.py # Database configuration
69
+ │ ├── routing.py # Router configurations
70
+ │── alembic/
71
+ ```
72
+
73
+ This structure ensures modularity and scalability for your FastAPI project. Adjust the folders and files as needed based on your project requirements.
74
+
75
+
76
+
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ fastbrick = fastbrick:cli
3
+
@@ -7,17 +7,17 @@ with open("README.md", "r", encoding="utf-8") as fh:
7
7
 
8
8
  setup(
9
9
  name="fastbrick",
10
- version="0.2",
10
+ version="0.4",
11
11
  author="Sandeep Singh Negi", # 👈
12
12
  author_email="sandeepnegi1710@gmail.com", # 👈
13
13
  description="A CLI tool for generating FastAPI projects and apps",
14
- long_description="FastAPI-CLI created by Sandeep Singh Negi on 2025-02-19.", # 👈
15
- long_description_content_type="text/plain",
14
+ long_description=long_description, # Use the README content
15
+ long_description_content_type="text/markdown",
16
16
  packages=find_packages(),
17
17
  install_requires=["fastapi", "click", "jinja2"],
18
18
  entry_points={
19
19
  "console_scripts": [
20
- "fastbrick = fastapi_cli:cli",
20
+ "fastbrick = fastbrick:cli",
21
21
  ],
22
22
  },
23
23
  classifiers=[
fastbrick-0.2/PKG-INFO DELETED
@@ -1,18 +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
-
17
- FastAPI-CLI created by Sandeep Singh Negi on 2025-02-19.
18
-
@@ -1,18 +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
-
17
- FastAPI-CLI created by Sandeep Singh Negi on 2025-02-19.
18
-
@@ -1,3 +0,0 @@
1
- [console_scripts]
2
- fastbrick = fastapi_cli:cli
3
-
File without changes
File without changes