Just a VdoCipher api wrapper for python.
Project description
vdocipher.py
Just a VdoCipher api wrapper for python.
Installing
$ pip install vdocipher.py
Using
import vdocipher
# First, we need to authenticate our api
vdocipher.authenticate('VDOCIPHER_API_SECRET')
# Examples:
# obtaining a list of videos
videos = vdocipher.Video().get_list()
# uploading a video
new_video = vdocipher.Video(title='title').upload('file')
# obtaining a video
video = vdocipher.Video(id=1).get()
# search for videos
videos = vdocipher.Video().query('some_text')
# removing a video
vdocipher.Video(id=1).delete()
# obtaining OTP
otp = OTP().create(videoid='your_video_id')
# or
otp = Video(title='test video').upload('file').create_otp()
# opt with anotations
annotate = Annotate(
annotation_type='text' # Set type parameter as "rtext" for Dynamic watermark
text='Name: {name}, email: {email}, IP: {ip}', # You can add user identifiable information
alpha='0.60',
x='10',
y='10',
color='0xFF0000',
size='15',
interval='5000',
skip='200'
)
annotate_list = [annotate]
otp = vdocipher.OTP(annotations=annotate_list).create(videoid='your_video_id')
Installing dev requirements
$ git clone https://github.com/puzzlsoftwarehouse/vdocipher.py.git
$ cd vdocipher.py
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install .[dev]
build and publish
$ python setup.py sdist bdist_wheel
$ twine upload -r pypi dist/*
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 Distribution
vdocipher.py-0.4.1.tar.gz
(6.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vdocipher.py-0.4.1.tar.gz.
File metadata
- Download URL: vdocipher.py-0.4.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
841ffd18453df7c45ab0d12a83d69f6e10283ed5ab7b20a899acf97ec2aaf7f3
|
|
| MD5 |
de1d9bee2e6b386e028e3648a02c0463
|
|
| BLAKE2b-256 |
8da65f70d08de8bd932f0e082aada75e42dffa577ce6ebc5da9b8dfdd743abc6
|
File details
Details for the file vdocipher.py-0.4.1-py3-none-any.whl.
File metadata
- Download URL: vdocipher.py-0.4.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d938e7967f32720006499e995a7882455a124991b6df778d1fc7441336ef0925
|
|
| MD5 |
e775d2dd060eb22573b5877df58b93c6
|
|
| BLAKE2b-256 |
abeb1cb61aca7ad54d9cbdb87320e3ff01309fc2ff15e74e861446bfce7ec05a
|