qdill
a VERY minimal python convenience library for dill
are you tired of writing with open(...) as f every time you try and use pickle/dill as you're hacking something together in python?
this is the library for you.
it defines some simple functions over dill so that you can just do
var = qdill.load(filename)
OR
qdill.save(thing, filename)
There's also a third defaultLoad function.
It checks if the file exists, and if the file doesn't exist, it saves the default thing to the file AND returns the default thing.
i.e. var = qdill.defaultLoad(default_thing, filename)
you can read the code. it's all just ~25 lines in the __init__.py
if you need more fine-grained control of dill...
Don't use this 'library'
Release files for qdill 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qdill-1.1.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qdill-1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / qdill-1.1.tar.gz
| Download URL | qdill-1.1.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f5c984e4fadd017f9a56bd4fb2792352943d44ab0e6506621ed8770656b80e4
|
|
BLAKE2b-256 checksum How to use checksums |
e2a30da2a219c740a9ddd213692c40657c6c90fd4dc479f40b4559c196148f1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / qdill-1.1-py3-none-any.whl
| Download URL | qdill-1.1-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e487c63ee5ff92258129c95639dc307e4087074cb24d3c7f77add1b0fb128e9
|
|
BLAKE2b-256 checksum How to use checksums |
c9d27ba47a76c13853e890a552ad09324f1d63549a6697a8f5c995253afde290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|