# yhttp-dev
A set of development and test fixtures for `yhttp` application development.
## Contribution
### Dependencies
Install `postgresql` brefore use of this project.
```bash
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.
```bash
echo "CREATE USER ${USER} WITH CREATEDB" | sudo -u postgres psql
# Or
echo "ALTER USER ${USER} CREATEDB" | sudo -u postgres psql
```
### Virtualenv
Create virtual environment:
```bash
make venv
```
Delete virtual environment:
```bash
make venv-delete
```
Activate the virtual environment:
```bash
source ./activate.sh
```
### Install (editable mode)
Install this project as editable mode and all other development dependencies:
```bash
make env
```
# Lint
```bash
make lint
```
### Distribution
Execute these commands to create `Python`'s standard distribution packages
at `dist` directory:
```bash
make sdist
make wheel
```
Or
```bash
make dist
```
to create both `sdidst` and `wheel` packages.
### Clean build directory
Execute:
```bash
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
```bash
make clean
make pypi
```
to upload `sdists` and `wheel` packages on [PyPI](https://pypi.org).
Raw data
{
"_id": null,
"home_page": "https://github.com/yhttp/yhttp-dev",
"name": "yhttp-dev",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "pylover",
"author_email": "vahid.mardani@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f5/6f/33ae3123035edb5f6b8cc234c87fcf7251b5d82da4d47ad96fd33e75b7ab/yhttp_dev-3.1.3.tar.gz",
"platform": null,
"description": "# yhttp-dev\n\nA set of development and test fixtures for `yhttp` application development.\n\n\n## Contribution\n\n### Dependencies\nInstall `postgresql` brefore use of this project.\n```bash\napt install postgresql\n```\n\n### Prepare\n\nCreate and grant the `postgresql` role with `createdb` permission to \nauthenticate the current `unix` user within `postgresql` using the peer \nauthentication.\n```bash\necho \"CREATE USER ${USER} WITH CREATEDB\" | sudo -u postgres psql\n# Or\necho \"ALTER USER ${USER} CREATEDB\" | sudo -u postgres psql\n```\n\n### Virtualenv\n\nCreate virtual environment:\n```bash\nmake venv\n```\n\nDelete virtual environment:\n```bash\nmake venv-delete\n```\n\nActivate the virtual environment:\n```bash\nsource ./activate.sh\n```\n\n\n### Install (editable mode)\nInstall this project as editable mode and all other development dependencies:\n```bash\nmake env\n```\n\n# Lint\n```bash\nmake lint\n```\n\n\n### Distribution\nExecute these commands to create `Python`'s standard distribution packages\nat `dist` directory:\n```bash\nmake sdist\nmake wheel\n```\n\nOr \n```bash\nmake dist\n```\nto create both `sdidst` and `wheel` packages.\n\n\n### Clean build directory\nExecute: \n```bash\nmake clean\n```\nto clean-up previous `dist/*` and `build/*` directories.\n\n\n### PyPI\n\n> **_WARNING:_** Do not do this if you'r not responsible as author and \n> or maintainer of this project.\n\nExecute\n```bash\nmake clean\nmake pypi\n```\nto upload `sdists` and `wheel` packages on [PyPI](https://pypi.org).\n",
"bugtrack_url": null,
"license": null,
"summary": "yhttp development utilities",
"version": "3.1.3",
"project_urls": {
"Homepage": "https://github.com/yhttp/yhttp-dev"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9e7691d6e3100932cb949a2e1bc52b94f913454e42818c46fee9fe9bccf2efab",
"md5": "d11671c97f8aedbb14a6e23a3881301a",
"sha256": "f1e568c9e764d312e531aa2fd38bafa392acd5bbf163e05f6c7ea06bb6e766ab"
},
"downloads": -1,
"filename": "yhttp_dev-3.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d11671c97f8aedbb14a6e23a3881301a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4122,
"upload_time": "2024-08-22T12:17:40",
"upload_time_iso_8601": "2024-08-22T12:17:40.570984Z",
"url": "https://files.pythonhosted.org/packages/9e/76/91d6e3100932cb949a2e1bc52b94f913454e42818c46fee9fe9bccf2efab/yhttp_dev-3.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f56f33ae3123035edb5f6b8cc234c87fcf7251b5d82da4d47ad96fd33e75b7ab",
"md5": "bf31b7043263ba9a148cf801790956ca",
"sha256": "7a806290f846adfbb63c2d363825a95482c0558049d59ee905a427143d2e043d"
},
"downloads": -1,
"filename": "yhttp_dev-3.1.3.tar.gz",
"has_sig": false,
"md5_digest": "bf31b7043263ba9a148cf801790956ca",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3869,
"upload_time": "2024-08-22T12:17:41",
"upload_time_iso_8601": "2024-08-22T12:17:41.796549Z",
"url": "https://files.pythonhosted.org/packages/f5/6f/33ae3123035edb5f6b8cc234c87fcf7251b5d82da4d47ad96fd33e75b7ab/yhttp_dev-3.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 12:17:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yhttp",
"github_project": "yhttp-dev",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "yhttp-dev"
}