Skip to main content

Translates isi web of knowledge files into python objects.

Project description

Python WoS tools

Python package image DOI: 10.5281/zenodo.1344261

Translates ISI Web of Knowledge files into python objects.

Quickstart

Install the library by:

$ pip install wostools

Say you want to grab the title of all the articles in an ISI file, you can grab this example file.

>>> from wostools import CachedCollection
>>> collection = CachedCollection.from_filenames('docs/examples/bit-pattern-savedrecs.txt')
>>> for article in collection:
...     print(article.title)
In situ grazing incidence small-angle X-ray scattering study of solvent vapor annealing in lamellae-forming block copolymer thin films: Trade-off of defects in deswelling
Structural control of ultra-fine CoPt nanodot arrays via electrodeposition process
Porphyrin-based Pt/Pd-containing metallopolymers: Synthesis, characterization, optical property and potential application in bioimaging
Syntheses and Controllable Self-Assembly of Luminescence Platinum(II) Plane-Coil Diblock Copolymers
# ...

Never fear wostools cli is here. To help you do some common tasks right from your terminal.

$ wostools --help
$ # To extract all the properties in a json file
$ wostools to-json docs/examples/bit-pattern-savedrecs.txt --output=document.json

Features

  • Free software: MIT license
  • Just parses an ISI Web of Knowledge file and produces a native python object.
  • Through the CollectionLazy object it can do this using the minimum amount of memory it can possibly do.
  • It has a cli to extract documents and citation pairs for you :smile:

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

2.0.3 (2020-08-09)

  • Add issue to the articles top level.

2.0.2 (2020-08-09)

  • Fix bug with first author merging articles.
  • Remove instances where we inherit from object.

2.0.1 (2020-08-09)

  • Fix error with wos files that have an invisible character before the field key.

2.0.0 (2020-08-08)

  • Make the article class more concrete
  • Make collections iterable
  • Add cached and lazy collections for different use cases

0.2.0 (2018-08-12)

  • Add support for all WOS fields.
  • Add graph building support.
  • Add a little cli for common tasks.

0.1.1 (2018-05-10)

  • First release on PyPI.

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

wostools-2.0.3.tar.gz (769.6 kB view hashes)

Uploaded Source

Built Distribution

wostools-2.0.3-py2.py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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