Skip to main content

A bunch of form fields and utilities for Romanian counties and localities using SIRUTA codes.

Project description

A bunch of form fields and utilities for Romanian counties and localities using SIRUTA codes.

  • Free software: BSD 2-Clause License

Data:

Localities: https://data.gov.ro/dataset/activity/siruta-2024 Counties: https://data.gov.ro/dataset/activity/siruta

Form fields are designed to pass around integers (assuming you will have the most compact storage).

Form widgets use selectize. JS/CSS not bundled or included in media - you are free to load those however you like.

Installation

pip install django-siruta

You can also install the in-development version with:

pip install https://github.com/ionelmc/django-siruta/archive/main.zip

Documentation

https://django-siruta.readthedocs.io/

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.1.1 (2025-10-10)

  • First release on PyPI.

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

django_siruta-0.1.1.tar.gz (528.2 kB view details)

Uploaded Source

Built Distribution

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

django_siruta-0.1.1-py3-none-any.whl (243.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_siruta-0.1.1.tar.gz
  • Upload date:
  • Size: 528.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_siruta-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e979f34c0ebc2cec06d8ffb240bba33f6ebfff6e02e3eb98f57dfa5256514b7b
MD5 c8dab6a1f3dec3b5772ffbcd7192e339
BLAKE2b-256 2354a75c22c61bdddd5e8bb822e4b48cdd109c2e1f88be8718b11aa7fea6fe10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_siruta-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 243.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_siruta-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72acc38cd2e62e890abac6d30a6a58f91392fafdd433f4715fd1097372762fbb
MD5 1d57e0d97a0a78f3c3e37bbf3aff0166
BLAKE2b-256 04c73ae8c09651a0eb9f7f7c3f26ea8bea1a5f663e3574e46a353a464588e70a

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