Skip to main content

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.

Source Distribution

thflask-0.1.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

thflask-0.1.1-py2.py3-none-any.whl (12.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file thflask-0.1.1.tar.gz.

File metadata

  • Download URL: thflask-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for thflask-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2b7cff682d3bca204a0434e23d95e613083badc952dcfb8eecb328d8976c64ea
MD5 62824bc471051b9969bfb2e4057e132b
BLAKE2b-256 ae761a4653bfc6bbdfec03676f08252e90880891cbb968d1721a84f7924c7014

See more details on using hashes here.

File details

Details for the file thflask-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: thflask-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for thflask-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 90cd41d04ca30e19fa63dbab90596ff1f32b05bd8f390d17e84d3dff41c62d58
MD5 f82d147560038bee76d66e9b560f62ea
BLAKE2b-256 00b2f08880b06dfa0fcad15c39b04bde204fc7b0de332bfcad3e7b3c4ff91b46

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