A library to store data
Project description
PickleJar3
Do not use, under development
Something I wrote a while ago for storing data. I want to flush it out into something better.
#!/usr/bin/env python3
import sys
from picklejar3.picklejar import PickleJar
pj = PickleJar()
pj.init("bob.pickle", 3)
for i in range(9):
pj.push("a", i)
pj.push("b", 3.33)
pj.push("d", -1200)
pj.close()
pj.read("bob.pickle")
print(pj.buffer)
MIT License
Copyright (c) 2020 Kevin J. Walchko
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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
Built Distribution
File details
Details for the file picklejar3-0.2.0.tar.gz
.
File metadata
- Download URL: picklejar3-0.2.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.5 Linux/5.3.0-40-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b9455ef9a90e45e258407636352e34bb31cb86c7c0ea1ca968db37cc46b6322 |
|
MD5 | faa6cc06f468fc93124e963e4b37d52a |
|
BLAKE2b-256 | ee7db4edd8092fafcd73e03b3fb9e9a1a8f8e2e77df1ccb9c3f0174c3b2046c1 |
File details
Details for the file picklejar3-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: picklejar3-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.7.5 Linux/5.3.0-40-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 293f2069f9f9fd1628d7f9c1c0b97abb51e833fa6d0cb8d017b4311450ea19b0 |
|
MD5 | ce192c798578b2f961bf08bc52e306ba |
|
BLAKE2b-256 | 179de688c26478cc486cb473de0a55ee7f2f7b58ea69ae411f4e01f7ada6191f |