Skip to main content

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.5.4 - released on 2026-01-29

Changes

  • new function in tk_me and os_me
  • complete overhaul of tk_me

tk_me

Example:

from py_me import tk_me

win = tk_me.create_window("hi", "100x100") 
def exit_app():
    win.destroy()
tk_me.create_button("exit", 0, 0, "Arial", 14, exit_app)  
win.mainloop()

Functions

  • import_script_window
  • create_window
  • create_label
  • create_button
  • create_text_window
  • error_window
  • destroy_widget
  • import_tk_window
  • create_slider
  • create_listbox

music_me

Example:

from py_me import music_me

music_me.loop_soundtrack(2, "my\\beat.mp3")            
elem = music_me.musical_element(1, "my\\sound.wav", 12)  
music_me.stop_element_after(elem, 10)                  

Functions

  • loop_soundtrack(speed, file)
  • musical_element(speed, file, wait_time=0)
  • pitched_musical_element(speed, pitch, file, wait_time=0)
  • stop_element_after(element, seconds_after_start)
  • stop_all_after(delay_seconds)
  • set_element_volume(element, volume, delay)
  • set_master_volume(volume, delay)

project_me

Example:

from py_me import project_me

project_me.create_project()

Function

  • create_project()

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)
  • os_me:
    • create_dir_tree

Dependencies

  • pygame
  • pydub (requires FFmpeg for many formats)

Installation

pip install py-me

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

py_me-3.5.4.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

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

py_me-3.5.4-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file py_me-3.5.4.tar.gz.

File metadata

  • Download URL: py_me-3.5.4.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_me-3.5.4.tar.gz
Algorithm Hash digest
SHA256 79f768aad5e9f36638a3523744238fa7dddf0a811943da7b268f7ca3b041de31
MD5 73f97d57ce6de7d7d074c9bbbe214d9f
BLAKE2b-256 a6359e43247dc609460bda140c5d5073103c0be2b689ba7ddd82886809811c8b

See more details on using hashes here.

File details

Details for the file py_me-3.5.4-py3-none-any.whl.

File metadata

  • Download URL: py_me-3.5.4-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_me-3.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 74c43994603e414d28d6ad4755d61cd693422322435c01f47788c1826fc20028
MD5 6ff91101ece0a6012fe3e30527b90f55
BLAKE2b-256 8ed9ee88c9c4c21412e1c17e6eb83248167e672f48737136781722d2b7718d31

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