Skip to main content

A little python remote pipe server and client.

Project description

rpipe

A little python remote pipe server and client.

Install

pip install rpipe

Usage

Before anything else, you should set your pipe server URL and default channel (the default channel can be any string)

RPIPE_PASSWORD="my password"  # Only need to set when saving config
rpipe --url <url> -c <channel> --password-env --save_config

If no password is desired, use --no-password; though data will be uploaded without encryption if this is done.

Sending

echo "abc" | rpipe

Receiving

rpipe        # Read the data
rpipe -c foo # Read data from the channel "foo"
rpipe --peek # Read the data but do not remove it from the server

Additional options can be found via rpipe --help. Note that peeking will only show the data presently available, it will not construct a persistent pipe like reading will.

Web Version

While discouraged and lacking support for encryption, users can forgo usage of the rpipe client and connect directly to an rpipe with simple GET/POST requests. Visit the server's URL /help for more details.

Custom URL or channel

Both sending and receiving support the command line options -c/--channel and -u/--url to use a different channel or URL than is saved.

Server

Start the server via:

rpipe_server <port> [--host <host>] [--debug]

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

rpipe-6.2.2.tar.gz (30.0 kB view hashes)

Uploaded Source

Built Distribution

rpipe-6.2.2-py3-none-any.whl (36.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