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

mudanças

  • correção de pequenos bugs

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_me-1.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f03f047452fbc1d024af15d82f63ebf735e95522cbf35dba31ca49434a6ac709
MD5 a18b2feba98087d947e6fc0277c13182
BLAKE2b-256 b9860b3db74c490eb76e7e40609370f84bf89d2054779aeb44ea631b3527fae3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_me-1.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9324620a9211d00689b8b1e95776db4ca9299c2df6d3def7181cc17d8d293e60
MD5 515abb57092b96782907fa1c923e4d28
BLAKE2b-256 46b7f64f3ea4a05995b50706c54f556d4eea915343805bc7045d53b9f830e646

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