Metadata-Version: 2.1
Name: numpyencoder
Version: 0.2.0
Summary: Python JSON encoder for handling Numpy data types.
Home-page: https://github.com/hmallen/numpyencoder
Author: Hunter M. Allen
Author-email: allenhm@gmail.com
License: MIT
Keywords: numpy,json,encoder
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: numpy (>=1.14.3)

# numpyencoder

Custom Python JSON encoder for handling Numpy data types.

**Example Use:**

```python
from numpyencoder import NumpyEncoder

numpy_data = np.array([0, 1, 2, 3])

with open(json_file, 'w') as file:
    json.dump(numpy_data, file, indent=4, sort_keys=True,
              separators=(', ', ': '), ensure_ascii=False,
              cls=NumpyEncoder)
```


