Skip to main content

No project description provided

Project description

Python Motion

A Python library for interfacing with the Motion

🧪 This library is still in development and is not yet ready for production use.

Installation

pip install python-motion

Usage

from motion import Motion

motion = Motion('your-api-key')

# Get Tasks
tasks = motion.tasks.list()

Documentation

Library docs are a work in progress. For now, you can refer to the official API documentation for more information.

Every resource has a list, retrieve, create, update, and delete method.

# List
tasks = motion.tasks.list()

# Retrieve
task = motion.tasks.retrieve('task-id')

# Create
task = motion.tasks.create({
    'name': 'Task Name',
    'description': 'Task Description'
})

# Update
task = motion.tasks.update('task-id', {
    'name': 'New Task Name'
})

# Delete
motion.tasks.delete('task-id')

Available Resources:

  • Tasks
  • Projects
  • Users
  • Workspaces
  • Comments
  • Schedule

Roadmap

  • Initial implementation
  • Named arguments for all methods
  • Async support
  • Convert responses to Pydantic models

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_motion-0.2.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_motion-0.2.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file python_motion-0.2.1.tar.gz.

File metadata

  • Download URL: python_motion-0.2.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for python_motion-0.2.1.tar.gz
Algorithm Hash digest
SHA256 26124647d514baa27079a7495bc20be4c24b5b0b67d457fb365df28810eaf365
MD5 071d00fd0890ae3c1f489fe5554ea322
BLAKE2b-256 83755910e75548a309ae3324aac39b74e2c3a23c723da3a3140048a3ed11052c

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_motion-0.2.1.tar.gz:

Publisher: release.yaml on rhymiz/python-motion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_motion-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: python_motion-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for python_motion-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb3e76be317b10d2c34b634d42623a00dfe92356d3ab6baf044b8017c8b0e878
MD5 96af247d529c0205d1be305f7e177a1a
BLAKE2b-256 a9527305f9ad488d9322eccc28b9573383aba841457b331e635c57ed1c16cd9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_motion-0.2.1-py3-none-any.whl:

Publisher: release.yaml on rhymiz/python-motion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page