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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hatch_django_locales-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4a65b937d4078942cdc658a849bf3d512b2d7315cb97b8559110ff9299ec6f45
MD5 76425d889fdea5da75b37c44346703b4
BLAKE2b-256 f5d6eeb5a9474134fa57f32186e044ff2e2211cff8d79f653164293b45bad6cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hatch_django_locales-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 15ef2bc09d05d900fe8b1e6a3af1f7abe30a2ba0df8c23a042ec55a2cfe6c985
MD5 836ce813f9cb9c759006f18c4f61ecdc
BLAKE2b-256 75570b561b89bc3e6fcd8af7d0724a38200d98dfee717945c934eb2d630f4f61

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