urihandler

Handles cool uri's

https://github.com/onroerenderfgoed/urihandler

Science Score: 44.0%

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

  • CITATION.cff file
    Found 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
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.0%) to scientific vocabulary

Keywords from Contributors

skos thesaurus vocabulary lib rdflib cryptocurrencies dynamics pypi simulator metaheuristics
Last synced: 7 months ago · JSON representation ·

Repository

Handles cool uri's

Basic Info
  • Host: GitHub
  • Owner: OnroerendErfgoed
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Size: 99.6 KB
Statistics
  • Stars: 0
  • Watchers: 7
  • Forks: 0
  • Open Issues: 3
  • Releases: 8
Created over 10 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License Citation

README.md

UriHandler

image image image

This very simple application is meant to be the handler on a domain that handles Cool Uri\'s (http://www.w3.org/TR/cooluris/) with 303 redirects.

All it does is map Uri\'s to other uri\'s and redirect them. To make thing easy you can either redirect by hitting the full URI (eg. [http://id.example.com/foo/15]{.title-ref}) or by querying a handle service (eg. [http://id.example.com/handle?uri=http://id.example.com/foo/15]{.title-ref}). Both of these will redirect you. The handle service also works for non-http URI\'s. Finally, there\'s a service that just returns information without performing a redirect, eg. [http://id.example.com/uris?uri=http://id.example.com/foo/15]{.title-ref}. This can be handy to bypass some of the strangeness that happens when you combine Cool uri\'s with CORS and custom HTTP headers.

Configuration is done by editing a YAML file. For each URI you need to register a regex and a redirect template. The regex should use named placeholders, as well as the redirect string. An optional argument [mount]{.title-ref} determines if your [match]{.title-ref} is living at the server root or is absolute (eg. because it\'s a URN). Not setting [mount]{.title-ref} sets it to [True]{.title-ref}.

Owner

  • Name: Onroerend Erfgoed
  • Login: OnroerendErfgoed
  • Kind: organization
  • Location: Brussels, Belgium

Open Source Software by the Agentschap Onroerend Erfgoed (Flanders Heritage Agency).

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Urihandler
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Koen
    family-names: Van Daele
    email: koen.vandaele@vlaanderen.be
    affiliation: Flanders Heritage Agency
    orcid: 'https://orcid.org/0000-0002-8153-2978'
  - given-names: Wouter
    family-names: Claeys
    email: wouter.claeys@vlaanderen.be
    affiliation: Flanders Heritage Agency
repository-code: 'https://github.com/OnroerendErfgoed/urihandler'
keywords:
  - uri
  - identifier
  - redirect
  - handler
license: GPL-3.0
version: 1.0.0
date-released: '2022-07-06'

GitHub Events

Total
  • Issues event: 2
  • Member event: 2
Last Year
  • Issues event: 2
  • Member event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 80
  • Total Committers: 11
  • Avg Commits per committer: 7.273
  • Development Distribution Score (DDS): 0.625
Past Year
  • Commits: 6
  • Committers: 2
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.333
Top Committers
Name Email Commits
pyup-bot g****t@p****o 30
Koen Van Daele k****e@r****e 20
Wouter Claeys w****s@v****e 7
Wim De Clercq d****i@g****m 4
Bram Goessens b****s@v****e 4
Emrys Roef e****f@g****e 4
Tim Van Campenhout t****t@r****m 4
Koen Van Daele k****e@t****e 3
Jonas Geuens j****s@g****m 2
dependabot[bot] 4****] 1
Tim Van Campenhout 4****i 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 17
  • Total pull requests: 86
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 5
  • Total pull request authors: 8
  • Average comments per issue: 1.47
  • Average comments per pull request: 1.49
  • Merged pull requests: 35
  • Bot issues: 0
  • Bot pull requests: 10
Past Year
  • Issues: 2
  • Pull requests: 1
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • koenedaele (7)
  • goessebr (4)
  • claeyswo (3)
  • vancamti (1)
  • JonasGe (1)
Pull Request Authors
  • pyup-bot (62)
  • dependabot[bot] (13)
  • roefem (4)
  • claeyswo (4)
  • vancamti (3)
  • Wim-De-Clercq (2)
  • goessebr (2)
  • JonasGe (1)
Top Labels
Issue Labels
backend (11) Epic (3) enhancement (3) deploy (2) bug (2) duplicate (2) test (1) question (1) to estimate (1)
Pull Request Labels
dependencies (13) duplicate (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 46 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 2
  • Total versions: 8
  • Total maintainers: 4
pypi.org: urihandler

A tiny application that handles (cool) uri's.

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 46 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 11.6%
Average: 26.1%
Forks count: 29.8%
Stargazers count: 38.8%
Downloads: 40.3%
Last synced: 8 months ago

Dependencies

requirements-dev.txt pypi
  • black ==22.3.0 development
  • coveralls ==3.3.1 development
  • flake8 ==4.0.1 development
  • flake8-import-order ==0.18.1 development
  • pre-commit ==2.19.0 development
  • pyramid_debugtoolbar ==4.9 development
  • pytest ==7.1.2 development
  • pytest-cov ==3.0.0 development
  • waitress ==2.1.2 development
  • webtest ==3.0.0 development
  • wheel ==0.37.1 development
requirements.txt pypi
  • PyYAML ==6.0
  • pyramid ==2.0
setup.py pypi