Skip to main content

A sample Flask app

Project description

Sample flask app project

About

Sample flask application packaged and ready to deploy

Goals

The main project goals are:

  • sample skeleton for fast start develop;
  • usage flask_sample package from pypi for checking docker python web app packaging;

Deploying on production

pip3 install flask-sample[gunicorn]
gunicorn --bind 127.0.0.1:8088 flask_sample.wsgi

Setup and configure development environment

Clone repository

git clone git@github.com:ph20/flask-sample.git

Create virtual environment with venv module

cd flask-sample
python3 -m venv ./venv
source ./venv/bin/activate
pip install -e .[dev]

Try to run application in development mode

python ./src/flask_sample/app.py

Preparing python packages

source package python setup.py build sdist

wheel package python setup.py build bdist_wheel

Find packages in dist directory

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

flask-sample-0.4a4.tar.gz (59.3 kB view details)

Uploaded Source

Built Distribution

flask_sample-0.4a4-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

Details for the file flask-sample-0.4a4.tar.gz.

File metadata

  • Download URL: flask-sample-0.4a4.tar.gz
  • Upload date:
  • Size: 59.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for flask-sample-0.4a4.tar.gz
Algorithm Hash digest
SHA256 6c31840a168e8c53a14368fef3f1de021b77eabfab193db2f8caa498d09a34dc
MD5 2eb125199d443761d4809b80fde7cebf
BLAKE2b-256 0234fccc3857c247de05c49703fae33da2e1db81253d5a5db7952219e4607163

See more details on using hashes here.

File details

Details for the file flask_sample-0.4a4-py3-none-any.whl.

File metadata

  • Download URL: flask_sample-0.4a4-py3-none-any.whl
  • Upload date:
  • Size: 57.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for flask_sample-0.4a4-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac14ec810716343743831dc1a748939bd93cf83743d1fbe144b5891e9c36ff1
MD5 6b6433694c9350c8ad4765d1b1296bc8
BLAKE2b-256 a3ea3cfec1de83d40600044e21f25d0e49d90dd97316566575e1b1986901e3d2

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