gopickle | Go library for loading Python
kandi X-RAY | gopickle Summary
kandi X-RAY | gopickle Summary
gopickle is a Go library. gopickle has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
GoPickle is a Go library for loading Python's data serialized with pickle and PyTorch module files. The pickle sub-package provides the core functionality for loading data serialized with Python pickle module, from a file, string, or byte sequence. All pickle protocols from 0 to 5 are supported. The pytorch sub-package implements types and functions for loading PyTorch module files. Both the modern zip-compressed format and the legacy non-tar format are supported. Legacy tar-compressed files and TorchScript archives are not supported.
GoPickle is a Go library for loading Python's data serialized with pickle and PyTorch module files. The pickle sub-package provides the core functionality for loading data serialized with Python pickle module, from a file, string, or byte sequence. All pickle protocols from 0 to 5 are supported. The pytorch sub-package implements types and functions for loading PyTorch module files. Both the modern zip-compressed format and the legacy non-tar format are supported. Legacy tar-compressed files and TorchScript archives are not supported.
Support
Quality
Security
License
Reuse
Support
gopickle has a low active ecosystem.
It has 59 star(s) with 3 fork(s). There are 2 watchers for this library.
It had no major release in the last 12 months.
There are 1 open issues and 0 have been closed. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of gopickle is v0.1.0
Quality
gopickle has 0 bugs and 0 code smells.
Security
gopickle has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
gopickle code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
gopickle is licensed under the BSD-2-Clause License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
gopickle releases are available to install and integrate.
Installation instructions are not available. Examples and code snippets are available.
It has 3207 lines of code, 271 functions and 23 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed gopickle and discovered the below as its top functions. This is intended to give you an instant insight into gopickle implemented functionality, and help decide if they suit your requirements.
- loadLegacyNoTar loads an object from a tar file .
- init initializes dispatch functions .
- loadZipFile loads a zip file .
- loadBuild builds the build from the stack
- loadNewObjEx loads a PyNewable object .
- makePickleFindClass returns a function that can be used to find storage class .
- decodeLong decodes a long value from bytes .
- loadLong loads a long line .
- loadLegacyFile loads a tar from a tar file
- loadNewObj loads a PyNewable object from the stack .
Get all kandi verified functions for this library.
gopickle Key Features
No Key Features are available at this moment for gopickle.
gopickle Examples and Code Snippets
Copy
import "github.com/nlpodyssey/gopickle/pickle"
// ...
// from file
foo, err := pickle.Load("foo.p")
// from string
stringDump := "I42\n."
bar, err := pickle.Loads(stringDump)
// ...
import "github.com/nlpodyssey/gopickle/pickle"
var r io.Reade
Copy
import "github.com/nlpodyssey/gopickle/pytorch"
// ...
myModel, err := pytorch.Load("module.pt")
// ...
Community Discussions
No Community Discussions are available at this moment for gopickle.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gopickle
You can download it from GitHub.
Support
This project is currently in alpha development stage. While we provide better documentation, tests, and functionalities, above all we'd like to battle-test this library with real data and models. This would tremendously help us find tricky bugs, add more built-in types, or change the library API to make it easier to use. The simplest and most useful and way to contribute is to try this library yourself and give us your feedback: report bugs, suggest improvements, or just tell us your opinion. And of course, if you feel like it, please go on with your own pull requests! We can discuss any issue and try to find the best solution for it together.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page