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.6.1.tar.gz (4.3 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.6.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yhttp_dev-3.6.1.tar.gz
  • Upload date:
  • Size: 4.3 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.6.1.tar.gz
Algorithm Hash digest
SHA256 7b28df0cc959bb8567a9b0812191aa041bfbc7184652048bc9b4e91e4839ed3d
MD5 20aeeeda81eb20708242c7b8fc69b4b9
BLAKE2b-256 76ec027e9c0e19d68c662126b3b16fa870085fa21311a01950ffa55b1c053ed8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yhttp_dev-3.6.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6fc999ccde4aa2d8d1229a78d94c4eb262353c265dd306aaa1bafc4d57a2f2f4
MD5 ae574407e9267b6e01f43f03b3859e17
BLAKE2b-256 d350b9eb0b1744e9b480bc7877167f09c183c48d2e84aa2b8b84cdb3fc7623b9

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