معرفی شرکت ها


dltn-checker-0.0.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

a simple utility to check and harvest metadata records from an OAI request when they meet theDLTN requirements
ویژگی مقدار
سیستم عامل -
نام فایل dltn-checker-0.0.2
نام dltn-checker
نسخه کتابخانه 0.0.2
نگهدارنده []
ایمیل نگهدارنده ['mbagget1@utk.edu']
نویسنده Mark Baggett
ایمیل نویسنده mbagget1@utk.edu
آدرس صفحه اصلی https://github.com/DigitalLibraryofTennessee/check_and_harvest
آدرس اینترنتی https://pypi.org/project/dltn-checker/
مجوز -
====================== DLTN Check and Harvest ====================== .. image:: https://travis-ci.org/DigitalLibraryofTennessee/check_and_harvest.png :alt: TravisCI badge .. image:: https://badge.fury.io/py/dltn-checker.svg :target: https://badge.fury.io/py/dltn-checker :alt: PyPI badge ----- About ----- Tests whether records from an OAI-PMH feed pass minimum requirements of DLTN and optionally harvests only the good records from a request to disk so that they can be added to Repox and included in the DPLA. ------- Install ------- Running with Builtin Argument Parsing from a CLI ================================================ If you want to do it this way, you're going to need to clone this. It's also suggested to build this with pipenv. .. code-block:: console $ git clone https://github.com/DigitalLibraryofTennessee/check_and_harvest $ cd check_and_harvest $ pipenv install $ pipenv shell Using OAIChecker from the dltnchecker module ============================================ If you're cool :sunglasses: : .. code-block:: console $ pipenv install dltn_checker Otherwise: .. code-block:: console $ pip install dltn_checker ------------------------------------------ Examples with the Built In Argument Parser ------------------------------------------ 1. Check for bad DC records in an entire OAI-PMH feed. .. code-block:: console $ python run -e http://my-oai-endpoint:8080/OAIHandler -m oai_dc 2. Check and harvest good DC records from an entire OAI-PMH feed. .. code-block:: console $ python run -e http://my-oai-endpoint:8080/OAIHandler -m oai_dc -H True 3. Check and harvest good xoai records from a specifc set. .. code-block:: console $ python run -e http://my-oai-endpoint:8080/OAIHandler -m xoai -s my_awesome_xoai_set -H True 4. Check and harvest good MODS records from an entire provider in Repox. .. code-block:: console $ python run -e http://my-oai-endpoint:8080/OAIHandler -m MODS -p CrossroadstoFreedomr0 -H True ---------------------------------------------------- Examples using the OAIChecker Class from dltnchecker ---------------------------------------------------- Check a set to see if there are any bad files in a set. .. code-block:: python from dltnchecker.harvest import OAIChecker request = OAIChecker("https://dpla.lib.utk.edu/repox/OAIHandler", "crossroads_sanitation", "MODS") request.list_records() print(request.bad_records) By default, this will try to download the good files to a directory called output. If you don't want to download, you need to pass an additional parameter called harvest and set to False. .. code-block:: python from dltnchecker.harvest import OAIChecker request = OAIChecker("https://dpla.lib.utk.edu/repox/OAIHandler", "crossroads_sanitation", "MODS", harvest=False) request.list_records() print(request.bad_records)


نیازمندی

مقدار نام
>=2.21.0 requests
>=0.12.0 xmltodict
>=4.3.1 lxml
>=0.0.2 repox
>=4.2b1 pyyaml


نحوه نصب


نصب پکیج whl dltn-checker-0.0.2:

    pip install dltn-checker-0.0.2.whl


نصب پکیج tar.gz dltn-checker-0.0.2:

    pip install dltn-checker-0.0.2.tar.gz