Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

commonmeta-py

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commonmeta-py

Library for conversions to/from the Commonmeta scholarly metadata format

  • 0.55
  • PyPI
  • Socket score

Maintainers
1

DOI Build PyPI version Coverage Maintainability Rating docs GitHub

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 talbot. Commonmeta-py is modelled after the commonmeta-ruby ruby gem.

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:

FormatNameContent TypeReadWrite
Commonmetacommonmetaapplication/vnd.commonmeta+jsonyesyes
CrossRef XMLcrossref_xmlapplication/vnd.crossref.unixref+xmlyesyes
Crossrefcrossrefapplication/vnd.crossref+jsonyesn/a
DataCitedataciteapplication/vnd.datacite.datacite+jsonyesyes
Schema.org (in JSON-LD)schema_orgapplication/vnd.schemaorg.ld+jsonyesyes
RDF XMLrdf_xmlapplication/rdf+xmlnolater
RDF Turtleturtletext/turtlenolater
CSL-JSONcslapplication/vnd.citationstyles.csl+jsonyesyes
Formatted text citationcitationtext/x-bibliographyn/ayes
Codemetacodemetaapplication/vnd.codemeta.ld+jsonyeslater
Citation File Format (CFF)cffapplication/vnd.cff+yamlyeslater
JATSjatsapplication/vnd.jats+xmllaterlater
CSVcsvtext/csvnolater
BibTexbibtexapplication/x-bibtexlateryes
RISrisapplication/x-research-info-systemsyesyes
InvenioRDMinveniordmapplication/vnd.inveniordm.v1+jsonyesyes
JSON Feedjson_feed_itemapplication/feed+jsonyeslater

commonmeta: the Commonmeta format is the native format for the library and used internally. Planned: we plan to implement this format for the v1.0 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc