Skip to main content

No project description provided

Project description

cross py2/py3 python object serializer, currently using and extending jsonpickle to dump/load python objects with a primary focus on numpy/pandas types.

The main purpose of numpyson is to allow dumping under a python3 interpreter and loading under python2 and vice versa. This is a use case that is not covered by current serializers ASFAIK.

quick simple API example:

import numpyson
import numpy
s = numpyson.dumps(numpy.array([1,2,3]))
data = numpyjson.loads(s)
assert data.to_list() == [1,2,3]

Currently supported:

  • numpy arrays and some other numpy types

  • pandas.DataFrame

  • pandas.date_range

  • pandas.TimeSeries

  • nested python data structures with the above types

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

numpyson-0.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page