Skip to main content

codecov

munigeo

munigeo is a reusable Django application for storing and accessing municipality-related geospatial data. It can manage following categories of data:

  • Municipalities as containers of everything below
  • Administrative divisions (with parent-child relationships and links to Municipalities)
  • Streets and address locations on those Streets
  • Buildings with 2D-geometries and addresses
  • PoIs (Points of Interest) with location and type

If you are using Django Rest Framework (DRF), munigeo also provides you with serializers for including these in your API.

For actually getting the data into your database application, munigeo provides importer framework. Currently we only have actual importers for City of Helsinki, but other are welcome.

Usage

Install this to your project with pip install django-munigeo, add munigeo to your INSTALLED_APPS setting.

Helsinki example

Before you can get Helsinki, you will need the data for Finland first:

python manage.py geo_import finland --municipalities

then

python manage.py geo_import helsinki --divisions

Code format

This project uses Ruff for code formatting and quality checking.

Basic ruff commands:

  • lint: ruff check
  • apply safe lint fixes: ruff check --fix
  • check formatting: ruff format --check
  • format: ruff format

pre-commit can be used to install and run all the formatting tools as git hooks automatically before a commit.

Release files for django-munigeo 0.3.12

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-munigeo 0.3.12
File Size Uploaded
django_munigeo-0.3.12.tar.gz 29.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-munigeo 0.3.12
File Interpreter ABI Platform
django_munigeo-0.3.12-py3-none-any.whl Python 3 none any Details

Total release size: 66.7 kB

Release files / django_munigeo-0.3.12.tar.gz

Download URL django_munigeo-0.3.12.tar.gz
Size 29.4 kB
Tags Source
SHA-256 checksum
How to use checksums
81ed8a17c462deb1dc0a9e081bcb8672756aac3764d96e0fa45830edb06a051d
BLAKE2b-256 checksum
How to use checksums
a9379164d36d84dd2e74152890506d939d5620c96cbea40d4c8ee769031f0394
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / django_munigeo-0.3.12-py3-none-any.whl

Download URL django_munigeo-0.3.12-py3-none-any.whl
Size 37.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d94dcd976b4f2fc1a0ade1313b0a563328be428a0cfcdf5e66b7532908dc91f
BLAKE2b-256 checksum
How to use checksums
d5fbe2dc3afe656adca95e89200737ab466355fca91632703823e9d4b8c8588f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.3.12 This release

2 release files

0.3.11

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

1 release file

0.3.4

1 release file

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.26

1 release file

0.2.23

1 release file

0.2.21

1 release file

0.2.17

1 release file

0.2.16

1 release file

0.2.4

2 release files

0.2.3

2 release files

0.2.0

2 release files

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