Saravanan666/pypi-org huggingface dataset:
Package: audclas
AudClasPackage that uses audio classification model extracted from neonbjb/DL-Art-School - for filtering fine audio files.ClassesClassifier model returns one of 6 possible labels:labelclass name0fine1env_noise2music3two_voices4reverb-unknownInstallationpip install audclasexamples of usageFor single audio file:fromaudclas.tortoise_audio_classifierimportTortoiseAudioClassifierclassifier=TortoiseAudioClassifier()label=classifier('wavs/test.wav')print(label)For directory containing audio files (it searches recursively for all .wav / .mp3 files):fromtqdmimporttqdmfromaudclas.tortoise_audio_classifierimportTortoiseAudioClassifierclassifier=TortoiseAudioClassifier()batch_size=32do_classify,total=classifier.prepare_classify_dir_job('/content/wavs',batch_size)fine_audio_paths=[]forresultintqdm(do_classify(),total=total):foraudio_path,audio_labelinresult:ifaudio_label=='fine':fine_audio_paths.append(audio_path)print(f'directory contains{len(fine_audio_paths)}fine files (total files:{total*batch_size})')
Package: audearch
audearchaudearch is a simple audio fingerprinting systemDiscriptionIt's a system that recognizes and searches for music, using a technology called audio fingerprinting. Based on.Requirementspython 3.6+pip 20.1.1+MongoDB 1.21.2+InstallationInstall the dependencies from setup.py$ python setup.py installYou need to install MongoDB beforehandUsageIf you want to use my database, regist, search system, you need to configure audearch-config.toml[database]
    [database.mongodb]
    dbname = "audearch"
    music_collectionname = "hashtable"
    music_metadata_collectionname = "musicinfotable"
    host = "127.0.0.1"
    port = "27017"Authorpeijun
Package: auDeep
auDeepis a Python toolkit for unsupervised feature learning with deep neural networks (DNNs). Currently, the main focus of this project is feature extraction from audio data with deep recurrent autoencoders. However, the core feature learning algorithms are not limited to audio data. Furthermore, we plan on implementing additional DNN-based feature learning approaches.(c) 2019-2020 Shahin Amiriparian, Michael Freitag, Maurice Gerczuk, Sergey Pugachevskiy, Björn Schuller: Universität Augsburg(c) 2017-2018 Michael Freitag, Shahin Amiriparian, Maurice Gerczuk, Sergey Pugachevskiy, Nicholas Cummins, Björn Schuller: Universität PassauPublished under GPLv3, see the LICENSE.md file for details.Please direct any questions or requests to Shahin Amiriparian (shahin.amiriparian at tum.de) or Michael Freitag (freitagm at fim.uni-passau.de).CitingIf you use auDeep or any code from auDeep in your research work, you are kindly asked to acknowledge the use of auDeep in your publications.S. Amiriparian, M. Freitag, N. Cummins, and B. Schuller. Sequence to sequence autoencoders for unsupervised representation learning from audio, Proceedings of the Detection and Classification of Acoustic Scenes and Events 2017 Workshop, pp. 17-21, 2017M. Freitag, S. Amiriparian, S. Pugachevskiy, N. Cummins, and B. Schuller, “auDeep: Unsupervised Learning of Representations from Audio with Deep Recurrent Neural Networks,” Journal of Machine Learning Research, vol. 18, no. 173, pp. 1–5, 2018
Package: audeer
The Python packageaudeercollects small tools and functions
that deal with common tasks.
For example, it incorporates functions for handling file paths,
using multi-threading, or showing progress bars.The package is lightweight,
and has the smalltqdmpackage
as it’s only external dependency.Have a look at theinstallationandusageinstructions as a starting point.Code example,
that lists all WAV files in thedatafolder:importaudeerfiles=audeer.list_file_names("data",filetype="wav")
Package: audentes
AudentesA package for writing component tests with docker composeExample:docker-compose.ymlversion: '2.1'
services:
  web:
    image: nginx
    ports:
     - "80"test.pyimport audentes
import requests

system = audentes.load_system() #Defaults to docker-comose.yml
system.start()
system.wait_for_service("web")  #Waits for web service to respond with status code 200 on /

host = system.endpoint("web").host() # Now we can do some testing
response = requests.get("http://{}/".format(host))

assert response.status_code == 200 # Assert that we get the response we expect
Package: audformat
Specification and reference implementation ofaudformat.audformat stores media data,
such as audio or video,
together with corresponding annotations
in a pre-defined way.
This makes it easy to combine or replace databases
in machine learning projects.An audformat database is a folder
that contains media files
together with a header YAML file
and one or several files storing the annotations.
The database is represented as anaudformat.Databaseobject
and can be loaded withaudformat.Database.load()or written to disk withaudformat.Database.save().Have a look at theinstallationandusageinstructions
and theformat specificationsas a starting point.
Package: audiapi
Audi Connect APIThis library provides access to the Audi Connect API.
It allows easy access to all vehicle relevant data.The API does automatic session caching and tries to keep the
original service names as found in the audi connect app.Some services require special permissions or certain origin countries of the car
to be accessible.Note: Not all services are fully implemented due to missing permissions as mentioned above.InstallingpipinstallaudiapiExamplesLogin credentialscredentials.json{"user":"yourUser@mail.com","pass":"yourPassword"}List all vehicles under your accountThe auth tokens will be cached in the working directoryapi=API()logon_service=LogonService(api)ifnotlogon_service.restore_token():withopen('credentials.json')asdata_file:data=json.load(data_file)logon_service.login(data['user'],data['pass'])car_service=CarService(api)car_service.get_vehicles()Response{"csid":"-----","vin":"-----","registered":"2017-02-15T18:06:39.000+01:00"}Get details about the embedded SIMmgmt_service=VehicleManagementService(api,vehicle)mgmt_service.get_information()Response{"vehicleData":{"requestId":"--","vin":"--","country":"DE","isConnect":"true","brand":"Audi","vehicleDevices":{"vehicleDevice":[{"ecuGeneration":"MIB2high","deviceType":"INFOTAINMENT"},{"deviceId":"----","embeddedSim":{"identification":{"content":"----","type":"ICCID"},"imei":"----","mno":"vodafone"},"ecuGeneration":"cGW","deviceType":"TELEMATICS"}]},"isConnectSorglosReady":"true","systemId":"XID_APP_AUDI"}}DependenciesPython 3Requests library
Package: audible
AudibleAudible is a Python low-level interface to communicate with the non-publiclyAudibleAPI.It enables Python developers to create there own Audible services.
Asynchronous communication with the Audible API is supported.For a basic command line interface take a look at myaudible-clipackage. This package
supports:downloading audiobooks (aax/aaxc), cover, PDF and chapter filesexport library tocsvfilesget activation bytesadd own plugin commandsRequirementsPython >= 3.8Installationpip install audibleRead the DocThe documentation can be found atRead the DocsContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theAGPL-3.0,Audibleis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThanks a lot JetBrains for supporting me with a freelicenseThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.
Package: audiblerangepy
`audiblerangepy` is a package for checking some frequency is audible or not for some human-being and animalsRequirements------------* Python 3.x(you may work by Python2.x)Features--------* nothingHistory-------0.0.1 (2017-7-15)0.0.2 (2017-7-15)0.0.3 (2017-7-15)0.0.4 (2017-7-15)~~~~~~~~~~~~~~~~~~* first release
Package: audible-series
Audible Series CommandInstallationpip3 install audible
pip3 install audible-cli
pip3 install audible-seriesUsageThe command will work on an exported library file:audible library export
audible series -l $PWD/library.csv -c $PWD/config.yamlThe config file is optional but can be used to override book data in cases where
a book is already preordered, a series should be ignored, or if audible data is
bad.  It can also be used to manually set a case where a book was read somewhere
else but it is not in your library (though this requires manually looking up the
audible ASIN).DevelopmentThis project uses poetry which wraps a bunch of tools like virtualenv.  The
easiest way to run it for development is to clone this repository then run a
poetry shell.poetry shell
set -x AUDIBLE_PLUGIN_DIR $PWD/audible_series
audible library export
audible series -l $PWD/library.csv -c $PWD/config.yamlWhen developing the--only_seriesflag may be useful since it will filter the
library to a single series.
Package: audiconnectpy
audiconnectpyThe audiconnect component provides an integration with the Audi Connect cloud service. It adds presence detection, sensors such as range, mileage, and fuel level, and provides car actions such as locking/unlocking and setting the pre-heater.Note: Certain functions require special permissions from Audi, such as position update via GPS.Credit for initial API discovery go to the guys at the ioBroker VW-Connect forum, who were able to figure out how the API and the PIN hashing works. Also some implementation credit to davidgiga1993 of the original AudiAPI Python package, on which some of this code is loosely based.WarningUse this API with care. If you use it wrong (e.g. too many logins, repeated login attempts with wrong password, ...) your account may get blocked.InstallUse the PIP package managerpipinstallaudiconnectpyOr manually download and install the last version from githubgitclonehttps://github.com/cyr-ius/audiconnectpy.git
pythonsetup.pyinstallGet started# Import the audiconnectpy package.fromaudiconnectpyimportAudiConnectasyncdefmain():asyncwithClientSession()assession:api=AudiConnect(session,VW_USERNAME,VW_PASSWORD,COUNTRY,SPIN)awaitapi.async_update()print(api.vehicles)if__name__=="__main__":loop=asyncio.get_event_loop()loop.run_until_complete(main())Have a look at theexample.pyfor a more complete overview.Login & ConsentAudiconectpy is based on the new Carnet ID API that was introduced with the new series of ID cars. If you use another car or hybrid you probably need to agree to the terms and conditions of the My Audi interface. Easiest to do so is by installing the My Audi app on your smartphone and login there. If necessary you will be asked to agree to the terms and conditions.CreditsInspired by :arjenvrh/audi_connect_hatknaller/openhab-addonsdavidgiga1993/AudiAPI
Package: audiencemanager
Audience Manager API : Python wrapperThis project is a python wrapper that enable to use the Audience Manager API, with the adobe.io integration.The wrapper follows the same architecture than theaanalytics2 wrapper.Following this architecture, the GET methods are regrouped together and the POST methods are used with the "create" prefix.The complete documentation of the Audience Manager manager can be found here :Audience Manager API swaggerInstallationYou can install the module by using the pip method as follows:pipinstallaudiencemanagerin order to upgrade the module when a new release is published, you can use the following command:pipinstall--upgradeaudiencemanagerGetting StartedThere is a documentation to gets you started on the audience manager API.Please refer tothe documentationin case you want to get more example.As general guidelines:create a adobe.io connection.set the adobe.io connection with admin right in AAM tool.import the audiencemanager module.create and / or import the config file that you can generate from the library.instantiate an AAM instance after importing the config file.use the docstrings in order to know more about the methods.ReleasesIf you want to know more about the different releases of this library, you can refer to thereleases page.
Package: audify
audifyA simple command line tool / python helper to convert a body of text to an mp3
using Amazon Polly. To use audify, you must first have AWS credentials set up.InstallationIt is recommended to install audify usingpip:$ pip install audifyExamplesThe most common usage will be to pass in a simple text file and get the output:$ echo "Hello World" > input.txt
$ audify -i input.txt -o output.mp3You can also pass in text from stdin:$ echo "Hello World" | audify -i - -o output.mp3If you want to access audify from a Python script, you can import and call it
directly:fromaudifyimportaudifyaudify(input_filename='input.txt',output_filename='output.mp3',)You can also pass file-like objects:importiofromaudifyimportaudify_fileobjaudify_fileobj(fileobj=io.StringIO('Hello World'),output_filename='output.mp3',)Any voice supported by Amazon Polly can be used:$ echo "Hello World" | audify -i - -o output.mp3 -v Joeyfromaudifyimportaudifyaudify(input_filename='input.txt',output_filename='output.mp3',voice='Ivy',)
Package: audig
AudIng Reprodutor de ÁudioEstrutura do Projeto.
├── audig
│   ├── __init__.py
│   ├── main.py
│   ├── mixer.py
│   └── paths.py
├── poetry.lock
├── pyproject.toml
├── README.md
├── tests
│   └── __init__.py
└── utils
    └── demo.pngDependências❯ poetry show --treeaudioread 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 DevelopmentCódigo Exemplofrom 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
Package: audio
Theaudiopackage exists to simplify the installation of the following packages:audio.bitstream,audio.coders,audio.filters,audio.fourier,audio.frames,audio.index,audio.io,audio.lp,audio.quantizers,audio.shrink,audio.wave.The easy way to install it is to use the [pip] package manager:$ sudo pip install –upgrade audioUse the same command to update all packages to their latest stable release.Follow the instructions below ifpipis not available on your system.Most of the dependencies of these packages are automatically managed, but
some dependencies still need to be manually installed beforehand:The `pip` package installer.[Installation instructions](https://pip.pypa.io/en/latest/installing.html)
for all platforms.On Ubuntu:$ sudo apt-get install python-pip[pip]:https://pip.pypa.io/en/latest/index.html[NumPy] – Numerical Python.Unless you know what you are doing, use existing binary packages.On Ubuntu:$ sudo apt-get install python-numpy[Numpy]:http://www.numpy.org/[PyAudio] – Python bindings for PortAudio.Refer to [PyAudio] for general installation instructions.On Ubuntu:$ sudo apt-get install python-pyaudio[PyAudio]:http://people.csail.mit.edu/hubert/pyaudio/[NLTK] and [TIMIT] – Natural Language Toolkit & Acoustic-Phonetic Speech CorpusDetailled NLTK installation instructions are available [here][NLTK-install].
TIMIT is an extra corpus that be installed separately, see [here][NLTK-install-data].On Ubuntu, install NLTK with:$ sudo apt-get install python-nltkand then the TIMIT corpus with:$ python -c “import nltk; nltk.download(‘timit’)”[NLTK]:http://www.nltk.org/[TIMIT]:https://catalog.ldc.upenn.edu/LDC93S1[NLTK-install]:http://www.nltk.org/install.html[NLTK-install-data]:http://www.nltk.org/data.html
Package: audio2album
cut mp3 into albums with metadata tagging and youtube-dlDescriptionaudio2albumis a CLI to cut mp3s and tags them, it also accepts an youtube URL as the mp3 path. audio2album also features a .txt parser which reads the inputs rather than manually entering then in the command line.Python 3.9InstallationFrom PyPIpip3 install audio2albumOR w/ pipx (recommended)pipx install audio2albumFrom SourceClone the project ordownload and extract the zipcdto the project directory containing thesetup.pypython setup.py installorpipx install .DetailsUsage:
    audio2album [options | URL] [TXTPATH] [--keepfile]

Arguments:
    URL         path/to/mp3 or youtube.com/url
    TXTPATH     path/to/txtfile -> parse or outputOptionsOptions:
    -h --help                       Show this screen
    -v --version                    Show version
    -d --debug                      Verbose logging
    --mktxt                         Makes txt file for easier use
    --keepfile                      Keeps downloaded uncut fileTXTFILEWith –mktxt you can output a txt file (TXTPATH) that can be used to feed the information to the app.The basic structure required in the txt file is as follows:Album:
Artist:
Release:
VVV
1.TrackName--Start--End
2.Justatrack--0--2:40"The first three parametersAlbum,ArtistandRelease(Release year) can be placed in any order as long as the keys are the same.The“VVV”indicates that below is the tracklist with the times.Track Template:(TrackNumber).(TrackName)–(StartTime)–(EndTime)Time Template:[H]:[M]:S.[ms] ([] = optional)Time ShortcutsInstead of times following the givenTime Templateaudio2album also accepts:“0” - as second 0“END” - end of the mp3 file (case-insensitive)Example:1.WholeMP3--0--END
Package: audio2book
This program is for converting an audiobooks pages read into print pages
read.UsageTo use this program, you must have Python 3.6 or higher installed. You
may then install it through pip.pip install audio2bookRun the program under Python as a module. Arguments to be supplied are:-c, –completed: How much of the audiobook have you completed.-o, –overall: How long is the audiobook overall.-p, –pages: How many pages is the print book overall.audio2book -c 0:53 -o 10:58 -p 310You can also use the long arguments.audio2book --completed 0:53 --overall 10:58 --pages 310And you can get help.audio2book -hDevelopmentA contribution guide is coming.Running the testsPull thesource code.Then make sure you have first installed the requirements:pip install -r requirements.txtThen run the tests../test.shThe tests include unit tests and mutation tests. All new functionality
must have 100% test coverage and provide any useful logging. Any
reasonable exceptions to this will be considered.
Package: audio2numpy
audio2numpyDescriptionaudio2numpy load an audio file and directly ouputs the audio data as a numpy array and its sampling rate. Supports .wav, .aiff via python's standard library, and .mp3 via ffmpeg.InstallationUsing pip:pip install audio2numpyFFmpeg for decoding mp3audio2numpy requires ffmpeg to decode mp3 files. You would need to install ffmpeg in order to have mp3 support.macOShomebrew install ffmpegLinuxsudo apt-get install ffmpegCheck herefor other installation methods for different Linux distributions.WindowsDownload the latest distribution fromhttps://ffmpeg.zeranoe.com/builds/Unzip the folder, preferably toC:\Append the FFmpeg binary folder (e.g.C:\ffmpeg\bin) to the PATH system variable (How do I set or change the PATH system variable?)Usagefrom audio2numpy import open_audio
fp = "./examples/word.mp3"  # change to the correct path to your file accordingly
signal, sampling_rate = open_audio(fp)Version History0.1.2 (20.08.2019)Add instructions to install ffmpeg if load mp3 failed with ffmpeg backend not available.0.1.1 (14.08.2019)Initial release.
Package: audioace
AudioAceA simple module for downloading your favourite songsDocumentationcoming soon....InstallationInstall audioace with pippipinstallaudioaceor upgradepipinstallaudioace--upgradeQuick StartTo get started, install audioace and install ffmpeg from the linkhereor watch a tutorial on how to download ffmpeg fromhereTo Download Songs from a text fileFirst create asongs.txtfile in your working directory and then type the songs you wanna add eg: Butter by BTS, etc..importaudioacedownload_file="songs.txt"test=audioace.Download(file=download_file)test.download()To Download Songs from a Spotify PlaylistIf you wanna download your songs from spotify you first have to create an app onhttps://developers.spotify.com/then access your client id and client secret and redirect uriclient_id=#your client idclient_secret=#your client secretredirect_uri=#redirect uriplaylist_link=#the link of playlist you wanna download fromtest=audioace.Download()test.get_songs_from_playlist(client_id=client_id,client_secret=client_secret,playlist_link=playlist_link)test.download()To Download Songs from Your Liked Songsclient_id=#your client idclient_secret=#your client secretredirect_uri=#redirect uritest=audioace.Download()test.get_songs_from_liked_songs(client_id=client_id,client_secret=client_secret,redirect_uri=redirect_uri)"""This will open your default web browser asking for your permission,grant it and then it will redirect you to your redirect page,copy the link and paste it in your terminal"""test.download()Reporting IssuesIf you have any suggestions or found any errors or bugs, please feel free to mention themhereor you can send me a mail onvikrantht32@gmail.com
Package: audioaddictapilib
Library to interact with the Audioaddict APIDocumentation:https://audioaddictapilib.readthedocs.org/en/latestDevelopment WorkflowThe workflow supports the following stepslinttestbuilddocumentuploadgraphThese actions are supported out of the box by the corresponding scripts under _CI/scripts directory with sane defaults based on best practices.
Sourcing setup_aliases.ps1 for windows powershell or setup_aliases.sh in bash on Mac or Linux will provide with handy aliases for the shell of all those commands prepended with an underscore.The bootstrap script creates a .venv directory inside the project directory hosting the virtual environment. It uses pipenv for that.
It is called by all other scripts before they do anything. So one could simple start by calling _lint and that would set up everything before it tried to actually lint the projectOnce the code is ready to be delivered the _tag script should be called accepting one of three arguments, patch, minor, major following the semantic versioning scheme.
So for the initial delivery one would call$ _tag –minorwhich would bump the version of the project to 0.1.0 tag it in git and do a push and also ask for the change and automagically update HISTORY.rst with the version and the change provided.So the full workflow after git is initialized is:repeat as necessary (of course it could be test - code - lint :) )codelinttestcommit and pushdevelop more through the code-lint-test cycletag (with the appropriate argument)buildupload (if you want to host your package in pypi)document (of course this could be run at any point)Important InformationThis template is based on pipenv. In order to be compatible with requirements.txt so the actual created package can be used by any part of the existing python ecosystem some hacks were needed.
So when building a package out of thisdo notsimple call$ python setup.py sdist bdist_eggas this will produce an unusable artifact with files missing.Instead use the provided build and upload scripts that create all the necessary files in the artifact.Project FeaturesTODOHistory0.0.1 (22-12-2023)First code creation0.1.0 (28-12-2023)Initial release0.1.1 (31-12-2023)UserAgent now gets set before the first request.0.1.2 (31-12-2023)Linting fixes