Skip to main content

Удобное дополнение для «Toolsan»

Project description

# 🛠️ Toolsan Desktop

> Build GUI apps in seconds — zero boilerplate, pure Python!

[![PyPI - Version](https://img.shields.io/pypi/v/toolsan-desktop)](https://pypi.org/project/toolsan-desktop/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/toolsan-desktop)](https://pypi.org/project/toolsan-desktop/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

---

## ⚡ One-liner

```python
import toolsan_desktop as td
td.window("Epic App").mainloop()

BOOM. You've got a window.


📦 Install

pip install toolsan-desktop

That's it. Dependencies auto-install. You're welcome.


🚀 Features

🪟 window() — Create a window

win = td.window(
    title="My App",        # Custom title
    fullscreen=False,      # Go fullscreen? 
    geometry="800x600",    # Width x Height
    bg="#1a1a2e"          # Hex or color name
)

🔘 button() — Add a button

def Hello():
    print("Hello!")

td.button(
    win,                   # Window
    text="PUSH",     # Button text
    sizex=200,             # Width
    sizey=60,              # Height
    bg="#e94560",          # Background
    indentx=300,           # X position
    indenty=400,           # Y position
    com=Hello        # Callback
)

🖼️ image() — Show images

td.image(
    win,                   # Window
    path="meme.jpg",       # Image path
    x=100, y=100,          # Position
    width=300, height=200  # Resize (optional)
)

✍️ dprint() — Typewriter effect

td.dprint(
    win,                          # Window
    text="Wake up, Neo...",       # Text
    delay=0.05,                   # Speed (seconds/char)
    color="#00ff41",              # Hack the planet
    font=("Courier", 20),         # Font & size
    x=50, y=50                    # Position
)

🔊 speak() — Make it talk

td.speak(
    text="I can speak!",    # What to say
    lang='en',              # 'en', 'ru', 'fr', etc.
    slow=False              # Slow mode? why not
)

🎵 play() — Play audio

td.play("boss_fight.mp3")  # MP3, WAV, OGG — it's all good

🎮 Full Example

import toolsan_desktop as td

# Window
win = td.window("Cyber Assistant", bg="#0a0a0a", geometry="700x500")

# Animated title
td.dprint(win, ">>> SYSTEM READY", delay=0.08, font=("Courier", 28), color="#00ff41", x=180, y=80)

# Button that talks
def greet():
    td.speak("Hello, commander!")
    td.dprint(win, "> Voice module activated", delay=0.02, font=("Courier", 14), color="#00ff41", x=200, y=200)

td.button(win, text="🤖 GREET", sizex=200, sizey=60, bg="#00ff41", indentx=250, indenty=350, com=greet)

# RUN
win.mainloop()

🤯 Why Toolsan Desktop?

· ✅ No boilerplate — 1 line = working window · ✅ Auto-installs deps — pygame, pillow, gtts · ✅ Tkinter power — but 10x simpler · ✅ TTS out of the box — your app talks · ✅ Typewriter text — like in games · ✅ Images & audio — zero hassle · ✅ MIT license — use it anywhere


🧩 Dependencies

Library What it does pygame Audio playback pillow Image handling gtts Text-to-speech tkinter GUI (built-in)

All installed automatically. No manual setup.


📈 Roadmap

· entry() — input fields · checkbox() — toggles · menu() — dropdowns · progress() — loading bars · Drag & drop support

PRs welcome! Let's make this the easiest GUI library ever.


📝 License

MIT — do whatever you want. Just don't blame us if your app becomes sentient.


⭐ Show Love

If this saved you 10 minutes of boilerplate hell — drop a ⭐ on GitHub!

⬆ Back to top


---

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

toolsan_desktop-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

toolsan_desktop-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file toolsan_desktop-0.0.1.tar.gz.

File metadata

  • Download URL: toolsan_desktop-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for toolsan_desktop-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bf48c0dfa88ede1306e980d78ea0a7a6e395eefb7bcfa971d78b1c6ab27cd84f
MD5 6cf18e4b39575917eb148898cb251bac
BLAKE2b-256 61d1de3864ead98059f336f091c6d23e326f15db5b5dd5f76d6c22121a3b3d72

See more details on using hashes here.

File details

Details for the file toolsan_desktop-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for toolsan_desktop-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6877dee22e0dcd0c21112b18cbf5ee70ed720aa93841d734d0ebb0d9dffa17c7
MD5 96e8d989472a2c4ba6a788d30fde60f6
BLAKE2b-256 c8a8c6930228c6b020d984c87d4053965734b0080e9cf328220a75f2f1c3f791

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