duino


Nameduino JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/dhylands/duino
SummaryScripts for installing duino libraries.
upload_time2024-11-25 04:57:20
maintainerNone
docs_urlNone
authorDave Hylands
requires_pythonNone
licenseMIT
keywords cmd cli arduino
VCS
bugtrack_url
requirements duino_vscode_settings coverage gitpython pytest pylint pyyaml wget yapf
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # duino
Collection of Arduino libraries and related utilites

| Repo | Description | Status |
| ---- | ----------- | ------ |
| [duino](https://github.com/dhylands/duino.git) | This repository | [<img src="https://github.com/dhylands/duino/actions/workflows/build.yml/badge.svg">](https://github.com/dhylands/duino/actions) |
| [duino_bus](https://github.com/dhylands/duino_bus.git) | Bus/Packet interface for communicating with Arduino devices | [<img src="https://github.com/dhylands/duino_bus/actions/workflows/build.yml/badge.svg">](https://github.com/dhylands/duino_bus/actions) |
| [duino_cli](https://github.com/dhylands/duino_cli.git) | Command Line Interface for Arduino Projects | [<img src="https://github.com/dhylands/duino_cli/actions/workflows/build.yml/badge.svg">](https://github.com/dhylands/duino_cli/actions) |
| [duino_led](https://github.com/dhylands/duino_led.git) | Some LED Abstractions | [<img src="https://github.com/dhylands/duino_led/actions/workflows/build.yml/badge.svg">](https://github.com/dhylands/duino_led/actions) |
| [duino_littlefs](https://github.com/dhylands/duino_littlefs.git) | A CLI Plugin for LittleFS filesystems | [<img src="https://github.com/dhylands/duino_littlefs/actions/workflows/build.yml/badge.svg">](https://github.com/dhylands/duino_littlefs/actions) |
| [duino_log](https://github.com/dhylands/duino_log.git) | A logging abstraction | [<img src="https://github.com/dhylands/duino_log/actions/workflows/build.yml/badge.svg">](https://github.com/dhylands/duino_log/actions) |
| [duino_makefile](https://github.com/dhylands/duino_makefile.git) | Common Makefile rules | [<img src="https://github.com/dhylands/duino_makefile/actions/workflows/build.yml/badge.svg">](https://github.com/dhylands/duino_makefile/actions) |
| [duino_util](https://github.com/dhylands/duino_util.git) | Common Utility functions | [<img src="https://github.com/dhylands/duino_util/actions/workflows/build.yml/badge.svg">](https://github.com/dhylands/duino_util/actions) |
| [duino_vscode_settings](https://github.com/dhylands/duino_vscode_settings.git) | Generate VSCode c_cpp_properties.json file |  |

This is my collection of Arduino libraries. Much of the code is portable and can work in other
environments. Some of the libraries also include python code to allow a host to interact with
an Arduino board.

This page has links to all of the other repositories and contains some scripts for installing
all of the libraries.

## Under Windows, add the Python Scripts directory into your PATH

To determine where the scripts directory is located, do the following:
```bash
python -m site
```
This will print something like the following:
```bash
PS C:\Users\dhyla> python -m site
sys.path = [
    'C:\\Users\\dhyla',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\python39.zip',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\DLLs',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\lib',
    'C:\\Users\\dhyla\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0',
    'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\site-packages',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\lib\\site-packages',
]
USER_BASE: 'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages' (exists)
USER_SITE: 'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\site-packages' (exists)
ENABLE_USER_SITE: True
```
Find the entry that's in `C:\Users` and ends in `site-packages`. Try replacing `site-packages` with `Scripts`.

If you see something like the following, then that should be the correct directory.

```bash
PS C:\Users\dhyla> dir C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\Scripts


    Directory: C:\Users\dhyla\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        2024-11-23  11:06 PM         106422 pip.exe
-a----        2024-11-23  11:06 PM         106422 pip3.9.exe
-a----        2024-11-23  11:06 PM         106422 pip3.exe
```

Add the `Scripts` directory to your PATH (aka Path). See this [article](https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/) for a step-by-step guide on adding a directory to your PATH. You'll probably need to reboot to have the
updated PATH take effect.

## Installing duino from zip files

To install the duino libraries from zip files, start a shell and and cd into your Arduino directory (the directory that holds the sketches and has the libraries directory) and execute:
```bash
pip install duino
install-duino-from-zip
```
pip install puts the install-duino-from-zip program into your Scripts directory, so ensure that it's in
your PATH.

## Installing duino from git

To git clone all of the git repos, start a shell and cd into your Arduino directory (the directory that holds the sketches and has the libraries directory) and execute:
```bash
pip install duino
install-duino-from-git
```
pip install puts the install-duino-from-git program into your Scripts directory, so ensure that it's in
your PATH.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dhylands/duino",
    "name": "duino",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "cmd cli arduino",
    "author": "Dave Hylands",
    "author_email": "dhylands@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/43/97/c7c07fabff416d82ca27c6a4700c833cad978fd91ac1dd0342f0f9837899/duino-0.0.1.tar.gz",
    "platform": null,
    "description": "# duino\nCollection of Arduino libraries and related utilites\n\n| Repo | Description | Status |\n| ---- | ----------- | ------ |\n| [duino](https://github.com/dhylands/duino.git) | This repository | [<img src=\"https://github.com/dhylands/duino/actions/workflows/build.yml/badge.svg\">](https://github.com/dhylands/duino/actions) |\n| [duino_bus](https://github.com/dhylands/duino_bus.git) | Bus/Packet interface for communicating with Arduino devices | [<img src=\"https://github.com/dhylands/duino_bus/actions/workflows/build.yml/badge.svg\">](https://github.com/dhylands/duino_bus/actions) |\n| [duino_cli](https://github.com/dhylands/duino_cli.git) | Command Line Interface for Arduino Projects | [<img src=\"https://github.com/dhylands/duino_cli/actions/workflows/build.yml/badge.svg\">](https://github.com/dhylands/duino_cli/actions) |\n| [duino_led](https://github.com/dhylands/duino_led.git) | Some LED Abstractions | [<img src=\"https://github.com/dhylands/duino_led/actions/workflows/build.yml/badge.svg\">](https://github.com/dhylands/duino_led/actions) |\n| [duino_littlefs](https://github.com/dhylands/duino_littlefs.git) | A CLI Plugin for LittleFS filesystems | [<img src=\"https://github.com/dhylands/duino_littlefs/actions/workflows/build.yml/badge.svg\">](https://github.com/dhylands/duino_littlefs/actions) |\n| [duino_log](https://github.com/dhylands/duino_log.git) | A logging abstraction | [<img src=\"https://github.com/dhylands/duino_log/actions/workflows/build.yml/badge.svg\">](https://github.com/dhylands/duino_log/actions) |\n| [duino_makefile](https://github.com/dhylands/duino_makefile.git) | Common Makefile rules | [<img src=\"https://github.com/dhylands/duino_makefile/actions/workflows/build.yml/badge.svg\">](https://github.com/dhylands/duino_makefile/actions) |\n| [duino_util](https://github.com/dhylands/duino_util.git) | Common Utility functions | [<img src=\"https://github.com/dhylands/duino_util/actions/workflows/build.yml/badge.svg\">](https://github.com/dhylands/duino_util/actions) |\n| [duino_vscode_settings](https://github.com/dhylands/duino_vscode_settings.git) | Generate VSCode c_cpp_properties.json file |  |\n\nThis is my collection of Arduino libraries. Much of the code is portable and can work in other\nenvironments. Some of the libraries also include python code to allow a host to interact with\nan Arduino board.\n\nThis page has links to all of the other repositories and contains some scripts for installing\nall of the libraries.\n\n## Under Windows, add the Python Scripts directory into your PATH\n\nTo determine where the scripts directory is located, do the following:\n```bash\npython -m site\n```\nThis will print something like the following:\n```bash\nPS C:\\Users\\dhyla> python -m site\nsys.path = [\n    'C:\\\\Users\\\\dhyla',\n    'C:\\\\Program Files\\\\WindowsApps\\\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\\\python39.zip',\n    'C:\\\\Program Files\\\\WindowsApps\\\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\\\DLLs',\n    'C:\\\\Program Files\\\\WindowsApps\\\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\\\lib',\n    'C:\\\\Users\\\\dhyla\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps\\\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0',\n    'C:\\\\Users\\\\dhyla\\\\AppData\\\\Local\\\\Packages\\\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\\\LocalCache\\\\local-packages\\\\Python39\\\\site-packages',\n    'C:\\\\Program Files\\\\WindowsApps\\\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0',\n    'C:\\\\Program Files\\\\WindowsApps\\\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\\\lib\\\\site-packages',\n]\nUSER_BASE: 'C:\\\\Users\\\\dhyla\\\\AppData\\\\Local\\\\Packages\\\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\\\LocalCache\\\\local-packages' (exists)\nUSER_SITE: 'C:\\\\Users\\\\dhyla\\\\AppData\\\\Local\\\\Packages\\\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\\\LocalCache\\\\local-packages\\\\Python39\\\\site-packages' (exists)\nENABLE_USER_SITE: True\n```\nFind the entry that's in `C:\\Users` and ends in `site-packages`. Try replacing `site-packages` with `Scripts`.\n\nIf you see something like the following, then that should be the correct directory.\n\n```bash\nPS C:\\Users\\dhyla> dir C:\\\\Users\\\\dhyla\\\\AppData\\\\Local\\\\Packages\\\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\\\LocalCache\\\\local-packages\\\\Python39\\\\Scripts\n\n\n    Directory: C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\Scripts\n\n\nMode                 LastWriteTime         Length Name\n----                 -------------         ------ ----\n-a----        2024-11-23  11:06 PM         106422 pip.exe\n-a----        2024-11-23  11:06 PM         106422 pip3.9.exe\n-a----        2024-11-23  11:06 PM         106422 pip3.exe\n```\n\nAdd the `Scripts` directory to your PATH (aka Path). See this [article](https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/) for a step-by-step guide on adding a directory to your PATH. You'll probably need to reboot to have the\nupdated PATH take effect.\n\n## Installing duino from zip files\n\nTo install the duino libraries from zip files, start a shell and and cd into your Arduino directory (the directory that holds the sketches and has the libraries directory) and execute:\n```bash\npip install duino\ninstall-duino-from-zip\n```\npip install puts the install-duino-from-zip program into your Scripts directory, so ensure that it's in\nyour PATH.\n\n## Installing duino from git\n\nTo git clone all of the git repos, start a shell and cd into your Arduino directory (the directory that holds the sketches and has the libraries directory) and execute:\n```bash\npip install duino\ninstall-duino-from-git\n```\npip install puts the install-duino-from-git program into your Scripts directory, so ensure that it's in\nyour PATH.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Scripts for installing duino libraries.",
    "version": "0.0.1",
    "project_urls": {
        "Download": "https://github.com/dhylands/duino/shell/tarball/v0.0.1",
        "Homepage": "https://github.com/dhylands/duino"
    },
    "split_keywords": [
        "cmd",
        "cli",
        "arduino"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4397c7c07fabff416d82ca27c6a4700c833cad978fd91ac1dd0342f0f9837899",
                "md5": "a7fbe3de3a279c9c808ce690a6f271b3",
                "sha256": "3249faf4861bc4e1829bc2d7a68e63bc1572526ef7210ce035da8068942dd8a5"
            },
            "downloads": -1,
            "filename": "duino-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a7fbe3de3a279c9c808ce690a6f271b3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6386,
            "upload_time": "2024-11-25T04:57:20",
            "upload_time_iso_8601": "2024-11-25T04:57:20.984863Z",
            "url": "https://files.pythonhosted.org/packages/43/97/c7c07fabff416d82ca27c6a4700c833cad978fd91ac1dd0342f0f9837899/duino-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-25 04:57:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dhylands",
    "github_project": "duino",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "duino_vscode_settings",
            "specs": []
        },
        {
            "name": "coverage",
            "specs": []
        },
        {
            "name": "gitpython",
            "specs": []
        },
        {
            "name": "pytest",
            "specs": []
        },
        {
            "name": "pylint",
            "specs": []
        },
        {
            "name": "pyyaml",
            "specs": []
        },
        {
            "name": "wget",
            "specs": []
        },
        {
            "name": "yapf",
            "specs": []
        }
    ],
    "lcname": "duino"
}
        
Elapsed time: 3.66503s