https://github.com/acdh-oeaw/nerdpool-client

A Python client for downloading data from https://nerdpool-api.acdh-dev.oeaw.ac.at

https://github.com/acdh-oeaw/nerdpool-client

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

nerdpool
Last synced: 9 months ago · JSON representation

Repository

A Python client for downloading data from https://nerdpool-api.acdh-dev.oeaw.ac.at

Basic Info
  • Host: GitHub
  • Owner: acdh-oeaw
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 29.3 KB
Statistics
  • Stars: 0
  • Watchers: 5
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
nerdpool
Created almost 5 years ago · Last pushed almost 5 years ago
Metadata Files
Readme

README.md

Run Tests codecov PyPI version

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_prefix you can add a custom prefix to the default file names train.jsonl and eval.jsonl
  • The param split defines that each split sample should be saved into eval.jsonl and not into train.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

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 Email 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

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 13 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.6%
Average: 29.7%
Forks count: 29.8%
Stargazers count: 38.8%
Downloads: 48.1%
Maintainers (1)
Last synced: 10 months ago

Dependencies

requirements_dev.txt pypi
  • coverage ==5.5 development
  • flake8 ==3.9.2 development
  • pytest ==6.2.4 development
setup.py pypi
  • requests *