# Raspberry Config SDK ![Release](https://img.shields.io/github/v/release/DEADSEC-SECURITY/raspberry-config-sdk?label=Release&style=flat-square) ![Python_Version](https://img.shields.io/badge/Python-3.9%2B-blue?style=flat-square) ![License](https://img.shields.io/github/license/DEADSEC-SECURITY/raspberry-config-sdk?label=License&style=flat-square)
[![CodeQL](https://github.com/DEADSEC-SECURITY/raspberry-config-sdk/actions/workflows/codeql.yml/badge.svg)](https://github.com/DEADSEC-SECURITY/raspberry-config-sdk/actions/workflows/codeql.yml)
![PyPI - Downloads](https://img.shields.io/pypi/dd/raspberry-config-sdk?label=Daily%20Downloads&style=flat-square) ![PyPI - Downloads](https://img.shields.io/pypi/dw/raspberry-config-sdk?label=Weekly%20Downloads&style=flat-square) ![PyPI - Downloads](https://img.shields.io/pypi/dm/raspberry-config-sdk?label=Monthly%20Downloads&style=flat-square)
## 📝 CONTRIBUTIONS
Before doing any contribution read <a href="https://github.com/DEADSEC-SECURITY/raspberry-config-sdk/blob/main/CONTRIBUTING.md">CONTRIBUTING</a>.
## 📧 CONTACT
Email: amng835@gmail.com
General Discord: https://discord.gg/dFD5HHa
Developer Discord: https://discord.gg/rxNNHYN9EQ
## 📥 INSTALLING
<a href="https://pypi.org/project/raspberry-config-sdk">Latest PyPI stable release</a>
```bash
pip install raspberry-config-sdk
```
## ⚙ HOW TO USE
```python
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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/DEADSEC-SECURITY/raspberry-config-sdk",
"name": "raspberry-config-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": "==3.11.2,>=3.8",
"maintainer_email": null,
"keywords": "raspberry, raspberry pi, config.txt, raspberry config, boot",
"author": "DeadSec-Security",
"author_email": "amng835@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7e/98/d68213f2a1e7ec26355648bb938e4eb5b041b9732beb7e5a2ace6d366c8f/raspberry_config_sdk-1.0.2.tar.gz",
"platform": null,
"description": "# Raspberry Config SDK ![Release](https://img.shields.io/github/v/release/DEADSEC-SECURITY/raspberry-config-sdk?label=Release&style=flat-square) ![Python_Version](https://img.shields.io/badge/Python-3.9%2B-blue?style=flat-square) ![License](https://img.shields.io/github/license/DEADSEC-SECURITY/raspberry-config-sdk?label=License&style=flat-square) \n\n[![CodeQL](https://github.com/DEADSEC-SECURITY/raspberry-config-sdk/actions/workflows/codeql.yml/badge.svg)](https://github.com/DEADSEC-SECURITY/raspberry-config-sdk/actions/workflows/codeql.yml) \n\n![PyPI - Downloads](https://img.shields.io/pypi/dd/raspberry-config-sdk?label=Daily%20Downloads&style=flat-square) ![PyPI - Downloads](https://img.shields.io/pypi/dw/raspberry-config-sdk?label=Weekly%20Downloads&style=flat-square) ![PyPI - Downloads](https://img.shields.io/pypi/dm/raspberry-config-sdk?label=Monthly%20Downloads&style=flat-square)\n\n## \ud83d\udcdd CONTRIBUTIONS\n\nBefore doing any contribution read <a href=\"https://github.com/DEADSEC-SECURITY/raspberry-config-sdk/blob/main/CONTRIBUTING.md\">CONTRIBUTING</a>.\n\n## \ud83d\udce7 CONTACT\n\nEmail: amng835@gmail.com\n\nGeneral Discord: https://discord.gg/dFD5HHa\n\nDeveloper Discord: https://discord.gg/rxNNHYN9EQ\n\n## \ud83d\udce5 INSTALLING\n<a href=\"https://pypi.org/project/raspberry-config-sdk\">Latest PyPI stable release</a>\n```bash\npip install raspberry-config-sdk\n```\n\n## \u2699 HOW TO USE\n```python\nfrom raspberry_config_sdk.BootConfig import BootConfig, Option\n\nconfig = BootConfig()\nconfig.get_config(\"camera_auto_detect\") # Option(path=\"camera_auto_detect\", value=\"1\", comments=[])\nconfig.add_or_update_config(Option(path=\"camera_auto_detect\", value=\"0\", comments=[])) # Creates or Updates the value\nconfig.save() # Saves to the file, restart is required for changed to take effect\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Easily Configure your Raspberry Pi from your code",
"version": "1.0.2",
"project_urls": {
"Homepage": "https://github.com/DEADSEC-SECURITY/raspberry-config-sdk"
},
"split_keywords": [
"raspberry",
" raspberry pi",
" config.txt",
" raspberry config",
" boot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "608f42108db0e49375d37069e0e655210e2bf1752d63b7c1fd6d905f3565d52f",
"md5": "27e13643b43362e07e2743779c8e0a67",
"sha256": "148e0bd992a1067c58664fb2e2fa8c438ac51f1892d8e350bc5bce1804d65ef8"
},
"downloads": -1,
"filename": "raspberry_config_sdk-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "27e13643b43362e07e2743779c8e0a67",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "==3.11.2,>=3.8",
"size": 5566,
"upload_time": "2024-04-30T19:21:02",
"upload_time_iso_8601": "2024-04-30T19:21:02.761659Z",
"url": "https://files.pythonhosted.org/packages/60/8f/42108db0e49375d37069e0e655210e2bf1752d63b7c1fd6d905f3565d52f/raspberry_config_sdk-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7e98d68213f2a1e7ec26355648bb938e4eb5b041b9732beb7e5a2ace6d366c8f",
"md5": "2bd6869b55b90539bbc6d097ff3595b2",
"sha256": "c2fd191c69140fd80eb68dba76359da862feedf9b8840e25d09391dcc02cea6a"
},
"downloads": -1,
"filename": "raspberry_config_sdk-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "2bd6869b55b90539bbc6d097ff3595b2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "==3.11.2,>=3.8",
"size": 4599,
"upload_time": "2024-04-30T19:21:04",
"upload_time_iso_8601": "2024-04-30T19:21:04.642485Z",
"url": "https://files.pythonhosted.org/packages/7e/98/d68213f2a1e7ec26355648bb938e4eb5b041b9732beb7e5a2ace6d366c8f/raspberry_config_sdk-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-30 19:21:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DEADSEC-SECURITY",
"github_project": "raspberry-config-sdk",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "setuptools",
"specs": [
[
"~=",
"69.0.3"
]
]
},
{
"name": "bigtree",
"specs": [
[
"~=",
"0.17.1"
]
]
},
{
"name": "tqdm",
"specs": [
[
"~=",
"4.66.2"
]
]
}
],
"lcname": "raspberry-config-sdk"
}