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
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
python_motion-0.2.0.tar.gz
(5.7 kB
view details)
Built Distribution
File details
Details for the file python_motion-0.2.0.tar.gz
.
File metadata
- Download URL: python_motion-0.2.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e5081778b6222c1bb1da26667fda0bbd5e4788a32f8875d3d34e0faf8c3625c |
|
MD5 | 5e9c8a1b7f7e89b30344b1d16eb3abfe |
|
BLAKE2b-256 | 91246adfa23d1fc48144c90085b5f2c651f33827b093bebdabf7d500666dcc35 |
File details
Details for the file python_motion-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: python_motion-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.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 | 5ef16cdc588ba56c27a9043ba108bb358d6a65c278b4c8601077ae09178b2f09 |
|
MD5 | 111e2fe48a629a4bbf7147bb50de44bb |
|
BLAKE2b-256 | 69c56521589e7396a0e9ae2c6a9bd0603e3fedbb75fa07e7d86fbe34a26be801 |