https://github.com/acdh-oeaw/acdh-histogis

acdh-histogis is a python package providing a high level api to interact with HistoGIS

https://github.com/acdh-oeaw/acdh-histogis

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 3 committers (66.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.6%) to scientific vocabulary

Keywords

acdh-python-packages histogis
Last synced: 10 months ago · JSON representation

Repository

acdh-histogis is a python package providing a high level api to interact with HistoGIS

Basic Info
Statistics
  • Stars: 2
  • Watchers: 5
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Topics
acdh-python-packages histogis
Created over 7 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License

README.md

acdh-histogis

acdh-histogis is a python package providing a high level api to interact with HistoGIS

Installation

bash pip install acdh-histogis

Use:

```python

from histogis.histogis import HistoGis as hg

by geonames (id or URL)

hg().querybyservice_id(id="https://www.geonames.org/2772400/", when='1860-12-12', polygon=False)

by wikidata (id or URL)

hg().querybyservice_id(id="https://www.wikidata.org/wiki/Q41329", when='1860-12-12', polygon=False)

by GND (id or URL)

hg().querybyservice_id(service="gnd", id="4074255-6", when='1860-12-12', polygon=False)

returns:

{ 'id': 8118, 'wikidataid': '', 'name': 'Linz (Stadt)', 'altname': '', 'source': 'https://histogis.acdh.oeaw.ac.at/api/source/93/?format=json', 'sourcename': 'Cisleithania Districts 1880', 'administrativeunit': 'https://histogis.acdh.oeaw.ac.at/api/skosconcepts/135/?format=json', 'admname': 'Statutarstadt', 'startdate': '1850-01-01', 'end_date': '1918-10-31', ... } ```

Develop

  • clone the repo
  • create and activate virtual env, e.g. bash python -m venv venv source venv/bin/activate
  • install package and dev-requiements bash pip install -e .[dev]
  • run tests: coverage run -m pytest -v

build the docs

  • run bash ./build_docs.sh

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: over 3 years ago

All Time
  • Total Commits: 11
  • Total Committers: 3
  • Avg Commits per committer: 3.667
  • Development Distribution Score (DDS): 0.273
Top Committers
Name Email Commits
Peter Andorfer P****r@o****t 8
Matthias Schlögl m****l@g****m 2
csae8092 p****r@o****t 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 8
  • Total pull requests: 4
  • Average time to close issues: about 11 hours
  • Average time to close pull requests: less than a minute
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.13
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 6
  • Pull requests: 4
  • Average time to close issues: about 14 hours
  • Average time to close pull requests: less than a minute
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • csae8092 (8)
Pull Request Authors
  • csae8092 (7)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 47 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 5
  • Total maintainers: 1
pypi.org: acdh-histogis

High level api to interact with [HistoGIS](https://histogis.acdh.oeaw.ac.at/)

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 47 Last month
Rankings
Dependent packages count: 9.8%
Dependent repos count: 21.8%
Downloads: 23.0%
Average: 23.3%
Forks count: 29.9%
Stargazers count: 32.0%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/docs.yml actions
  • actions/checkout v4 composite
  • actions/configure-pages v5 composite
  • actions/deploy-pages v4 composite
  • actions/setup-python v5 composite
  • actions/upload-pages-artifact v3 composite
pyproject.toml pypi
  • lxml >=4.3.2
  • requests >=2.20.1
requirements_dev.txt pypi
  • black * development
  • coverage * development
  • flake8 * development
  • lxml * development
  • mkdocstrings * development
  • pytest * development
  • requests * development