Skip to main content

django-util

A Django application that provides generic utility.

Installation

pip install django-util

Utilities

Standalone helpers (no need to add the app to INSTALLED_APPS):

  • django_util.utility.init_django(django_dir, project_name=None) - bootstrap Django from external scripts/notebooks.
  • django_util.utility.get_django_countries_dict() - code↔name maps. Requires the optional django-countries package.
  • django_util.validators.django_validate_email(email, whitelist_domains=None)
  • django_util.validators.django_validate_url(url, allowed_schemes=None)
  • django_util.validators.django_validate_phone(phone, region=None) - returns E.164. Requires the optional django-phonenumber-field package.

Reference

https://docs.djangoproject.com/en/4.2/intro/reusable-apps/

Metadata

Release files for django-util 0.33

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-util 0.33
File Size Uploaded
django_util-0.33.tar.gz 30.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-util 0.33
File Interpreter ABI Platform
django_util-0.33-py3-none-any.whl Python 3 none any Details

Total release size: 58.7 kB

Release files / django_util-0.33.tar.gz

Download URL django_util-0.33.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5286dcdc7b1de32d96363786719ebebffedd45741b2231d68b517192c4542b9e
BLAKE2b-256 checksum
How to use checksums
870088059468b4aa475f775cfc9b84b0a82d97dc1b822e42125881caa29711d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / django_util-0.33-py3-none-any.whl

Download URL django_util-0.33-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38f303b97ce9a43a0b6fd2e6480c33dd57ed1e5cfd6007d98160c7a5c9aac0ec
BLAKE2b-256 checksum
How to use checksums
bc51571787d9da1ab60e4c4a49bd22408623e6ad4bfc8c66fc37048d778f97c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

0.33 This release

2 release files

0.32

1 release file

0.31

1 release file

0.30

1 release file

0.29

1 release file

0.28

1 release file

0.27

1 release file

0.26

1 release file

0.25

1 release file

0.24

1 release file

0.23

1 release file

0.22

1 release file

0.21

1 release file

0.20

1 release file

0.19

1 release file

0.18

1 release file

0.17

1 release file

0.16

1 release file

0.15

1 release file

0.14

1 release file

0.13

1 release file

0.12

1 release file

0.11

1 release file

0.10

1 release file

0.9

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page