Hi there,

Yesterday, I've released v0.12.0 of npyio, a package that achieves 
interoperability with numpy data files:

https://pkg.go.dev/codeberg.org/sbinet/npyio@v0.12.0#example-package-ReadIntoUserStruct

https://pkg.go.dev/codeberg.org/sbinet/npyio@v0.12.0#example-package-WriteUserStruct

This release provides improved support for the so called recarrays (record 
arrays, or arrays of composite types).

One can now read recarrays into user provided struct values (and slices/arrays 
of those) as well as save these values into numpy data files (and read them 
back from python).

Not all Go values are supported nor meaningful in a numpy data file context 
(ie: maps, interfaces and channels are off limits).

Also, right now ragged arrays can only be read, not written (writing support 
would mean writing a pickle serialization package - gpython has one but it's a 
bit of a large dependency).

Enjoy,
-s

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/36935226-e903-4c40-9374-7bb605e5e415%40sbinet.org.

Attachment: signature.asc
Description: PGP signature

Reply via email to