dojson 1.5.0
pip install dojson
Latest version
Released:
DoJSON is a simple Pythonic JSON to JSON converter.
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Invenio collaboration
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
About
DoJSON is a simple Pythonic JSON to JSON converter.
Installation
DoJSON is on PyPI so all you need is:
$ pip install dojson
Documentation
Documentation is readable at https://dojson.readthedocs.io/ or it can be built using Sphinx:
$ pip install dojson[docs]
$ python setup.py build_sphinx
Testing
Running the test suite is as simple as:
$ python setup.py test
Example
A simple example on how to convert MARCXML to JSON:
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'))]
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Invenio collaboration
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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 dojson-1.5.0.tar.gz
.
File metadata
- Download URL: dojson-1.5.0.tar.gz
- Upload date:
- Size: 305.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61732b612e877e01c40c900e933841d2cecac73cf6376df1d1270b8739914eb8 |
|
MD5 | 28114fce9f12614f7e3618892ee0e904 |
|
BLAKE2b-256 | 235e7270a2a76e083ef6db95a2e9d8624d318f7962f2766da2538aa2f5aa9959 |
File details
Details for the file dojson-1.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: dojson-1.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 252.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a154be5a9db0be89d5974572e72a9f9e77d34a68ba9ddbe4a0aabaf80605610c |
|
MD5 | 48914b76e036c3ee445382c7688ed97a |
|
BLAKE2b-256 | 19be66896ad53e59e2ba964817b439a72561eae4b8618680135f6de9e130b6f1 |