Skip to main content

Tools for extracting and processing Delpher data for WO2Net

Project description

WO2Net Delpher Tools

Tools for extracting and processing Delpher data for WO2Net.

Installation

uv add wo2net_delpher_tools

or with pip

pip install wo2net_delpher_tools

Usage

The example below extracts pica productions numbers (PPN) from a txt file and creates a json file for every number containing the metadata for the related issues.

import wo2net_delpher_tools

ppn_numbers = wo2net_delpher_tools.load_ppn_numbers_from_txt('pnn_numbers.txt')

for number in ppn_numbers:
   wo2net_delpher_tools.process_ppn_to_json(number, f"{number}.json")

The example below does the same for a single PPN.

from wo2net_delpher_tools import process_ppn_to_json

def main():
      process_ppn_to_json(271632224, '271632224.json')

if __name__ == "__main__":
      main()

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

wo2net_delpher_tools-0.1.6.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file wo2net_delpher_tools-0.1.6.tar.gz.

File metadata

  • Download URL: wo2net_delpher_tools-0.1.6.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for wo2net_delpher_tools-0.1.6.tar.gz
Algorithm Hash digest
SHA256 23ae6ba14b123d865c73c3b81df1a2d3f58d2481781287a26f1fad978afd83bd
MD5 6f6dafc8df6538c54418030ce7bc7252
BLAKE2b-256 7bffff0cc8c7bf056cee28f5f54854aaf4c591e94371203d0898c2b6694902b4

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