# machine-code-python-sdk
Provides a programmatic interface in Python to talk to Vention hardware, as well as a generic state machine for coordinating your programs.
## Table of Contents
1. [Requirements](#requirements)
1. [Development](#development)
1. [Documentation](#documentation)
1. [Resources](#resources)
## Requirements
Python 3.9.2
Higher versions of python work, but 3.9.2 is shipped on the MachineMotion.
### Installing Python
You can install python 3.9 on Ubuntu via `sudo apt install python3.9`
Check your python version via `python3 --version`
If you already had a python version installed, you'll need to map `python3` to the 3.9 version that you installed.
```sh
cd /usr/bin
sudo link python3
sudo ln -s /usr/bin/python3.9 python3
```
Then you'll need these in order to set up a venv
```sh
sudo apt-get install python3-apt python3-virtualenv python3.9-venv
```
## Development
Always work inside a python `venv` so that your dependencies do not get interfered with:
```sh
python3 -m venv venv
source venv/bin/activate
```
You will need to upgrade pip before continuing
```sh
pip install --upgrade pip
```
Then install package:
```sh
pip install machine-code-python-sdk
```
## Documentation
- [Documentation](https://vention.io/resources/guides/machinelogic-python-programming-514)
## Resources
- [Miros](https://aleph2c.github.io/miros/html/#) is the framework upon which our architecture is based
Raw data
{
"_id": null,
"home_page": "https://vention.io/resources/guides/machinelogic-python-programming-514",
"name": "machine-code-python-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "VentionCo",
"author_email": "vention-sw-ci@vention.cc",
"download_url": "https://files.pythonhosted.org/packages/ab/49/81f577cff6ea37e04b343b39190f9f81099769f99caf4e427c85115d8b18/machine_code_python_sdk-1.13.0.tar.gz",
"platform": null,
"description": "# machine-code-python-sdk\n\nProvides a programmatic interface in Python to talk to Vention hardware, as well as a generic state machine for coordinating your programs.\n\n## Table of Contents\n\n1. [Requirements](#requirements)\n1. [Development](#development)\n1. [Documentation](#documentation)\n1. [Resources](#resources)\n\n## Requirements\n\nPython 3.9.2 \nHigher versions of python work, but 3.9.2 is shipped on the MachineMotion.\n\n### Installing Python\n\nYou can install python 3.9 on Ubuntu via `sudo apt install python3.9` \nCheck your python version via `python3 --version` \nIf you already had a python version installed, you'll need to map `python3` to the 3.9 version that you installed.\n\n```sh\ncd /usr/bin\nsudo link python3\nsudo ln -s /usr/bin/python3.9 python3\n```\n\nThen you'll need these in order to set up a venv\n\n```sh\nsudo apt-get install python3-apt python3-virtualenv python3.9-venv\n```\n\n## Development\n\nAlways work inside a python `venv` so that your dependencies do not get interfered with:\n\n```sh\npython3 -m venv venv\nsource venv/bin/activate\n```\n\nYou will need to upgrade pip before continuing\n\n```sh\npip install --upgrade pip\n```\n\nThen install package:\n\n```sh\npip install machine-code-python-sdk\n```\n\n## Documentation\n- [Documentation](https://vention.io/resources/guides/machinelogic-python-programming-514)\n\n## Resources\n- [Miros](https://aleph2c.github.io/miros/html/#) is the framework upon which our architecture is based\n",
"bugtrack_url": null,
"license": null,
"summary": "MachineCode SDK for Vention hardware",
"version": "1.13.0",
"project_urls": {
"Homepage": "https://vention.io/resources/guides/machinelogic-python-programming-514"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fd45b52695e02d136ec751144889af00ff5df4efaab98433cd02c8dc656eeaab",
"md5": "31cbe241e359db15c490873b68cb5fae",
"sha256": "bbe930d022a1e2198971673c13e8b71079a451334102e36719d5539815ab19dc"
},
"downloads": -1,
"filename": "machine_code_python_sdk-1.13.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "31cbe241e359db15c490873b68cb5fae",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 88379,
"upload_time": "2024-05-28T18:53:02",
"upload_time_iso_8601": "2024-05-28T18:53:02.182951Z",
"url": "https://files.pythonhosted.org/packages/fd/45/b52695e02d136ec751144889af00ff5df4efaab98433cd02c8dc656eeaab/machine_code_python_sdk-1.13.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ab4981f577cff6ea37e04b343b39190f9f81099769f99caf4e427c85115d8b18",
"md5": "287d5eac3fba50cd0b8ee546b90ea299",
"sha256": "96610dc13b9d3678a28befee27476b91fa0c6c6b5f58fb26ab8f9bcd2e691b51"
},
"downloads": -1,
"filename": "machine_code_python_sdk-1.13.0.tar.gz",
"has_sig": false,
"md5_digest": "287d5eac3fba50cd0b8ee546b90ea299",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 62206,
"upload_time": "2024-05-28T18:53:03",
"upload_time_iso_8601": "2024-05-28T18:53:03.474210Z",
"url": "https://files.pythonhosted.org/packages/ab/49/81f577cff6ea37e04b343b39190f9f81099769f99caf4e427c85115d8b18/machine_code_python_sdk-1.13.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-28 18:53:03",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "machine-code-python-sdk"
}