{ "info": { "author": "Mark Jordan, Nick Ruest", "author_email": "mjordan@sfu.ca, ruestn@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: Public Domain", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Communications :: File Sharing", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Filesystems", "Topic :: Utilities" ], "description": "Bagit Profile (validator)\n=========================\n\n.. image:: https://img.shields.io/pypi/v/bagit_profile.svg\n :target: https://pypi.org/project/bagit_profile/\n\n.. image:: https://circleci.com/gh/bagit-profiles/bagit-profiles-validator.svg?style=svg\n :target: https://circleci.com/gh/bagit-profiles/bagit-profiles-validator\n\nDescription\n~~~~~~~~~~~\n\nA simple Python module for validating BagIt profiles. See the `BagIt\nProfiles Specification\n`__\nfor more information.\n\nThis module is intended for use with\n`bagit-python `__ but does not extend it.\n\nInstallation\n~~~~~~~~~~~~\n\n``bagit_profile.py`` is a single-file python module that you can drop into\nyour project as needed or you can install globally with:\n\n1. ``git clone https://github.com/bagit-profiles/bagit-profiles-validator.git``\n2. ``cd bagit-profiles-validator``\n3. ``sudo python setup.py install``\n\nor:\n\n``pip install bagit_profile``\n\nUsage\n~~~~~\n\n.. code:: python\n\n import bagit\n import bagit_profile\n\nInstantiate an existing Bag using\n`bagit `__.\n``python bag = bagit.Bag('mydir')``\n\nInstantiate a profile, supplying its URI.\n``python my_profile = bagit_profile.Profile('http://example.com/bagitprofile.json')``\n\nValidate 'Serialization' and 'Accept-Serialization'. This must be done\nbefore .validate(bag) is called. 'mydir' is the path to the Bag.\n\n.. code:: python\n\n if my_profile.validate_serialization('mydir'):\n print \"Serialization validates\"\n else:\n print \"Serialization does not validate\"\n\nValidate the rest of the profile.\n\n.. code:: python\n\n if my_profile.validate(bag):\n print \"Validates\"\n else:\n print \"Does not validate\"\n\nOr from the commandline:\n\n``bagit_profile.py 'http://uri.for.profile/profile.json' path/to/bag``\n\nTest suite\n~~~~~~~~~~\n\n``python setup.py test``\n\nDevelopment\n~~~~~~~~~~~\n\n1. `Fork the\n repository `__\n2. Do something awesome!\n3. `Submit a pull\n request `__\n explianing what your code does\n\nLicense\n~~~~~~~\n\n.. figure:: http://i.creativecommons.org/p/zero/1.0/88x31.png\n :alt: CC0\n\n CC0\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bagit-profiles/bagit-profiles-validator", "keywords": "", "license": "CC0", "maintainer": "", "maintainer_email": "", "name": "bagit_profile", "package_url": "https://pypi.org/project/bagit_profile/", "platform": "POSIX", "project_url": "https://pypi.org/project/bagit_profile/", "project_urls": { "Homepage": "https://github.com/bagit-profiles/bagit-profiles-validator" }, "release_url": "https://pypi.org/project/bagit_profile/1.3.0/", "requires_dist": [ "bagit", "requests" ], "requires_python": "", "summary": " This module can be used to validate BagitProfiles.", "version": "1.3.0" }, "last_serial": 4582385, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "76820b149ffd7f49c5b39eaf6858a78f", "sha256": "59017c67bca6d7a8c9c641c804beffadf9bb8b5965cac2d4b826b2099083f090" }, "downloads": -1, "filename": "bagit_profile-0.0.1.tar.gz", "has_sig": false, "md5_digest": "76820b149ffd7f49c5b39eaf6858a78f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4452, "upload_time": "2013-02-06T00:10:02", "url": "https://files.pythonhosted.org/packages/68/be/a8b2eb1ca34e801b1d72369c20d3813a3f9f627e619ea8a0612cd916ebad/bagit_profile-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "db967a94701edc5b2c0278686c7cb318", "sha256": "4f2d2deee5770f7d3b690e7393cf174e18ade6e8af4f5b0e22b722b0657bbae9" }, "downloads": -1, "filename": "bagit_profile-0.0.2.tar.gz", "has_sig": false, "md5_digest": "db967a94701edc5b2c0278686c7cb318", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4716, "upload_time": "2013-03-02T23:05:05", "url": "https://files.pythonhosted.org/packages/aa/61/2959e0b7e69b3fda58476548d8108ce1ce24013346bdf1a605413fb21d1e/bagit_profile-0.0.2.tar.gz" } ], "0.0.3": [], "0.0.4": [ { "comment_text": "", "digests": { "md5": "8ced9ffce2990238ba484ee14bc0b34b", "sha256": "f549f7c31c152c7bbd3dbc3ddb119a4c76b861d517ffd99ed6a8c4f2e55e8cee" }, "downloads": -1, "filename": "bagit_profile-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8ced9ffce2990238ba484ee14bc0b34b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5102, "upload_time": "2013-09-26T12:46:27", "url": "https://files.pythonhosted.org/packages/c5/63/ee7b0808bbc640aa16113b7263b4d8031d54633fc90bb98f624c85a7ea0d/bagit_profile-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "2d3add9068381d10f31d5d4fefcf0f9c", "sha256": "4f6b3a191d3dfc3cbd8e1386f99a0cfc67f64bce2a980509cefcde27172fca0b" }, "downloads": -1, "filename": "bagit_profile-0.0.5.tar.gz", "has_sig": false, "md5_digest": "2d3add9068381d10f31d5d4fefcf0f9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5806, "upload_time": "2013-09-26T12:53:27", "url": "https://files.pythonhosted.org/packages/f2/41/b13c3f6da98f008fdf99a07859ac8471c27d9a25d15fab8a0df2fe3afb38/bagit_profile-0.0.5.tar.gz" } ], "1.0.0": [], "1.0.1": [ { "comment_text": "built for Linux-3.11.0-13-generic-x86_64-with-glibc2.4", "digests": { "md5": "226b29094313838829f230a75b4a299b", "sha256": "6071edae405e19dca590642c4b29e7fd09ec7574b0b354daff55f9fee46cb6e4" }, "downloads": -1, "filename": "bagit_profile-1.0.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "226b29094313838829f230a75b4a299b", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 7820, "upload_time": "2013-12-05T18:12:20", "url": "https://files.pythonhosted.org/packages/ef/9f/0ceec3dc371126a766b2fb3039797c8054a22480e7e5919ccd4eb21378c6/bagit_profile-1.0.1.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "077e61e4b2dae20929bfdf69afaf802c", "sha256": "1b5480186659e00ffcdbdaef7f5a8b0864e57901fc8cef7b941a452b08efa33a" }, "downloads": -1, "filename": "bagit_profile-1.0.1.tar.gz", "has_sig": false, "md5_digest": "077e61e4b2dae20929bfdf69afaf802c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5820, "upload_time": "2013-12-05T18:12:30", "url": "https://files.pythonhosted.org/packages/9b/91/173a9f67180414f0d93139f08a8432a1a744099ae3f238832beee8de1f47/bagit_profile-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "built for Linux-3.11.0-13-generic-x86_64-with-glibc2.4", "digests": { "md5": "c17e5b3ee1792c30daa3da8fa4201eb7", "sha256": "2b0baea216b7702288f84d32dcf6d03cb159ddb0724e2da8b38d0741097f04c4" }, "downloads": -1, "filename": "bagit_profile-1.0.2.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "c17e5b3ee1792c30daa3da8fa4201eb7", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 7812, "upload_time": "2013-12-05T18:16:38", "url": "https://files.pythonhosted.org/packages/fb/79/b144396758ac1503d260bfa10d35a5e3b8db26f1ab5a6dcb1acc536f30df/bagit_profile-1.0.2.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "195b36a3b9d7db9bf834369210f4ca05", "sha256": "66cd1f002a53c04a9cd8d259a40e698067d0a2c1eab09ee2ea1f95f9ff5ef2e4" }, "downloads": -1, "filename": "bagit_profile-1.0.2.tar.gz", "has_sig": false, "md5_digest": "195b36a3b9d7db9bf834369210f4ca05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5817, "upload_time": "2013-12-05T18:16:45", "url": "https://files.pythonhosted.org/packages/46/85/adeeabde9b1f58067d9c4d621115677115e0092ef6fe8b9e4c5f639d1afe/bagit_profile-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "0a907b2ef214948c7da34ebce17293a3", "sha256": "c7a660f34ec36d1d7c884a632185e8ca7ae9fa57f0e5a5605fd55e4e6eceb67b" }, "downloads": -1, "filename": "bagit_profile-1.1.0.tar.gz", "has_sig": true, "md5_digest": "0a907b2ef214948c7da34ebce17293a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5828, "upload_time": "2017-05-13T18:23:29", "url": "https://files.pythonhosted.org/packages/ff/1e/755da7933e20e673115e52bd78e4cb203ad2950113f6b985a2a5777b2f33/bagit_profile-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "c2e1d457668013b09c757b883418aff6", "sha256": "b7b465d976ee32d52bf0c0ee57e37873fb4e85ac3a3b71e16f93fa41410474de" }, "downloads": -1, "filename": "bagit_profile-1.1.1.tar.gz", "has_sig": true, "md5_digest": "c2e1d457668013b09c757b883418aff6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5825, "upload_time": "2017-05-23T23:53:22", "url": "https://files.pythonhosted.org/packages/56/9a/9963e51522363413bb5116ddbc8275b88f967c0e84b497c84483e457c097/bagit_profile-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "db43c25a18164922f224b36d8edef5e5", "sha256": "0cb3a8605b92de9c74976690adc863e88a3925df2cd90e9c61176cec8be6b304" }, "downloads": -1, "filename": "bagit_profile-1.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "db43c25a18164922f224b36d8edef5e5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10431, "upload_time": "2018-11-13T18:07:33", "url": "https://files.pythonhosted.org/packages/a7/97/cc63eb04652bed18f63bf8c2a6e0117022de1a10bc10e8cf40c2a541f1b7/bagit_profile-1.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7412dcab9234606cea8f20f53ea07c3", "sha256": "92335988ea739bfbe2171b3ffb3eb7179053320e5f5e4fedbeb2d83112a397cf" }, "downloads": -1, "filename": "bagit_profile-1.2.0.tar.gz", "has_sig": false, "md5_digest": "e7412dcab9234606cea8f20f53ea07c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6309, "upload_time": "2018-11-13T18:07:35", "url": "https://files.pythonhosted.org/packages/97/6b/ddea5932166bd98cd3772bb567bf89df37174b823dce4b796c5fe565a284/bagit_profile-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "123d944fbb297bae31921ea1f47a8294", "sha256": "295b00781419359de2ff7903fb6fc85f03bec6cf882f3aa9f0df745a41d43ef4" }, "downloads": -1, "filename": "bagit_profile-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "123d944fbb297bae31921ea1f47a8294", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13088, "upload_time": "2018-12-10T20:08:56", "url": "https://files.pythonhosted.org/packages/aa/87/22ecf99b15cc704c57d389577ef4a0e4882eb6e7fbbaff50a6dffbf306e1/bagit_profile-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6aaef3a36c3d64061d3de3c9aa7badb", "sha256": "14583af8d33ec10d6c294243ef505a27e67b5acf348bbf2aca0d6fbac3434255" }, "downloads": -1, "filename": "bagit_profile-1.3.0.tar.gz", "has_sig": false, "md5_digest": "c6aaef3a36c3d64061d3de3c9aa7badb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7182, "upload_time": "2018-12-10T20:08:57", "url": "https://files.pythonhosted.org/packages/c2/bb/605bf130b487d0da329f3e37f442a37ea91786eba509a2a3483612557930/bagit_profile-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "123d944fbb297bae31921ea1f47a8294", "sha256": "295b00781419359de2ff7903fb6fc85f03bec6cf882f3aa9f0df745a41d43ef4" }, "downloads": -1, "filename": "bagit_profile-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "123d944fbb297bae31921ea1f47a8294", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13088, "upload_time": "2018-12-10T20:08:56", "url": "https://files.pythonhosted.org/packages/aa/87/22ecf99b15cc704c57d389577ef4a0e4882eb6e7fbbaff50a6dffbf306e1/bagit_profile-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6aaef3a36c3d64061d3de3c9aa7badb", "sha256": "14583af8d33ec10d6c294243ef505a27e67b5acf348bbf2aca0d6fbac3434255" }, "downloads": -1, "filename": "bagit_profile-1.3.0.tar.gz", "has_sig": false, "md5_digest": "c6aaef3a36c3d64061d3de3c9aa7badb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7182, "upload_time": "2018-12-10T20:08:57", "url": "https://files.pythonhosted.org/packages/c2/bb/605bf130b487d0da329f3e37f442a37ea91786eba509a2a3483612557930/bagit_profile-1.3.0.tar.gz" } ] }