Skip to main content

Biblioteca Python com módulos para sons e interface gráfica

Project description

py_me

py_me é uma biblioteca Python que oferece módulos para manipulação de sons (music_me) e interfaces gráficas com Tkinter (tk_me).

versão

1.2.2 - lançado em 1/10/2025

mudanças

  • adição de exemplos

tk_me

exemplo:

from py_me import tk_me

aaa = tk_me.apenas_criar("oi", "100x100")
def sair():
    aaa.destroy()
tk_me.botão("sair", 0, 0, "Arial", 14, sair)
aaa.mainloop()

funções

  • tk_import(nome_janela, tamanho_janela, arquivo_import)
  • apenas_criar(nome_janela, tamanho_janela)
  • label(texto, X1, Y1, fonte, tamanho)
  • botão(texto, X1, Y1, fonte, tamanho, comando)
  • janela_de_Texto(tamanho_X, tamanho_y, local_X, local_y)
  • janela_error()
  • destruir_objetos(objeto)
  • tk_import_tk(nome_janela1, arquivo_tk, texto_label, texto_botão)
  • slider(num_min, num_max, comando, X, Y)

music_me

exemplo

from py_me import music_me

music_me.trilha_sonora_inloop(2, "minha\\batida.mp3")
aaa = music_me.elemento_musical(1, "meu\\som.wav", 12)
music_me.dell(aaa, 10)

funções

  • trilha_sonora_inloop(velocidade, arquivo)
  • elemento_musical(velocidade, arquivo, tempo_a_esperar=0)
  • elemento_musical_entonado(velocidade, entonacao, arquivo, tempo_a_esperar=0)
  • dell(elemento, tempo_após_o_inicio_da_reprodução_para_o_del)

Instalação

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-1.2.3.tar.gz (9.1 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-1.2.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py_me-1.2.3.tar.gz
Algorithm Hash digest
SHA256 e882ecfc801289ab947194fbd5ffe8e7e4c343ad54b12d45386bb81d9fe75196
MD5 a14d7655a8dc8365f602e6c5d5366d7c
BLAKE2b-256 7293fc928c338a225ce9ab4458b10b90a5d4b582f55e9d6244143cffa3661a84

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for py_me-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7e16335eff50373ce20d54666d4a8962aee0ab8fca47a2909d6de9aaa195ca27
MD5 0d858d084fac2502dadbda0a72a7f55f
BLAKE2b-256 538dbf0a03f2e886cd9973a2ddfb0044f38ca5160816304537ef6f39a2e1d183

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