Skip to main content

Springlabs Projects Python Standard

Project description

SpringLabs-Python

N|Solid

Springlabs-Python is a CLI Application to create python projects with a defined struture to springlabs.

  • Create projects Django (logical or physical)
    • PostgreSQL
    • MySQL
  • Create projects Flask (logical)
    • MongoDB

You can also:

  • Import and save files from GitHub, Dropbox, Google Drive and One Drive
  • Drag and drop markdown and HTML files into Dillinger
  • Export documents as Markdown, HTML and PDF

Primero resuelve el problema, despues escribe el código. — John Johnson

Tech

Springlabs-Python uses a number of open source projects to work properly:

  • Django - high-level Python Web framework
  • DjangoRestFramework - powerful and flexible toolkit for building Web APIs.
  • Flask - powerful and flexible microframework for building Web APIs.
  • Click - package for creating beautiful command line interfaces

Installation

Springlabs-Python requires Python v3.6+ to run.

Install and update using pip.

$ pip install -U springlabs-python

Install latest version

$ pip install springlabs-python

Install specific version

$ pip install springlabs-python==[version]

Usage

Helpers

After install the library Open your favorite Terminal and run these commands.

Help:

$ springlabs_python --help

Console output

Usage: springlabs_python [OPTIONS] COMMAND [ARGS]...

  Springlabs Manager projects.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  create-project  Create a new Python project

Version:

$ springlabs_python --version

Console output

Springlabs Manager, v[version]

Create Project Help:

$ springlabs_python create-project --help

Console output

Usage: springlabs_python create-project [OPTIONS]

  Create a new Python project

Options:
  -fw, --framework [Django|Flask]
                                  Python Framework to use  [default: Django]
  -db, --database [postgres|mysql|mongo]
                                  Database engine to use  [default: postgres]
  -d, --diseno [logico|fisico]    Database design to use  [default: logico]
  -n, --name TEXT                 Project Name
  --help                          Show this message and exit.

Create Project

Create project with interactive CLI

$ springlabs_python create-project

Console output

Framework a utilizar (Django, Flask) [Django]: django
Database a utilizar (postgres, mysql, mongo) [postgres]: postgres
Diseño de database a utilizar (logico, fisico) [logico]: logico
Project Name: project_test
Se creó proyecto Django-postgres(logico) [project_test] correctamente

Create project shortcut To create a project simple shortcut use the options --flag send the value after flag Example:

$ springlabs_python create-project --framework django --database mysql --diseno fisico --name project_test

Console output

Se creó proyecto Django-postgres(logico) [project_test] correctamente

Alternative use -flag instead of --flag send the value after flag Example:

$ springlabs_python create-project -fw django -db mysql -d fisico -n project_test

Console output

Se creó proyecto Django-postgres(logico) [project_test] correctamente

Commands

springlabs_python

Command Short Long
Help --help
Version --version

springlabs_python create-project

Command Short Long
Help --help
Version --version
Framework -fw --framework
Database -db --database
Design -d --diseno
Name -n --name

Links

License

MIT

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

springlabs_python-0.8.6.tar.gz (9.9 kB view details)

Uploaded Source

Built Distributions

springlabs_python-0.8.6-py3.6.egg (14.9 kB view details)

Uploaded Source

springlabs_python-0.8.6-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file springlabs_python-0.8.6.tar.gz.

File metadata

  • Download URL: springlabs_python-0.8.6.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for springlabs_python-0.8.6.tar.gz
Algorithm Hash digest
SHA256 b5f672b126d7b4573c5f74f0dc0deb74cfa9dd0382e43ea576fb7d8aa4e44279
MD5 8e5a3fbe53ca9365c7cc1f91dd19846c
BLAKE2b-256 6be937cc96580b07b5776da6af9444c9066a95bf43c91d5cb18157509eba21c1

See more details on using hashes here.

File details

Details for the file springlabs_python-0.8.6-py3.6.egg.

File metadata

  • Download URL: springlabs_python-0.8.6-py3.6.egg
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for springlabs_python-0.8.6-py3.6.egg
Algorithm Hash digest
SHA256 243b85308b2f66ccecb02e5e72ffd9a8be41ee968bb3dbcac1d854ba43e05b9f
MD5 85c9cf0064d96ed6827c97a6b2749537
BLAKE2b-256 ea2cefa924b1f2f309d7cfb4131b72180896ced55572dba35c3c6ca8a31b39ca

See more details on using hashes here.

File details

Details for the file springlabs_python-0.8.6-py3-none-any.whl.

File metadata

  • Download URL: springlabs_python-0.8.6-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for springlabs_python-0.8.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3a1649eb93fea7b85dbacc33120be1da1430b2bd054db0111626f139b610748c
MD5 c52e0e4b5adaefebb998b5aa1316db87
BLAKE2b-256 9efa7cd9ae66b0a6ac022d07271ed2e7a08e181bfac1cabd2335d25bb5467952

See more details on using hashes here.

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