https://github.com/acdh-oeaw/django-recogito

A python package to integrate recogito-js in a django-project

https://github.com/acdh-oeaw/django-recogito

Science Score: 23.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
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.6%) to scientific vocabulary

Keywords

django-application
Last synced: 6 months ago · JSON representation

Repository

A python package to integrate recogito-js in a django-project

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

README.md

django-recogito

pypi Test codecov

A python package to integrate recogito-js in a django-project

install

pip install django_recogito

add recogito to INSTALLEDAPPS as well as `restframeworkanddjango_filters`:

```python

project/settings.py

INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'recogito', 'example', ] ```

register the annotation api-endpoint in your project's urls.py: ```python

project/urls.py

from django.urls import path, include from restframework import routers from recogito import apiviews

router = routers.DefaultRouter() router.register(r'recogitoannotations', api_views.RecogitoAnnotationViewSet)

urlpatterns = [ path('admin/', admin.site.urls), path(r'api/', include(router.urls)), ] ```

run migrations python manage.py migrate

local testing

  • Load example data: python manage.py loaddata example/fixtures/fixtures.json
  • Start testserver: python manage.py runserver
  • Visit http://localhost:8000/my-text/1/

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 1 year ago

All Time
  • Total Commits: 10
  • Total Committers: 2
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.1
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
csae8092 p****r@o****t 9
C. Knoll c****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 8 hours
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • 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
  • cknoll (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 12 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 1
  • Total maintainers: 1
pypi.org: django-recogito

A python package to integrate recogito-js in a django-project

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 12 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Forks count: 22.6%
Stargazers count: 23.0%
Average: 27.6%
Downloads: 60.6%
Maintainers (1)
Last synced: 7 months ago

Dependencies

requirements.txt pypi
  • Django >=2.2
  • django-filter >=2
  • djangorestframework >=3.10
requirements_test.txt pypi
  • codecov >=2.0.0 test
  • coverage >=5 test
  • flake8 >=2.1.0 test
  • mock >=1.0.1 test
  • tox >=1.7.0 test
setup.py pypi
  • Django >=2.2
  • django-filter >=2
  • djangorestframework >=3.10
.github/workflows/test.yml actions
  • actions/checkout v1 composite
  • actions/setup-python v1 composite
  • codecov/codecov-action v1 composite