Skip to main content

For the love of python and qml

Project description

soloman

For the love of python and qml

Installation

pip install soloman

Usage

from soloman import Audio


aud = Audio()
aud.play('/path/to/music.mp3')

Usage for Qml

from soloman import register
...
engine = QQmlApplicationEngine()
...
register()
engine.load('example.qml')
import QtQuick 2.10
...
import soloman

Audio {
    id: aud
}

Button {
    text: "Play"
    onClicked: aud.play('path/to/music.mp3')
}

Wiki

The wiki can be located here

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

soloman-2.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

soloman-2.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page