Skip to content

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.

License

Notifications You must be signed in to change notification settings

openalea/agroservices

Repository files navigation

Documentation Status Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

agroservices

authors:

Institutes: INRAE/CIRAD
Licence:GPL-3
Status: python package
Citation:(DOI)

Description

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.

Install

Install conda

Follow official website instruction to install miniconda : http://conda.pydata.org/miniconda.html

User

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

From source

# 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

Requirements

  • python >= 3.6
  • appdirs
  • bs4
  • colorlog
  • requests
  • requests_cache
  • pygments
  • jsf

Documentation

You can see the complete documentation with tutorials at: xxx

Contributing

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.

contributors

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published