Metadata-Version: 2.5
Name: dreamsrv
Version: 0.1.1
Summary: Server monitoring and control library for Python
Project-URL: Homepage, https://github.com/uranfiz/python-libs/dreamsrv
Project-URL: Source, https://github.com/uranfiz/python-libs/dreamsrv
Project-URL: Telegram, https://t.me/devuranium
Author: Dream
License-Expression: AGPL-3.0-only
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
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
Requires-Dist: psutil>=5.9.0
Description-Content-Type: text/markdown

# dreamsrv

> Server monitoring and control library for Python.

[![PyPI version](https://img.shields.io/pypi/v/dreamsrv.svg)](https://pypi.org/project/dreamsrv/)
[![Python versions](https://img.shields.io/pypi/pyversions/dreamsrv.svg)](https://pypi.org/project/dreamsrv/)
[![License](https://img.shields.io/badge/license-AGPL--3.0-blue.svg)](LICENSE)
[![Telegram](https://img.shields.io/badge/telegram-@devuranium-blue.svg)](https://t.me/devuranium)

**dreamsrv** is a lightweight, dependency-minimal Python library for monitoring and controlling Linux servers. It wraps `psutil` and `subprocess` into a clean, Pythonic API — so you can grab CPU load, memory usage, disk stats, network metrics, process lists, file contents, and run shell commands from a single `Server` object.

Built for server-side automation, Telegram userbots (Hikka), monitoring dashboards, and anything that needs to peek at the host it runs on.

---

## Table of Contents

- [Installation](#installation)
- [Quick Start](#quick-start)
- [API Reference](#api-reference)
  - [CPU](#cpu)
  - [Memory](#memory)
  - [Disk](#disk)
  - [Network](#network)
  - [Processes](#processes)
  - [Files](#files)
  - [System](#system)
  - [Shell Commands](#shell-commands)
- [Async Usage](#async-usage)
- [Hikka Module](#hikka-module)
- [Requirements](#requirements)
- [License](#license)

---

## Installation

```bash
pip install dreamsrv
