> ๐ We are building the basic architecture of pypri, so stay tuned for the initial release.
# Pyprisma
<div align="center">
[![Python Version](https://img.shields.io/pypi/pyversions/aslf.svg)](https://pypi.org/project/aslf/)
[![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/Undertone0809/aslf/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)
[![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/Undertone0809/aslf/blob/main/.pre-commit-config.yaml)
[![Semantic Versions](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--versions-e10079.svg)](https://github.com/Undertone0809/aslf/releases)
[![License](https://img.shields.io/github/license/Undertone0809/aslf)](https://github.com/Undertone0809/aslf/blob/main/LICENSE)
![Coverage Report](assets/images/coverage.svg)
</div>
## Quick Start
```shell
pip install pyprisma
```
## Development in local environment
Conda package manager is recommended. Create a conda environment.
```bash
conda create -n pyprisma python==3.10
```
Activate conda environment and install poetry
```bash
conda activate pyprisma
pip install poetry
```
### Makefile usage
[`Makefile`](https://github.com/Undertone0809/aslf/blob/main/Makefile) contains a lot of functions for faster development.
<details>
<summary>Install all dependencies and pre-commit hooks</summary>
<p>
Install requirements:
```bash
make install
```
Pre-commit hooks coulb be installed after `git init` via
```bash
make pre-commit-install
```
</p>
</details>
<details>
<summary>Codestyle and type checks</summary>
<p>
Automatic formatting uses `ruff`.
```bash
make polish-codestyle
# or use synonym
make formatting
```
Codestyle checks only, without rewriting files:
```bash
make check-codestyle
```
> Note: `check-codestyle` uses `ruff` and `darglint` library
</p>
</details>
<details>
<summary>Code security</summary>
<p>
> If this command is not selected during installation, it cannnot be used.
```bash
make check-safety
```
This command launches `Poetry` integrity checks as well as identifies security issues with `Safety` and `Bandit`.
```bash
make check-safety
```
</p>
</details>
<details>
<summary>Tests with coverage badges</summary>
<p>
Run `pytest`
```bash
make test
```
</p>
</details>
<details>
<summary>All linters</summary>
<p>
Of course there is a command to run all linters in one:
```bash
make lint
```
the same as:
```bash
make check-codestyle && make test && make check-safety
```
</p>
</details>
<details>
<summary>Docker</summary>
<p>
```bash
make docker-build
```
which is equivalent to:
```bash
make docker-build VERSION=latest
```
Remove docker image with
```bash
make docker-remove
```
More information [about docker](https://github.com/Undertone0809/python-package-template/tree/main/%7B%7B%20cookiecutter.project_name%20%7D%7D/docker).
</p>
</details>
<details>
<summary>Cleanup</summary>
<p>
Delete pycache files
```bash
make pycache-remove
```
Remove package build
```bash
make build-remove
```
Delete .DS_STORE files
```bash
make dsstore-remove
```
Remove .mypycache
```bash
make mypycache-remove
```
Or to remove all above run:
```bash
make cleanup
```
</p>
</details>
## ๐ก License
[![License](https://img.shields.io/github/license/Undertone0809/aslf)](https://github.com/Undertone0809/aslf/blob/main/LICENSE)
This project is licensed under the terms of the `MIT` license. See [LICENSE](https://github.com/Undertone0809/aslf/blob/main/LICENSE) for more details.
## Credits [![๐ Your next Python package needs a bleeding-edge project structure.](https://img.shields.io/badge/P3G-%F0%9F%9A%80-brightgreen)](https://github.com/Undertone0809/python-package-template)
This project was generated with [P3G](https://github.com/Undertone0809/P3G)
Raw data
{
"_id": null,
"home_page": "https://github.com/Undertone0809/pyprisma",
"name": "pyprisma",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8.0",
"maintainer_email": null,
"keywords": "PyPrisma, Prisma, Python",
"author": "Zeeland",
"author_email": "zeeland4work@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ca/7b/27b137439e49c27954f1fe32ffc8c288f03cc74d15f3c5d5851d70388cb1/pyprisma-0.0.1.tar.gz",
"platform": null,
"description": "> \ud83d\uded1 We are building the basic architecture of pypri, so stay tuned for the initial release.\n\n# Pyprisma\n\n<div align=\"center\">\n\n\n[![Python Version](https://img.shields.io/pypi/pyversions/aslf.svg)](https://pypi.org/project/aslf/)\n[![Dependencies Status](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/Undertone0809/aslf/pulls?utf8=%E2%9C%93&q=is%3Apr%20author%3Aapp%2Fdependabot)\n\n[![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)\n[![Pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/Undertone0809/aslf/blob/main/.pre-commit-config.yaml)\n[![Semantic Versions](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--versions-e10079.svg)](https://github.com/Undertone0809/aslf/releases)\n[![License](https://img.shields.io/github/license/Undertone0809/aslf)](https://github.com/Undertone0809/aslf/blob/main/LICENSE)\n![Coverage Report](assets/images/coverage.svg)\n\n</div>\n\n## Quick Start\n\n```shell\npip install pyprisma\n```\n\n## Development in local environment\n\nConda package manager is recommended. Create a conda environment.\n\n```bash\nconda create -n pyprisma python==3.10\n```\n\nActivate conda environment and install poetry\n\n```bash\nconda activate pyprisma\npip install poetry\n```\n\n### Makefile usage\n\n[`Makefile`](https://github.com/Undertone0809/aslf/blob/main/Makefile) contains a lot of functions for faster development.\n\n<details>\n<summary>Install all dependencies and pre-commit hooks</summary>\n<p>\n\nInstall requirements:\n\n```bash\nmake install\n```\n\nPre-commit hooks coulb be installed after `git init` via\n\n```bash\nmake pre-commit-install\n```\n\n</p>\n</details>\n\n<details>\n<summary>Codestyle and type checks</summary>\n<p>\n\nAutomatic formatting uses `ruff`.\n\n```bash\nmake polish-codestyle\n\n# or use synonym\nmake formatting\n```\n\nCodestyle checks only, without rewriting files:\n\n```bash\nmake check-codestyle\n```\n\n> Note: `check-codestyle` uses `ruff` and `darglint` library\n\n</p>\n</details>\n\n<details>\n<summary>Code security</summary>\n<p>\n\n> If this command is not selected during installation, it cannnot be used.\n\n```bash\nmake check-safety\n```\n\nThis command launches `Poetry` integrity checks as well as identifies security issues with `Safety` and `Bandit`.\n\n```bash\nmake check-safety\n```\n\n</p>\n</details>\n\n<details>\n<summary>Tests with coverage badges</summary>\n<p>\n\nRun `pytest`\n\n```bash\nmake test\n```\n\n</p>\n</details>\n\n<details>\n<summary>All linters</summary>\n<p>\n\nOf course there is a command to run all linters in one:\n\n```bash\nmake lint\n```\n\nthe same as:\n\n```bash\nmake check-codestyle && make test && make check-safety\n```\n\n</p>\n</details>\n\n<details>\n<summary>Docker</summary>\n<p>\n\n```bash\nmake docker-build\n```\n\nwhich is equivalent to:\n\n```bash\nmake docker-build VERSION=latest\n```\n\nRemove docker image with\n\n```bash\nmake docker-remove\n```\n\nMore information [about docker](https://github.com/Undertone0809/python-package-template/tree/main/%7B%7B%20cookiecutter.project_name%20%7D%7D/docker).\n\n</p>\n</details>\n\n<details>\n<summary>Cleanup</summary>\n<p>\nDelete pycache files\n\n```bash\nmake pycache-remove\n```\n\nRemove package build\n\n```bash\nmake build-remove\n```\n\nDelete .DS_STORE files\n\n```bash\nmake dsstore-remove\n```\n\nRemove .mypycache\n\n```bash\nmake mypycache-remove\n```\n\nOr to remove all above run:\n\n```bash\nmake cleanup\n```\n\n</p>\n</details>\n\n## \ud83d\udee1 License\n\n[![License](https://img.shields.io/github/license/Undertone0809/aslf)](https://github.com/Undertone0809/aslf/blob/main/LICENSE)\n\nThis project is licensed under the terms of the `MIT` license. See [LICENSE](https://github.com/Undertone0809/aslf/blob/main/LICENSE) for more details.\n\n## Credits [![\ud83d\ude80 Your next Python package needs a bleeding-edge project structure.](https://img.shields.io/badge/P3G-%F0%9F%9A%80-brightgreen)](https://github.com/Undertone0809/python-package-template)\n\nThis project was generated with [P3G](https://github.com/Undertone0809/P3G)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\ud83d\ude80PyPrisma: Prisma client for Python",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/Undertone0809/pyprisma",
"Repository": "https://github.com/Undertone0809/pyprisma"
},
"split_keywords": [
"pyprisma",
" prisma",
" python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "10f444718a9e57f0cbe593c9253ccb6cace332c6a4e6c6b67feb13e75505de0a",
"md5": "c712fd26ee8b148bccf39b61ade5fde7",
"sha256": "a7ec203e3124d1db4eb72a0ca7e83f8bdecbedb5c69922aecbbdab08273e08f3"
},
"downloads": -1,
"filename": "pyprisma-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c712fd26ee8b148bccf39b61ade5fde7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.0",
"size": 3929,
"upload_time": "2024-10-27T17:36:09",
"upload_time_iso_8601": "2024-10-27T17:36:09.104453Z",
"url": "https://files.pythonhosted.org/packages/10/f4/44718a9e57f0cbe593c9253ccb6cace332c6a4e6c6b67feb13e75505de0a/pyprisma-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ca7b27b137439e49c27954f1fe32ffc8c288f03cc74d15f3c5d5851d70388cb1",
"md5": "e39d9009f66f2ce2a9efae0ef88037a8",
"sha256": "88b1f9fecd88277c76767522d997b71b956a1888758594f557f8685d9c398ea8"
},
"downloads": -1,
"filename": "pyprisma-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "e39d9009f66f2ce2a9efae0ef88037a8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.0",
"size": 4585,
"upload_time": "2024-10-27T17:36:10",
"upload_time_iso_8601": "2024-10-27T17:36:10.960454Z",
"url": "https://files.pythonhosted.org/packages/ca/7b/27b137439e49c27954f1fe32ffc8c288f03cc74d15f3c5d5851d70388cb1/pyprisma-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-27 17:36:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Undertone0809",
"github_project": "pyprisma",
"github_not_found": true,
"lcname": "pyprisma"
}