Skip to main content

create skeleton for framework falcon, fastApi

Project description

Project description

Skeleton App

Permite crear una estructura completamente funcional basada en los estandares de proyectos Pythagoras este nuevo proyecto contiene una configuracion basica que permite correr la aplicacion, aplica para los siguientes Framework:

  • Falcon
  • Fast Api
  • Flask
  • Django

Next release basic orchestrator and proxies

Pythagoras Standard Projects

Fast Api

project/
├── app
|   ├── api
|   ├── v1
|   ├── core
|   └── meta
|
├── config
│   ├── __init__.py
│   ├── celery.py
│   ├── routers.py
│   └── settings.py
│
├── docker
├── docs
|   └── images
|
├── env.example
├── env.example.json
├── .gitignore
├── .gitlab-ci.yml
├── main.py
├── README.md
├── requirements.txt
├── test_main.py
├── uvicorn.err.log
└── uvicorn.out.log

Falcon

project/
├── app
|    ├── api
|    | └── v1
|    │
|    ├── core
|    |
|    └── meta
|    |
|    └── tests
|
├── config
│   └── settings
|       ├── __init__.py
│       ├── base.py
│       ├── local.py
│       ├── production.py
│       └── staging.py
|   ├── __init__.py
|   └── celery.py
│
├── docker
|
├── env.example
├── env.example.json
├── .gitignore
├── .gitlab-ci.yml
├── README.md
└──requirements.txt

Flask

├── app
│   ├── __init__.py
│   ├── routes
│   │   └── __init__.py
│   └── tests
├── configs
│   ├── config_development.py
│   ├── config_production.py
│   ├── config.py
│   └── config_staging.py
├── docker
│   ├── local
│   │   ├── docker-compose.yml
│   │   └── Dockerfile
│   ├── production
│   │   ├── gunicorn
│   │   │   ├── Dockerfile
│   │   │   ├── entrypoint
│   │   │   └── supervisord.conf
│   │   └── nginx
│   │       ├── config
│   │       │   ├── mime.types
│   │       │   ├── nginx.conf
│   │       │   ├── servers.conf
│   │       │   ├── status.conf
│   │       │   └── vhost.conf
│   │       └── Dockerfile
│   └── staging
│       ├── gunicorn
│       │   ├── Dockerfile
│       │   ├── entrypoint
│       │   └── supervisord.conf
│       └── nginx
│           ├── config
│           │   ├── mime.types
│           │   ├── nginx.conf
│           │   ├── servers.conf
│           │   ├── status.conf
│           │   └── vhost.conf
│           └── Dockerfile
├── instance
├── proyect
│   ├── api
│   │   └──  __init__.py
│   ├── core
│   │   ├── constants.py
│   │   ├── enums.py
│   │   ├── exceptions.py
│   │   ├── handlers.py
│   │   ├── __init__.py
│   │   ├── models.py
│   │   ├── process.py
│   │   ├── test.py
│   │   └── utils.py
│   ├── __init__.py
│   ├── meta
│   │   └── __init__.py
│   └── tests
│       └── test.py
├── pytest.ini
├── README.md
├── release_notes.txt
├── requirements.txt
├── setup.py
└── wsgi.py

Installation

If you're running python3 on most systems, you can install the package with the following command:

pip3 install structure_app

Commands

$ structure_app -h
usage: skeleton [-h] -f Framework -n name [-db db] [-d docker]

List the content of a folder

required arguments:
-f  Framework  seleccione Framework [falcon, fastapi]
-n  name       nombre del proyecto

optional arguments:
-h, --help     show this help message and exit
-db DB         seleccione DB [mongo, mysql]
-d  Docker     Yes - No

Usage

structure_app -f framework -db  -n name_proyect

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

structure-app-0.0.57.tar.gz (1.8 MB view hashes)

Uploaded Source

Built Distribution

structure_app-0.0.57-py3-none-any.whl (43.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page