Skip to main content

A simple message transport application and library.

Project description

PyPI version Build Status Coverage Status Code Health

Simple network messaging client application that can send messages stored in a file to a remote host.

Installation

There are currently two different ways of installing the application.

Through pip:

pip install messaging-client

Manually:

git clone https://github.com/mjalas/messaging-client.git
cd message-client
python setup.py install

Usage

The messaging-client sends messages by default to localhost:8700

To send a message written as a command line argument to:

messaging-client -m <message string>

To send a message written into a file:

messaging-client <message file>

Either remote host address or port number or both can be specified with command line options:

messaging-client -h <address> -p <port> <filename>

or

messaging-client -h <address> -p <port> -m <message string>

Setup virtual environment

To setup a virtual environment after cloning the repository, it is easiest to use one of the two creation scripts included in the project. The first option is to create the virtual environment with virtualenv:

env_creators/venv_create.sh

The second option is to create the environment with virtualenvwrapper:

env_creators/venvwrapper_create.sh

However, this requires that virtualenvwrappers has been setup (see http://docs.python-guide.org/en/latest/dev/virtualenvs/ if not familiar with virtualenvwrapper)

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

messaging-client-0.0.5.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file messaging-client-0.0.5.tar.gz.

File metadata

File hashes

Hashes for messaging-client-0.0.5.tar.gz
Algorithm Hash digest
SHA256 cd3ca2e2945dfd6f66c537cbcb878f74aada50ce9f9ae717474f0b50cea8a5c8
MD5 79a5c676ea3ca942c89e29c8f0376e47
BLAKE2b-256 8689da607c8cabcfe8f0309ada98b46390949285ef4b99bb32e7545ebc4853ab

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