Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Integrated msgpack-numpy for serializing numpy arrays#187

Open
JNevrly wants to merge 1 commit into0rpc:master from
JNevrly:msgpack_numpy_integration
Open

Integrated msgpack-numpy for serializing numpy arrays #187
JNevrly wants to merge 1 commit into0rpc:master from
JNevrly:msgpack_numpy_integration

Conversation

@JNevrly
Copy link

@JNevrly JNevrly commented Mar 7, 2018

This enables zerorpc to use numpy arrays as arguments or return values.

The whole patch is just a simple addition of msgpack-numpy using the monkey-patch method.

Worked fine in both tests and real-life use.

Disadvantages:

  • introduces numpy into the project dependency tree
  • as I'm not affiliated with the msgpack-numpy development, I'm have no idea how much is the monkey-patching approach future-proof or safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /