Skip to main content

Small sets of classes for various operations.

Project description

JskToolBox

JskToolBox provides curated sets of Python classes that support system automation, networking, configuration handling, and Tkinter-based GUI development. The documentation in docs/ offers module-by-module guides; the sections below highlight the available references.

Core Utilities

  • AttribTool – base classes that restrict dynamic attribute creation and manage declared fields
    AttribTool Readme
  • BaseTool – mixins for metadata reporting, data storage, logging, and threading used across the project
    BaseTool Readme
  • RaiseTool – helpers that standardise exception formatting and error reporting
    RaiseTool Readme
  • SystemTool – utilities for interacting with the host operating system
    SystemTool Readme

Configuration and Data

  • ConfigTool – parsers and helpers for working with configuration files
    ConfigTool Readme
  • DateTool – date/time conversions, validation, and formatting helpers
    DateTool Readme
  • StringTool – routines for text manipulation and sanitising
    StringTool Readme

Logging and Networking

Tkinter

  • TkTool – Tk mixins, layout helpers, clipboard adapters, and reusable widgets (excluding the unreliable _TkClip)
    TkTool Readme

API Documentation

Complete API reference documentation is available:

  • Generate Documentation: make docs or poetry run python generate_docs.py
  • HTML Documentation: Open docs_api/build/html/index.html after generation
  • Preferred Imports: PREFERRED_IMPORTS.md - Lazy import patterns
  • AI Agent Guide: AI_AGENT_GUIDE.md - Integration guide for AI agents
  • Code Examples: EXAMPLES_FOR_AI.md - Practical usage examples
  • Module Index: API_INDEX.md - Quick reference of all modules
  • API Structure: api_structure.json - Machine-readable API structure

Lazy Imports (Important)

The library uses lazy imports for performance. Use the preferred shorter patterns:

# ✓ Preferred (lazy loading)
from jsktoolbox.configtool import Config
from jsktoolbox.logstool import LoggerClient

# ✗ Avoid (works but longer)
from jsktoolbox.configtool.main import Config
from jsktoolbox.logstool.logs import LoggerClient

Quick Start

# Install dependencies
poetry install

# Generate all documentation
make docs

# Or use the script directly
poetry run python generate_docs.py

# Open documentation in browser
make docs-open

Examples

Examples demonstrating selected modules can be found in:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsktoolbox-1.2.2.tar.gz (104.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsktoolbox-1.2.2-py3-none-any.whl (154.7 kB view details)

Uploaded Python 3

File details

Details for the file jsktoolbox-1.2.2.tar.gz.

File metadata

  • Download URL: jsktoolbox-1.2.2.tar.gz
  • Upload date:
  • Size: 104.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.12 Linux/6.17.3-1-default

File hashes

Hashes for jsktoolbox-1.2.2.tar.gz
Algorithm Hash digest
SHA256 d036db82944040d7e7c4c66a4ac04ad2223df9b80805c2b263e1d38ce8e272ef
MD5 8239d12d4ae5f6bed7e7aeef55a997a7
BLAKE2b-256 58bdbde202a3d0a4085133b528db537707d50b87a2904cafa2821581a09ae996

See more details on using hashes here.

File details

Details for the file jsktoolbox-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: jsktoolbox-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 154.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.12 Linux/6.17.3-1-default

File hashes

Hashes for jsktoolbox-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6338588b6f25c5d0d00471a00725c1ab860cd4681f2d69a2bfdc50467413a359
MD5 d5bea96f80dc822c5712f3acd381b172
BLAKE2b-256 7615360fa284c836916f10606d879c88f5ba433c090658672c2f26b5565ef2d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page