commonmeta-py-0.7.1
توضیحات
Library for conversions to/from the Commonmeta scholarly metadata format
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | commonmeta-py-0.7.1 |
| نام | commonmeta-py |
| نسخه کتابخانه | 0.7.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Martin Fenner |
| ایمیل نویسنده | martin@front-matter.io |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/commonmeta-py/ |
| مجوز | - |
[](https://github.com/front-matter/commonmeta-py/actions/workflows/build.yml)
[](https://pypi.org/project/commonmeta-py/)
[](https://sonarcloud.io/summary/new_code?id=front-matter_commonmeta-py)
[](https://sonarcloud.io/summary/new_code?id=front-matter_commonmeta-py)
[](https://commonmeta-py.docs.front-matter.io/)

# commonmeta-py
commonmeta-py is a Python library to implement Commonmeta, the common Metadata Model for Scholarly Metadata. Use commonmeta-py to convert scholarly metadata, in a variety of formats, listed below. Commonmeta-py is work in progress, the first release on PyPi (version 0.5.0) was on February 16, 2023. Up until version 0.5.1, the library was called commonmeta-py. Commonmeta-py is modelled after the [briard ruby gem](https://github.com/front-matter/briard).
commonmeta-py uses semantic versioning. Currently, its major version number is still at 0, meaning the API is not yet stable, and breaking changes are expected in the internal API and commonmeta JSON format.
## Installation
Stable version
pip (or pip3) install commonmeta-py
Dev version
pip install git+https://github.com/front-matter/commonmeta-py.git#egg=commonmeta-py
## Supported Metadata Formats
Commometa-py reads and/or writes these metadata formats:
| Format | Name | Content Type | Read | Write |
| ------------------------------------------------------------------------------------------------ | ------------- | -------------------------------------- | ------- | ------- |
| Commonmeta | commonmeta | application/vnd.commonmeta+json | yes | yes |
| [CrossRef Unixref XML](https://www.crossref.org/schema/documentation/unixref1.1/unixref1.1.html) | crossref_xml | application/vnd.crossref.unixref+xml | yes | planned |
| [Crossref](https://api.crossref.org) | crossref | application/vnd.crossref+json | yes | no |
| [DataCite XML](https://schema.datacite.org/) | datacite_xml | application/vnd.datacite.datacite+xml | planned | later |
| [DataCite](https://api.datacite.org/) | datacite | application/vnd.datacite.datacite+json | yes | yes |
| [Schema.org (in JSON-LD)](http://schema.org/) | schema_org | application/vnd.schemaorg.ld+json | yes | yes |
| [RDF XML](http://www.w3.org/TR/rdf-syntax-grammar/) | rdf_xml | application/rdf+xml | no | later |
| [RDF Turtle](http://www.w3.org/TeamSubmission/turtle/) | turtle | text/turtle | no | later |
| [CSL-JSON](https://citationstyles.org/) | csl | pplication/vnd.citationstyles.csl+json | yes | yes |
| [Formatted text citation](https://citationstyles.org/) | citation | text/x-bibliography | no | yes |
| [Codemeta](https://codemeta.github.io/) | codemeta | application/vnd.codemeta.ld+json | yes | later |
| [Citation File Format (CFF)](https://citation-file-format.github.io/) | cff | application/vnd.cff+yaml | yes | later |
| [JATS](https://jats.nlm.nih.gov/) | jats | application/vnd.jats+xml | later | later |
| [CSV](ttps://en.wikipedia.org/wiki/Comma-separated_values) | csv | text/csv | no | later |
| [BibTex](http://en.wikipedia.org/wiki/BibTeX) | bibtex | application/x-bibtex | later | yes |
| [RIS](http://en.wikipedia.org/wiki/RIS_(file_format)) | ris | application/x-research-info-systems | later | yes |
_commonmeta_: the Commonmeta format is the native format for the library and used internally.
_Planned_: we plan to implement this format for the v0.8 public release.
_Later_: we plan to implement this format in a later release.
## Documentation
Documentation (work in progress) for using the library is available at the [commonmeta-py Documentation](https://commonmeta-py.docs.front-matter.io) website and includes several interactive Jupyter Notebooks .
## Meta
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/front-matter/commonmeta-py/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
License: [MIT](https://github.com/front-matter/commonmeta-py/blob/main/LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| >=0.19,<0.20 | docutils |
| >=0.11,<0.12 | sphinxcontrib-issuetracker |
| >=1.19,<2.0 | sphinx-autodoc-typehints |
| >=4.64,<5.0 | tqdm |
| >=2.28,<3.0 | requests |
| >=2.28,<3.0 | types-requests |
| >=1.1.7,<2.0.0 | dateparser |
| >=1.1,<2.0 | types-dateparser |
| >=6.0,<7.0 | PyYAML |
| >=6.0,<7.0 | types-PyYAML |
| >=6.0,<7.0 | pydash |
| >=4.11,<5.0 | beautifulsoup4 |
| >=4.11,<5.0 | types-beautifulsoup4 |
| >=6.0,<7.0 | bleach |
| >=6.0,<7.0 | types-bleach |
| >=3.18,<4.0 | simplejson |
| >=1.4,<2.0 | bibtexparser |
| >0.1 | citeproc-py-styles |
| >=0.6,<0.7 | citeproc-py |
| >=0.16.3,<0.17.0 | jsonschema-rs |
| >=1.4,<2.0 | mkdocs |
| >=8.0,<9.0 | mkdocs-material |
| >=1.1,<2.0 | mkdocs-material-extensions |
| >=0.22,<0.23 | mkdocs-jupyter |
| >=0.6,<0.7 | nbstripout |
| >=1.1,<2.0 | datacite |
| >=0.13,<0.14 | xmltodict |
| >=0.13,<0.14 | types-xmltodict |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.1,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl commonmeta-py-0.7.1:
pip install commonmeta-py-0.7.1.whl
نصب پکیج tar.gz commonmeta-py-0.7.1:
pip install commonmeta-py-0.7.1.tar.gz