You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pygeojson

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pygeojson

GeoJSON library for Python with types

0.2.0
pipPyPI
Maintainers
1

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

Keywords

geojson

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts