A simple package to parse an ORCID works entry into a Markdown format for static website generators
Project description
ORCID2Markdown
Introduction
ORCID2Markdown is a small tool for automatically parsing an ORCID works entry into a Markdown format appropriate for
use in static website generators like Jekyll.
The output format is the following:
# First Author Papers
---
* _Title_: {title}
* _Authors_: **{first_author}**, {secondary_authors}
* _Journal_: {journal}
* _Date_: {year} / {month}
* _Volume_: {volume}
* https://doi.org/{doi}
---
# Co Author Papers
---
* _Title_: {title}
* _Authors_: {authors}... **{your_name}**... {authors}
* _Journal_: {journal}
* _Date_: {year} / {month}
* _Volume_: {volume}
* https://doi.org/{doi}
Issues
ORCID2Markdown uses biblatexparser to parse bibentries obtained from querying Crossref for a bibentry using habanero. This leads to LaTeX-style formatted text to be totally lost. Therefore, LaTeX-styled text needs to be fixed manually.
Installation
pip install orcid2markdown
Usage
Using is simple:
from orcid2markdown import ORCID2Markdown
oid = ORCID2Markdown(orcid="your_orcid",
first_name="your first name",
other_names=["a list of", "possible", "other names you have as author"])
oid.to_markdown("my_papers.md")
:warning: Note: Depending on the number of works, it might take a while. I tested in a around 340 works orcid, and it tooks roughly 5 minutes.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orcid2markdown-0.0.1a0.tar.gz.
File metadata
- Download URL: orcid2markdown-0.0.1a0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
941dbc3a7997fc1c61fa6f77379ca21319022eefd70ae9c9edfc54478e8699ab
|
|
| MD5 |
0475235f69a170fb3097e05dd40aac87
|
|
| BLAKE2b-256 |
14e8ad74145e74a76fd98fe12ffa8c41a3fdcdec3131ae563b2eb7bb0e31811c
|
File details
Details for the file orcid2markdown-0.0.1a0-py3-none-any.whl.
File metadata
- Download URL: orcid2markdown-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b50e131825ac5ad7af5f66d8a8157d7f403581b2f9999b18041cf8fab844dc1
|
|
| MD5 |
99db516704a2e94c3e18b3b4a664b4f3
|
|
| BLAKE2b-256 |
e7097833ff6f393c56962f168ae9b5a672fadbcaf0c1ecc3df22ded1c907dbe9
|