Python lib related to Habref referential (INPN)
Project description
Habref-api-module
API d'interrogation d'Habref : référentiel des typologies d’habitats et de végétation pour la France (https://inpn.mnhn.fr/telechargement/referentiels/habitats).
Technologies
- Python 3
- Flask
- SQLAlchemy
Installation
- Créer un virtualenv et l'activer :
virtualenv -p /usr/bin/python3 venv
source venv/bin/acticate
- Installer le module :
pip install https://github.com/PnX-SI/Habref-api-module/archive/<X.Y.Z>.zip
- Installer le schéma de base de données :
Le module est fourni avec une commande pour installer la base de données. Cette commande télécharge le référentiel Habref et créé un schéma de base de données nommé ref_habitats.
# Depuis le virtualenv
install_habref_schema <database uri>
# Exemple :
# install_habref_schema "postgresql://geonatadmin:monpassachanger@localhost:5432/geonature2db"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypn_habref_api-0.4.3.tar.gz.
File metadata
- Download URL: pypn_habref_api-0.4.3.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d26ab0aa0e8299d413ddee90e8c8030802220afceb0f8e6b6b364c6c4e2e10be
|
|
| MD5 |
e263f0196be8e03f97b5c64edb5b7986
|
|
| BLAKE2b-256 |
e299f798ab1a2975fa87947cf85fcc3e3080fe1146172177521cd674a85a23bd
|
File details
Details for the file pypn_habref_api-0.4.3-py3-none-any.whl.
File metadata
- Download URL: pypn_habref_api-0.4.3-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ed541598d8f21b167cf75fab6414804ea10ad18529593dc4c8212f0b58e0065
|
|
| MD5 |
5b6128100288019ea631205f1f58a331
|
|
| BLAKE2b-256 |
2b2b11474a95ba594ed0cb72ec16f435da1049b4cc7f4c13d07ca25714153e43
|