/raspberry-config-sdk

Easily Configure your Raspberry Pi from your code

Primary LanguagePythonMIT LicenseMIT

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