transfers a PyObject
Project description
hello, you may use this program
it was originally intended for transfer of AIs between computers, but this functionaly allows for variables to be stored in disk, and not ram this can be built on to allow the transfer of veriables in say a hosted python notebook. this means you can build and save a value easily. just remember to import all required modules for the pyobject, otherwise it will not work.
- Functions:
- read_obj(filename)
takes a filename as input and returns a pyobject contained in the file
- write_obj(content, filename)
takes 2 args, the filename, and the content. the content is the variable to be written, the filename is the location of the file to write.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file transferPyobjects-1.1.1.tar.gz
.
File metadata
- Download URL: transferPyobjects-1.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9268ab149758dc3f474314cec5707666a96000e9cec6bad812234ae485f9f51a |
|
MD5 | 57d3c3144c168cd5e5d9df01868a6d20 |
|
BLAKE2b-256 | 35150f77b01f88141144a46095958ecbe8b978df683fc57ca88f4676ba8ce2d8 |