Read and write common file formats to Amazon S3 and local files
Project description
This is an active fork of baiji-serialization, a library for reading and writing common file formats to Amazon S3 and local files.
The fork’s goals are modest:
Keep the library working in current versions of Python and other tools.
Make bug fixes.
Provide API stability and backward compatibility with the upstream version.
Respond to community contributions.
It’s used by related forks such as lace.
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
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 metabaiji-serialization-2.2.1.tar.gz
.
File metadata
- Download URL: metabaiji-serialization-2.2.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc1ba4bba9be769051094e47d78fe774929d615f471fc233de410526dca20d2c |
|
MD5 | 0c9449a93032b94efabe851067a5ea06 |
|
BLAKE2b-256 | a06b7debbc574cdc49c44ea0e4e5b5c7940f701f9148ba6f3efb76ec7da6f654 |
File details
Details for the file metabaiji_serialization-2.2.1-py3-none-any.whl
.
File metadata
- Download URL: metabaiji_serialization-2.2.1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f43f6d769a1e08a8b9630a85ad4bac609695845d9585c887229942001d136aa |
|
MD5 | 4694716066c6c3fec17e4e043ec50f3c |
|
BLAKE2b-256 | 4d764664e0d5c71ac5a393d7cd36cc7eb86aef85eccc4775993799e5e2405623 |