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.3.tar.gz (4.1 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.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toolsan_desktop-0.0.3.tar.gz
  • Upload date:
  • Size: 4.1 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.3.tar.gz
Algorithm Hash digest
SHA256 e3ff14f352c887a86274981951ca2bea4cab3a933ba1c392658110122c6fcffa
MD5 a1bfb464cbdfc0bd1119424e98962b1a
BLAKE2b-256 aa71d65ca304f7f02a9f9db2df9d493d5885659430e83a67ed866640ef7e9e91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for toolsan_desktop-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f3a1532083930b1474f9042c70f42fc52a9e711f9b6d8c1db2cbb92f61f1fc62
MD5 9e2c5681643f862a972339f80e963451
BLAKE2b-256 5a018b404a80467c2fb033531cda5c1ac22a0465c2699e1bc7dcbf222d4d0282

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