Skip to main content

yhttp development utilities

Project description

yhttp-dev

A set of development and test fixtures for yhttp application development.

Contribution

Dependencies

Install postgresql brefore use of this project.

apt install postgresql

Prepare

Create and grant the postgresql role with createdb permission to authenticate the current unix user within postgresql using the peer authentication.

echo "CREATE USER ${USER} WITH CREATEDB" | sudo -u postgres psql
# Or
echo "ALTER USER ${USER} CREATEDB" | sudo -u postgres psql

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

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.

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

yhttp_dev-3.4.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

yhttp_dev-3.4.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file yhttp_dev-3.4.0.tar.gz.

File metadata

  • Download URL: yhttp_dev-3.4.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yhttp_dev-3.4.0.tar.gz
Algorithm Hash digest
SHA256 f4f9831a235f9cb8fd63e1722a1438faa3a399d80e5385134d2c0bc3c9dbbc38
MD5 25ff3562a5a9855efe5ab5c7f0ee3a4e
BLAKE2b-256 0f560ac1332540cc3d822b236923c7d8d92c94c81cade5b9883e07651e0ced24

See more details on using hashes here.

File details

Details for the file yhttp_dev-3.4.0-py3-none-any.whl.

File metadata

  • Download URL: yhttp_dev-3.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yhttp_dev-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa8ada74d818d76f073550d3b0208b30ed8e6601d2381bb21e66808a385d9351
MD5 a5b54e89d1ae076911a3e5aabd4229a0
BLAKE2b-256 1a0bb51bc235e8a90052873b7ef99533c37807e32b75d56393d74556674f3eba

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