Skip to main content

A hatchling build hook to compile django locale files during build time

Project description

hatch-django-locales

This package provides a hatchling plugin for Django projects that automatically compiles locale files when building the package.

Usage

In your projects pyproject.toml, adjust the following:

[build-system]
requires = ["hatchling", "django", "hatch-django-locales"]
build-backend = "hatchling.build"

[tool.hatch.build]
hooks = ["django-locales"]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hatch_django_locales-0.1.1.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hatch_django_locales-0.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file hatch_django_locales-0.1.1.tar.gz.

File metadata

  • Download URL: hatch_django_locales-0.1.1.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hatch_django_locales-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3a604a13863946f0e3bc5379cd008be7382de2e147198221ae1a5d53b2ff4d54
MD5 8899df060caac5288d71d2b6265223e5
BLAKE2b-256 b49ea423b5141441c7acfd97059a1a04ac2f1fe13881eacb5ac071febdcebc90

See more details on using hashes here.

File details

Details for the file hatch_django_locales-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hatch_django_locales-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hatch_django_locales-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02f6171e2c2a2ae2e42853eab2ecf53b8964e7e84a1a84b052c7a71ff81b2b6c
MD5 9e4ad2663c8f852b26c60edfcf5bd0ce
BLAKE2b-256 fdd4029e13b964c52fcdc7a012c44da96e0af93a258b1f6c143a0c10068b63ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page