Skip to main content

GeoJSON library for Python with types

Project description

pygeojson 🗺

GeoJSON library for Python with types.

The world doesn't need another GeoJSON library for python, but it needs a better one. The goal of this library is to provide a simple and typed data model for GeoJSON such that y'all can get static code check and editor support with mypy. And of course, data should be data, so the data model is not polluted with inheritance, custom methods, utilities, extension or other "conveniences". Lastly, your data will be immutable!

pygeojson is built on top of dataclasses to provide types, immutability and default value support. Models does not inherit from one but instead we use Union types where applicable.

In addition, pygeojson comes with serialization and deserialization support via the dump, dumps, load and loads functions.

Installation

pygeojson requires Python 3.7 and up. Install it via pipenv:

pipenv install pygeojson

or pip:

pip install pygeojson

Usage

TBD

Data model

TBA

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

pygeojson-0.2.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

pygeojson-0.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pygeojson-0.2.0.tar.gz.

File metadata

  • Download URL: pygeojson-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/18.7.0

File hashes

Hashes for pygeojson-0.2.0.tar.gz
Algorithm Hash digest
SHA256 850fe3f60a140508e26ddf7344e65bb8b28c9671c8b36d249189d648bc15ea6c
MD5 d6d12741189f44a270ed0578edf95386
BLAKE2b-256 c66f133bbeb3593b2715c6facea62e90d795bc3065e05251dd8bb0485c098ae2

See more details on using hashes here.

File details

Details for the file pygeojson-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pygeojson-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/18.7.0

File hashes

Hashes for pygeojson-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25d627888d613c85138d09a910ad8500d1dbdb0a5d5ef45e55146300f897f8a2
MD5 1ebb0c459a158900643a8ca721f4cf2c
BLAKE2b-256 2e99fe8f6935e4ec7447b900cf86efe8be396d56c3a45813d0f4788e4444928f

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