{ "info": { "author": "Uche Ogbuji", "author_email": "uche@ogbuji.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Database", "Topic :: Internet :: WWW/HTTP", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Indexing", "Topic :: Text Processing :: Markup :: XML", "Topic :: Utilities" ], "description": "pybibframe\n\nRequires Python 3.5+. To install:\n\n python setup.py install\n\n# Usage\n\n## Converting MARC/XML to RDF or Versa output (command line)\n\nNote: Versa is a model for Web resources and relationships. Think of it\nas an evolution of Resource Description Framework (RDF) that's at once\nsimpler and more expressive. It's the default internal representation\nfor pybibframe, though regular RDF is an optional output.\n\n marc2bf records.mrx\n\nReads MARC/XML from the file records.mrx and outputs a Versa\nrepresentation of the resulting BIBFRAME records in JSON format. You can\nsend that output to a file as well:\n\n marc2bf -o resources.versa.json records.mrx\n\nThe Versa representation is the primary format for ongoing, pipeline\nprocessing.\n\nIf you want an RDF/Turtle representation of this file you can do:\n\n marc2bf -o resources.versa.json --rdfttl resources.ttl records.mrx\n\nIf you want an RDF/XML representation of this file you can do:\n\n marc2bf -o resources.versa.json --rdfxml resources.rdf records.mrx\n\nThese options do build the full RDF model in memory, so they can slow\nthings down quite a bit.\n\nYou can get the source MARC/XML from standard input:\n\n curl http://lccn.loc.gov/2006013175/marcxml | marc2bf -c /Users/uche/dev/zepheira/pybibframe-plus/test/resource/config1.json --mod=bibframe.zextra -o /tmp/marc2bf.versa.json\n\nIn this case a record is pulled from the Web, in particular Library of\nCongress Online Catalog / LCCN Permalink. Another example, Das Innere\ndes Glaspalastes in London:\n\n curl http://lccn.loc.gov/2012659481/marcxml | marc2bf -c /Users/uche/dev/zepheira/pybibframe-plus/test/resource/config1.json --mod=bibframe.zextra -o /tmp/marc2bf.versa.json\n\nYou can process more than one MARC/XML file at a time by listing them on\nthe command line:\n\n marc2bf records1.mrx records2.mrx records3.mrx\n\nOr by using wildcards:\n\n marc2bf records?.mrx\n\nPyBibframe is highly configurable and extensible. You can specify\nplug-ins from the command line. You need to specify the Python module\nfrom which the plugins can be imported and a configuration file\nspecifying how the plugins are to be used. For example, to use the\n``linkreport`` plugin that comes with PyBibframe you can do:\n\n marc2bf -c config1.json --mod=bibframe.plugin records.mrx\n\nWhere the contents of config1.json might be:\n\n {\n \"plugins\": [\n {\"id\": \"http://bibfra.me/tool/pybibframe#labelizer\",\n \"lookup\": {\n \"http://bibfra.me/vocab/lite/Work\": \"http://bibfra.me/vocab/lite/title\",\n \"http://bibfra.me/vocab/lite/Instance\": \"http://bibfra.me/vocab/lite/title\"\n }\n ]\n }\n\nWhich in this case will add RDFS label statements for Works and\nInstances to the output.\n\n# Converting MARC/XML to RDF or Versa output (API)\n\nThe ``bibframe.reader.bfconvert`` function can be used as an API to run\nthe conversion.\n\n >>> from bibframe.reader import bfconvert\n >>> inputs = open('records.mrx', 'r')\n >>> out = open('resorces.versa.json', 'w')\n >>> bfconvert(inputs=inputs, entbase='http://example.org', out=out)\n\n# Configuration\n\n* ``marcspecials-vocab``\u2014List of vocabulary (base) IRIs to qualify\n relationships and resource types generated from processing the\n special MARC fields 006, 007, 008 and the leader.\n\n## Transforms\n\n 'transforms': { 'bib': 'http://example.org/vocab/marc-bib-transforms', }\n\n# See also\n\nSome open-source tools for working with BIBFRAME (see\nhttp://bibframe.org)\n\nNote: very useful to have around yaz-marcdump (which e.g. you can use to\nconver other MARC formats to MARC/XML)\n\nDownload from http://ftp.indexdata.com/pub/yaz/, unpack then do:\n\n $ ./configure --prefix=$HOME/.local\n $ make && make install\n\nIf you're on a Debian-based Linux you might find useful [these\ninstallation notes](https://gist.github.com/uogbuji/7cbc5c62f99951999574).\n\n[MarcEdit](http://marcedit.reeset.net/) can also convert to MARC/XML.\nJust install, select \"MARC Tools\" from the menu, choose your input file,\nspecify an output file, and specify the conversion you need to perform,\ne.g. \"MARC21->MARC21XML\" for MARC to MARC/XML. Note the availability of\nthe UTF-8 output option too.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://zepheira.com/", "keywords": "", "license": "License :: OSI Approved :: Apache Software License", "maintainer": "Zepheira", "maintainer_email": "uche@zepheira.com", "name": "pybibframe", "package_url": "https://pypi.org/project/pybibframe/", "platform": "", "project_url": "https://pypi.org/project/pybibframe/", "project_urls": { "Homepage": "http://zepheira.com/" }, "release_url": "https://pypi.org/project/pybibframe/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "Python tools for BIBFRAME (Bibliographic Framework), a Web-friendly framework for bibliographic descriptions in libraries, for example.", "version": "1.1.1" }, "last_serial": 5127243, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "df78f3099b1df8dd23e14fd87c3a5624", "sha256": "92b022adaaef2b089bcf1600a94c99e05db5caa5c99d2291b0f7f6e68775d99f" }, "downloads": -1, "filename": "pybibframe-0.3.tar.gz", "has_sig": false, "md5_digest": "df78f3099b1df8dd23e14fd87c3a5624", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20942, "upload_time": "2014-06-28T16:26:38", "url": "https://files.pythonhosted.org/packages/23/12/c2d3d927193b667a06817ec23004241a38eb7e46af2a2120b1f497137f58/pybibframe-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "fac262d2b4f3cab1b321b562dc80faba", "sha256": "02d91668c4a6ab766715166e00688ad496c2dc34776b46f5125ff04c5468942e" }, "downloads": -1, "filename": "pybibframe-0.3.1.tar.gz", "has_sig": false, "md5_digest": "fac262d2b4f3cab1b321b562dc80faba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21455, "upload_time": "2014-06-28T16:51:00", "url": "https://files.pythonhosted.org/packages/72/9d/317a528d5d8c749181cf6dc302755e4a440093bfa034e969887205e8ee6d/pybibframe-0.3.1.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "3bc8cc873f6401804929d078ce071d03", "sha256": "65e4e9872b7fc57516f180c32b296ede08ddbbb6153aad72bf83ad5ead6591d7" }, "downloads": -1, "filename": "pybibframe-0.4.1.tar.gz", "has_sig": false, "md5_digest": "3bc8cc873f6401804929d078ce071d03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23123, "upload_time": "2014-08-14T01:46:40", "url": "https://files.pythonhosted.org/packages/eb/c8/ab3758d891e271021be5670efe56fc9433e6912c2d59a1f995abd9044876/pybibframe-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "247ad0239f895b35ac62421719d2e880", "sha256": "e7eb1e1b5a20d562d5d8a617f558992b1cdf1d251a9b9f2287bfd2454f0f6396" }, "downloads": -1, "filename": "pybibframe-0.4.2.tar.gz", "has_sig": false, "md5_digest": "247ad0239f895b35ac62421719d2e880", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25040, "upload_time": "2014-08-29T15:00:09", "url": "https://files.pythonhosted.org/packages/c2/50/bd503356c4af40f9feee0e419bbcad5072120d5fc5d93c64262f7d34a1bc/pybibframe-0.4.2.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "3c428ab8eeb99c73ccf16232e65e88e4", "sha256": "173be66d60d6e06a187bea4e420c128bd8c694953af0b3ee8c05bad341f4d586" }, "downloads": -1, "filename": "pybibframe-0.4.4.tar.gz", "has_sig": false, "md5_digest": "3c428ab8eeb99c73ccf16232e65e88e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25424, "upload_time": "2014-09-02T20:59:38", "url": "https://files.pythonhosted.org/packages/16/ab/d4546f383a27f1deda17259ec1a1be2656088669fc3c4c7c9641f083ac5a/pybibframe-0.4.4.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "41fafe7f70b04f79927e8ea374156273", "sha256": "bf77ea535a2d2224b26ac857d03d20777e2d993059ba64aaa81d061a4c44fb2c" }, "downloads": -1, "filename": "pybibframe-0.4.5.tar.gz", "has_sig": false, "md5_digest": "41fafe7f70b04f79927e8ea374156273", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57062, "upload_time": "2014-10-23T17:39:27", "url": "https://files.pythonhosted.org/packages/16/e2/76ddf2a09f90204308c95d0d46a8ea3e1b387035bfc41eb2f4e870a42d85/pybibframe-0.4.5.tar.gz" } ], "0.4.6": [ { "comment_text": "", "digests": { "md5": "2267a863fb017bdefd801071f1c58e93", "sha256": "a86af79d2f3d71b0281661421fe02750c1d6f43c9b98fcd1f71a013bc0316b7d" }, "downloads": -1, "filename": "pybibframe-0.4.6.tar.gz", "has_sig": false, "md5_digest": "2267a863fb017bdefd801071f1c58e93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 73041, "upload_time": "2015-01-30T18:19:05", "url": "https://files.pythonhosted.org/packages/13/ee/cac94c94e894046fe648edfc535b56bc1cc93505714014b23d8f9efa83d6/pybibframe-0.4.6.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "e73fa81cbae59d27155e4299ebba58a4", "sha256": "0ac536d878e1476683250f0672c2425102754022bb1024f00f3cd2c19c922fd4" }, "downloads": -1, "filename": "pybibframe-0.9.0.tar.gz", "has_sig": false, "md5_digest": "e73fa81cbae59d27155e4299ebba58a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 82659, "upload_time": "2015-03-11T17:25:09", "url": "https://files.pythonhosted.org/packages/25/53/34687b38f470e7631455a2ff8c381bdf9cbd2203da752c88b7682fb31e4e/pybibframe-0.9.0.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "1c08df803a8c2376e3230da201a6a2f5", "sha256": "889a0b5745c516be6b1199116034836f4134611aaf06b2a0e23cb6bcafe37b40" }, "downloads": -1, "filename": "pybibframe-0.9.2.tar.gz", "has_sig": false, "md5_digest": "1c08df803a8c2376e3230da201a6a2f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 118404, "upload_time": "2016-08-08T16:29:53", "url": "https://files.pythonhosted.org/packages/eb/16/7855a5c5ba5928a53298b5c9815ce6a7cd1943baab22bf88336cb6ea9e46/pybibframe-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "343fcb8379dc2b18395a41119e902991", "sha256": "c4e583c0732c4d0121e1c5fc5daa24d39fef79769d8f7c23948747faa5f0c2d3" }, "downloads": -1, "filename": "pybibframe-0.9.3.tar.gz", "has_sig": false, "md5_digest": "343fcb8379dc2b18395a41119e902991", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 121313, "upload_time": "2016-10-25T18:52:48", "url": "https://files.pythonhosted.org/packages/cf/51/20b50cc151b71746bd7a115c95ecbd6a157609eac22dbe78b800d6b58d50/pybibframe-0.9.3.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "54236e0aebc8c9c3d8eb8b7a28e278e9", "sha256": "4b9899d7f7c735b9d463f71a610443d4e52d0dc80b32e5bf3607b6ac8d066790" }, "downloads": -1, "filename": "pybibframe-0.9.4.tar.gz", "has_sig": false, "md5_digest": "54236e0aebc8c9c3d8eb8b7a28e278e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122994, "upload_time": "2017-03-24T17:29:14", "url": "https://files.pythonhosted.org/packages/33/d6/69c6468e3c32bf8b1fdf2c06f57ad092d3f30ca1b9f49c57405b4377f3de/pybibframe-0.9.4.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "33cd0578ddae7c7594760adc0093b9ae", "sha256": "61ff5488cc85401001b063744cce31bcec075d6cd0253ad6956718729b4ae0b6" }, "downloads": -1, "filename": "pybibframe-1.0.0.tar.gz", "has_sig": false, "md5_digest": "33cd0578ddae7c7594760adc0093b9ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 123851, "upload_time": "2017-05-26T17:40:07", "url": "https://files.pythonhosted.org/packages/3a/31/0fdd87f699e1d5dbf9daf199353f0c365428ef17857dce7b30ea9359323b/pybibframe-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "a0ea0300868afd2f1f9d46b30f7e7369", "sha256": "adad6c8f40b4b6fcae4b6d7c904597724d12979d6bfd0475b5475ef796753d62" }, "downloads": -1, "filename": "pybibframe-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a0ea0300868afd2f1f9d46b30f7e7369", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 123802, "upload_time": "2018-01-31T15:09:46", "url": "https://files.pythonhosted.org/packages/81/78/a62599e3ce415b1abfcc1aa522befc1941450a2d2d07012684355b549e87/pybibframe-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "52d53a1281ffded30d012560d0210d22", "sha256": "4b0f7582ff3068f926fac385c1c2763c863da583d1959575449a2ee8ca0b3b40" }, "downloads": -1, "filename": "pybibframe-1.0.2.tar.gz", "has_sig": false, "md5_digest": "52d53a1281ffded30d012560d0210d22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 123536, "upload_time": "2018-10-16T17:43:20", "url": "https://files.pythonhosted.org/packages/51/3f/c75835bc307461fa50ff8d15f1709f9a9e887471741d430c5244277da286/pybibframe-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "2710c02e43663f9dda5fb1083cac8660", "sha256": "7a9780e0855314714807d2724f4ab4bbc633ee158f31a35d81afb3bb09397978" }, "downloads": -1, "filename": "pybibframe-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2710c02e43663f9dda5fb1083cac8660", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122558, "upload_time": "2019-04-10T17:06:49", "url": "https://files.pythonhosted.org/packages/e5/73/c72c24874c23667dbfb73b4e0772e51a22e66e66b053b6e3fb8f8f02c9c2/pybibframe-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "41fb086b5ae13603bf73c42e44c9252b", "sha256": "21366ec552eae7186dfe312bf001ef832edca8eaf71e89c6de86ffc3c0616091" }, "downloads": -1, "filename": "pybibframe-1.1.1.tar.gz", "has_sig": false, "md5_digest": "41fb086b5ae13603bf73c42e44c9252b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122589, "upload_time": "2019-04-11T05:34:12", "url": "https://files.pythonhosted.org/packages/9d/b9/42daff33708278567b492bd98ad33319fb66a2e99dcaf4149341b03de512/pybibframe-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "41fb086b5ae13603bf73c42e44c9252b", "sha256": "21366ec552eae7186dfe312bf001ef832edca8eaf71e89c6de86ffc3c0616091" }, "downloads": -1, "filename": "pybibframe-1.1.1.tar.gz", "has_sig": false, "md5_digest": "41fb086b5ae13603bf73c42e44c9252b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122589, "upload_time": "2019-04-11T05:34:12", "url": "https://files.pythonhosted.org/packages/9d/b9/42daff33708278567b492bd98ad33319fb66a2e99dcaf4149341b03de512/pybibframe-1.1.1.tar.gz" } ] }