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.8.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

wo2net_delpher_tools-0.1.8-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wo2net_delpher_tools-0.1.8.tar.gz
  • Upload date:
  • Size: 7.8 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.8.tar.gz
Algorithm Hash digest
SHA256 f3a84c537260f6751fc338180b108f09734c90524fab56a18d9b4e5c3b032b25
MD5 ba31bfb32fe57e184c35007d3aaaa114
BLAKE2b-256 3079266a69219cb2196001caad1babf740bf6290fcd33ec952835f9643754c79

See more details on using hashes here.

File details

Details for the file wo2net_delpher_tools-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: wo2net_delpher_tools-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ca806ed9b935f495528b95b8ff4b830b1f5e3fc1f9ee2420bbf45feb0727dd
MD5 42ac69d1bb51cf23eefd0a80cb3a87c4
BLAKE2b-256 08e13f5ff7bc566398061e2d089d35b3342ab6b0d260be53e32078a030e5ce13

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