Skip to main content

Python Boilerplate contains all the boilerplate you need to create a Python package.

Project description

PyPI version Build Status Documentation Status Updates

The Parrot-GPT package provides a Python library that can convert any bibliographic metadata between different schemas using the OpenAI Large language models via its API. There is no limitation in the schemas that can be transformed but currently there a restriction has been included to input and output schemas.

Created with DALL·E, an AI system by OpenAI

Metadata Formats

Schema

Example

DATS

cff

crossref_xml

JATS

BioSchema

Codemeta

RIF-CS

EDMI

DCAT

DCAT-AP

DataCite

DataCite-XML

DataCite-JSON

Crossref

schema.org

bibtex

DC-XML

DC-JSON

Dublin Core

Installation

You can install parrot_gpt with pip:

$ pip install parrot_gpt

Usage from the command line

$ export OPENAI_API_KEY={OPENAI_API_KEY}
$ parrot_gpt.cli -m ./path/to/your/filename -i crosssref -t datacite > output

History

0.1.0 (2023-02-19)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parrot_gpt-0.1.0.tar.gz (1.7 MB view hashes)

Uploaded Source

Built Distribution

parrot_gpt-0.1.0-py2.py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page