quipus-generate 0.1.6__tar.gz → 0.1.8__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.
- quipus_generate-0.1.8/PKG-INFO +50 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/cli.py +11 -10
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/microservice_generator.py +2 -0
- quipus_generate-0.1.8/quipus_generate.egg-info/PKG-INFO +50 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/setup.py +12 -1
- quipus_generate-0.1.6/PKG-INFO +0 -9
- quipus_generate-0.1.6/quipus_generate.egg-info/PKG-INFO +0 -9
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/LICENSE +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/README.md +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/__init__.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/docker_modified.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/entity_generator.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/git_generator.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/main_modified.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/migration_generator.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/proyect_generator.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/readme_modified.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/amautta_project/site_generator.py +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/quipus_generate.egg-info/SOURCES.txt +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/quipus_generate.egg-info/dependency_links.txt +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/quipus_generate.egg-info/entry_points.txt +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/quipus_generate.egg-info/requires.txt +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/quipus_generate.egg-info/top_level.txt +0 -0
- {quipus_generate-0.1.6 → quipus_generate-0.1.8}/setup.cfg +0 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: quipus-generate
|
3
|
+
Version: 0.1.8
|
4
|
+
Summary: Generador de proyectos FastAPI con arquitectura Hexagonal.
|
5
|
+
Author: Juan David Corrales Saldarriaga
|
6
|
+
Author-email: sistemas@amauttasistems.com
|
7
|
+
License: Proprietary
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
9
|
+
Classifier: License :: Other/Proprietary License
|
10
|
+
Classifier: Operating System :: OS Independent
|
11
|
+
Requires-Python: >=3.8
|
12
|
+
Description-Content-Type: text/markdown
|
13
|
+
License-File: LICENSE
|
14
|
+
Requires-Dist: inflection
|
15
|
+
|
16
|
+
# 🚀 quipus-generate
|
17
|
+
|
18
|
+
**quipus-generate** es una base de proyecto en Python que implementa una arquitectura **hexagonal** (puertos y adaptadores) con **FastAPI**, **PostgreSQL**, **SQLAlchemy** y **Alembic**. Está pensado para escalar y adaptarse a microservicios, con migraciones gestionadas por servicio.
|
19
|
+
|
20
|
+
---
|
21
|
+
|
22
|
+
## 📦 Características
|
23
|
+
|
24
|
+
- ✅ Arquitectura hexagonal (Domain Driven Design)
|
25
|
+
- 🔧 CRUD de entidades
|
26
|
+
- 🛢️ PostgreSQL como base de datos
|
27
|
+
- 🧱 SQLAlchemy como ORM
|
28
|
+
- 📜 Alembic para control de migraciones
|
29
|
+
- 🐳 Soporte para Docker y Docker Compose
|
30
|
+
- ⚙️ Configuración por entorno
|
31
|
+
|
32
|
+
---
|
33
|
+
|
34
|
+
# Comandos cli
|
35
|
+
|
36
|
+
## 🐳 Crear proyecto
|
37
|
+
```
|
38
|
+
quipus-generate init <nombre-del-proyecto>
|
39
|
+
```
|
40
|
+
|
41
|
+
## 🧩 Crear microservicio
|
42
|
+
```
|
43
|
+
quipus-generate microservice <microservicio> <entidad>
|
44
|
+
```
|
45
|
+
|
46
|
+
## 🐍 Crear entidad
|
47
|
+
```
|
48
|
+
quipus-generate entity <entidad>
|
49
|
+
```
|
50
|
+
|
@@ -1,14 +1,15 @@
|
|
1
1
|
import argparse
|
2
|
-
|
3
|
-
|
4
|
-
from
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
11
|
-
from
|
2
|
+
import os
|
3
|
+
|
4
|
+
from microservice_generator import create as microservice
|
5
|
+
from docker_modified import modify as docker_modify
|
6
|
+
from migration_generator import create as migration
|
7
|
+
from readme_modified import modify as readme_modify
|
8
|
+
from main_modified import modify as main_modify
|
9
|
+
from proyect_generator import create as project
|
10
|
+
from git_generator import create as git_create
|
11
|
+
from entity_generator import create as entity
|
12
|
+
from site_generator import create as site
|
12
13
|
|
13
14
|
def main():
|
14
15
|
parser = argparse.ArgumentParser(description="Generador de proyectos FastAPI con docker-compose y base de datos postgres.")
|
@@ -3,6 +3,8 @@ import os
|
|
3
3
|
|
4
4
|
def create(name):
|
5
5
|
|
6
|
+
print("Ubicación absoluta:", os.path.abspath(__file__))
|
7
|
+
|
6
8
|
# si no esta ubicado en la carpeta del proyecto que debe contemerr un docker-compose.yml para toda la ejecucion
|
7
9
|
if not os.path.isfile("docker-compose.yml"):
|
8
10
|
print("ℹ️ No se encuentra en la carpeta del proyecto.")
|
@@ -0,0 +1,50 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: quipus-generate
|
3
|
+
Version: 0.1.8
|
4
|
+
Summary: Generador de proyectos FastAPI con arquitectura Hexagonal.
|
5
|
+
Author: Juan David Corrales Saldarriaga
|
6
|
+
Author-email: sistemas@amauttasistems.com
|
7
|
+
License: Proprietary
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
9
|
+
Classifier: License :: Other/Proprietary License
|
10
|
+
Classifier: Operating System :: OS Independent
|
11
|
+
Requires-Python: >=3.8
|
12
|
+
Description-Content-Type: text/markdown
|
13
|
+
License-File: LICENSE
|
14
|
+
Requires-Dist: inflection
|
15
|
+
|
16
|
+
# 🚀 quipus-generate
|
17
|
+
|
18
|
+
**quipus-generate** es una base de proyecto en Python que implementa una arquitectura **hexagonal** (puertos y adaptadores) con **FastAPI**, **PostgreSQL**, **SQLAlchemy** y **Alembic**. Está pensado para escalar y adaptarse a microservicios, con migraciones gestionadas por servicio.
|
19
|
+
|
20
|
+
---
|
21
|
+
|
22
|
+
## 📦 Características
|
23
|
+
|
24
|
+
- ✅ Arquitectura hexagonal (Domain Driven Design)
|
25
|
+
- 🔧 CRUD de entidades
|
26
|
+
- 🛢️ PostgreSQL como base de datos
|
27
|
+
- 🧱 SQLAlchemy como ORM
|
28
|
+
- 📜 Alembic para control de migraciones
|
29
|
+
- 🐳 Soporte para Docker y Docker Compose
|
30
|
+
- ⚙️ Configuración por entorno
|
31
|
+
|
32
|
+
---
|
33
|
+
|
34
|
+
# Comandos cli
|
35
|
+
|
36
|
+
## 🐳 Crear proyecto
|
37
|
+
```
|
38
|
+
quipus-generate init <nombre-del-proyecto>
|
39
|
+
```
|
40
|
+
|
41
|
+
## 🧩 Crear microservicio
|
42
|
+
```
|
43
|
+
quipus-generate microservice <microservicio> <entidad>
|
44
|
+
```
|
45
|
+
|
46
|
+
## 🐍 Crear entidad
|
47
|
+
```
|
48
|
+
quipus-generate entity <entidad>
|
49
|
+
```
|
50
|
+
|
@@ -1,8 +1,11 @@
|
|
1
1
|
from setuptools import setup, find_packages
|
2
2
|
|
3
|
+
with open("README.md", "r", encoding="utf-8") as fh:
|
4
|
+
long_description = fh.read()
|
5
|
+
|
3
6
|
setup(
|
4
7
|
name="quipus-generate",
|
5
|
-
version="0.1.
|
8
|
+
version="0.1.8",
|
6
9
|
packages=find_packages(),
|
7
10
|
entry_points={
|
8
11
|
"console_scripts": [
|
@@ -13,8 +16,16 @@ setup(
|
|
13
16
|
"inflection"
|
14
17
|
],
|
15
18
|
description="Generador de proyectos FastAPI con arquitectura Hexagonal.",
|
19
|
+
long_description=long_description,
|
20
|
+
long_description_content_type="text/markdown",
|
16
21
|
author="Juan David Corrales Saldarriaga",
|
17
22
|
author_email="sistemas@amauttasistems.com",
|
18
23
|
license="Proprietary",
|
19
24
|
include_package_data=True,
|
25
|
+
classifiers=[
|
26
|
+
"Programming Language :: Python :: 3",
|
27
|
+
"License :: Other/Proprietary License",
|
28
|
+
"Operating System :: OS Independent",
|
29
|
+
],
|
30
|
+
python_requires=">=3.8",
|
20
31
|
)
|
quipus_generate-0.1.6/PKG-INFO
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: quipus-generate
|
3
|
-
Version: 0.1.6
|
4
|
-
Summary: Generador de proyectos FastAPI con arquitectura Hexagonal.
|
5
|
-
Author: Juan David Corrales Saldarriaga
|
6
|
-
Author-email: sistemas@amauttasistems.com
|
7
|
-
License: Proprietary
|
8
|
-
License-File: LICENSE
|
9
|
-
Requires-Dist: inflection
|
@@ -1,9 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: quipus-generate
|
3
|
-
Version: 0.1.6
|
4
|
-
Summary: Generador de proyectos FastAPI con arquitectura Hexagonal.
|
5
|
-
Author: Juan David Corrales Saldarriaga
|
6
|
-
Author-email: sistemas@amauttasistems.com
|
7
|
-
License: Proprietary
|
8
|
-
License-File: LICENSE
|
9
|
-
Requires-Dist: inflection
|
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
|
{quipus_generate-0.1.6 → quipus_generate-0.1.8}/quipus_generate.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|