Name | python-motion JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-10-20 22:35:01 |
maintainer | None |
docs_url | None |
author | Lemuel Boyce |
requires_python | <4.0,>=3.11 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Python Motion
A Python library for interfacing with the [Motion](https://wwww.usemotion.com)
🧪 This library is still in development and is not yet ready for production use.
### Installation
```bash
pip install python-motion
```
### Usage
```python
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](https://docs.usemotion.com/) for more information.
Every resource has a `list`, `retrieve`, `create`, `update`, and `delete` method.
```python
# 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:
- [x] Tasks
- [x] Projects
- [x] Users
- [x] Workspaces
- [x] Comments
- [x] Schedule
### Roadmap
- [x] Initial implementation
- [x] Named arguments for all methods
- [ ] Async support
- [x] Convert responses to Pydantic models
Raw data
{
"_id": null,
"home_page": null,
"name": "python-motion",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "Lemuel Boyce",
"author_email": "lemuel@vokality.com",
"download_url": "https://files.pythonhosted.org/packages/91/24/6adfa23d1fc48144c90085b5f2c651f33827b093bebdabf7d500666dcc35/python_motion-0.2.0.tar.gz",
"platform": null,
"description": "# Python Motion\n\nA Python library for interfacing with the [Motion](https://wwww.usemotion.com)\n\n\ud83e\uddea This library is still in development and is not yet ready for production use.\n\n### Installation\n\n```bash\npip install python-motion\n```\n\n### Usage\n\n```python\nfrom motion import Motion\n\nmotion = Motion('your-api-key')\n\n# Get Tasks\ntasks = motion.tasks.list()\n```\n\n\n### Documentation\n\nLibrary docs are a work in progress. For now, you can refer to the [official API documentation](https://docs.usemotion.com/) for more information.\n\nEvery resource has a `list`, `retrieve`, `create`, `update`, and `delete` method. \n\n```python\n# List\ntasks = motion.tasks.list()\n\n# Retrieve\ntask = motion.tasks.retrieve('task-id')\n\n# Create\ntask = motion.tasks.create({\n 'name': 'Task Name',\n 'description': 'Task Description'\n})\n\n# Update\ntask = motion.tasks.update('task-id', {\n 'name': 'New Task Name'\n})\n\n# Delete\nmotion.tasks.delete('task-id')\n```\n\n#### Available Resources:\n- [x] Tasks\n- [x] Projects\n- [x] Users\n- [x] Workspaces\n- [x] Comments\n- [x] Schedule\n\n\n### Roadmap\n- [x] Initial implementation\n- [x] Named arguments for all methods\n- [ ] Async support\n- [x] Convert responses to Pydantic models\n",
"bugtrack_url": null,
"license": "MIT",
"summary": null,
"version": "0.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "69c56521589e7396a0e9ae2c6a9bd0603e3fedbb75fa07e7d86fbe34a26be801",
"md5": "111e2fe48a629a4bbf7147bb50de44bb",
"sha256": "5ef16cdc588ba56c27a9043ba108bb358d6a65c278b4c8601077ae09178b2f09"
},
"downloads": -1,
"filename": "python_motion-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "111e2fe48a629a4bbf7147bb50de44bb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 8582,
"upload_time": "2024-10-20T22:35:00",
"upload_time_iso_8601": "2024-10-20T22:35:00.402506Z",
"url": "https://files.pythonhosted.org/packages/69/c5/6521589e7396a0e9ae2c6a9bd0603e3fedbb75fa07e7d86fbe34a26be801/python_motion-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "91246adfa23d1fc48144c90085b5f2c651f33827b093bebdabf7d500666dcc35",
"md5": "5e9c8a1b7f7e89b30344b1d16eb3abfe",
"sha256": "7e5081778b6222c1bb1da26667fda0bbd5e4788a32f8875d3d34e0faf8c3625c"
},
"downloads": -1,
"filename": "python_motion-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "5e9c8a1b7f7e89b30344b1d16eb3abfe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 5660,
"upload_time": "2024-10-20T22:35:01",
"upload_time_iso_8601": "2024-10-20T22:35:01.956109Z",
"url": "https://files.pythonhosted.org/packages/91/24/6adfa23d1fc48144c90085b5f2c651f33827b093bebdabf7d500666dcc35/python_motion-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-20 22:35:01",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "python-motion"
}