illagrenan / django-numpy-json-encoder

Django JSON encoder with numpy support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django numpy JSON encoder

PyPi

MIT

TravisCI

Coverage

Supported Python implementations

Supported Python versions

Introduction

Subclass of standard Django JSON encoder1 that can encode some numpy types (integers, floats and arrays).

Installation

  • Supported Python versions are: 3.6, 3.7 and 3.7-dev.
  • Supported Django versions are: 2.0 and 2.1 (version 1.11 should also work).
pip install --upgrade django-numpy-json-encoder

Usage

License

The MIT License (MIT)


  1. https://docs.djangoproject.com/en/dev/topics/serialization/#djangojsonencoder

About

Django JSON encoder with numpy support

License:MIT License


Languages

Language:Python 100.0%