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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hatch_django_locales-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8d28fdc84ef84dd5a2b220a18dcd75bbefb374b6f3906aba2f8b038deed65fc2
MD5 5c600817a6973c1f72b952a791a40652
BLAKE2b-256 137b233775ba04a64a9b77fe404b6006ad8fe958af875cba4e4e8942a79440c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hatch_django_locales-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e00fe36e7b39e95fe02db670d033578e5f603f292e6bf9a10c6b7ff828486cdc
MD5 92e134aebc27a432a6885d69b4b51a9d
BLAKE2b-256 b7e605e2dd7d56fa81fe432af469e1561bdd898de2168098e06b3dba77f3bb56

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