{ "info": { "author": "Yifan Peng", "author_email": "yifan.peng@nih.gov", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Topic :: Software Development" ], "description": "`biop` -- JSON format for text annotation\n=========================================\n\nBioP JSON format can be used to share text documents and annotations.\n\n``biop`` exposes an API familiar to users of the standard library ``marshal`` and ``pickle`` modules.\n\nDevelopment of ``biop`` happens on GitHub: https://github.com/yfpeng/pengyifan-biop\n\n\nGetting started\n---------------\n\nInstalling ``biop`` (with `conda`)\n\n.. code:: bash\n\n $ git clone https://github.com/yfpeng/pengyifan-biop.git\n $ cd pengyifan-biop\n $ conda env create -f environment2.7.yml\n $ source activate biop\n $ python setup.py\n\nEncoding the BioC collection object ``collection``:\n\n.. code:: python\n\n import bioj\n # Serialize ``PDocument`` to a BioP formatted ``str``.\n bioc.dumps(document)\n\n # Serialize ``PDocument`` as a BioP formatted stream to ``fp``.\n with open(filename, 'w') as fp\n bioc.dump(document, fp)\n\nDecoding the BioP JSON file:\n\n.. code:: python\n\n import biop\n\n # Deserialize ``fp`` to a BioP document object.\n with open(filename, 'r') as fp:\n biop.load(fp)\n\nValidation\n----------\n\nTo validate the dataset format, run\n\n.. code:: bash\n\n jsonschema -i tests/foo.json biop_schema.json\n\n\nContributing\n------------\n\nPlease read `CONTRIBUTING `_ for details on our code of conduct, and the process for submitting pull requests to us.\n\nDevelopers\n----------\n\n- Yifan Peng (yifan.peng@nih.gov)\n\nLicense\n-------\n\nsee `LICENSE.txt `_.\n\nAcknowledgments\n---------------\n\nWe are grateful to the folowing projects: `BioC `_ and `Brat `_.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yfpeng/pengyifan-biop", "keywords": "cache folder", "license": "BSD 3-Clause License", "maintainer": "", "maintainer_email": "", "name": "biop", "package_url": "https://pypi.org/project/biop/", "platform": "", "project_url": "https://pypi.org/project/biop/", "project_urls": { "Homepage": "https://github.com/yfpeng/pengyifan-biop" }, "release_url": "https://pypi.org/project/biop/0.1.dev3/", "requires_dist": null, "requires_python": "", "summary": "Build a cache of files in the folder tree for efficiency and emergency purposes", "version": "0.1.dev3" }, "last_serial": 4505518, "releases": { "0.1.dev3": [ { "comment_text": "", "digests": { "md5": "a318bbdb93534cb8e2d4435724960b8d", "sha256": "47c26018fc743ab533b76059e710d1d4165a5c9ffe40329d62ee8678046dbc52" }, "downloads": -1, "filename": "biop-0.1.dev3.tar.gz", "has_sig": false, "md5_digest": "a318bbdb93534cb8e2d4435724960b8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7942, "upload_time": "2018-11-20T02:11:14", "url": "https://files.pythonhosted.org/packages/01/55/75bde02f750b59719bebc6ac0cd6845f240237fa1673c41952b6afeabd14/biop-0.1.dev3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a318bbdb93534cb8e2d4435724960b8d", "sha256": "47c26018fc743ab533b76059e710d1d4165a5c9ffe40329d62ee8678046dbc52" }, "downloads": -1, "filename": "biop-0.1.dev3.tar.gz", "has_sig": false, "md5_digest": "a318bbdb93534cb8e2d4435724960b8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7942, "upload_time": "2018-11-20T02:11:14", "url": "https://files.pythonhosted.org/packages/01/55/75bde02f750b59719bebc6ac0cd6845f240237fa1673c41952b6afeabd14/biop-0.1.dev3.tar.gz" } ] }