Read and write common file formats to Amazon S3 and local files
Project description
Read and write common file formats to Amazon S3 and local files.
Features
Reads and writes Pickle, JSON, and YAML
Works without an S3 connection (with local files)
Supports Python 2.7 and uses boto2
Supports OS X, Linux, and Windows
Tested and production-hardened
Examples
from baiji.serialization import json
with open(filename, 'w') as f:
json.dump(foo, f)
with open(filename, 'r') as f:
foo = json.load(foo, f)
from baiji.serialization import json
json.dump(filename)
foo = json.load(filename)
Development
pip install -r requirements_dev.txt
rake test
rake lint
Contribute
Issue Tracker: github.com/bodylabs/baiji-serialization/issues
Source Code: github.com/bodylabs/baiji-serialization
Pull requests welcome!
Support
If you are having issues, please let us know.
License
The project is licensed under the Apache license, version 2.0.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for baiji-serialization-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef446ff2dac418688b66c07b49015b7915fb5a08a52f2033d97347a35deb1147 |
|
MD5 | fd154968f9d4d9d2c7c978b436421709 |
|
BLAKE2b-256 | 1a2eab0b995bc5a5a38fd4cb27602aea69b4cc6aeaf7e75efd17c9cdc80d4791 |