video_indexer
This library provides some common function for operating with Microsoft Video Indexer API
Getting started
pip install video_indexer
Create a VideoIndexer instance
from video_indexer import VideoIndexer
CONFIG = {
'SUBSCRIPTION_KEY': '',
'LOCATION': '',
'ACCOUNT_ID': ''
}
vi = VideoIndexer(
vi_subscription_key=CONFIG['SUBSCRIPTION_KEY'],
vi_location=CONFIG['LOCATION'],
vi_account_id=CONFIG['ACCOUNT_ID']
)
where SUBSCRIPTION_KEY can be found at https://api-portal.videoindexer.ai/developer LOCATION & ACCOUNT_ID can be found at https://www.videoindexer.ai/settings/account
Upload a video for indexing
video_id = vi.upload_to_video_indexer(
input_filename='some-video.mp4',
video_name='some-video-name', # identifier for video in Video Indexer platform, must be unique during indexing time
video_language='English'
)
The library will retry with delay if it's being hit by throttling limit. Maximum 5 times of retrying.
Get information for a video
info = vi.get_video_info(
video_id,
video_language='English'
)
Metadata
Release files for video-indexer 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| video_indexer-0.1.8.tar.gz | 3.4 kB | Without provenance | Details for video_indexer-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| video_indexer-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for video_indexer-0.1.8-py3-none-any.whl |
Total release size: 7.9 kB
Release files / video_indexer-0.1.8.tar.gz
| Download URL | video_indexer-0.1.8.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2ac62dad28969d5637441e4ace77dba1df005579327428612f36409ff98bc52
|
|
BLAKE2b-256 checksum How to use checksums |
12893798e522aebe155851abe161c281d8d53ecbeb22244c9f1908f7832d6d5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
|
Release files / video_indexer-0.1.8-py3-none-any.whl
| Download URL | video_indexer-0.1.8-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b32e1840b982bb8b44ea21198ba0acc2b666cc4579d9f96d78627750de0353e
|
|
BLAKE2b-256 checksum How to use checksums |
d3c95db298f0a946afaed85ee6585e4b9de92ce98617eeb7c0e9fc6d8c641149
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
|
Security for video-indexer 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.