Skip to main content

Algerian Wilaya & Commune data for Django projects

Project description

dz_locations

DZ Locations is a Django package that provides Algerian wilayas (states) and communes (municipalities) ready to use in your Django projects.

This package helps you quickly populate your database with all Algerian locations and access them via Django Admin or API.


Installation

Install the package via pip:

pip install dz-locations

Features

  • Preloaded data for all Algerian wilayas and communes.
  • Management commands to load data into your database.
  • Easy integration with Django Admin.
  • API-ready serializers for quick development.

Usage

  1. Add dz_locations to your INSTALLED_APPS in settings.py:

    INSTALLED_APPS = [
        ...
        'dz_locations',
    ]
    
  2. Run the management command to load data:

    python manage.py loaddz
    
  3. Access the data via Django Admin or use the serializers provided for API development.


Contributing

Contributions are welcome! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Commit your changes and push them to your fork.
  4. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

dz_locations-0.1.3.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

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

dz_locations-0.1.3-py3-none-any.whl (62.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dz_locations-0.1.3.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for dz_locations-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2fa83ecd51f7de9cf2abc395c88b53ec85ca863c83864066e78a1a3877e73397
MD5 c5f75ceccc89d0e446514aff6322a87a
BLAKE2b-256 837ac9a3c9791f8e5c9e25223f44f0f239402764924b34ea51fd18f81e39c8dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dz_locations-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 62.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for dz_locations-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 56b9f5169e6ce0cce8a52ef37507068da9e74236d2369e1abb6b6dd136b88523
MD5 a8b9648d290a1198d3c896f671ed824c
BLAKE2b-256 d1da12bcf42381f385d9052bd7ff840146ab3fab818add90ec3ce8ef347c87bf

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