معرفی شرکت ها


curieutil-0.0.5


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Python Library to translate CURIEs to IRIs and vice versa. Python version based on the Java Implementation: https://github.com/prefixcommons/curie-util and the JavaScript Implementation: https://github.com/geneontology/curie-util-es5
ویژگی مقدار
سیستم عامل -
نام فایل curieutil-0.0.5
نام curieutil
نسخه کتابخانه 0.0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Laurent-Philippe Albou
ایمیل نویسنده laurent.albou@lbl.gov
آدرس صفحه اصلی https://github.com/geneontology/curie-util-py
آدرس اینترنتی https://pypi.org/project/curieutil/
مجوز -
# Curie Util Python Library to translate CURIEs to IRIs and vice versa. Python version based on the Java Implementation: https://github.com/prefixcommons/curie-util and the JavaScript Implementation: https://github.com/geneontology/curie-util-es5 ## Install ``` pip install curieutil ``` ## Usage Retrieve a JSON-LD file such as: https://github.com/prefixcommons/biocontext/blob/master/registry/go_context.jsonld ```python import requests url = 'https://raw.githubusercontent.com/prefixcommons/biocontext/master/registry/go_context.jsonld' r = requests.get(url) ``` Then create a CurieUtil object: ```python from curieutil import CurieUtil mapping = CurieUtil.parseContext(r.json()) curie = CurieUtil(mapping) ``` ### Get IRI ```python curie.getIri("ZFIN:ZDB-GENE-031112-7") curie.getIri("MGI:MGI:34340") ``` ### Get CURIE ```python curie.getCurie("http://identifiers.org/zfin/ZDB-GENE-031112-7") curie.getCurie("http://identifiers.org/mgi/MGI:34340") ``` ## Notes * Learn about [JSON-LD](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=2ahUKEwjOtNqao7ncAhX3IjQIHXhIAOcQFjADegQIAxAB&url=https%3A%2F%2Fjson-ld.org%2F&usg=AOvVaw0KYV5lDp9ZQ0M18tp93C6E) * Learn about [IRI](https://www.w3.org/International/iri-edit/draft-duerst-iri.html) * Learn about [CURIE](https://www.w3.org/TR/2010/NOTE-curie-20101216/)


نیازمندی

مقدار نام
- bidict


نحوه نصب


نصب پکیج whl curieutil-0.0.5:

    pip install curieutil-0.0.5.whl


نصب پکیج tar.gz curieutil-0.0.5:

    pip install curieutil-0.0.5.tar.gz