shafikul-cli 2.1.3__tar.gz → 2.1.6__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.
- {shafikul_cli-2.1.3/shafikul_cli.egg-info → shafikul_cli-2.1.6}/PKG-INFO +4 -4
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/README.md +3 -3
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/pyproject.toml +1 -1
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/main.py +1 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/helper_function.py +3 -2
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/install_dependicy.py +6 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6/shafikul_cli.egg-info}/PKG-INFO +4 -4
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/LICENSE +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/setup.cfg +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/__init__.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/asset/__init__.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/asset/logo.png +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/__init__.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/create_file_content.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/create_file_structure.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/create_html_file.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/ensure_db.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/ensure_main.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli/utility/env_generate.py +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli.egg-info/SOURCES.txt +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli.egg-info/dependency_links.txt +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli.egg-info/entry_points.txt +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli.egg-info/requires.txt +0 -0
- {shafikul_cli-2.1.3 → shafikul_cli-2.1.6}/shafikul_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shafikul_cli
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.6
|
|
4
4
|
Summary: CLI tool for FastAPI scaffolding with router, models, database, and templates.
|
|
5
5
|
Author-email: Md Shafikul Islam <buildwithshafikul@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/build-with-shafikul/shafikul_cli
|
|
@@ -21,7 +21,7 @@ Dynamic: license-file
|
|
|
21
21
|
|
|
22
22
|
<div align="center">
|
|
23
23
|
|
|
24
|
-

|
|
25
25
|

|
|
26
26
|

|
|
27
27
|
[](https://github.com/build-with-shafikul/shafikul_cli)
|
|
@@ -311,7 +311,7 @@ pip install shafikul_cli
|
|
|
311
311
|
### Port 8000 already in use
|
|
312
312
|
Change the port in `main.py`:
|
|
313
313
|
```python
|
|
314
|
-
uvicorn.run("main:app", host="127.0.0.1", port=
|
|
314
|
+
uvicorn.run("main:app", host="127.0.0.1", port=8000, reload=True)
|
|
315
315
|
```
|
|
316
316
|
|
|
317
317
|
### Database migration failed
|
|
@@ -325,7 +325,7 @@ alembic upgrade head
|
|
|
325
325
|
|
|
326
326
|
## 📄 License
|
|
327
327
|
|
|
328
|
-
MIT License — See [LICENSE](
|
|
328
|
+
MIT License — See [LICENSE](https://github.com/build-with-shafikul/shafikul_cli?tab=MIT-1-ov-file) for details.
|
|
329
329
|
|
|
330
330
|
---
|
|
331
331
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
6
6
|
|
|
7
|
-

|
|
8
8
|

|
|
9
9
|

|
|
10
10
|
[](https://github.com/build-with-shafikul/shafikul_cli)
|
|
@@ -294,7 +294,7 @@ pip install shafikul_cli
|
|
|
294
294
|
### Port 8000 already in use
|
|
295
295
|
Change the port in `main.py`:
|
|
296
296
|
```python
|
|
297
|
-
uvicorn.run("main:app", host="127.0.0.1", port=
|
|
297
|
+
uvicorn.run("main:app", host="127.0.0.1", port=8000, reload=True)
|
|
298
298
|
```
|
|
299
299
|
|
|
300
300
|
### Database migration failed
|
|
@@ -308,7 +308,7 @@ alembic upgrade head
|
|
|
308
308
|
|
|
309
309
|
## 📄 License
|
|
310
310
|
|
|
311
|
-
MIT License — See [LICENSE](
|
|
311
|
+
MIT License — See [LICENSE](https://github.com/build-with-shafikul/shafikul_cli?tab=MIT-1-ov-file) for details.
|
|
312
312
|
|
|
313
313
|
---
|
|
314
314
|
|
|
@@ -69,12 +69,13 @@ def requirements(file_nm: str):
|
|
|
69
69
|
sqlalchemy
|
|
70
70
|
fastapi
|
|
71
71
|
jinja2
|
|
72
|
-
uvicorn[
|
|
72
|
+
uvicorn[standard]
|
|
73
73
|
python-dotenv
|
|
74
74
|
itsdangerous
|
|
75
75
|
python-multipart
|
|
76
76
|
argon2-cffi
|
|
77
77
|
passlib[bcrypt]
|
|
78
|
+
alembic
|
|
78
79
|
""")
|
|
79
80
|
|
|
80
81
|
# ==========================================
|
|
@@ -121,7 +122,7 @@ async def debug(request: Request):
|
|
|
121
122
|
}
|
|
122
123
|
|
|
123
124
|
if __name__ == "__main__":
|
|
124
|
-
uvicorn.run(app, host="127.0.0.1", port=8000, reload=True)
|
|
125
|
+
uvicorn.run("main:app", host="127.0.0.1", port=8000, reload=True)
|
|
125
126
|
""")
|
|
126
127
|
|
|
127
128
|
# ==========================================
|
|
@@ -36,6 +36,12 @@ def alembic_init():
|
|
|
36
36
|
["alembic", "init", "migrations"],
|
|
37
37
|
check=True
|
|
38
38
|
)
|
|
39
|
+
subprocess.run([
|
|
40
|
+
sys.executable,
|
|
41
|
+
"alembic",
|
|
42
|
+
"init",
|
|
43
|
+
"migrations"
|
|
44
|
+
])
|
|
39
45
|
console.print("[green]Alembic initialized successfully[/]")
|
|
40
46
|
except subprocess.CalledProcessError as e:
|
|
41
47
|
console.print(f"[red]Failed to initialize Alembic: {e}[/]")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shafikul_cli
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.6
|
|
4
4
|
Summary: CLI tool for FastAPI scaffolding with router, models, database, and templates.
|
|
5
5
|
Author-email: Md Shafikul Islam <buildwithshafikul@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/build-with-shafikul/shafikul_cli
|
|
@@ -21,7 +21,7 @@ Dynamic: license-file
|
|
|
21
21
|
|
|
22
22
|
<div align="center">
|
|
23
23
|
|
|
24
|
-

|
|
25
25
|

|
|
26
26
|

|
|
27
27
|
[](https://github.com/build-with-shafikul/shafikul_cli)
|
|
@@ -311,7 +311,7 @@ pip install shafikul_cli
|
|
|
311
311
|
### Port 8000 already in use
|
|
312
312
|
Change the port in `main.py`:
|
|
313
313
|
```python
|
|
314
|
-
uvicorn.run("main:app", host="127.0.0.1", port=
|
|
314
|
+
uvicorn.run("main:app", host="127.0.0.1", port=8000, reload=True)
|
|
315
315
|
```
|
|
316
316
|
|
|
317
317
|
### Database migration failed
|
|
@@ -325,7 +325,7 @@ alembic upgrade head
|
|
|
325
325
|
|
|
326
326
|
## 📄 License
|
|
327
327
|
|
|
328
|
-
MIT License — See [LICENSE](
|
|
328
|
+
MIT License — See [LICENSE](https://github.com/build-with-shafikul/shafikul_cli?tab=MIT-1-ov-file) for details.
|
|
329
329
|
|
|
330
330
|
---
|
|
331
331
|
|
|
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
|