SINP Organisms for Django
DjangoSinpNomenclature is a simple Django reusable app to manage nomenclatures of the French SINP standards for species data and metadata exchange, respecting standard.
See docs for more details : https://dbchiro.github.io/DjangoSinpNomenclature/
Quick start
- Install app
pip install -U dj_sinp_nomenclatures
- Configure
INSTALLED_APPS:
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
(...),
'rest_framework',
'sinp_nomenclatures',
(...),
)
- Configure
urls.py:
urlpatterns = [
path('admin/', admin.site.urls),
path('api-auth/', include('rest_framework.urls')),
(...),
path('api/v1/', include('sinp_nomenclatures.urls')),
(...),
]
- Run
python manage.py migrateto create the polls models. - Run
python manage.py loaddata <path to venv>/lib/<python version>/site-packages/sinp_nomenclatures/fixtures/sinp_dict_data_v1.0.jsonto load official nomenclatures. - Start the development server and visit http://127.0.0.1:8000/admin/ to create an nomenclatures (you'll need the Admin app enabled).
Metadata
Release files for dj_sinp_nomenclatures 1.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dj_sinp_nomenclatures-1.4.4.tar.gz | 35.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dj_sinp_nomenclatures-1.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.1 kB
Release files / dj_sinp_nomenclatures-1.4.4.tar.gz
| Download URL | dj_sinp_nomenclatures-1.4.4.tar.gz |
|---|---|
| Size | 35.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d5ea11749ac0b531e8791b9319ee89f3bf3c7492dcf442c80b77b071c630fc6
|
|
BLAKE2b-256 checksum How to use checksums |
fe3e0d1310583a8eb9ff88d2bb524e09812845652e1989259b948084a621274f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.11 Linux/6.17.0-1020-azure
|
Release files / dj_sinp_nomenclatures-1.4.4-py3-none-any.whl
| Download URL | dj_sinp_nomenclatures-1.4.4-py3-none-any.whl |
|---|---|
| Size | 40.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a76b1a5d21158034f59ca0c49bf2352ebf8a43346c0a05c94f51d8f8f53f5afb
|
|
BLAKE2b-256 checksum How to use checksums |
d56acc55ef5b05c6e87d54b5fe6b5ea93d32ad6a1531df49a8ebe1d28122e3b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.11 Linux/6.17.0-1020-azure
|