DataSaver
Utility to save data to cvs as an easy (and very basic) to read and use alternative to tensorboard.
Usage
from dataSaver import DataSaver
dataSaver = DataSaver('./somedir/filename/')
# creates a file in csv format, where the keys of the dictionary are the column names and the values of the first row are the values associated with each key
dataSaver.add({
'ephoch': 10,
, 'iter': 200
, 'learningRate': 0.0001,
, 'loss': 10324
}
# The first call fixes the columns and only the keys that where present the first time add was called will be added
dataSaver.add({
'ephoch': 10,
, 'bananass': 10324
, 'iter': 200
, 'learningRate': 0.0001,
, 'loss': 10324
, 'bananass': 10324
})
# collect all data in an internal array dataSaver.cacheArray
dataSaver.cache({....})
# Save the data collected by cache to file and empty cache
dataSaver.dumpCache()
Release files for dataSaver 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dataSaver-0.0.3.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dataSaver-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 kB
Release files / dataSaver-0.0.3.tar.gz
| Download URL | dataSaver-0.0.3.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
340f6391ab2b68d076efa49e60237f859822fab63da3e05d5ba6c6ee4af0fa05
|
|
BLAKE2b-256 checksum How to use checksums |
4075ae2a8370ff9f34caed30d69cc06aad2d8ee066d20dc736919e3e96b72471
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.27.0 CPython/3.6.7
|
Release files / dataSaver-0.0.3-py3-none-any.whl
| Download URL | dataSaver-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ac52973e706766d060114e32950c4dbd812f7ea95bc12d93484bb15a06221e0
|
|
BLAKE2b-256 checksum How to use checksums |
939d80036e76addc3fdb4301c69b1e2a8ae8afe249e36b36e48e324658dd9649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.27.0 CPython/3.6.7
|