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.0.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.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yhttp_dev-4.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 98c9aaa647e8c5eca630e49048310b42014bb03a86456de9fef12135ae636fdd
MD5 6eb8c67d77aba708e41d4f2ba53dcde3
BLAKE2b-256 ddcb53c66a9d03c6ed17c227c400d237ac44b8595e9a4843d304d89b04963892

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yhttp_dev-4.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 923b083cae017105a9552a9672ef082731b5abc9f0ad22886b4f56f874b184e6
MD5 8a5772341ff099e95a0d8be1fc5cc8d2
BLAKE2b-256 35309dc6afb1f890f3252861e7f5c418675412b5672a590cd869ff1cfabeb66d

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