baiji-serialization-2.1.0
توضیحات
Read and write common file formats to Amazon S3 and local files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | baiji-serialization-2.1.0 |
| نام | baiji-serialization |
| نسخه کتابخانه | 2.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Body Labs |
| ایمیل نویسنده | alex@bodylabs.com, paul.melnikow@bodylabs.com |
| آدرس صفحه اصلی | https://github.com/bodylabs/baiji-serialization |
| آدرس اینترنتی | https://pypi.org/project/baiji-serialization/ |
| مجوز | Apache |
baiji-serialization
===================
Read and write common file formats to Amazon S3 and local files.
Features
--------
- Reads and writes Pickle, CSV, 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(f)
```
```py
from baiji.serialization import json
json.dump(foo, filename)
foo = json.load(filename)
```
```py
from baiji.serialization import csv
with open(filename, 'w') as f:
csv.dump(foo, f)
with open(filename, 'r') as f:
foo = csv.load(f)
```
```py
from baiji.serialization import csv
csv.dump(foo, filename)
foo = csv.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.
نحوه نصب
نصب پکیج whl baiji-serialization-2.1.0:
pip install baiji-serialization-2.1.0.whl
نصب پکیج tar.gz baiji-serialization-2.1.0:
pip install baiji-serialization-2.1.0.tar.gz