Socket
Socket
Sign inDemoInstall

wos-parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wos-parser

A parser for Web of Science XML data in Python.


Maintainers
1

Web of Science XML Parser

A parser for Web of Science XML data in Python.

Installation

The package can be installed from PyPI:

pip install wos_parser

Getting Started

The parser can read *.xml files included in the Web of Science XML dataset. Note: The dataset is distributed as a collection of zipped archives (one for each record year), which in turn contain zipped versions of the xml files. These need to be unpacked first before passing them to the parser.

from wos_parser import WosParser


xml_path = "dataset/2023_CORE/WR_2023_20230111080536_CORE_0001.xml"

wos_parser = WosParser()

records = wos_parser.parse_records(xml_path)

Generating the documentation

To view the documentation, you currently have to build it locally. To do that, follow these steps:

  1. Clone the package repository.

  2. Install Sphinx.

  3. Install additional dependencies:

    pip install myst_parser pydata_sphinx_theme

  4. Go to the project folder's subdirectory doc/.

  5. Run make html.

  6. Open the file doc/_build/html/index.html in a browser.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc