https://github.com/acdh-oeaw/django-recogito
A python package to integrate recogito-js in a django-project
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
Repository
A python package to integrate recogito-js in a django-project
Basic Info
Statistics
- Stars: 4
- Watchers: 5
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
django-recogito
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
- Website: https://www.oeaw.ac.at/acdh
- Repositories: 476
- Profile: https://github.com/acdh-oeaw
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | 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
- Homepage: https://github.com/acdh-oeaw/django-recogito
- Documentation: https://django-recogito.readthedocs.io/
- License: MIT
-
Latest release: 0.1.0
published almost 5 years ago
Rankings
Maintainers (1)
Dependencies
- Django >=2.2
- django-filter >=2
- djangorestframework >=3.10
- codecov >=2.0.0 test
- coverage >=5 test
- flake8 >=2.1.0 test
- mock >=1.0.1 test
- tox >=1.7.0 test
- Django >=2.2
- django-filter >=2
- djangorestframework >=3.10
- actions/checkout v1 composite
- actions/setup-python v1 composite
- codecov/codecov-action v1 composite