ai-drf-core-1.0.2
توضیحات
Lots of helper functions and useful widgets for the django REST Framework.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ai-drf-core-1.0.2 |
| نام | ai-drf-core |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ambient Innovation: GmbH |
| ایمیل نویسنده | hello@ambient-innovation.com |
| آدرس صفحه اصلی | https://gitlab.ambient-innovation.com/ai/ai-drf-core.git |
| آدرس اینترنتی | https://pypi.org/project/ai-drf-core/ |
| مجوز | The MIT License (MIT) |
# Overview:
This package contains various useful helper functions for the django REST framework.
**ATTENTION: This package is deprecated. All functionality will live on in the [ai-django-core](https://pypi.org/project/ai-django-core/) package.
Please install it with the drf-extension enabled. More details in the changelog.**
# Installation:
- Add a requirement to your requirements.txt:
`ai-drf-core`
- Add module to `INSTALLED_APPS`:
`ai-drf`
- Run migrations
# Contribute
- Clone the project locally
- Create a new branch for your feature
- Change the dependency in your requirements.txt to a local (editable) one that points to your local file system:
```
-e /Users/myuser/workspace/ai-drf-core
```
- Ensure the code passes the tests
- Run:
`python setup.py develop`
- Create a pull request
# Publish to PyPI
- Run:
`python setup.py sdist upload`
If you run into trouble, please create a file in your home directory: ~/.pypirc
```
[distutils]
index-servers =
pypi
[pypi]
repository: https://upload.pypi.org/legacy/
username:
password:
```
# Tests
- Check coverage
`pytest --cov=ai-drf-core`
- Run tests
`pytest`
نیازمندی
| مقدار | نام |
|---|---|
| >=3.8.2 | djangorestframework |
| >=1.1.7 | ai-django-core |
نحوه نصب
نصب پکیج whl ai-drf-core-1.0.2:
pip install ai-drf-core-1.0.2.whl
نصب پکیج tar.gz ai-drf-core-1.0.2:
pip install ai-drf-core-1.0.2.tar.gz