Pbox is a simple module that makes it easier to handle persistent data using pickle or json.
Project description
Pbox is a simple module that makes it easier to handle persistent data using pickle or json. You don’t need to worry about writing and reading external files as well as packing and unpacking your objects to and from dictionaries. It’s all done for you!
Source code and documentation can be found here.
Changelog
Version 2.6.0:
Added option to use json instead of pickle.
Methods datafile and cached were added to manually overwrite the box contents.
Version 2.5.4:
Expanding documentation.
Minor code refactoring.
Version 2.5.3:
Minor code refactoring.
Version 2.5.2:
Fixed issue that prevented to dump objects living inside functions or classes.
Version 2.5.1:
Added cache_datafile property to save the data-file content into cache.
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 pbox-2.6.0.tar.gz
.
File metadata
- Download URL: pbox-2.6.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d2928a8d31caf2625c216c84a655d4a79a744cfb6c516e5bafa46c9cbcc475 |
|
MD5 | e5f929473abbf3a0400ca22c3efb6fcd |
|
BLAKE2b-256 | 12b6653ac6747d6281984a0c80da580a2308b922665c03c0f58c42199fbac25b |