Skip to main content

Parser of RIS file format

Project description

README

About gris

gris is a minimalistic tool to read, parse, and write reference data in Refman RIS format.

RIS format codifies bibliographic data using a series of tags. There are variations among publishers: this module supports both the original standard and the RIS output by Web of Knowledge.

This module has been updated and tested in Python 3.7+. The documentation can be found in readthedocs.

Install

Install gris directly using pip:

pip install gris

How to use it

From the command line:

python -m gris myrefs.ris AB

retrieves and prints out the contents of the tag AB (usually used for abstracts) for all the publications in a reference file.

From a script or Python program

from gris import read_ris

refs = read_ris("myrefs.ris")

For a more detailed description of gris and its capabilities check the documentation.

Background

gris was developed by AYG during his personal time, as a way of transforming bibliographic data into more machine-readable formats and preserving old bibliographic data. It eventually found its way to various publications where the work required processing large amounts of bibliographic data.

gris imports RIS files with multiple references into a list of dictionaries.

License

Copyright (C) 2013 Angel Yanguas-Gil

This program is free software, licensed under GPLv2 or later. A copy of the GPLv2 license is provided in the root directory of the source code.

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

gris-0.9.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

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

gris-0.9.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file gris-0.9.0.tar.gz.

File metadata

  • Download URL: gris-0.9.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for gris-0.9.0.tar.gz
Algorithm Hash digest
SHA256 2053062665ef604e6fdc6c0e628878b3114ee4a37e61b249589b014a4b04b004
MD5 6bd856537c2c182931ec2caaba24be54
BLAKE2b-256 31f9fb8d0977a8fa81e1607be93839a3f930b3758a3f4f85cc36b7850dcd3be1

See more details on using hashes here.

File details

Details for the file gris-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: gris-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for gris-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c910baeb55c1f127ccaa201fea76c93f706ddc611edd775be30f631d3ce8e04
MD5 3c53fe46679752e02cf1611d9ab3c895
BLAKE2b-256 bb15db763aad8801a230d06f4ad92842de289da2cee995a87067361c0cfd4d25

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