Metadata-Version: 2.1
Name: liboxide
Version: 0.1.1
Summary: Python wrapper around the oxide command line tools.
Author-email: Nathaniel van Diepen <eeems@eeems.email>
Maintainer-email: Nathaniel van Diepen <eeems@eeems.email>
Project-URL: Homepage, https://github.com/Eeems-Org/python-liboxide
Project-URL: Repository, https://github.com/Eeems-Org/python-liboxide.git
Project-URL: Issues, https://github.com/Eeems-Org/python-liboxide/issues
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

[![liboxide on PyPI](https://img.shields.io/pypi/v/liboxide)](https://pypi.org/project/liboxide)

Python wrapper around the oxide command line tools
==================================================

Installation
============

```bash
pip install liboxide
```

Usage
=====

```python
import liboxide

liboxide.wifi.enable()

print("Applications:")
for name, app in liboxide.apps.applications.items():
    print(f"  {name}: {app.bin}")

autoLock = liboxide.settings.get("autoLock")
print("Automatically locking after {autoLock} minutes")

print(f"Battery level: {liboxide.power.batteryLevel}")
while True:
    batteryLevel = liboxide.power.on.batteryLevelChanged()
    print(f"Battery level: {batteryLevel}")
```
