Package: deepaffects
deepaffects-pythonPython client library for DeepAffects APIsRequirements.Python 2.7 and 3.3+pymediainfo >= 2.1.9, this is a wrapper library aroundmediainfo, which we use to
extract the sampling rate and codec information from audio files.Installationpip installThe python package can be installed directly from pip using:pipinstalldeepaffectspip install from githubThe python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/SEERNET/deepaffects-python.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/SEERNET/deepaffects-python.git)Then import the package:importdeepaffectsSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importdeepaffectsDocumentation for AuthorizationDeepAffects API authenticates all the api requests via API Key.For API key registration and setup, checkout ourquickstart guideUserSecurityType: API keyAPI key parameter name: apikeyLocation: URL query stringGetting StartedPlease follow theinstallationinstruction and execute the following python code:from__future__importprint_functionimporttimeimportdeepaffectsfromdeepaffects.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: UserSecuritydeepaffects.configuration.api_key['apikey']='YOUR_API_KEY'# create an instance of the API classapi_instance=deepaffects.DenoiseApi()body=deepaffects.Audio.from_file('/path/to/file')# Audio | Audio object that needs to be denoised.webhook='webhook_example'# str | The webhook url where result from async resource is postedrequest_id='request_id_example'# str | Unique identifier for the request (optional)try:# Denoise an audio fileapi_response=api_instance.async_denoise_audio(body,webhook,request_id=request_id)pprint(api_response)exceptApiExceptionase:print("Exception when calling DenoiseApi->async_denoise_audio:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://localhostClassMethodHTTP requestDescriptionDenoiseApiasync_denoise_audioPOST/api/v1/async/denoiseDenoise an audio fileDenoiseApisync_denoise_audioPOST/api/v1/sync/denoiseDenoise an audio fileDiarizeApiV2async_diarize_audioPOST/api/v2/async/diarizeDiarize an audio fileDiarizeApiasync_diarize_audioPOST/api/v1/async/diarizeDiarize an audio file (Legacy)DiarizeApisync_diarize_audioPOST/api/v1/sync/diarizeDiarize an audio file (Legacy)EmotionApiasync_recognise_emotionPOST/api/v1/async/recognise_emotionFind emotion in an audio fileEmotionApisync_recognise_emotionPOST/api/v1/sync/recognise_emotionFind emotion in an audio fileFeaturizeApiasync_featurize_audioPOST/api/v1/async/featurizefeaturize an audio fileFeaturizeApisync_featurize_audioPOST/api/v1/sync/featurizefeaturize an audio fileDocumentation For ModelsAsyncResponseAudioDiarizeAudioEmotionScoreUserSecurityType: API keyAPI key parameter name: apikeyLocation: URL query stringAboutDeepAffectsis an emotional intelligence analysis engine that measures the effect emotional intelligence
has on team dynamics, and provides emotional analytics that serve as the basis of insights to improve
project management, performance and satisfaction across organizations, projects, and teams. To watch DeepAffects in action: check out DeepAffectsAtlassian JIRA addonand ourGithub addon.