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

Uploaded Source

Built Distribution

sopel_http-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file sopel-http-0.1.0.tar.gz.

File metadata

  • Download URL: sopel-http-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.17.9-1-MANJARO

File hashes

Hashes for sopel-http-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d57ac0beb40e41cf1a136fbc1e9ad128479be28535a1115616d3e772f6d3a044
MD5 dd81799ad7cc5d03f454d0876bf2431c
BLAKE2b-256 b734cbef35e93eb9eb114e7d0e5c2c2170b815913ddc9067c1dbd917bf7c5cbb

See more details on using hashes here.

File details

Details for the file sopel_http-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sopel_http-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.17.9-1-MANJARO

File hashes

Hashes for sopel_http-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 daefc20f84f28dc8a9af3137e5059149f6674812318726bc7de1c4fe29ac26e4
MD5 b5b1b379282b7d8693a8859046aba1a8
BLAKE2b-256 da841723d87144e1e594e9d01f4f0504984cf43f784d02a6446b5afe51209cd1

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