Skip to main content

Python package for generation of RPI configuration/build

Project description

Generate RPI project configuration/build setup

armpicom is toolset for generation of RPI PICO project configuration/build setup.

Developed in python 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 armpicom package checker GitHub issues open GitHub contributors

Table of Contents

Installation

Used next development environment

debian linux os

armpicom python3 build

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.

You can install by using pip

# python3
pip3 install armpicom
Install using build

Navigate to release page download and extract release archive.

To install armpicom type the following

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 download and extract release archive.

To install armpicom locate and run setup.py with arguments

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

Tool structure

armpicom is based on OOP.

Tool structure

Click to expand framework structure
    armpicom/
         ├── application/
            ├── __init__.py
            └── service.py
         ├── armpicom_bundle.py
         ├── domain/
            ├── __init__.py
            ├── models.py
            └── ports/
                ├── __init__.py
                ├── iservice.py
                └── isubprocessor.py
         ├── engine.py
         ├── infrastructure/
            ├── cli.py
            ├── cli_bundle.py
            ├── config/
               ├── armpicom.cfg
               ├── armpicom.logo
               ├── scheme.json
               └── templates.tgz
            ├── gen_picom_command.py
            ├── icli.py
            ├── icli_command.py
            ├── __init__.py
            └── subprocessor.py
         ├── __init__.py
         └── py.typed

     6 directories, 22 files

Code coverage

Click to expand code coverage
Name Stmts Miss Cover
armpicom/__init__.py 8 0 100%
armpicom/application/__init__.py 8 0 100%
armpicom/application/service.py 22 0 100%
armpicom/armpicom_bundle.py 39 0 100%
armpicom/domain/__init__.py 8 0 100%
armpicom/domain/models.py 18 0 100%
armpicom/domain/ports/__init__.py 8 0 100%
armpicom/domain/ports/iservice.py 11 0 100%
armpicom/domain/ports/isubprocessor.py 11 0 100%
armpicom/engine.py 66 0 100%
armpicom/infrastructure/__init__.py 8 0 100%
armpicom/infrastructure/cli.py 36 0 100%
armpicom/infrastructure/cli_bundle.py 33 0 100%
armpicom/infrastructure/gen_picom_command.py 32 0 100%
armpicom/infrastructure/icli.py 11 0 100%
armpicom/infrastructure/icli_command.py 14 0 100%
armpicom/infrastructure/subprocessor.py 53 0 100%
Total 386 0 100%

Usage

Install package

pip3 install armpicom

Prepare main entry point by downloading main.py or create your own.

wget -O main.py https://raw.githubusercontent.com/vroncevic/armpicom/main/main.py

Running tool for creating new ARM Pico M project

python3 main.py create --name mytool --output ./demo/

Docs

Documentation Status

More documentation and info at

Contributing

Contributing to armpicom

Copyright and licence

License: GPL v3 License

Copyright (C) 2021 - 2026 by 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

Donate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

armpicom-1.9.5.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

armpicom-1.9.5-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

Details for the file armpicom-1.9.5.tar.gz.

File metadata

  • Download URL: armpicom-1.9.5.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.3

File hashes

Hashes for armpicom-1.9.5.tar.gz
Algorithm Hash digest
SHA256 677041e65a3d3dd1f1ff08399786950166b5361a9e9966a39a7f305fd202775d
MD5 cd8b5a5b13b1b8afc25525ca6c3dbcec
BLAKE2b-256 a2851adbd2e1e070d3f076fb9d6ad143afa5e09c8e33559ece4c7646e11a633c

See more details on using hashes here.

File details

Details for the file armpicom-1.9.5-py3-none-any.whl.

File metadata

  • Download URL: armpicom-1.9.5-py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.3

File hashes

Hashes for armpicom-1.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee242648e007fc51adbe51675a411c65af1390afdf27751aa81b5e7db5fea3e2
MD5 a062ba76fde7076cbbb51a3892ffe9e9
BLAKE2b-256 43b88ea8079ffa6539036435d354148a1efccfb4331b0a55635ad183b80b603c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page