Library for conversions to/from the Commonmeta scholarly metadata format
Project description
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.
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 | crossref_xml | application/vnd.crossref.unixref+xml | later | planned |
Crossref | crossref | application/vnd.crossref+json | yes | no |
DataCite XML | datacite_xml | application/vnd.datacite.datacite+xml | later | later |
DataCite | datacite | application/vnd.datacite.datacite+json | yes | yes |
Schema.org (in JSON-LD) | schema_org | application/vnd.schemaorg.ld+json | yes | yes |
RDF XML | rdf_xml | application/rdf+xml | no | later |
RDF Turtle | turtle | text/turtle | no | later |
Citeproc JSON | citeproc | pplication/vnd.citationstyles.csl+json | yes | yes |
Formatted text citation | citation | text/x-bibliography | no | yes |
Codemeta | codemeta | application/vnd.codemeta.ld+json | yes | later |
Citation File Format (CFF) | cff | application/vnd.cff+yaml | yes | later |
JATS | jats | application/vnd.jats+xml | later | later |
CSV | csv | text/csv | no | later |
BibTex | bibtex | application/x-bibtex | later | yes |
RIS | 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 website and includes several interactive Jupyter Notebooks .
Meta
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
License: MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for commonmeta_py-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1b673780f37fed10a87e0261ff7c2c15d0fb1491646f6838ffcf5dbc1962d38 |
|
MD5 | c60dad7c726b4dda8c1c1291b08dc404 |
|
BLAKE2b-256 | 42a2f566b1c1c1d4c818f0d762c0284239586227ad76eae7bc57145913564f12 |