A personal Python toolbox of utilities.
Project description
Sylriekit
A versatile Python utility kit designed to accelerate the development of personal projects. It provides a collection of modular tools for common tasks, ranging from file management and logging to GUI development and LLM integration.
Disclaimer
Warning: This is a personal kitchen-sink project. It is mainly coded for convenience and rapid prototyping over peak optimization. Features may be incomplete or experimental. Use at your own risk.
Installation
pip install sylriekit
Tool Reference
| Tool | Type | Description |
|---|---|---|
| LLM | Normal | Multi-provider single-chat client (Anthropic, OpenAI, Google, etc.) with tool calling and streaming. |
| ThreadedLLM | Normal | LLM subclass that runs sends on a background worker thread and delivers results via callbacks. |
| Background | Normal | Launch detached background processes that survive the script exiting, and stop/list them later (even from another run). |
| Archive | Normal | Create, extract, inspect, and validate .tar.zst archives. |
| Logging | Normal | Tiny timestamped file logger with log() and an auto() function-call decorator. |
| StaticUtils | Static | Small static helpers: Cache.ttl(), Timeout.ttl(), and extension-aware Files.read() / Files.write(). |
| Network | Static | Simple TCP/UDP senders, UDP broadcast, decorator listeners, and public/LAN IP helpers. |
| NetworkDiagnosis | Normal | PID-aware connection tracker, new-PID watcher, TCP port scanner, and network event/message recorder. |
| PythonMeta | Static | Collect Python project metadata, definitions, imports, line counts, complexity, and syntax errors without executing source. |
| Compiler | Static | Compile scripts with Nuitka as a one-file executable, bundled/external-data executable, or standalone folder. |
Change Log
0.42.0
- Compiler: build methods now accept
extra_flagsandtarget_dir, and every build disables Nuitka'sself-executiondeployment guard so a compiled CLI with its own-cflag no longer aborts at runtime - Background:
start()now accepts anenv=override plus a newENVconfig key, and strips inheritedNUITKA_ONEFILE_*markers so a compiled one-file app can detach another one-file binary without it dying silently - StaticUtils:
Files.read()gainedstrict=(raise instead ofNoneon an unreadable/corrupt file), newFiles.parse()parses a YAML/JSON/TOML/CSV string in memory, newFiles.append()appends text, andFiles.write()is now atomic - ThreadedLLM: added an
on_error()callback and now passes the request id to handlers that accept a second argument, so replies and failures can be matched to the originating send - Archive:
create()gained aroot_nameoption to set a fixed top-level folder (or""to drop the common root) - PythonMeta: function/method entries now include an
is_dunderflag to distinguish dunders from ordinary leading-underscore names
0.41.0
- Compiler: new Nuitka wrapper for one-file, bundled/external-data, and standalone-folder builds; Scapy and Nuitka are now required dependencies
0.40.0
- LLM: added chainable
LLMPromptimage/audio/video inputs, persistent text/multimodal system prompts, provider-specific formatting, and model capability validation; also works withThreadedLLM
0.39.0
- PythonMeta: new static Python project mapper with file/project summaries, source definitions, imports, line metrics, complexity, syntax errors, JSON reports, and virtual-environment exclusions
0.38.0
- NetworkDiagnosis: new PID-aware network diagnosis tool with
start(),stop(),add(),drop(),@OnNewPID(),connections(),messages(),scan(), andsave(); packet capture uses Scapy when enabled
0.37.0
- Network: new simple network helper with
TCP(),UDP(),UDP_Broadcast(),@listen(),GetPublicIP(), andGetLANIP(); packet capture/diagnostics intentionally left for a separate tool
Previous change log entries are available in the description of older versions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sylriekit-0.42.0.tar.gz.
File metadata
- Download URL: sylriekit-0.42.0.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e2725e4377b82eb1ec884b3b492212f52f760b8c52ad07ccbcae0d89bdc1528
|
|
| MD5 |
fb36e38b3828d48f26986e1df63cfcce
|
|
| BLAKE2b-256 |
7fa0791d667d1ba430a21ea70758ebd612ea1ee10f7e305eb4e091444898d881
|
File details
Details for the file sylriekit-0.42.0-py3-none-any.whl.
File metadata
- Download URL: sylriekit-0.42.0-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
651823115c6d9e2feabc8f5f7bb491a89f654617186bd5ffd3c4407940cee02b
|
|
| MD5 |
67edcfc35ec341441790ff9939bdee6e
|
|
| BLAKE2b-256 |
98c6b9b3f68f3376bd1810c7d1b47e13c35d1f964b345ff87abc78d530d21680
|