Skip to main content

Agriscope python library to access data

Project description

AgspStream

Agriscope data interface for python

This module allows to get data from yours Agribases programmatically Data are retreived as an Pandas Datagrams

The development map will introduce data computing capabilities, to enhance data analysis comming from agricultural field.

What's New

  • (2019/09) v0.0.10 : solve some display problems
  • (2019/08) Porting to python 3
  • (2018/05) Add functionnal information on Agribases (type, sampling)
  • (2018/05) Solve bug on from, to date
  • (2018/02) First version

Dependencies

Agstream is written to be use with python 2.7 and python 3.6 It requires Pandas (>= 0.12.0)::

pip install pandas

Installations

pip install agstream

Uses cases

from agstream.session import AgspSession
session = AgspSession()
session.login(u"masnumeriqueAgStream", u"1AgStream", updateAgribaseInfo=True)
session.describe()
for abs in session.agribases :
    print (u"****************************************")
    print (abs)
    df = session.getAgribaseDataframe(abs)
    print (df.tail())
print(u"Fin du programme")

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

agstream-0.0.10.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agstream-0.0.10-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file agstream-0.0.10.tar.gz.

File metadata

  • Download URL: agstream-0.0.10.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for agstream-0.0.10.tar.gz
Algorithm Hash digest
SHA256 c93a7d206763e79337a9ed85c34274eff925e01c78e4ec1ff960dfdc98970455
MD5 a6a7e14e10e0fb4cd679ac1d0530e932
BLAKE2b-256 be57fca67b5dd0a2f30ac5af83db21d5c7fc446d7ebce54920cb0c4390ea6356

See more details on using hashes here.

File details

Details for the file agstream-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: agstream-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for agstream-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1c5a6d1f5e6931600795c9ea95218a5278424233d74b4ef6e94d725a20b9bfc0
MD5 5f4f72ffd2c570798b451e55efacb186
BLAKE2b-256 e128a38f6830511f20fa18c0e1ee507f2abd28390ae7e8e24d2b14d15bed2473

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page