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

    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

More documentation and info at

Contributing

Contributing to armpicom

Copyright and licence

License: GPL v3 License

Copyright (C) 2021 - 2024 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.1.tar.gz (26.4 kB view hashes)

Uploaded Source

Built Distribution

armpicom-1.9.1-py3-none-any.whl (30.3 kB view hashes)

Uploaded Python 3

Supported by

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