Python Boilerplate contains all the boilerplate you need to create a Python package.
Project description
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.
Free software: MIT license
Documentation: https://parrot-gpt.readthedocs.io.
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
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
File details
Details for the file parrot_gpt-0.1.0.tar.gz
.
File metadata
- Download URL: parrot_gpt-0.1.0.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e27326f4539907f6e4dea76f4f7994a7b3ad7724e286f094e59e2802e7c7e1e1 |
|
MD5 | eb659d5496f938449e4cebb7413addd4 |
|
BLAKE2b-256 | 80318d0fdaf5bda62445df0f66324880b3e18e886f846491bd22069c1adf5275 |
File details
Details for the file parrot_gpt-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: parrot_gpt-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e45a7d804579c0394cc317196d8bd844afa7306d89d732727ede9aed1bc9549 |
|
MD5 | 5ea9ff9c60a52eee7d587f66eabaccf5 |
|
BLAKE2b-256 | 9c0b310b38130a1163a8c7493ab4b744c5523857a488c681adf5bed7d92f1908 |