Skip to main content

webpi-web-backend

Development

Install python of the version defined in ../.python-version. You can do that with pyenv.

Create a virtual environment and activate it:

python -m venv .venv
source .venv/bin/activate

Install dependencies:

pip install -e .
pip install -r requirements_dev.txt

Run development server:

FLASK_ENV=development FLASK_APP=webpi/app.py flask run

Unit-tests:

# This will watch for changes
pytest-watch

# Watched tests without coverage
pytest-watch -- --no-cov

# This will run tests only once
pytest

Linter:

flake8 webpi tests setup.py

Formatter:

black webpi

Release files for webpi 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webpi 0.0.4
File Size Uploaded
webpi-0.0.4.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for webpi 0.0.4
File Interpreter ABI Platform
webpi-0.0.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 6.7 kB

Release files / webpi-0.0.4.tar.gz

Download URL webpi-0.0.4.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bda9d0634e1229bbfc189b2218546131712c6978c4133608e624dccb14ba1fcc
BLAKE2b-256 checksum
How to use checksums
a5358f8500041e61108757095fb7ae8193ba398582248214f91e8a860a71fd4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / webpi-0.0.4-py2.py3-none-any.whl

Download URL webpi-0.0.4-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
297263d5b638ba96a545185e481790f9d8d60fb0334f2d020870016322e22dd6
BLAKE2b-256 checksum
How to use checksums
6dcea77b015dfa2e22442496a19c0f1c7d9e453f7efe9b3391a14c5c0c6e5dec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page