authors:
Institutes: INRAE/CIRAD
Licence:GPL-3
Status: python package
Citation:(DOI)
AgroService is a Python package that provides access to IPM Web Services (at least) and a framework to easily implement Web Services wrappers. This package is intended to be close to the webservice. Therefore the requests will have the same API that each web service. The contract of agroservice is to wrap web services API into Python and to convert inputs and outputs. In the end, this package will provide transparent access to IPM Services in Python . It will allow OpenAlea to query and access data services, DSS catologue and thus execution of DSS models.
Follow official website instruction to install miniconda : http://conda.pydata.org/miniconda.html
Create a new environment with agroservice installed in there :
conda create -n agroservices -c conda-forge -c openalea3 agroservices
conda activate agroservices
In a existing environment :
conda install -c openalea3 -c conda-forge agroservices
# Install dependency with conda
conda create -n agroservices -c conda-forge python
conda activate agroservices
conda install -c conda-forge appdirs bs4 pygments colorlog requests requests_cache pytest jsf
# Load agroservice and install
git clone https://github.com/openalea/agroservices.git
cd agroservices
python setup.py develop
# (Optional) Test your installation
cd test; pytest
- python >= 3.6
- appdirs
- bs4
- colorlog
- requests
- requests_cache
- pygments
- jsf
You can see the complete documentation with tutorials at: xxx
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
A detailed overview on how to contribute can be found in the contributing guide.