Metadata-Version: 1.1
Name: bioc
Version: 1.0.dev22
Summary: BioC data structures and encoder/decoder for Python
Home-page: https://github.com/yfpeng/pengyifan-pybioc
Author: Yifan Peng
Author-email: yifan.peng@nih.gov
License: BSD 3-clause license
Description: ``bioc`` -- Another BioC encoder and decoder
        ============================================
        
        `BioC XML format <http://bioc.sourceforge.net/>`_ can be used to share
        text documents and annotations.
        
        ``bioc`` exposes an API familiar to users of the standard library
        ``marshal`` and ``pickle`` modules.
        
        Development of ``bioc`` happens on GitHub:
        https://github.com/yfpeng/pengyifan-pybioc
        
        Getting started
        ---------------
        
        Installing ``bioc``
        
        ::
        
            $ pip install --pre bioc
        
        Encoding the BioC collection object \`collection':
        
        ::
        
            import bioc
            # Serialize ``collection`` to a BioC formatted ``str``.
            bioc.dumps(collection)
        
            # Serialize ``collection`` as a BioC formatted stream to ``fp``.
            with open(filename, 'w') as fp
                bioc.dump(collection, fp)
        
        Compact encoding:
        
        ::
        
            import bioc
            bioc.dumps(collection, pretty_print=False)
        
        Decoding the BioC XML file:
        
        ::
        
            import json
            # Deserialize ``s`` to a BioC collection object.
            collection = json.loads(s)
            # Deserialize ``fp`` to a BioC collection object.
            with open(filename, 'r') as fp:
                bioc.load(fp)
        
        Requirements
        ------------
        
        `lxml <http://lxml.de/>`_
        
        Developers
        ----------
        
        -  Yifan Peng (yifan.peng@nih.gov)
        
        Acknowledgment
        --------------
        
        -  `Hernani Marques <https://github.com/2mh/PyBioC/>`_
        
        Webpage
        -------
        
        The official BioC webpage is available with all up-to-date instructions,
        code, and corpora in the BioC format, and other research on, based on
        and related to BioC.
        
        -  http://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/BioC/
        -  http://bioc.sourceforge.net/
        
        Reference
        ---------
        
        -  Comeau,D.C., Doğan,R.I., Ciccarese,P., Cohen,K.B., Krallinger,M.,
           Leitner,F., Lu,Z., Peng,Y., Rinaldi,F., Torii,M., Valencia,V.,
           Verspoor,K., Wiegers,T.C., Wu,C.H., Wilbur,W.J. (2013) BioC: A
           minimalist approach to interoperability for biomedical text
           processing. Database: The Journal of Biological Databases and
           Curation.
        -  Peng,Y., Tudor,C., Torii,M., Wu,C.H., Vijay-Shanker,K. (2014) iSimp
           in BioC standard format: Enhancing the interoperability of a sentence
           simplification system. Database: The Journal of Biological Databases
           and Curation.
        -  Marques,M., Rinaldi,F. (2012) PyBioC: a python implementation of the
           BioC core. In Proceedings of BioCreative IV workshop.
        
        
Keywords: bioc
Platform: any
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: Environment :: MacOS X
Classifier: Environment :: X11 Applications :: Qt
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
