Skip to main content

Generate references.

Project description

wenxian

PyPI - Version Pepy Total Downlods

wenxian is a tool to generate ${\mathrm{B{\scriptstyle{IB}} T_{\displaystyle E} X}}$ files from given identifiers (DOI, PMID, arXiv ID, or paper title).

子曰:“夏礼,吾能言之,杞不足征也。殷礼,吾能言之,宋不足征也。文献不足故也。足,则吾能征之矣。”——《论语》

Usage

Use wenxian in the browser (Deprecated)

[!CAUTION] Deprecated, as several websites that serve the API have disabled CORS.

Visit wenxian.njzjz.win to use wenxian in the browser.

Command line interface

wenxian requires Python 3.10. It's suggested to install uv first:

pip install uv

Then use uvx to run wenxian:

uvx wenxian from 10.1063/5.0155600

You can also search by paper title:

uvx wenxian from "Attention is all you need"

It is expected to see a ${\mathrm{B{\scriptstyle{IB}} T_{\displaystyle E} X}}$ entry printed into the standard output.

Use wenxian in a GitHub Actions workflow

You can use wenxian in a GitHub Actions workflow, as a bridge between the input identifiers and the output ${\mathrm{B{\scriptstyle{IB}} T_{\displaystyle E} X}}$ entries:

- name: Run wenxian
  id: wenxian
  uses: njzjz/wenxian@master
  with:
    id: 1512.03385
- name: Furthur uses (an example)
  run: echo "${{ steps.wenxian.outputs.bibtex }}"

Use wenxian in a GitHub issue of this repository

You can use wenxian in a GitHub issue of this repository. Comment @njzjz-bot 2312.15492 in #23, and the GitHub Actions will reply with the output ${\mathrm{B{\scriptstyle{IB}} T_{\displaystyle E} X}}$ entries.

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

wenxian-0.3.1.tar.gz (39.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wenxian-0.3.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file wenxian-0.3.1.tar.gz.

File metadata

  • Download URL: wenxian-0.3.1.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wenxian-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c977b341398daecca6e882ac71a41ec5df9697cb1f6d064780cb17c422910a59
MD5 e8ecc5a5f52436a90035008c15849033
BLAKE2b-256 751bf527cb575caf30fedc977e0669a448a771e2dbfac2fdca69180339202bdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for wenxian-0.3.1.tar.gz:

Publisher: release.yaml on njzjz/wenxian

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wenxian-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: wenxian-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wenxian-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e19babc5862c2250d103c957c67bcf5e02b39f93898a187213196370d2f90f48
MD5 de834c0916d35298b669e31841d98b85
BLAKE2b-256 cb740473f76705311bcb6157605a7040f2d0b2ca2c5a7781c84d75871513616f

See more details on using hashes here.

Provenance

The following attestation bundles were made for wenxian-0.3.1-py3-none-any.whl:

Publisher: release.yaml on njzjz/wenxian

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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