Skip to main content

A Sopel IRC bot plugin for handling user added quotes

Project description

sopel-quotes

A Sopel IRC bot plugin for handling user added quotes with MySQL storage.

Note: This package was previously published as sopel-modules.quotes. Please update your dependencies to use sopel-quotes instead.

Installation

pip install sopel-quotes

System Requirements

# Debian/Ubuntu
apt-get install libmysqlclient-dev

Configuration

[quotes]
db_host = localhost
db_user = quotes
db_pass = your_password
db_name = quotes

Usage

Adding a Quote

.quote <key> = <value>
.quoteadd <key> = <value>

Retrieving a Quote

.quote           # Random quote
.quote <key>     # Specific quote

Searching Quotes

.match <pattern>  # Search for keys matching pattern

Deleting a Quote

.quotedel <key>
.quotedelete <key>

Requirements

  • Sopel 8.0+
  • Python 3.8+
  • MySQL/MariaDB database

License

MIT License

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_quotes-2.0.0.tar.gz (4.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_quotes-2.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file sopel_quotes-2.0.0.tar.gz.

File metadata

  • Download URL: sopel_quotes-2.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sopel_quotes-2.0.0.tar.gz
Algorithm Hash digest
SHA256 6dc435d98a15f1ea6ccfa65ec98abc47fc92b271e03ad4b5f2f6d29a1ae11e2f
MD5 4376f5e879b75c22aa065a9e772c2b26
BLAKE2b-256 ca68e9ae97f9dbc263b2734c8699b27907e3922c207537809984085a8f69c5df

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_quotes-2.0.0.tar.gz:

Publisher: python-publish.yml on RustyBower/sopel-quotes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sopel_quotes-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: sopel_quotes-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sopel_quotes-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88d4849473ed8a75fe8843826f6521eee6fa7b208e3ca81e9c2165f468e4fc7e
MD5 9d0bef3cf5dbdab03796b1c66b4c0d8b
BLAKE2b-256 807b7294ae5a72ec2aea1789a8d74f245822e10c530452acff58da1ae293f3b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_quotes-2.0.0-py3-none-any.whl:

Publisher: python-publish.yml on RustyBower/sopel-quotes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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