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 agroservices installed in there :

mamba create -n agroservices -c conda-forge -c openalea3 openalea.agroservices
mamba activate agroservices

In an existing environment :

mamba install -c openalea3 -c conda-forge openalea.agroservices

From source

# Install dependency with conda
mamba create -n agroservices -f conda/environment.yml
mamba activate agroservices

# Clone agroservice and install
git clone /~https://github.com/openalea/agroservices.git
cd agroservices
pip install -e .

# (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

Contributors 4

  •  
  •  
  •  
  •