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

nome - musica sem volume, não da(v2) - debug(1)

mudanças

  • adição de nova função em music_me (volume_geral)
  • adição de nova função em music_me (volume_elemento)

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)
  • volume_elemento(som, volume, tempo)
  • volume_geral(volume, tempo)

dependentes

  • pygame
  • pydub
    • FFmpeg

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py_me-1.4.2.tar.gz
Algorithm Hash digest
SHA256 164f0a425b19222b2226b80ecdfbe571e2521eb9041f46f4876e32574c62a0fc
MD5 2a600df1f72181668f1f77e9119594dd
BLAKE2b-256 5e30b47118565417fe2ea9dbfcba783a73d8717cbe6e545cc280245517a6ae54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_me-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e3cb34f94eab84f8db3ba811ea33f674d4640a0b0285a58fecbd61b9727fe961
MD5 381094186e0a9a02616c7e053ab29f62
BLAKE2b-256 b98931fe7e82491655cd594f258fee8fc9d3e1e237b274fae12e8e87aff86259

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