DEADSEC-SECURITY / raspberry-config-sdk

Easily Configure your Raspberry Pi from your code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry Config SDK Release Python_Version License

CodeQL

PyPI - Downloads PyPI - Downloads PyPI - Downloads

πŸ“ CONTRIBUTIONS

Before doing any contribution read CONTRIBUTING.

πŸ“§ CONTACT

Email: amng835@gmail.com

General Discord: https://discord.gg/dFD5HHa

Developer Discord: https://discord.gg/rxNNHYN9EQ

πŸ“₯ INSTALLING

Latest PyPI stable release

pip install raspberry-config-sdk

βš™ HOW TO USE

from raspberry_config_sdk.BootConfig import BootConfig, Option

config = BootConfig()
config.get_config("camera_auto_detect") # Option(path="camera_auto_detect", value="1", comments=[])
config.add_or_update_config(Option(path="camera_auto_detect", value="0", comments=[])) # Creates or Updates the value
config.save() # Saves to the file, restart is required for changed to take effect

About

Easily Configure your Raspberry Pi from your code

License:MIT License


Languages

Language:Python 100.0%