Skip to main content

AllGo client module

Project description

A||GO python library

Description

AllGo is a SaaS (Software as a Service) platform provided by Inria. It may be seen as a virtual showroom of technonogies developed by research teams. First follow https://allgo.inria.fr/users/sign_up to create an account on AllGo (anyone may create such an account). Once your account creation is confirmed, please connect to https://allgo.inria.fr to obtain your private token, which will allow yo to use the AllGo REST API. You will need this token later (cf. §3 below).

Install

  pip install allgo

Usage

Create a app :

  app = allgo.App('ndsafir', token="ead123baaef55412") 

NB: token in optional, if you already provide your token with an env variable ALLGO_TOKEN or create a file ~/.allgo_token (without breakline)

Submit a job :

  files = {'files[0]': open('tmp.png', 'rb')}
  params = '-nopeaks 1 -2dt false -noise 0 -p 1 -bits 8 -iter 5 -adapt 0'
  app.run(files=files, params=params)

run is blocking, when finish all files produce by A||Go are download in the current directory

Example :

https://gitlab.inria.fr/allgo/notebooks/ndsafir

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

allgo-0.1.11.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file allgo-0.1.11.tar.gz.

File metadata

  • Download URL: allgo-0.1.11.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.4

File hashes

Hashes for allgo-0.1.11.tar.gz
Algorithm Hash digest
SHA256 2e06186017b04093440b73cb6d52c41a1ca14a1f0a18c1414c3e994ee56ea9b4
MD5 f38158d42020ee8920a1b437224eccdb
BLAKE2b-256 6d028b8c25fcd2d01e0e4fdb4a8923e40e53aa157b16b9f0fbf35d1800a1b26f

See more details on using hashes here.

Supported by

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