Skip to main content

A python cmus remote library

Project description

======
pycmus
======
A python library for sending commands to the cmus music player:

https://cmus.github.io/

It uses the same socket interface as the cmus-remote command.

Complete documentation is here: http://pycmus.readthedocs.io/en/latest/

Usage
=====

Using pycmus is pretty straightforward you just need to init a PyCmus object
and then issue commands to it. For example::

from pycmus import remote

cmus = remote.PyCmus()
print(cmus.status())

will connect to a running cmus instance (with the socket file in the default
location) and print the player status.

For a complete API documentation see: :ref:`pycmus_api`.

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

pycmus-0.1.1.tar.gz (20.9 kB view details)

Uploaded Source

File details

Details for the file pycmus-0.1.1.tar.gz.

File metadata

  • Download URL: pycmus-0.1.1.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycmus-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5a4f49fd78ca641d77a3c426741c9558770075f34e89cc0b687d92878a89708c
MD5 30c41960d324b2894f9ccc5bf531b9ae
BLAKE2b-256 7cd6430ff02d78508d1ec187c77ab595808de24475d45da9c394dbdd275ad208

See more details on using hashes here.

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