A very micro http framework.
Project description
yhttp
Contribution
python-makelib
Install python-makelib.
Clone
git clone --recurse-submodules git@github.com:yhttp/yhttp.git
Virtualenv
Create virtual environment:
make venv
Delete virtual environment:
make venv-delete
Activate the virtual environment:
source ./activate.sh
Install (editable mode)
Install this project as editable mode and all other development dependencies:
make env
Tests
Execute all tests:
make test
Execute specific test(s) using wildcard:
make test F=tests/test_db*
make test F=tests/test_form.py::test_querystringform
refer to pytest documentation for more info about invoking tests.
Execute tests and report coverage result:
make cover
make cover F=tests/test_static.py
make cover-html
Lint
make lint
Distribution
Execute these commands to create Python
's standard distribution packages
at dist
directory:
make sdist
make wheel
Or
make dist
to create both sdidst
and wheel
packages.
Clean build directory
Execute:
make clean
to clean-up previous dist/*
and build/*
directories.
PyPI
WARNING: Do not do this if you'r not responsible as author and or maintainer of this project.
Execute
make clean
make pypi
to upload sdists
and wheel
packages on PyPI.
Documentation
make doc
make livedoc
make doctest
Or
cd sphinx
make doctest
make html
make livehtml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file yhttp-6.3.0.tar.gz
.
File metadata
- Download URL: yhttp-6.3.0.tar.gz
- Upload date:
- Size: 48.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 769274b55b500126b5f0ed0e2c511a50c540f8bad8d227378c905af708f96069 |
|
MD5 | a02dbba520804e7f836de194975ba499 |
|
BLAKE2b-256 | 2ba6ace655b72cc997d38b78f925f8c3cc91329cf5ba4b9edaa12d21c1bd9ca1 |
File details
Details for the file yhttp-6.3.0-py3-none-any.whl
.
File metadata
- Download URL: yhttp-6.3.0-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab2d456e058554a324c50a81478206da50b88a83a3e917afd636c38089cf8e63 |
|
MD5 | c6f9835caff923dae4cd9f5014b6edc5 |
|
BLAKE2b-256 | ed97a2225dba8233ec295c03c574b0b1e4554aed54e5f5bda8b80793b6a76808 |