This project has been archived by its maintainers, and is no longer receiving any updates.
✨ Django Utils Kit ✨
Provides various utilities for working with Django and DRF:
- admin.py: Additional classes and mixins for Django admin.
- emails.py: Classes to easily send sync and async emails through Django.
- exceptions.py: Additional exceptions for DRF.
- files.py: Utilities for handling files with DRF.
- images.py: Utilities for handling images within Django.
- models.py: Additional classes and utilities for Django models.
- network.py: Network related utilities to handle requests.
- permissions.py: Additional permissions for DRF.
- serializers.py: Additional serializers and fields for DRF.
- test_runner.py: Custom test runners for Django.
- test_utils.py: Additional TestCase classes with new assertions and utilities.
- viewsets.py: Custom ViewSets for DRF.
💻 How to install
The package is available on PyPi with the name django-utils-kit.
Simply run:
pip install django-utils-kit
📕 Available imports
Here's a list of all available imports for this package:
from django_utils_kit.admin import ReadOnlyAdminMixin
from django_utils_kit.emails import Email
from django_utils_kit.exceptions import Conflict, FailedPrecondition
from django_utils_kit.files import download_file, download_files_as_zip
from django_utils_kit.images import (
downsize_and_save_image_from_path,
downsize_image,
image_to_base64,
)
from django_utils_kit.models import (
FileNameWithUUID,
ImprovedModel,
PreCleanedAbstractModel,
update_m2m,
update_model_instance,
)
from django_utils_kit.network import get_client_ip, get_server_domain
from django_utils_kit.permissions import BlockAll, IsNotAuthenticated
from django_utils_kit.serializers import ReadOnlyModelSerializer, ThumbnailField
from django_utils_kit.test_runners import TimedTestRunner
from django_utils_kit.test_utils import APITestCase, AssertionTestCase, ImprovedTestCase
from django_utils_kit.viewsets import ImprovedViewSet
🔗 Useful links
⏳ Stats
Metadata
Release files for django-utils-kit 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_utils_kit-1.0.2.tar.gz | 16.3 kB | Without provenance | Details for django_utils_kit-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_utils_kit-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for django_utils_kit-1.0.2-py3-none-any.whl |
Total release size: 34.2 kB
Release files / django_utils_kit-1.0.2.tar.gz
| Download URL | django_utils_kit-1.0.2.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b13b8811eeaef674ae1c3eab2114fa7ebc839fe1c2976daf1e374248d9f5a5ee
|
|
BLAKE2b-256 checksum How to use checksums |
b3c8fe7d51df182e03d4e3501e530e0b132c43f5a25468113e0b795a949c93a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / django_utils_kit-1.0.2-py3-none-any.whl
| Download URL | django_utils_kit-1.0.2-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c0d844a407b579b040eab1df19a7077b155fbbf272ebac903a9f467f7260336
|
|
BLAKE2b-256 checksum How to use checksums |
4a7ea7636a009932ae5674a73159719992c088a59f9fd390c11900b647ee5010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for django-utils-kit 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.