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-4.0.1.tar.gz (3.1 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-4.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yhttp_dev-4.0.1.tar.gz
Algorithm Hash digest
SHA256 3b68a700ce59a5ed6a91094163e4ade7e4b3e3fe1c173e6def47c2d79cdddb0b
MD5 b018d036aabc8bbe2dd9ed65ed3cbdc3
BLAKE2b-256 e945c64d0a7b352e58a6eabaaf978ac36c4d3497b2f1063594fa5d4cb5ecfd1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yhttp_dev-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec3a595b4c59f3a4a3ff341e26fa0995ac3a651ad2b0d14741bea51f186dae52
MD5 12cb545f7a1c015fcab9b43f91805248
BLAKE2b-256 c513a7e45e8eb994b30b509ee6b65a8413aa98a2406f8b1e060318676c42c4e7

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