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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file structure-app-0.0.57.tar.gz.

File metadata

  • Download URL: structure-app-0.0.57.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for structure-app-0.0.57.tar.gz
Algorithm Hash digest
SHA256 0ebb0ec349496a53a0bf80262edaeaa139c0fd99b2de35861d686b0dc940b8f7
MD5 f38c4e4542a15b599eba497c65f24dd5
BLAKE2b-256 2c4b83d1b535e65661e7bbb4ea52d1969afd1b312177f822e4c6c91bb344e58c

See more details on using hashes here.

File details

Details for the file structure_app-0.0.57-py3-none-any.whl.

File metadata

  • Download URL: structure_app-0.0.57-py3-none-any.whl
  • Upload date:
  • Size: 43.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for structure_app-0.0.57-py3-none-any.whl
Algorithm Hash digest
SHA256 43cb649a9f63df02dc45f633ab4df8a8f9833b6102eec4083316623fe503fd05
MD5 c5bd099bf459696d8a0e0166b69184e6
BLAKE2b-256 bd01f58d7f3f9a7661da2a8190cf7f634b6ae34f203ee816dcd206a5ecd76c1b

See more details on using hashes here.

Supported by

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