Metadata-Version: 2.5
Name: kikolib
Version: 0.3.2
Summary: Standard-library-only toolkit for small Python servers: threaded HTTP server, pooled HTTP client, SSE, WebSocket, TOML writer, safe YAML reader/writer, .env, OS secret stores.
Project-URL: Homepage, https://github.com/peterkokosharov/kiko
Project-URL: Documentation, https://github.com/peterkokosharov/kiko/blob/main/docs/gateway/kikolib/USER-GUIDE.md
Project-URL: Changelog, https://github.com/peterkokosharov/kiko/blob/main/gateway/kikolib/CHANGES.md
Project-URL: Source, https://github.com/peterkokosharov/kiko/tree/main/gateway/kikolib
Project-URL: Issues, https://github.com/peterkokosharov/kiko/issues
Project-URL: Discussions, https://github.com/peterkokosharov/kiko/discussions
Author-email: Peter Kokosharov <peter.kokosharov@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: dotenv,http,keyring,server,sse,stdlib,threads,toml,websocket,yaml
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
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: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# kikolib

The standard library for small servers: plain Python modules that give a program what the standard library
leaves out when you write a small server or service.

- Threaded HTTP server with a router, an HTTP client with a connection pool and retry
- Server-Sent Events, WebSocket, TOML writing, `.env` files, OS secret stores, a plug-in factory
- A safe YAML-subset reader and writer for config files (`yaml_utils`: no tags, no object construction,
  size and depth limits)
- **Standard library only, zero dependencies.** Threads, no asyncio. Python 3.11 or newer.
- Linux, Windows and macOS. Small enough to read in an afternoon.

## Install

```
pip install kikolib
```

```python
import kikolib
print(kikolib.__version__)
```

## Documentation

User guide with runnable demos:
https://github.com/peterkokosharov/kiko/blob/main/docs/gateway/kikolib/USER-GUIDE.md

Changes: https://github.com/peterkokosharov/kiko/blob/main/gateway/kikolib/CHANGES.md

Public API: names without a leading underscore. While the version is 0.x, a minor release may break it
(every break is listed in CHANGES.md); patch releases do not.

## License and support

MIT: free to use, change, cut and sell in your products. Keep the LICENSE text (copyright and permission
notice) with every copy.

Optional, not a condition: if it helps you, mention where it came from.

If something does not work or you do not like it, post in the forum (GitHub Discussions / Issues at
https://github.com/peterkokosharov/kiko); the author will try to fix it. No warranty.
