Skip to main content

A Python library to parse bibliographic references

Project description

A Python library for Rule-Based reference parsing

refparse is an effective tool designed to extract structured data from unformatted reference strings. It is capable of parsing reference strings from Web of Science, Scopus and CSSCI.

Install

Ensure Python 3.9 or higher is installed on your device.

$ pip install refparse

Basic Usage

>>> import refparse
>>> source = "scopus"
>>> ref = "LeCun Y., Bengio Y., Hinton G., Deep learning, Nature, 521, pp. 436-444, (2015)"
>>> print(refparse.parse(ref, source))

{'author': 'LeCun Y., Bengio Y., Hinton G.',
 'title': 'Deep learning',
 'source': 'Nature',
 'volume': '521',
 'issue': None,
 'page': '436-444',
 'year': '2015'}

Return Fields

Web of Science Scopus CSSCI
author
title
source
volume
issue
page
year
doi

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

refparse-0.5.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

refparse-0.5.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file refparse-0.5.0.tar.gz.

File metadata

  • Download URL: refparse-0.5.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for refparse-0.5.0.tar.gz
Algorithm Hash digest
SHA256 ec873db9836779936be514492bc398a2bd3f8c831daaf5340fc22ffb1b9f5c69
MD5 da1af9acd6fb76cb755f662ea3ca0ef3
BLAKE2b-256 794a703c59576aacd8929fac05ba9074d576fd3f1d0a2442f60409fb703e924d

See more details on using hashes here.

File details

Details for the file refparse-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: refparse-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for refparse-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f082b042aff0ea5fe220d96dd43fd855fd2616d51b0bf0e1820aeed51962d0a4
MD5 1a4a5b867d718ce5a321501d9e0b1a9d
BLAKE2b-256 165001d29f78ff4a7e19412ce112f6bbf43416d158eb9cf1a4d719f52713107a

See more details on using hashes here.

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