NumpyEncoder
JSON →NumpyEncoder is a Python JSON encoder designed to seamlessly handle various NumPy data types, including `ndarray`, `np.number`, `np.datetime64`, and more, which are not natively supported by Python's standard `json` module. It extends `json.JSONEncoder` to provide a plug-and-play solution for serializing data structures containing NumPy objects into JSON strings. The current version is 0.3.2, with releases occurring periodically to maintain compatibility with evolving NumPy versions.
Traffic · last 30 days stale · no recent hits
total hits 20
actors 5 distinct systems
last hit 19d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · 🇫🇷 France
API endpoints
full doc /v1/registry/numpyencoder
compatibility /v1/registry/numpyencoder/compatibility