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.7.4-py3-none-any.whl (86.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for viqi_api-0.6.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5b9eee309e57db0eb399db1e2e0c85dbe1756a975130a55db10cf9d19fb2e3fb
MD5 b3080fe032b6442d68201bae71276bc8
BLAKE2b-256 a61c4ff5ad2fb2ef6eda58e635159348736a4c01a2fd30c0f5a354db71a74cb0

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