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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oscer-0.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file oscer-0.1.tar.gz.

File metadata

  • Download URL: oscer-0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for oscer-0.1.tar.gz
Algorithm Hash digest
SHA256 1d6abba2e448787de54f662722d97f022fc064c80fb0199f76db7adc21805070
MD5 10407f2b441b5f16146288b4c074364b
BLAKE2b-256 3b31eeca40099676876ffa1d1c68a2b75fe16258375fbc5d7adb7f08c3e65e4b

See more details on using hashes here.

File details

Details for the file oscer-0.1-py3-none-any.whl.

File metadata

  • Download URL: oscer-0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for oscer-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc2ab995fb401c3809cc536b6cc74791c83c2e0cfbdf64b9bfb042db5c03c239
MD5 2bbaed6c10c667cf970619008c25b71c
BLAKE2b-256 819a9ff96e094b14f69e9dabc5e52c0da4133cfaf0a78ff5798cfc5b2b242596

See more details on using hashes here.

Supported by

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