Skip to main content

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
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.

Metadata

Release files for kikolib 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kikolib 0.3.2
File Size Uploaded Provenance Actions
kikolib-0.3.2.tar.gz 66.2 kB With provenance Details for kikolib-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kikolib 0.3.2
File Interpreter ABI Platform Actions
kikolib-0.3.2-py3-none-any.whl Python 3 none any Details for kikolib-0.3.2-py3-none-any.whl

Total release size: 141.5 kB

Release files / kikolib-0.3.2.tar.gz

Download URL kikolib-0.3.2.tar.gz
Size 66.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1c6e54cde56887807372879917ae60108c26a4fa23767127eb515a7a90451bb8
BLAKE2b-256 checksum
How to use checksums
7c0e57293a151567d9eb0383c81a30a51b4bb6ec2e51f9449e5ba943585e3b93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / kikolib-0.3.2-py3-none-any.whl

Download URL kikolib-0.3.2-py3-none-any.whl
Size 75.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42d3a5f2e31e648897548c33af1f597846b54079173162b51e68cc0415ff0e5d
BLAKE2b-256 checksum
How to use checksums
c6a4e6148050383d12682eb27ddd8520fdb41b8d2c37e1a4d0f19861308184f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for kikolib 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kikolib-0.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page