Skip to main content

An HTTP server for the Sopel IRC bot framework

Project description

sopel-http

PyPi Version

Interact with your Sopel bot over HTTP

Setup

Only developers should need to install this package directly, but they can do so with a simple pip install sopel-http.

Configuration

You can change which IP addresses and ports sopel-http binds to in your Sopel configuration. For example, to bind to port 80 on all IPs (including public!):

[http]
bind = "[::]:80"

Usage

See the example plugin, sopel-http-example.

Once you've created and registered the flask Blueprint as shown in the example, you can use it more or less like any other flask application.

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

sopel-http-0.1.0.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

sopel_http-0.1.0-py3-none-any.whl (7.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