Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

move-ugc-python

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

move-ugc-python

  • 1.9.0
  • PyPI
  • Socket score

Maintainers
1

Move UGC Python SDK

wemake-python-styleguide Python version Tests Coverage CI Documentation Style

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc