معرفی شرکت ها


atlasdcat-1.0.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

A library for managing DCAT metadata using Apache Atlas
ویژگی مقدار
سیستم عامل OS Independent
نام فایل atlasdcat-1.0.1
نام atlasdcat
نسخه کتابخانه 1.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Jeff Reiffers
ایمیل نویسنده jeff@ouvir.no
آدرس صفحه اصلی https://github.com/Informasjonsforvaltning/atlasdcat
آدرس اینترنتی https://pypi.org/project/atlasdcat/
مجوز Apache-2.0
# atlasdcat ![Tests](https://github.com/Informasjonsforvaltning/atlasdcat/workflows/Tests/badge.svg) [![codecov](https://codecov.io/gh/Informasjonsforvaltning/atlasdcat/branch/main/graph/badge.svg?token=H4pXcHr8KK)](https://codecov.io/gh/Informasjonsforvaltning/atlasdcat) [![PyPI](https://img.shields.io/pypi/v/atlasdcat.svg)](https://pypi.org/project/atlasdcat/) [![Read the Docs](https://readthedocs.org/projects/atlasdcat/badge/)](https://atlasdcat.readthedocs.io/) A Python library for mapping Apache Atlas Glossary terms to DCAT metadata and vice versa. Specification [the Norwegian Application Profile](https://data.norge.no/specification/dcat-ap-no) of [the DCAT standard](https://www.w3.org/TR/vocab-dcat-2/). ## Usage ### Install ```Shell % pip install atlasdcat ``` ### Getting started ```Python # Example... from atlasdcat import AtlasDcatMapper from pyapacheatlas.auth import BasicAuthentication from pyapacheatlas.core.glossary import GlossaryClient atlas_auth = BasicAuthentication(username="dummy", password="dummy") atlas_client = GlossaryClient( endpoint_url="http://atlas", authentication=atlas_auth ) mapper = AtlasDcatMapper( glossary_client=atlas_client, glossary_id="myglossary", catalog_uri="https://domain/catalog", catalog_language="http://publications.europa.eu/resource/authority/language/NOB", catalog_title="Catalog", catalog_publisher="https://domain/publisher", dataset_uri_template="http://domain/datasets/{guid}", distribution_uri_template="http://domain/distributions/{guid}", language="nb", ) try: catalog = mapper.map_glossary_to_dcat_dataset_catalog() print(catalog.to_rdf()) except Exception as e: print(f"An exception occurred: {e}") ``` For an example of usage of this library in a simple server, see [example](./example/README.md). ## Development ### Requirements - [pyenv](https://github.com/pyenv/pyenv) (recommended) - python3 - [poetry](https://python-poetry.org/) - [nox](https://nox.thea.codes/en/stable/) ```Shell % pip install poetry==1.1.13 % pip install nox==2022.1.7 % pip inject nox nox-poetry==1.0.0 ``` ### Install developer tools ```Shell % git clone https://github.com/Informasjonsforvaltning/atlasdcat.git % cd atlasdcat % pyenv install 3.8.12 % pyenv install 3.9.10 % pyenv install 3.10. % pyenv local 3.8.12 3.9.10 3.10. % poetry install ``` ### Run all sessions ```Shell % nox ``` ### Run all tests with coverage reporting ```Shell % nox -rs tests ``` ### Debugging You can enter into [Pdb](https://docs.python.org/3/library/pdb.html) by passing `--pdb` to pytest: ```Shell nox -rs tests -- --pdb ``` You can set breakpoints directly in code by using the function `breakpoint()`.


نیازمندی

مقدار نام
>=2.1.0,<3.0.0 datacatalogtordf
>=0.13.1,<0.14.0 pyapacheatlas
>=0.20.0,<0.21.0 python-dotenv


زبان مورد نیاز

مقدار نام
>=3.8,<3.11 Python


نحوه نصب


نصب پکیج whl atlasdcat-1.0.1:

    pip install atlasdcat-1.0.1.whl


نصب پکیج tar.gz atlasdcat-1.0.1:

    pip install atlasdcat-1.0.1.tar.gz