Skip to main content

vihub-python

python-sdk for vihub

install

pip install vihub

example usage

@ AI-edge device

import os

os.environ["API_KEY"] = "<YOUR_API_KEY>"

import vihub

monitoringId = "<YOUR_MONITORING_ID>"
imageBytes = open("/Users/rikimac22/Desktop/cancun.jpeg", "rb")
imageTitle = "cancun.jpeg"
imageType = "image/jpeg"

vihub.addImage(
    monitoringId,
    imageBytes,
    imageTitle,
    imageType,
)

for developers

install local package

pip install wheel
pip uninstall vihub
rm -rf dist/*
python setup.py sdist bdist_wheel
pip install dist/*.whl

Release files for vihub 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vihub 0.0.9
File Size Uploaded
vihub-0.0.9.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vihub 0.0.9
File Interpreter ABI Platform
vihub-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 kB

Release files / vihub-0.0.9.tar.gz

Download URL vihub-0.0.9.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1a3ae28e65476225eb9ce241a18b6b3dd95c8618d15c71d217b976057716c529
BLAKE2b-256 checksum
How to use checksums
fb43fe23692fa951c82aff939e441917b7f7a025059e6f900097ddeb69e80bd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / vihub-0.0.9-py3-none-any.whl

Download URL vihub-0.0.9-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cef6a30bc502cbda9adbc9963e0deb645eef8aeafce2ecfdf770b567776f056
BLAKE2b-256 checksum
How to use checksums
54a92456607ebe3d0d684675a76c0d84a7ff5aea14d6356baa11fd5ace19404b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.4

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page