Metadata-Version: 2.1
Name: rpios-tools
Version: 0.3.0
Summary: Automated tools for working with raspberry pi image development
Home-page: https://github.com/michael-sobczak/rpi-os-tools
Author: Michael Sobczak
Author-email: 86268116+michael-sobczak@users.noreply.github.com
License: MIT
Keywords: raspberry pi,raspbian,iot,rpi
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
Requires-Dist: attrs (==21.2.0)
Requires-Dist: beautifulsoup4 (==4.9.3)
Requires-Dist: bleach (==3.3.0)
Requires-Dist: certifi (==2021.5.30)
Requires-Dist: chardet (==4.0.0)
Requires-Dist: colorama (==0.4.4)
Requires-Dist: docutils (==0.17.1)
Requires-Dist: idna (==2.10)
Requires-Dist: importlib-metadata (==4.5.0)
Requires-Dist: iniconfig (==1.1.1)
Requires-Dist: keyring (==23.0.1)
Requires-Dist: packaging (==20.9)
Requires-Dist: pkginfo (==1.7.0)
Requires-Dist: pluggy (==0.13.1)
Requires-Dist: psutil (==5.8.0)
Requires-Dist: py (==1.10.0)
Requires-Dist: Pygments (==2.9.0)
Requires-Dist: pyparsing (==2.4.7)
Requires-Dist: readme-renderer (==29.0)
Requires-Dist: requests (==2.25.1)
Requires-Dist: requests-toolbelt (==0.9.1)
Requires-Dist: rfc3986 (==1.5.0)
Requires-Dist: six (==1.16.0)
Requires-Dist: soupsieve (==2.2.1)
Requires-Dist: toml (==0.10.2)
Requires-Dist: tqdm (==4.61.1)
Requires-Dist: twine (==3.4.1)
Requires-Dist: urllib3 (==1.26.5)
Requires-Dist: webencodings (==0.5.1)
Requires-Dist: zipp (==3.4.1)

# rpi-os-tools

Tools to work with raspberry pi os

# install

Install from pypi with

```pip install rpios-tools```

# usage

## raspios image downloading

To download operating system images you can use the installed command line 
tool `rpios-dl` and specify `--version` and `--release`

To get information on the available versions and releases you can use `rpios-dl`
options like below:

```
$ rpios-dl --list-os-versions
Listing raspios versions available:
        raspios_arm64
        raspios_armhf
        raspios_full_armhf
        raspios_lite_arm64
        raspios_lite_armhf
$ rpios-dl --list-version-releases --version raspios_armhf
Listing {args.version} releases:
        raspios_armhf-2021-05-28
        raspios_armhf-2021-03-25
        raspios_armhf-2021-01-12
        raspios_armhf-2020-12-04
        raspios_armhf-2020-08-24
        raspios_armhf-2020-05-28
```

By default the images will download to an application storage directory
you'll see printed out when the command runs

```
$ rpios-dl --version raspios_lite_armhf --release raspios_lite_armhf-2021-05-28
Downloading raspios:
        version: raspios_lite_armhf
        release: raspios_lite_armhf-2021-05-28
        url: https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip
        path: /Users/michaelsobczak/.local/share/rpi-os-tools/images/2021-05-07-raspios-buster-armhf-lite.zip
 |██████----------------------------------------------------------------------------------------------| 6.4% 
```

