# Generate RPI project configuration/build setup
<img align="right" src="https://raw.githubusercontent.com/vroncevic/armpicom/dev/docs/armpicom_logo.png" width="25%">
**armpicom** is toolset for generation of RPI PICO project configuration/build setup.
Developed in **[python](https://www.python.org/)** code.
The README is used to introduce the modules and provide instructions on
how to install the modules, any machine dependencies it may have and any
other information that should be provided before the modules are installed.
[![armpicom python checker](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_python_checker.yml/badge.svg)](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_python_checker.yml) [![armpicom package checker](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_package_checker.yml/badge.svg)](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_package.yml) [![GitHub issues open](https://img.shields.io/github/issues/vroncevic/armpicom.svg)](https://github.com/vroncevic/armpicom/issues) [![GitHub contributors](https://img.shields.io/github/contributors/vroncevic/armpicom.svg)](https://github.com/vroncevic/armpicom/graphs/contributors)
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents**
- [Installation](#installation)
- [Install using pip](#install-using-pip)
- [Install using build](#install-using-build)
- [Install using py setup](#install-using-py-setup)
- [Install using docker](#install-using-docker)
- [Dependencies](#dependencies)
- [Tool structure](#tool-structure)
- [Docs](#docs)
- [Contributing](#contributing)
- [Copyright and licence](#copyright-and-licence)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
### Installation
Used next development environment
![debian linux os](https://raw.githubusercontent.com/vroncevic/armpicom/dev/docs/debtux.png)
[![armpicom python3 build](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_python3_build.yml/badge.svg)](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_python3_build.yml)
Currently there are three ways to install package
* Install process based on using pip mechanism
* Install process based on build mechanism
* Install process based on setup.py mechanism
* Install process based on docker mechanism
##### Install using pip
**armpicom** is located at **[pypi.org](https://pypi.org/project/armpicom/)**.
You can install by using pip
```bash
# python3
pip3 install armpicom
```
##### Install using build
Navigate to release **[page](https://github.com/vroncevic/armpicom/releases/)** download and extract release archive.
To install **armpicom** type the following
```bash
tar xvzf armpicom-x.y.z.tar.gz
cd armpicom-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/armpicom-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/armpicom_run.py
ln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/armpicom_run.py /usr/local/bin/armpicom_run.py
```
##### Install using py setup
Navigate to **[release page](https://github.com/vroncevic/armpicom/releases)** download and extract release archive.
To install **armpicom** locate and run setup.py with arguments
```bash
tar xvzf armpicom-x.y.z.tar.gz
cd armpicom-x.y.z
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_egg_info
```
##### Install using docker
You can use Dockerfile to create image/container.
### Dependencies
**armpicom** requires next modules and libraries
* [ats-utilities - Python App/Tool/Script Utilities](https://pypi.org/project/ats-utilities/)
### Tool structure
**armpicom** is based on OOP.
Tool structure
```bash
armpicom/
├── conf/
│ ├── armpicom.cfg
│ ├── armpicom.logo
│ ├── armpicom_util.cfg
│ ├── project.yaml
│ └── template/
│ ├── build/
│ │ └── armpicom.md
│ ├── CMakeLists.template
│ ├── pico_sdk_import.template
│ ├── pro_auto_set_url.template
│ └── src/
│ ├── CMakeLists.template
│ └── main.template
├── __init__.py
├── log/
│ └── armpicom.log
├── pro/
│ ├── __init__.py
│ ├── read_template.py
│ └── write_template.py
├── py.typed
└── run/
└── armpicom_run.py
8 directories, 17 files
```
### Code coverage
| Name | Stmts | Miss | Cover |
|------|-------|------|-------|
| `armpicom/__init__.py` | 71 | 12 | 83% |
| `armpicom/pro/__init__.py` | 59 | 2 | 97% |
| `armpicom/pro/read_template.py` | 53 | 2 | 96% |
| `armpicom/pro/write_template.py` | 58 | 3 | 95% |
| **Total** | 241 | 19 | 92% |
### Docs
[![Documentation Status](https://readthedocs.org/projects/armpicom/badge/?version=latest)](https://armpicom.readthedocs.io/en/latest/?badge=latest)
More documentation and info at
* [armpicom.readthedocs.io](https://armpicom.readthedocs.io)
* [www.python.org](https://www.python.org/)
### Contributing
[Contributing to armpicom](CONTRIBUTING.md)
### Copyright and licence
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
Copyright (C) 2021 - 2024 by [vroncevic.github.io/armpicom](https://vroncevic.github.io/armpicom)
**armpicom** is free software; you can redistribute it and/or modify
it under the same terms as Python itself, either Python version 3.x or,
at your option, any later version of Python 3 you may have available.
Lets help and support PSF.
[![Python Software Foundation](https://raw.githubusercontent.com/vroncevic/armpicom/dev/docs/psf-logo-alpha.png)](https://www.python.org/psf/)
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.python.org/psf/donations/)
Raw data
{
"_id": null,
"home_page": "https://vroncevic.github.io/armpicom",
"name": "armpicom",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "setup, python, install, RPI Pico, CMake, generator",
"author": "Vladimir Roncevic",
"author_email": "elektron.ronca@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/be/76/82db7f7baf19915b5507e80aa94ca730db8ede2b7a4a7243db1031136c1e/armpicom-1.9.1.tar.gz",
"platform": "any",
"description": "# Generate RPI project configuration/build setup\n\n<img align=\"right\" src=\"https://raw.githubusercontent.com/vroncevic/armpicom/dev/docs/armpicom_logo.png\" width=\"25%\">\n\n**armpicom** is toolset for generation of RPI PICO project configuration/build setup.\n\nDeveloped in **[python](https://www.python.org/)** code.\n\nThe README is used to introduce the modules and provide instructions on\nhow to install the modules, any machine dependencies it may have and any\nother information that should be provided before the modules are installed.\n\n[![armpicom python checker](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_python_checker.yml/badge.svg)](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_python_checker.yml) [![armpicom package checker](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_package_checker.yml/badge.svg)](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_package.yml) [![GitHub issues open](https://img.shields.io/github/issues/vroncevic/armpicom.svg)](https://github.com/vroncevic/armpicom/issues) [![GitHub contributors](https://img.shields.io/github/contributors/vroncevic/armpicom.svg)](https://github.com/vroncevic/armpicom/graphs/contributors)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [Installation](#installation)\n - [Install using pip](#install-using-pip)\n - [Install using build](#install-using-build)\n - [Install using py setup](#install-using-py-setup)\n - [Install using docker](#install-using-docker)\n- [Dependencies](#dependencies)\n- [Tool structure](#tool-structure)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [Copyright and licence](#copyright-and-licence)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n### Installation\n\nUsed next development environment\n\n![debian linux os](https://raw.githubusercontent.com/vroncevic/armpicom/dev/docs/debtux.png)\n\n[![armpicom python3 build](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_python3_build.yml/badge.svg)](https://github.com/vroncevic/armpicom/actions/workflows/armpicom_python3_build.yml)\n\nCurrently there are three ways to install package\n* Install process based on using pip mechanism\n* Install process based on build mechanism\n* Install process based on setup.py mechanism\n* Install process based on docker mechanism\n\n##### Install using pip\n\n**armpicom** is located at **[pypi.org](https://pypi.org/project/armpicom/)**.\n\nYou can install by using pip\n\n```bash\n# python3\npip3 install armpicom\n```\n\n##### Install using build\n\nNavigate to release **[page](https://github.com/vroncevic/armpicom/releases/)** download and extract release archive.\n\nTo install **armpicom** type the following\n\n```bash\ntar xvzf armpicom-x.y.z.tar.gz\ncd armpicom-x.y.z/\n# python3\nwget https://bootstrap.pypa.io/get-pip.py\npython3 get-pip.py \npython3 -m pip install --upgrade setuptools\npython3 -m pip install --upgrade pip\npython3 -m pip install --upgrade build\npip3 install -r requirements.txt\npython3 -m build --no-isolation --wheel\npip3 install ./dist/armpicom-*-py3-none-any.whl\nrm -f get-pip.py\nchmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/armpicom_run.py\nln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/armpicom_run.py /usr/local/bin/armpicom_run.py\n```\n\n##### Install using py setup\n\nNavigate to **[release page](https://github.com/vroncevic/armpicom/releases)** download and extract release archive.\n\nTo install **armpicom** locate and run setup.py with arguments\n\n```bash\ntar xvzf armpicom-x.y.z.tar.gz\ncd armpicom-x.y.z\n# python3\npip3 install -r requirements.txt\npython3 setup.py install_lib\npython3 setup.py install_egg_info\n```\n\n##### Install using docker\n\nYou can use Dockerfile to create image/container.\n\n### Dependencies\n\n**armpicom** requires next modules and libraries\n\n* [ats-utilities - Python App/Tool/Script Utilities](https://pypi.org/project/ats-utilities/)\n\n### Tool structure\n\n**armpicom** is based on OOP.\n\nTool structure\n\n```bash\n armpicom/\n \u251c\u2500\u2500 conf/\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 armpicom.cfg\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 armpicom.logo\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 armpicom_util.cfg\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 project.yaml\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 template/\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 build/\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 armpicom.md\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 CMakeLists.template\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pico_sdk_import.template\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 pro_auto_set_url.template\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 src/\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 CMakeLists.template\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 main.template\n \u251c\u2500\u2500 __init__.py\n \u251c\u2500\u2500 log/\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 armpicom.log\n \u251c\u2500\u2500 pro/\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 __init__.py\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 read_template.py\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 write_template.py\n \u251c\u2500\u2500 py.typed\n \u2514\u2500\u2500 run/\n \u2514\u2500\u2500 armpicom_run.py\n \n 8 directories, 17 files\n```\n\n### Code coverage\n\n| Name | Stmts | Miss | Cover |\n|------|-------|------|-------|\n| `armpicom/__init__.py` | 71 | 12 | 83% |\n| `armpicom/pro/__init__.py` | 59 | 2 | 97% |\n| `armpicom/pro/read_template.py` | 53 | 2 | 96% |\n| `armpicom/pro/write_template.py` | 58 | 3 | 95% |\n| **Total** | 241 | 19 | 92% |\n\n### Docs\n\n[![Documentation Status](https://readthedocs.org/projects/armpicom/badge/?version=latest)](https://armpicom.readthedocs.io/en/latest/?badge=latest)\n\nMore documentation and info at\n\n* [armpicom.readthedocs.io](https://armpicom.readthedocs.io)\n* [www.python.org](https://www.python.org/)\n\n### Contributing\n\n[Contributing to armpicom](CONTRIBUTING.md)\n\n### Copyright and licence\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nCopyright (C) 2021 - 2024 by [vroncevic.github.io/armpicom](https://vroncevic.github.io/armpicom)\n\n**armpicom** is free software; you can redistribute it and/or modify\nit under the same terms as Python itself, either Python version 3.x or,\nat your option, any later version of Python 3 you may have available.\n\nLets help and support PSF.\n\n[![Python Software Foundation](https://raw.githubusercontent.com/vroncevic/armpicom/dev/docs/psf-logo-alpha.png)](https://www.python.org/psf/)\n\n[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.python.org/psf/donations/)\n",
"bugtrack_url": null,
"license": "GPL 2021 - 2024 Free software to use and distributed it.",
"summary": "Python package for generation of RPI configuration/build",
"version": "1.9.1",
"project_urls": {
"Homepage": "https://vroncevic.github.io/armpicom"
},
"split_keywords": [
"setup",
" python",
" install",
" rpi pico",
" cmake",
" generator"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8c64b86551f5be9287011b6d83aa2057a2a829b2bc5fcba1160a191447ee78d9",
"md5": "5040f1f33540e0e669f87e7f45421edb",
"sha256": "7f4d2292242fe6d95632e326b1a7b6ca72f110d93171e8bfff0c0c40e7484f38"
},
"downloads": -1,
"filename": "armpicom-1.9.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5040f1f33540e0e669f87e7f45421edb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 30265,
"upload_time": "2024-07-07T22:45:20",
"upload_time_iso_8601": "2024-07-07T22:45:20.754762Z",
"url": "https://files.pythonhosted.org/packages/8c/64/b86551f5be9287011b6d83aa2057a2a829b2bc5fcba1160a191447ee78d9/armpicom-1.9.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "be7682db7f7baf19915b5507e80aa94ca730db8ede2b7a4a7243db1031136c1e",
"md5": "c07794778c287bb37e54af9f14dea445",
"sha256": "66654beb070abebb2d6a2d2804adaf5ebafab26336a88f76b8c4f8b543678893"
},
"downloads": -1,
"filename": "armpicom-1.9.1.tar.gz",
"has_sig": false,
"md5_digest": "c07794778c287bb37e54af9f14dea445",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 26362,
"upload_time": "2024-07-07T22:45:22",
"upload_time_iso_8601": "2024-07-07T22:45:22.341012Z",
"url": "https://files.pythonhosted.org/packages/be/76/82db7f7baf19915b5507e80aa94ca730db8ede2b7a4a7243db1031136c1e/armpicom-1.9.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-07 22:45:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "armpicom"
}