Skip to main content

ViQi Python API

Project description

ViQi API

Low level interface to ViQi services

Install

pip install viqi-api

Configuration

For command line tools create ~/.config/viqi/profiles or `~/config/viqi/profiles`` (windows) with the following

[default]
host=https://science.viqiai.cloud
user=myuser
password=mysecret

[science-user2]
host=https://science.viqiai.cloud
user=myuser2
password=mysecret2

Documentation

Usage

Example ipython session:

ipython
from vqapi import bisque_session
session = bisque_session(args=["--profile=science-user2"])

meta = session.service("meta")
user = meta.fetch("user")
print(user)

If used in script bisque_session will read from sys.argv

myscript.py:

from vqapi import bisque_session
session = bisque_session()

meta = session.service("meta")
user = meta.fetch("user")
print(user)

Pass args on command line:

$ python myscript.py --profile=science-user2

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

viqi_api-0.6.10.6-py3-none-any.whl (92.1 kB view details)

Uploaded Python 3

File details

Details for the file viqi_api-0.6.10.6-py3-none-any.whl.

File metadata

  • Download URL: viqi_api-0.6.10.6-py3-none-any.whl
  • Upload date:
  • Size: 92.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for viqi_api-0.6.10.6-py3-none-any.whl
Algorithm Hash digest
SHA256 95426b1d7f1d987a91c0922966f017250c930882890bf003a47bb763f8b9ddc6
MD5 0bcd441171e6140f4d0036dffffcca0b
BLAKE2b-256 99380e87c262e5d312a181cb7d910c195d4a5c1bf8f53d42c6a0e28926a56111

See more details on using hashes here.

Supported by

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