Metadata-Version: 2.3
Name: wo2net_delpher_tools
Version: 0.1.3
Summary: Tools for extracting and processing Delpher data for WO2Net
Author: Daan Raven
Author-email: Daan Raven <daan.raven@wo2net.nl>
License: MIT License
         
         Copyright (c) 2026 Stichting WO2Net
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         SOFTWARE.
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Text Processing :: Linguistic
Requires-Dist: lxml>=6.0.2
Requires-Dist: requests>=2.32.5
Requires-Dist: sickle>=0.7.0
Requires-Python: >=3.9.6
Project-URL: Homepage, https://github.com/Stichting-WO2Net/wo2net-delpher-tools
Project-URL: Repository, https://github.com/Stichting-WO2Net/wo2net-delpher-tools.git
Project-URL: Issues, https://github.com/Stichting-WO2Net/wo2net-delpher-tools/issues
Description-Content-Type: text/markdown

# WO2Net Delpher Tools

Tools for extracting and processing Delpher data for WO2Net. 

## Installation

```bash
pip install wo2net_delpher_tools
```

```bash
uv add wo2net_delpher_tools
```

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

```python
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")
```

## Contributing

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

## License

[MIT](https://github.com/Stichting-WO2Net/wo2net-delpher-tools/blob/main/LICENSE)