AudIng Reprodutor de Áudio
Estrutura do Projeto
.
├── audig
│ ├── __init__.py
│ ├── main.py
│ ├── mixer.py
│ └── paths.py
├── poetry.lock
├── pyproject.toml
├── README.md
├── tests
│ └── __init__.py
└── utils
└── demo.png
Dependências
❯ poetry show --tree
audioread 3.0.0 multi-library, cross-platform audio decoding
autopep8 2.0.2 A tool that automatically formats Python code to conform to the PEP 8 style guide
├── pycodestyle >=2.10.0
└── tomli *
flake8 6.0.0 the modular source code checker: pep8 pyflakes and co
├── mccabe >=0.7.0,<0.8.0
├── pycodestyle >=2.10.0,<2.11.0
└── pyflakes >=3.0.0,<3.1.0
mypy 1.1.1 Optional static typing for Python
├── mypy-extensions >=1.0.0
├── tomli >=1.1.0
└── typing-extensions >=3.10
pygame 2.2.0 Python Game Development
Código Exemplo
from audig import Caminhos
from audig import TocarAudios
from typing import List
def run(path: str, sub_dirs: List[str]) -> None:
"""
Método executa o reprodutor de áudio.
Args:
path: Caminho absoluto do diretório raiz.
sub_dirs: subdiretórios do diretório raiz.
Returns:
Não retorna nada.
"""
# Instanciando um objeto Caminhos
caminhos = Caminhos(path=path, subdirs=sub_dirs)
# obtendo os caminhos absolutos dos arquivos de áudios.
paths_abs = caminhos.get_paths()
toca_audios = TocarAudios(paths_abs=paths_abs)
toca_audios.ouvir_lista()
if __name__ == "__main__":
# Diretório raiz do curso.
path = "home/usuario1/seu_diretorio_raiz"
# Subdiretórios a serem listado os áudios
sub_dirs = ["nome_subpasta1", "nome_subpasta2",
"nome_subpasta3", "nome_subpastax"]
run(path=path, sub_dirs=sub_dirs)
Demostração Código
Metadata
Release files for audig 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| audig-0.2.0.tar.gz | 3.5 kB | Without provenance | Details for audig-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| audig-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for audig-0.2.0-py3-none-any.whl |
Total release size: 7.8 kB
Release files / audig-0.2.0.tar.gz
| Download URL | audig-0.2.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8aa624088adb43f4c6eb1ed112f9e027e6db42d06b047096216372c83dc7f4b3
|
|
BLAKE2b-256 checksum How to use checksums |
e01a443f4de851a4f91e1868a3c687f262dc7b10619c4bcb8d700c222ce9471d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.8.10 Linux/5.15.0-67-generic
|
Release files / audig-0.2.0-py3-none-any.whl
| Download URL | audig-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c7c9ac7d09f0ac9d53c9bb5d7d9d8b245ab815ac013772bc05b75e5c1176064
|
|
BLAKE2b-256 checksum How to use checksums |
ea3d183b49721c4ce775d8e63d0d1f311ca4bcc8502782e4dee7ed91930a4bb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.8.10 Linux/5.15.0-67-generic
|
Security for audig 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.