Read and write common file formats to Amazon S3 and local files
Project description
baiji-serialization
===================
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
--------
```py
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)
```
```py
from baiji.serialization import json
json.dump(filename)
foo = json.load(filename)
```
Development
-----------
```sh
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.
===================
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
--------
```py
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)
```
```py
from baiji.serialization import json
json.dump(filename)
foo = json.load(filename)
```
Development
-----------
```sh
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
Built Distribution
File details
Details for the file baiji-serialization-2.0.0.tar.gz
.
File metadata
- Download URL: baiji-serialization-2.0.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e0957a491edd31d6499e1ed39260c025031c7f1e74c4fc85aa567eaee2b2cac |
|
MD5 | 8a63344c36241bd2012f9b7709db1b23 |
|
BLAKE2b-256 | 84be214aaebeb221eb3827831a2d864736e057abd59c7b55134ce9e2634c92ca |
Provenance
File details
Details for the file baiji_serialization-2.0.0-py2-none-any.whl
.
File metadata
- Download URL: baiji_serialization-2.0.0-py2-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d2e839629e241c11c4079ce4b0dc579d3885a5b9d1e13f374297c9576d5f983 |
|
MD5 | ac9e948ceb260b0479ab6a078d5ea7a3 |
|
BLAKE2b-256 | 7b6c1bd85beadd11fa26d7119376e229e21d7c5f70177ee8c2a7d3d545dccfc6 |