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.2.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

yhttp_dev-3.2.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yhttp_dev-3.2.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for yhttp_dev-3.2.4.tar.gz
Algorithm Hash digest
SHA256 1d0fcaf51a399b9b1d0b36f2bc315d1f7c5c5f4a43534d7dc67bec908924fc49
MD5 6c6b3ff953e9890bc5451a2f3f3da33b
BLAKE2b-256 25304aa4f52ead78738ee952d0fd9a28972e2d77f1d022c4e6fc8b3360733f69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yhttp_dev-3.2.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for yhttp_dev-3.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 eda1be73713b530117bf31511a2f902cb6a1fb731547cd71af89d14e5c42c8b7
MD5 02f405b2ce0391cd2607edc54f9ce1a2
BLAKE2b-256 87f7ccb6ba6493771bd079a637d2b996d4d9346303d8efbe7fa9607700002f83

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page