Skip to main content

A very simple command line OpenSoundControl sender

Project description

oscer

A very simple command line OSC message sender.

Installation

You will need Python>=3.7 and pythonosc.

The simplest way to install is using pip:

$ pip install oscer

Example

$ oscer
usage: oscer [-h] [--ip IP] [--port PORT] OSC_ADDR [OSC_VALUE ...]

positional arguments:
  OSC_ADDR     OSC address to send
  OSC_VALUE    OSC values

optional arguments:
  -h, --help   show this help message and exit
  --ip IP      The ip of the OSC server
  --port PORT  The port the OSC server is listening on

So:

$ oscer --ip localhost --port 57120 /hello argument1 "another argument" 3

It will try to guess the data type correctly, otherwise send as a string argument.

You can use the environment variables OSCER_HOST and OSCER_PORT also, so you don't need to specify the hostname and port every time.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oscer-0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

oscer-0.1-py3-none-any.whl (14.9 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