Python library with modules for sounds, graphical interface, semi-automatic creation of Python projects, and advanced file manipulation.
Project description
py_me
py_me is a Python library that provides modules for audio manipulation (music_me) and Tkinter GUI helpers (tk_me).
Version
3.4.1 - released on 2026-01-27
Changes
- Full translation into English
- Added new helper utilities and aesthetic improvements
tk_me
Example:
from py_me import tk_me
win = tk_me.create_window("hi", "100x100") # Portuguese alias: apenas_criar
def exit_app():
win.destroy()
tk_me.create_button("exit", 0, 0, "Arial", 14, exit_app) # Portuguese alias: botão
win.mainloop()
Functions
- import_script_window(window_name, window_size, import_file) (Portuguese alias: tk_import)
- create_window(window_name, window_size) (Portuguese alias: apenas_criar)
- create_label(text, x, y, font, size) (Portuguese alias: label)
- create_button(text, x, y, font, size, command) (Portuguese alias: botão)
- create_text_window(height, width, x, y) (Portuguese alias: janela_de_Texto)
- error_window() (Portuguese alias: janela_error)
- destroy_widget(widget) (Portuguese alias: destruir_objetos)
- import_tk_window(window_name, tk_file, label_text, button_text) (Portuguese alias: tk_import_tk)
- create_slider(min, max, command, x, y) (Portuguese alias: slider)
music_me
Example:
from py_me import music_me
music_me.loop_soundtrack(2, "my\\beat.mp3") # Portuguese alias: trilha_sonora_inloop
elem = music_me.musical_element(1, "my\\sound.wav", 12) # Portuguese alias: elemento_musical
music_me.stop_element_after(elem, 10) # Portuguese alias: dell
Functions
- loop_soundtrack(speed, file) (Portuguese alias: trilha_sonora_inloop)
- musical_element(speed, file, wait_time=0) (Portuguese alias: elemento_musical)
- pitched_musical_element(speed, pitch, file, wait_time=0) (Portuguese alias: elemento_musical_entonado)
- stop_element_after(element, seconds_after_start) (Portuguese alias: dell)
- stop_all_after(delay_seconds) (Portuguese alias: stop)
- set_element_volume(element, volume, delay) (Portuguese alias: volume_elemento)
- set_master_volume(volume, delay) (Portuguese alias: volume_geral)
project_me
Example:
from py_me import project_me
project_me.create_project() # Portuguese alias: criar_projeto
Function
- create_project() (interactive helper to scaffold a basic Python project; Portuguese alias: criar_projeto)
os_me
Example:
from py_me import os_me
a = os_me.path.FileHunter("example.py")
b = os_me.path.FileHunter("second\\example.py")
os_me.file.execution_sequence([a, b], ignore_error=False, list_erros=False)
API overview
- details:
- helper
- configuration fields (log_file, timeline_file, encoding, language, enable_logging, enable_rich_traceback, auto_snapshot_on_edit, avoid_duplicate_snapshots, timestamp_format, custom_logger, silent_FileHunter)
- file:
- replace(path, content)
- create(new_path, content="")
- add(path, content)
- execution_sequence(paths: list, ignore_error: bool = False, list_erros: bool = False)
- path:
- FileHunter(relative_path) -> str | None
- FileHunter_inverse(relative_path, start=None) -> str | None
- FileHunter_SUPER(relative_path) -> str | None
- FileHunter_TrueOrFalse(relative_path) -> bool
- TIMELINE:
- get_version
- get_content
- get_TIMELINE
- show_TIMELINE
- del_TIMELINE
- run_version
- del_all
- utilidades:
- registrar_log(message)
Dependencies
- pygame
- pydub (requires FFmpeg for many formats)
Installation
pip install py-me
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
py_me-3.4.1.tar.gz
(18.6 kB
view details)
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
py_me-3.4.1-py3-none-any.whl
(18.1 kB
view details)
File details
Details for the file py_me-3.4.1.tar.gz.
File metadata
- Download URL: py_me-3.4.1.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3991b3441ed389ea14d2437eb547f035129b6e3561fca41c24687e6683d0e31e
|
|
| MD5 |
356fce6ab047d5fad34270054df37e0e
|
|
| BLAKE2b-256 |
b8ed481f11bf1e2b257169fc775e47f428dc91fdd28df02da1a948cf5226a736
|
File details
Details for the file py_me-3.4.1-py3-none-any.whl.
File metadata
- Download URL: py_me-3.4.1-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8869aa66ccae22145beaf7864b69ebbc4488e534964c464f62d8eb6512855ca
|
|
| MD5 |
4d53d9d4855f7edd28f5750b813c9887
|
|
| BLAKE2b-256 |
571a35bcac347e5f193f952f53d005029adbaffb8e226da41c35e235b609b9e2
|