No project description provided
Project description
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
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
vihub-0.0.9.tar.gz
(1.8 kB
view details)
Built Distribution
vihub-0.0.9-py3-none-any.whl
(2.4 kB
view details)
File details
Details for the file vihub-0.0.9.tar.gz
.
File metadata
- Download URL: vihub-0.0.9.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a3ae28e65476225eb9ce241a18b6b3dd95c8618d15c71d217b976057716c529 |
|
MD5 | 659eddc4bc4ab209e47164996a56ed6c |
|
BLAKE2b-256 | fb43fe23692fa951c82aff939e441917b7f7a025059e6f900097ddeb69e80bd4 |
File details
Details for the file vihub-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: vihub-0.0.9-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cef6a30bc502cbda9adbc9963e0deb645eef8aeafce2ecfdf770b567776f056 |
|
MD5 | 1cf54a6d80e6f4cd1f9ba74f388b0a3a |
|
BLAKE2b-256 | 54a92456607ebe3d0d684675a76c0d84a7ff5aea14d6356baa11fd5ace19404b |