# SINP Organisms for Django
[DjangoSinpNomenclature](https://github.com/dbchiro/DjangoSinpNomenclature) is a simple [Django](https://www.djangoproject.com/) reusable app to manage nomenclatures of the [French SINP standards for species data and metadata exchange](https://inpn.mnhn.fr/programme/donnees-observations-especes/references/standard-echange), respecting standard.
See docs for more details : <https://dbchiro.github.io/DjangoSinpNomenclature/>
## Quick start
1. Install app
```bash
pip install -U dj_sinp_nomenclatures
```
2. Configure `INSTALLED_APPS`:
```python
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
(...),
'rest_framework',
'sinp_nomenclatures',
(...),
)
```
3. Configure `urls.py`:
```python
urlpatterns = [
path('admin/', admin.site.urls),
path('api-auth/', include('rest_framework.urls')),
(...),
path('api/v1/', include('sinp_nomenclatures.urls')),
(...),
]
```
4. Run `python manage.py migrate` to create the polls models.
5. Run `python manage.py loaddata <path to venv>/lib/<python version>/site-packages/sinp_nomenclatures/fixtures/sinp_dict_data_v1.0.json` to load official nomenclatures.
5. Start the development server and visit <http://127.0.0.1:8000/admin/>
to create an nomenclatures (you'll need the Admin app enabled).
![models](./models.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/dbchiro/DjangoSinpNomenclature",
"name": "dj_sinp_nomenclatures",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": "SINP, Nomenclatures, Django, France, dbChiroWeb",
"author": "dbChiro project",
"author_email": "project@dbchiro.org",
"download_url": "https://files.pythonhosted.org/packages/8f/61/86f22fa4f80e42442a86942e5c8d75a2f285efa67d467af7b7bcfab71e0f/dj_sinp_nomenclatures-1.0.1.tar.gz",
"platform": null,
"description": "# SINP Organisms for Django\n\n[DjangoSinpNomenclature](https://github.com/dbchiro/DjangoSinpNomenclature) is a simple [Django](https://www.djangoproject.com/) reusable app to manage nomenclatures of the [French SINP standards for species data and metadata exchange](https://inpn.mnhn.fr/programme/donnees-observations-especes/references/standard-echange), respecting standard.\n\nSee docs for more details : <https://dbchiro.github.io/DjangoSinpNomenclature/>\n\n## Quick start\n\n1. Install app\n\n```bash\npip install -U dj_sinp_nomenclatures\n```\n\n2. Configure `INSTALLED_APPS`:\n\n```python\nINSTALLED_APPS = (\n 'django.contrib.admin',\n 'django.contrib.auth',\n (...),\n 'rest_framework',\n 'sinp_nomenclatures',\n (...),\n)\n```\n\n3. Configure `urls.py`:\n\n```python\nurlpatterns = [\n path('admin/', admin.site.urls),\n path('api-auth/', include('rest_framework.urls')),\n (...),\n path('api/v1/', include('sinp_nomenclatures.urls')),\n (...),\n]\n```\n\n4. Run `python manage.py migrate` to create the polls models.\n5. Run `python manage.py loaddata <path to venv>/lib/<python version>/site-packages/sinp_nomenclatures/fixtures/sinp_dict_data_v1.0.json` to load official nomenclatures.\n5. Start the development server and visit <http://127.0.0.1:8000/admin/>\n to create an nomenclatures (you'll need the Admin app enabled).\n\n![models](./models.png)\n",
"bugtrack_url": null,
"license": "AGPLv3",
"summary": "Django app to manage french SINP nomenclatures standards",
"version": "1.0.1",
"project_urls": {
"Documentation": "https://dbchiro.github.io/DjangoSinpNomenclature/",
"Homepage": "https://github.com/dbchiro/DjangoSinpNomenclature",
"Repository": "https://github.com/dbchiro/DjangoSinpNomenclature"
},
"split_keywords": [
"sinp",
" nomenclatures",
" django",
" france",
" dbchiroweb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "72ceb568da8685f7dec0f9cc2ee210a5624bdaff810d39f250eba2c5a3a28887",
"md5": "ad76f1f2a310384dc320af31fba1ded4",
"sha256": "19fefa94971c85f0b9aff00a8745c6a8adaa3407dd7239bc0d3d67a4f7a3df53"
},
"downloads": -1,
"filename": "dj_sinp_nomenclatures-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ad76f1f2a310384dc320af31fba1ded4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 53792,
"upload_time": "2024-04-11T07:43:53",
"upload_time_iso_8601": "2024-04-11T07:43:53.341548Z",
"url": "https://files.pythonhosted.org/packages/72/ce/b568da8685f7dec0f9cc2ee210a5624bdaff810d39f250eba2c5a3a28887/dj_sinp_nomenclatures-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8f6186f22fa4f80e42442a86942e5c8d75a2f285efa67d467af7b7bcfab71e0f",
"md5": "9f298e8c550ecdefa92ceaafb5ef25b9",
"sha256": "c828e630d25e9aee00216d5c7166d1231899edab353af1f3455d3ab79cb02163"
},
"downloads": -1,
"filename": "dj_sinp_nomenclatures-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "9f298e8c550ecdefa92ceaafb5ef25b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 36018,
"upload_time": "2024-04-11T07:43:54",
"upload_time_iso_8601": "2024-04-11T07:43:54.672664Z",
"url": "https://files.pythonhosted.org/packages/8f/61/86f22fa4f80e42442a86942e5c8d75a2f285efa67d467af7b7bcfab71e0f/dj_sinp_nomenclatures-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-11 07:43:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dbchiro",
"github_project": "DjangoSinpNomenclature",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dj_sinp_nomenclatures"
}