No project description provided
Project description
Move UGC Python SDK
Full documentation
The full documentation is available at https://move-ai.github.io/move-ugc-python/latest/
Installation
With pip:
pip install move-ugc-python
With poetry:
poetry add move-ugc-python
Initialize with your API key
from move_ugc import MoveUgc
ugc = MoveUgc(api_key='<API_KEY>')
Create a file and upload to move.ai
video_file = ugc.files.create(file_type="mp4")
depth_file = ugc.files.create(file_type="move")
presigned_url = video_file['presigned_url']
filename = "<path to file on disk>"
with open(filename, 'rb') as f:
requests.put(presigned_url, data=f.read())
presigned_url = depth_file['presigned_url']
filename = "<path to file on disk>"
with open(filename, 'rb') as f:
requests.put(presigned_url, data=f.read())
Retrieve a file
video_file = ugc.files.retrieve(file_id="<FILE_ID>")
Create a take
take = ugc.takes.create_singlecam(
sources=[
SourceIn(
device_label="my-device",
file_id=video_file.id,
format=video_file.type
)])
ugc.jobs.create(take_id=take.id)
Create a job
job = ugc.jobs.create(take_id=take.id)
Contribution Guide
Information for how someone can contribute to this project can be found in our documentation
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
move_ugc_python-1.6.1.tar.gz
(15.8 kB
view details)
Built Distribution
File details
Details for the file move_ugc_python-1.6.1.tar.gz
.
File metadata
- Download URL: move_ugc_python-1.6.1.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0184e7ceb8fcd9c3091acbd26f33218eb460d1d6a917b0e3e30ceebaa8ce57b7 |
|
MD5 | 3c20a8849576ed4bb8879679af8d581f |
|
BLAKE2b-256 | 7830cd86331761edf138dad217d0d5d7c389c1d61e39b6706a2cf25633dbf120 |
File details
Details for the file move_ugc_python-1.6.1-py3-none-any.whl
.
File metadata
- Download URL: move_ugc_python-1.6.1-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b38c6efdd730a64908a0fdda23e42156bcb28aa18beacd003bf95457c3ae03 |
|
MD5 | 3ada65fc2ac6166bbdae8c4ff19c3c9f |
|
BLAKE2b-256 | 21db4ebcbf28cd9d6f699c0ac513f5e9eac4977208c09109c29281a8bb5c231f |