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.4.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.4-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hatch_django_locales-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 3d45a4c36999739e28103343f0bcc0d8bbfc6051d5167f58825e93e764139377
MD5 88eb94760c4ae603d0511d06cd2b92e6
BLAKE2b-256 891347bc0f47f44a618ba0b29fe877c715f10541fba321c0c6e39fbf61e23fab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hatch_django_locales-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 2.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7ebb46e5b298b735cc8a928a6a82f4620b2fa18555f4621210151b4d452b51fa
MD5 9281899cdd27918772b3f91722836839
BLAKE2b-256 5114f7d5ba3c8c464eda1d7c3be0f918c2c50319a714c144cc88dae5973aa23f

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