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.2.tar.gz
(15.8 kB
view details)
Built Distribution
File details
Details for the file move_ugc_python-1.6.2.tar.gz
.
File metadata
- Download URL: move_ugc_python-1.6.2.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 | c9acd01e2e90f749ef29f1b28342320132048877249de67dfd2374395c85a3a7 |
|
MD5 | d833e6b7cbaf9b14624791946026a945 |
|
BLAKE2b-256 | bdafa71fe6dae6e4d77371916294c40b063965bc290a317fd70e4f65babb6bb7 |
File details
Details for the file move_ugc_python-1.6.2-py3-none-any.whl
.
File metadata
- Download URL: move_ugc_python-1.6.2-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 | bfd91423970c643639138175a594f019f99f070166af947626d578b52e8387d0 |
|
MD5 | 5105698089eb056b0c4d6383e475c45a |
|
BLAKE2b-256 | 2b69142b0f16dc0c3af0547fa9f7d811ed9e829b6a2b86e961a6d2abb21a81f8 |