SkillAgentSearch skills...

Numpyencoder

Custom Python JSON encoder for handling Numpy data types

Install / Use

/learn @hmallen/Numpyencoder
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

numpyencoder

Custom Python JSON encoder for handling Numpy data types.

Example Use:

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
    )

Installation

pip install numpyencoder==0.3.2

Related Skills

View on GitHub
GitHub Stars35
CategoryDevelopment
Updated6mo ago
Forks3

Languages

Python

Security Score

82/100

Audited on Oct 3, 2025

No findings