# 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.9",
"maintainer_email": null,
"keywords": "SINP, Nomenclatures, Django, France, dbChiroWeb",
"author": "dbChiro project",
"author_email": "project@dbchiro.org",
"download_url": "https://files.pythonhosted.org/packages/95/8d/7a6798b0cc1b30f45cda122d99c1c0fe9c57569dda45666ade50c20bb1fe/dj_sinp_nomenclatures-1.3.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.3.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": "e4babea0ec05ed532f0d329d8fd9ac52e7d0807c4f1e86e41f82e1fa680817c0",
"md5": "8db10f92f21c9a34f84591fd42d5813e",
"sha256": "dad662ea0f131b4518d792ac9b036ff6086cf5116422001980ed1d55db955be8"
},
"downloads": -1,
"filename": "dj_sinp_nomenclatures-1.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8db10f92f21c9a34f84591fd42d5813e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 51151,
"upload_time": "2024-11-27T20:12:41",
"upload_time_iso_8601": "2024-11-27T20:12:41.171834Z",
"url": "https://files.pythonhosted.org/packages/e4/ba/bea0ec05ed532f0d329d8fd9ac52e7d0807c4f1e86e41f82e1fa680817c0/dj_sinp_nomenclatures-1.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "958d7a6798b0cc1b30f45cda122d99c1c0fe9c57569dda45666ade50c20bb1fe",
"md5": "d975047ba275365270fe3af4dc7f634c",
"sha256": "e91932709430a9b27ebb07d36616602234a13c04dd56e136f08d4db1e1f256f4"
},
"downloads": -1,
"filename": "dj_sinp_nomenclatures-1.3.1.tar.gz",
"has_sig": false,
"md5_digest": "d975047ba275365270fe3af4dc7f634c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 35675,
"upload_time": "2024-11-27T20:12:43",
"upload_time_iso_8601": "2024-11-27T20:12:43.041884Z",
"url": "https://files.pythonhosted.org/packages/95/8d/7a6798b0cc1b30f45cda122d99c1c0fe9c57569dda45666ade50c20bb1fe/dj_sinp_nomenclatures-1.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-27 20:12:43",
"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"
}