Skip to main content

django-thailand-geography

GitHub GitHub Workflow Status codecov PyPI
PyPI - Python Version

Django models for Thailand geography information. This library also includes a command to import geography data from thailand-geography-data/thailand-geography-json

Installation

pip install django-thailand-geography

Setup

  1. Add thailand_geography into INSTALLED_APPS

    # settings.py
    
    INSTALLED_APPS = [
        ...
        'thailand_geography',
    ]
    
  2. Run migration

    python manage.py migrate
    
  3. Import data from JSON database

    python manage.py import_geo
    

Development

Requirements

  • Docker
  • Python
  • Poetry

Migrate

make migrate

Linting

make lint

Testing

make test

Fix Formatting

make yapf

Metadata

Release files for django-thailand-geography 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-thailand-geography 0.1.4
File Size Uploaded Provenance Actions
django_thailand_geography-0.1.4.tar.gz 4.8 kB Without provenance Details for django_thailand_geography-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-thailand-geography 0.1.4
File Interpreter ABI Platform Actions
django_thailand_geography-0.1.4-py3-none-any.whl Python 3 none any Details for django_thailand_geography-0.1.4-py3-none-any.whl

Total release size: 12.0 kB

Release files / django_thailand_geography-0.1.4.tar.gz

Download URL django_thailand_geography-0.1.4.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b2342143410017ea36ce9127cc5642f95f95b7710c7b58d05f9df200058ecd4d
BLAKE2b-256 checksum
How to use checksums
607491a0628ae2566c31f0a0b24473322ec307eeed9519b628faddccb61fca9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.11.7 Linux/6.2.0-1018-azure

Release files / django_thailand_geography-0.1.4-py3-none-any.whl

Download URL django_thailand_geography-0.1.4-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81e900bcbc3f6d1e8667030e0237c5a80dc0e89e70610d66a3189245ce3e86a9
BLAKE2b-256 checksum
How to use checksums
11a38afc06e41b7088e52a54c89e7952aadd3b39205fda6126577da95eb12f9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.11.7 Linux/6.2.0-1018-azure

Security for django-thailand-geography 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page