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.3.1 - lançado em 4/10/2025

mudanças

  • adição de nova função em music_me, (stop())
  • correção de bugs nos 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)
  • stop(tempo)

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_me-1.3.1.tar.gz
  • Upload date:
  • Size: 9.4 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.3.1.tar.gz
Algorithm Hash digest
SHA256 561996232f3babeb3d4f27a2836a68256d3db71d34a4c3ba48e2264b48c7a1a2
MD5 adab7da8abb97044f216b9ac24ea8178
BLAKE2b-256 2c30e59ca1710ce7764e8b97c8f5f53547481c430d49b6a4f7a3aa7f7ef3f4e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_me-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f55d4603dde3d5ef45557fa1b19f9e3b97736064c5a2570354c337e9a998e36f
MD5 bb2bad927ff214f8b2ef6aa2512b6e6f
BLAKE2b-256 4d40798baf3c3f102a69695bbd2e46e96a906914791c92484c7988e12643822f

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