Render linked audio files in clld apps.
Project description
clld-audio-plugin
A plugin for the clld package.
Usage
clld-audio-plugin provides
- A model class
clld_audio_plugin.models.Counterpartaugmented with anaudiocolumn to store the URL to an audio file. - A column for a
DataTableclld_audio_plugin.datatables.AudioColto display objects with anaudioattribute as audio player. - A map class
clld_audio_plugin.maps.ParamMapspecifying a parameter map integrating clld audioplayer functionality. - Static resources for the configuration/layout of the UI elements contributed by the plugin.
To use map and static resources, include the plugin in your app's main function:
config.include('clld_audio_plugin')
To use model and column, just import in your app's datatables.py or models.py as needed.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clld-audio-plugin-1.2.0.tar.gz.
File metadata
- Download URL: clld-audio-plugin-1.2.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76d70306cd751f01057f7a439a2bdaff73c5b27221a3228abda25978a6845fa7
|
|
| MD5 |
565d1115dcbb45526bac8b455a108470
|
|
| BLAKE2b-256 |
9538186fe2a868ae5280bd5eeb97f7ab254decc4f6ef326dca081a29ca642e95
|
File details
Details for the file clld_audio_plugin-1.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: clld_audio_plugin-1.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a539d1f3103e02aeaf5c8c805ddbcf06be31b11996dadd6a352399e8642991a
|
|
| MD5 |
9250e26ef33009afe7d4986bc89a425d
|
|
| BLAKE2b-256 |
3228d2079163d0fb81561c9330f71ac462c0a062f08e0cef8534dcaa5378ec63
|