- To use simply do::
>>> from datastorage import DataStorage >>> data = DataStorage( a=(1,2,3),b="add",filename='store.npz' )
>>> # data.a will be a dictionary >>> data = DataStorage( myinfo = dict( name= 'marco', surname= 'cammarata'),\ >>> data = np.arange(100) )
>>> # reads from file if it exists >>> data = DataStorage( 'mysaveddata.npz' ) ;
>>> create empty storage (with default filename) >>> data = DataStorage() >>> data.mynewdata = np.ones(10)
Metadata
Release files for datastorage 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datastorage-0.7.tar.gz | 13.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datastorage-0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.1 kB
Release files / datastorage-0.7.tar.gz
| Download URL | datastorage-0.7.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
452d18fe049fbb859422a475db1e10644fc7257e6d3f924f06d68c37fa6d8e15
|
|
BLAKE2b-256 checksum How to use checksums |
af41a36ab236e25a30758b5ca2b0269f882588dd7bb15cf8bba8a49d13a3918c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / datastorage-0.7-py3-none-any.whl
| Download URL | datastorage-0.7-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ad7d6d556a0516f62dba4106996165d1a93f0099f4e24fe54f7e4b4fadd2af8
|
|
BLAKE2b-256 checksum How to use checksums |
3951353a7485e822d82e990da06965d0530e7439e6ed334fdfceca2c0c0a3c10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|