{ "info": { "author": "Maxim Stolyarchuk", "author_email": "maxim.stolyarchuk@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Text Processing :: General" ], "description": "marc2bib :book:\n===================\n\n.. image:: https://img.shields.io/pypi/v/marc2bib.svg\n\t:target: https://pypi.python.org/pypi/marc2bib\n.. image:: https://travis-ci.org/mstolyarchuk/marc2bib.svg?branch=master\n\t:target: https://travis-ci.org/mstolyarchuk/marc2bib\n\nmarc2bib is a Python package that allows to convert bibliographic records\nfrom MARC format to BibTeX entries. Requires Python 3.\n\nIt uses pymarc_ to read MARC data files.\n\nInstallation\n------------\n\nAs *always*, use pip_ to install the latest release from PyPI:\n\n.. code:: sh\n\n\t$ pip install marc2bib\n\nOr for development:\n\n.. code:: sh\n\n\t$ git clone https://github.com/mstolyarchuk/marc2bib\n\t$ pip install -e marc2bib\n\nQuickstart\n---------------\n\nIf you have not used ``pymarc`` before, nothing to worry about.\n\nNow we are going to read some data from a MARC file and easily convert it to a BibTeX entry:\n\n.. code:: python\n\n >>> from pymarc import MARCReader\n >>> from marc2bib import convert\n\n # Open a MARC file as you usually do this with pymarc.\n >>> with open('file.mrc', 'rb') as f:\n ... reader = MARCReader(f)\n ... record = next(reader) # Read the first record\n ... print(convert(record)) # and, ta-da, convert it to a BibTeX entry.\n ...\n @book{Hargittai2009,\n author = {I. Hargittai, M. Hargittai},\n . . .\n }\n\nAnd that is it!\n\nContributing\n------------\n\nThis project is `hosted on GitHub`_. There you can `create a new issue`_ or submit pull requests for review.\n\nRunning the tests\n^^^^^^^^^^^^^^^^^\n\nFor testing our package we use pytest_. In order to run all tests, execute the following commands\n(you probably want to set up a virtualenv_ first):\n\n.. code::\n\n\t$ pip install pytest\n\t$ py.test tests\n\nAcknowledgments\n---------------\n\nThanks go to all the authors and contributors of the pymarc_ package.\nThis project would not have been possible without their work.\n\n.. _pymarc: https://github.com/edsu/pymarc\n.. _pip: https://pip.pypa.io/en/latest/installing.html\n.. _pytest: http://pytest.org/latest/\n.. _virtualenv: http://virtualenv.readthedocs.org/en/latest/\n.. _hosted on GitHub: https://github.com/mstolyarchuk/marc2bib\n.. _create a new issue: https://github.com/mstolyarchuk/marc2bib/issues/new\n.. _MARC21: http://www.loc.gov/marc/bibliographic/\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mstolyarchuk/marc2bib", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "marc2bib", "package_url": "https://pypi.org/project/marc2bib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/marc2bib/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mstolyarchuk/marc2bib" }, "release_url": "https://pypi.org/project/marc2bib/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Easily convert MARC bibliographic records to BibTeX entries", "version": "0.1.4" }, "last_serial": 1666324, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "47a35075ad9b9931ea873681d965ef06", "sha256": "eb8cbc85e5487d171990333338171371c623d5ddd3d21a091d94cb1eb992dba1" }, "downloads": -1, "filename": "marc2bib-0.1.1.tar.gz", "has_sig": false, "md5_digest": "47a35075ad9b9931ea873681d965ef06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2612, "upload_time": "2015-08-04T22:46:12", "url": "https://files.pythonhosted.org/packages/b3/69/aaff5b1da2ad40e7c49785029c94f4b051f87549fbef9b5ac61a07641742/marc2bib-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6ae9928a4024689d3966ee3ffb0b70cc", "sha256": "f1f62ad74000a9a65ca78f7118a2d1e96529446088c1c6807d8362e5d37ff57a" }, "downloads": -1, "filename": "marc2bib-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6ae9928a4024689d3966ee3ffb0b70cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2589, "upload_time": "2015-08-04T23:24:18", "url": "https://files.pythonhosted.org/packages/04/ab/0d0c3c181896a40d8998cc47e2bcc84874c16d1cde765da40245cf911579/marc2bib-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "06213363c0c5b408d7261c72f2ca479f", "sha256": "6d22694d4ac27273c219958fda8b7f8b7fba8cb9a49113dd914e9cae2a020238" }, "downloads": -1, "filename": "marc2bib-0.1.3.tar.gz", "has_sig": false, "md5_digest": "06213363c0c5b408d7261c72f2ca479f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2979, "upload_time": "2015-08-05T10:59:05", "url": "https://files.pythonhosted.org/packages/4b/b2/a181ff58db6fc130771de3d1ea57f7114d11a67ea471a65482f4660b2ab9/marc2bib-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "417544148995c90bb80b87f4aaef2632", "sha256": "2a1f61f7cce803884056fe159a9e26822b1c2872c3515ca7e26644f5fdc62d84" }, "downloads": -1, "filename": "marc2bib-0.1.4.tar.gz", "has_sig": false, "md5_digest": "417544148995c90bb80b87f4aaef2632", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3446, "upload_time": "2015-08-06T02:35:32", "url": "https://files.pythonhosted.org/packages/10/8a/b8e64ec849208b94055ca920d9e03c6caad1dd71238dc69c6bb0c07a9a6a/marc2bib-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "417544148995c90bb80b87f4aaef2632", "sha256": "2a1f61f7cce803884056fe159a9e26822b1c2872c3515ca7e26644f5fdc62d84" }, "downloads": -1, "filename": "marc2bib-0.1.4.tar.gz", "has_sig": false, "md5_digest": "417544148995c90bb80b87f4aaef2632", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3446, "upload_time": "2015-08-06T02:35:32", "url": "https://files.pythonhosted.org/packages/10/8a/b8e64ec849208b94055ca920d9e03c6caad1dd71238dc69c6bb0c07a9a6a/marc2bib-0.1.4.tar.gz" } ] }