https://github.com/fbiego/libmaker
A Python script designed to generate the basic structure for an Arduino library
https://github.com/fbiego/libmaker
Last synced: 8 months ago
JSON representation
A Python script designed to generate the basic structure for an Arduino library
- Host: GitHub
- URL: https://github.com/fbiego/libmaker
- Owner: fbiego
- License: mit
- Created: 2024-02-13T21:28:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-04T18:16:00.000Z (over 1 year ago)
- Last Synced: 2025-03-25T09:47:41.630Z (9 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libmaker
`libmaker` is a Python script designed to generate the basic structure for an Arduino library. It provides a starting point for building your library, including default generated code.
## Usage
Simply run the script and provide your desired library name. Additionally, you can use optional flags to customize the generated output.
`python libmaker.py Name`
```
|--Name
| |- Name.h
| |- Name.cpp
```
`python libmaker.py Name --arduino`
```
|--Name
| |--example
| | |--name
| | |- name.ino
| |- library.json
| |- library.properties
| |- keywords.txt
| |- Name.h
| |- Name.cpp
```
`python libmaker.py Name --src`
```
|--Name
| |--src
| | |- Name.h
| | |- Name.cpp
```
`python libmaker.py Name --arduino --src`
```
|--Name
| |--example
| | |--name
| | |- name.ino
| |- library.json
| |- library.properties
| |- keywords.txt
| |--src
| | |- Name.h
| | |- Name.cpp
```
`python libmaker.py Name --pio`
```
|--Name
| |--example
| | |--name
| | |- name.ino
| |- library.json
| |- library.properties
| |- keywords.txt
| |- platformio.ini
| |--src
| | |- Name.h
| | |- Name.cpp
```