https://github.com/acdh-oeaw/nerdpool-client
A Python client for downloading data from https://nerdpool-api.acdh-dev.oeaw.ac.at
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.1%) to scientific vocabulary
Keywords
Repository
A Python client for downloading data from https://nerdpool-api.acdh-dev.oeaw.ac.at
Basic Info
Statistics
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
nerdpool-client
A Python client for downloading data from https://nerdpool-api.acdh-dev.oeaw.ac.at
install
pip install nerdpool_client
usage
list data set titles
```python
from nerdpool_client import NerdPoolClient
client = NerdPoolClient() print(client.data_sets)
['RTA', 'RITA', 'MRP', 'Chronik Aldersbach', 'DIPKO']
```
download samples as .jsonl file
- go to nerdpool-api and create/filter you'r prefered data sample; e.g. all samples from MRP:
```python
from nerdpool_client import NerdPoolClient
url = "https://nerdpool-api.acdh-dev.oeaw.ac.at/api/ner-sample/?format=json&nerenttypecontains=&ner_sourcetitle=MRP" client = NerdPoolClient() client.dumptojsonl(url)
'out.jsonl'
```
download samples as test.jsonl and eval.jsonl files
- With
file_name_prefixyou can add a custom prefix to the default file namestrain.jsonlandeval.jsonl - The param
splitdefines that eachsplitsample should be saved intoeval.jsonland not intotrain.jsonl
```python from nerdpool_client import NerdPoolClient
url = "https://nerdpool-api.acdh-dev.oeaw.ac.at/api/ner-sample/?format=json&nerenttypecontains=&ner_sourcetitle=MRP" client = NerdPoolClient() client.dumptotraineval(url, filenameprefix="mrp_", split=10)
['mrptrain.jsonl', 'mrpeval.jsonl]
```
Owner
- Name: Austrian Centre for Digital Humanities & Cultural Heritage
- Login: acdh-oeaw
- Kind: organization
- Email: acdh@oeaw.ac.at
- Location: Vienna, Austria
- Website: https://www.oeaw.ac.at/acdh
- Repositories: 476
- Profile: https://github.com/acdh-oeaw
GitHub Events
Total
Last Year
Committers
Last synced: about 3 years ago
All Time
- Total Commits: 34
- Total Committers: 1
- Avg Commits per committer: 34.0
- Development Distribution Score (DDS): 0.0
Top Committers
| Name | Commits | |
|---|---|---|
| csae8092 | p****r@o****t | 34 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 13 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 3
- Total maintainers: 1
pypi.org: nerdpool-client
A client for Nerdpool-Api
- Homepage: https://github.com/acdh-oeaw/nerdpool-client
- Documentation: https://nerdpool-client.readthedocs.io/
- License: MIT
-
Latest release: 1.1.0
published almost 5 years ago
Rankings
Maintainers (1)
Dependencies
- coverage ==5.5 development
- flake8 ==3.9.2 development
- pytest ==6.2.4 development
- requests *