procdrive


Nameprocdrive JSON
Version 1.0.0 PyPI version JSON
download
home_page
SummaryProcedural wrappe for controlling a single Anki Overdrive vehicle
upload_time2024-01-21 19:15:04
maintainer
docs_urlNone
authorPascal Rombach
requires_python>=3.10
license
keywords anki overdrive anki procedural
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # procdrive
Procdrive is a procedural wrapper around 
[`py-easydrive`](https://github.com/PascalRombach/py-easydrive)
which is itself a wrapper around [`py-drivesdk`](https://github.com/HHG-TecLap/py-drivesdk).

This library was developed to provide a practical environment for learning Python.
Procdrive aims to be simple and intuitive and a transition into more complicated language constructs
such as object orientation and exception handling.

## Limitations
Since Procdrive is not object-oriented, it does not provide support 
for controlling multiple vehicles at the same time.
If you require this functionality you should check out the other libraries mentioned above.

## Installation
As Procdrive does not have a pip repository yet, the install process is a little involved:
```sh
git clone https://github.com/PascalRombach/procdrive.git
cd procdrive
```
### Linux
```sh
python3 -m pip install .
```
### Windows
```sh
py -m pip install .
```

## Code Example
Coding in procdrive is very simple. 
The following code scans the current map in and then reports the track pieces in order.
```py
from procdrive import *

connect()
scan()

set_speed(300)
while True:
    print(wait_for_track_change())
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "procdrive",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "Anki Overdrive,Anki,Procedural",
    "author": "Pascal Rombach",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/4b/8c/1ab6b50022243512f7424e91b0bf617752d3087041b890a32721a4d63923/procdrive-1.0.0.tar.gz",
    "platform": null,
    "description": "# procdrive\r\nProcdrive is a procedural wrapper around \r\n[`py-easydrive`](https://github.com/PascalRombach/py-easydrive)\r\nwhich is itself a wrapper around [`py-drivesdk`](https://github.com/HHG-TecLap/py-drivesdk).\r\n\r\nThis library was developed to provide a practical environment for learning Python.\r\nProcdrive aims to be simple and intuitive and a transition into more complicated language constructs\r\nsuch as object orientation and exception handling.\r\n\r\n## Limitations\r\nSince Procdrive is not object-oriented, it does not provide support \r\nfor controlling multiple vehicles at the same time.\r\nIf you require this functionality you should check out the other libraries mentioned above.\r\n\r\n## Installation\r\nAs Procdrive does not have a pip repository yet, the install process is a little involved:\r\n```sh\r\ngit clone https://github.com/PascalRombach/procdrive.git\r\ncd procdrive\r\n```\r\n### Linux\r\n```sh\r\npython3 -m pip install .\r\n```\r\n### Windows\r\n```sh\r\npy -m pip install .\r\n```\r\n\r\n## Code Example\r\nCoding in procdrive is very simple. \r\nThe following code scans the current map in and then reports the track pieces in order.\r\n```py\r\nfrom procdrive import *\r\n\r\nconnect()\r\nscan()\r\n\r\nset_speed(300)\r\nwhile True:\r\n    print(wait_for_track_change())\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Procedural wrappe for controlling a single Anki Overdrive vehicle",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/PascalRombach/procdrive"
    },
    "split_keywords": [
        "anki overdrive",
        "anki",
        "procedural"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cc642dcb2f23a7b20439af3c7a76b0cc1fe3525bc73e711362aad7705fb6df61",
                "md5": "e741fe18bc5c45fe698da644c7647461",
                "sha256": "fac18019d53e220b3fb0c3fd1f56ad2f00a5564ed30aec60e48116ab7efcb69e"
            },
            "downloads": -1,
            "filename": "procdrive-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e741fe18bc5c45fe698da644c7647461",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 3662,
            "upload_time": "2024-01-21T19:15:02",
            "upload_time_iso_8601": "2024-01-21T19:15:02.969314Z",
            "url": "https://files.pythonhosted.org/packages/cc/64/2dcb2f23a7b20439af3c7a76b0cc1fe3525bc73e711362aad7705fb6df61/procdrive-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4b8c1ab6b50022243512f7424e91b0bf617752d3087041b890a32721a4d63923",
                "md5": "4d54fae933cc66d7b2e6d210f2229b91",
                "sha256": "9de558cea30b116d85a0be40c1b859ad7a46d06da50911f21fffb306a2ec836c"
            },
            "downloads": -1,
            "filename": "procdrive-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4d54fae933cc66d7b2e6d210f2229b91",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 3458,
            "upload_time": "2024-01-21T19:15:04",
            "upload_time_iso_8601": "2024-01-21T19:15:04.443805Z",
            "url": "https://files.pythonhosted.org/packages/4b/8c/1ab6b50022243512f7424e91b0bf617752d3087041b890a32721a4d63923/procdrive-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-21 19:15:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PascalRombach",
    "github_project": "procdrive",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "procdrive"
}
        
Elapsed time: 4.11509s