Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Flask application that implements an items database

Project description

Flask Application

A simple Flask Restful application that is using flask and flask-restful for creating the APIs and uWSGI as web server

Requirements

  • python >= 3.7
  • pip3.7

Install and run

1. Github

# Download the repository
git clone https://github.com/themisAnagno/th-flask.git
cd th-flask
# Install required modules and binaries
pip install .
# Run the application
thflask

2. PyPI

  • Install from PyPI
pip install thflask
  • Create the uwsgi.ini file:
[uwsgi]
http-socket = :$(PORT)
stats = :$(STATSPORT)
master = true
die-on-term = true
module = thflask.app:app
memory-report = true
  • Run the application: uwsgi uwsgi.ini

Project details


Download files

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

Files for thflask, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size thflask-0.1.1-py2.py3-none-any.whl (12.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size thflask-0.1.1.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page