dojson-1.4.0
توضیحات
DoJSON is a simple Pythonic JSON to JSON converter.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dojson-1.4.0 |
| نام | dojson |
| نسخه کتابخانه | 1.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Invenio collaboration |
| ایمیل نویسنده | info@inveniosoftware.org |
| آدرس صفحه اصلی | http://github.com/inveniosoftware/dojson/ |
| آدرس اینترنتی | https://pypi.org/project/dojson/ |
| مجوز | BSD |
========
DoJSON
========
.. currentmodule:: dojson
.. image:: https://img.shields.io/travis/inveniosoftware/dojson.svg
:target: https://travis-ci.org/inveniosoftware/dojson
.. image:: https://img.shields.io/coveralls/inveniosoftware/dojson.svg
:target: https://coveralls.io/r/inveniosoftware/dojson
.. image:: https://img.shields.io/github/tag/inveniosoftware/dojson.svg
:target: https://github.com/inveniosoftware/dojson/releases
.. image:: https://img.shields.io/pypi/dm/dojson.svg
:target: https://pypi.python.org/pypi/dojson
.. image:: https://img.shields.io/github/license/inveniosoftware/dojson.svg
:target: https://github.com/inveniosoftware/dojson/blob/master/LICENSE
About
=====
DoJSON is a simple Pythonic JSON to JSON converter.
Installation
============
DoJSON is on PyPI so all you need is:
.. code-block:: console
$ pip install dojson
Documentation
=============
Documentation is readable at https://dojson.readthedocs.io/ or
it can be built using Sphinx:
.. code-block:: console
$ pip install dojson[docs]
$ python setup.py build_sphinx
Testing
=======
Running the test suite is as simple as:
.. code-block:: console
$ python setup.py test
Example
=======
A simple example on how to convert MARCXML to JSON:
.. code:: python
from dojson.contrib.marc21.utils import create_record, split_stream
from dojson.contrib.marc21 import marc21
[marc21.do(create_record(data)) for data in split_stream(open('/tmp/data.xml', 'r'))]
نیازمندی
| مقدار | نام |
|---|---|
| >=5.0.0 | click |
| >=3.4 | lxml |
| >=3.8.1 | simplejson |
| >=1.5.2) | Sphinx |
| >=0.25) | check-manifest |
| >=4.0) | coverage |
| >=4.0.0) | coverage |
| >=4.2.2) | isort |
| >=2.5.1) | jsonschema |
| >=1.0.0) | mock |
| >=1.0.0) | pydocstyle |
| >=1.0) | pytest-cache |
| >=2.1.0) | pytest-cov |
| >=1.0.6) | pytest-pep8 |
| >=2.8.0) | pytest |
| >=2.5.1) | jsonschema |
| >=1.5.2) | Sphinx |
| >=0.25) | check-manifest |
| >=4.0) | coverage |
| >=4.0.0) | coverage |
| >=4.2.2) | isort |
| >=2.5.1) | jsonschema |
| >=1.0.0) | mock |
| >=1.0.0) | pydocstyle |
| >=1.0) | pytest-cache |
| >=2.1.0) | pytest-cov |
| >=1.0.6) | pytest-pep8 |
| >=2.8.0) | pytest |
| >=2.5.1) | jsonschema |
| >=1.5.2) | Sphinx |
| >=2.5.1) | jsonschema |
| >=0.25) | check-manifest |
| >=4.0) | coverage |
| >=4.0.0) | coverage |
| >=4.2.2) | isort |
| >=2.5.1) | jsonschema |
| >=1.0.0) | mock |
| >=1.0.0) | pydocstyle |
| >=1.0) | pytest-cache |
| >=2.1.0) | pytest-cov |
| >=1.0.6) | pytest-pep8 |
| >=2.8.0) | pytest |
نحوه نصب
نصب پکیج whl dojson-1.4.0:
pip install dojson-1.4.0.whl
نصب پکیج tar.gz dojson-1.4.0:
pip install dojson-1.4.0.tar.gz