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 8080 on all IPs (including public!):

[http]
bind = "[::]:8080"

By default it listens on 127.0.0.1 and ::1 (localhost), port 8094.

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.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

sopel_http-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file sopel_http-0.1.1.tar.gz.

File metadata

  • Download URL: sopel_http-0.1.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.11

File hashes

Hashes for sopel_http-0.1.1.tar.gz
Algorithm Hash digest
SHA256 88ea0f340ade2a7a2e07e95c000950e6c3b4e626055781224ac61ead1469436a
MD5 25d25ff5f948f5fa2ef71b7d41673f07
BLAKE2b-256 364c0cac339082a4a83228c4c66aef1934a460df9791b32489b754a0984ada4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sopel_http-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.11

File hashes

Hashes for sopel_http-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 788f57f2700476b826dfeff89ee7d8c4c9229a7ed71ba8e6415f4dbdecbe0c12
MD5 0561777fde6d86deec8791a07df89281
BLAKE2b-256 f096fb2c950a616fac88861a4b4982fb1e2ad2000758975e768a24e58718011a

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