fastbrick 0.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- fastbrick-0.1/LICENSE +12 -0
- fastbrick-0.1/PKG-INFO +25 -0
- fastbrick-0.1/README.md +38 -0
- fastbrick-0.1/fastbrick.egg-info/PKG-INFO +25 -0
- fastbrick-0.1/fastbrick.egg-info/SOURCES.txt +9 -0
- fastbrick-0.1/fastbrick.egg-info/dependency_links.txt +1 -0
- fastbrick-0.1/fastbrick.egg-info/entry_points.txt +2 -0
- fastbrick-0.1/fastbrick.egg-info/requires.txt +3 -0
- fastbrick-0.1/fastbrick.egg-info/top_level.txt +1 -0
- fastbrick-0.1/setup.cfg +4 -0
- fastbrick-0.1/setup.py +24 -0
fastbrick-0.1/LICENSE
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
---
|
3
|
+
|
4
|
+
## **5️⃣ Write `LICENSE` (MIT License Example)**
|
5
|
+
Inside **`LICENSE`**, add:
|
6
|
+
|
7
|
+
```text
|
8
|
+
MIT License
|
9
|
+
|
10
|
+
Copyright (c) 2025 Sandeep Singh Negi
|
11
|
+
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software...
|
fastbrick-0.1/PKG-INFO
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: fastbrick
|
3
|
+
Version: 0.1
|
4
|
+
Summary: A CLI tool for generating FastAPI projects and apps
|
5
|
+
Author: Sandeep Singh Negi
|
6
|
+
Author-email: sandeepnegi1710@gmail.com
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
9
|
+
Classifier: Operating System :: OS Independent
|
10
|
+
Requires-Python: >=3.7
|
11
|
+
Description-Content-Type: text/plain
|
12
|
+
License-File: LICENSE
|
13
|
+
Requires-Dist: fastapi
|
14
|
+
Requires-Dist: click
|
15
|
+
Requires-Dist: jinja2
|
16
|
+
Dynamic: author
|
17
|
+
Dynamic: author-email
|
18
|
+
Dynamic: classifier
|
19
|
+
Dynamic: description
|
20
|
+
Dynamic: description-content-type
|
21
|
+
Dynamic: requires-dist
|
22
|
+
Dynamic: requires-python
|
23
|
+
Dynamic: summary
|
24
|
+
|
25
|
+
FastAPI-CLI created by Sandeep Singh Negi on 2025-02-19.
|
fastbrick-0.1/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# FastBrick 🚀
|
2
|
+
|
3
|
+
A simple CLI tool to generate FastAPI project structures.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Install FastBrick using:
|
8
|
+
```sh
|
9
|
+
pip install fastbrick
|
10
|
+
```
|
11
|
+
|
12
|
+
## Run Server
|
13
|
+
|
14
|
+
Start the FastAPI server with:
|
15
|
+
```sh
|
16
|
+
uvicorn main:app --reload
|
17
|
+
```
|
18
|
+
|
19
|
+
## Project Structure
|
20
|
+
|
21
|
+
```
|
22
|
+
myproject/
|
23
|
+
│── main.py # Entry point for FastAPI app
|
24
|
+
│── routes.py # Contains 'custom_routes'
|
25
|
+
│── alembic.ini
|
26
|
+
│── models.py
|
27
|
+
│── schemas.py
|
28
|
+
│── middlewares/
|
29
|
+
│ ├── middleware.py # Global middleware logic
|
30
|
+
│── routers/ # API route modules
|
31
|
+
│── settings/
|
32
|
+
│ ├── database.py # Database configuration
|
33
|
+
│ ├── routing.py # Router configurations
|
34
|
+
│── alembic/
|
35
|
+
```
|
36
|
+
|
37
|
+
This structure ensures modularity and scalability for your FastAPI project. Adjust the folders and files as needed based on your project requirements.
|
38
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: fastbrick
|
3
|
+
Version: 0.1
|
4
|
+
Summary: A CLI tool for generating FastAPI projects and apps
|
5
|
+
Author: Sandeep Singh Negi
|
6
|
+
Author-email: sandeepnegi1710@gmail.com
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
9
|
+
Classifier: Operating System :: OS Independent
|
10
|
+
Requires-Python: >=3.7
|
11
|
+
Description-Content-Type: text/plain
|
12
|
+
License-File: LICENSE
|
13
|
+
Requires-Dist: fastapi
|
14
|
+
Requires-Dist: click
|
15
|
+
Requires-Dist: jinja2
|
16
|
+
Dynamic: author
|
17
|
+
Dynamic: author-email
|
18
|
+
Dynamic: classifier
|
19
|
+
Dynamic: description
|
20
|
+
Dynamic: description-content-type
|
21
|
+
Dynamic: requires-dist
|
22
|
+
Dynamic: requires-python
|
23
|
+
Dynamic: summary
|
24
|
+
|
25
|
+
FastAPI-CLI created by Sandeep Singh Negi on 2025-02-19.
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
fastbrick-0.1/setup.cfg
ADDED
fastbrick-0.1/setup.py
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
from setuptools import setup, find_packages
|
2
|
+
|
3
|
+
setup(
|
4
|
+
name="fastbrick",
|
5
|
+
version="0.1",
|
6
|
+
author="Sandeep Singh Negi", # 👈
|
7
|
+
author_email="sandeepnegi1710@gmail.com", # 👈
|
8
|
+
description="A CLI tool for generating FastAPI projects and apps",
|
9
|
+
long_description="FastAPI-CLI created by Sandeep Singh Negi on 2025-02-19.", # 👈
|
10
|
+
long_description_content_type="text/plain",
|
11
|
+
packages=find_packages(),
|
12
|
+
install_requires=["fastapi", "click", "jinja2"],
|
13
|
+
entry_points={
|
14
|
+
"console_scripts": [
|
15
|
+
"fastbrick = fastapi_cli:cli",
|
16
|
+
],
|
17
|
+
},
|
18
|
+
classifiers=[
|
19
|
+
"Programming Language :: Python :: 3",
|
20
|
+
"License :: OSI Approved :: MIT License",
|
21
|
+
"Operating System :: OS Independent",
|
22
|
+
],
|
23
|
+
python_requires=">=3.7",
|
24
|
+
)
|