Skip to content

Read and write common file formats to Amazon S3 and local files

License

Notifications You must be signed in to change notification settings

metabolize-forks/baiji-serialization

This branch is 5 commits ahead of, 1 commit behind bodylabs/baiji-serialization:master.

Repository files navigation

baiji-serialization

pip install version python versions build status last commit open pull requests

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.

About

Read and write common file formats to Amazon S3 and local files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.7%
  • Ruby 5.3%