Skip to main content

Official Python library for the Clovord platform.

Project description

clovord

A Python SDK for interacting with the Clovord Gateway and REST API.

Installation

pip install clovord

For local development:

pip install -e .[dev]

Usage

from clovord import Bot

bot = Bot()


@bot.event
async def on_ready() -> None:
    print("Bot is ready")


@bot.event
async def on_message(message) -> None:
    print(message.content)


bot.run("TOKEN")

Overview

  • Bot is the main entrypoint.
  • The Gateway connection is handled internally with heartbeat and reconnect support.
  • The REST client is asynchronous and available through bot.http.

Release

  • CI runs on pushes and pull requests via .github/workflows/ci.yml.
  • Publishing runs on version tags (v*) via .github/workflows/release.yml.
  • Create a release tag, for example v0.1.0, and push it to trigger publishing. #\x00 \x00C\x00l\x00o\x00v\x00o\x00r\x00d\x00-\x00-\x00-\x00P\x00y\x00L\x00i\x00b\x00r\x00a\x00r\x00y\x00 \x00 \x00

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

clovord-0.1.4.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

clovord-0.1.4-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file clovord-0.1.4.tar.gz.

File metadata

  • Download URL: clovord-0.1.4.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for clovord-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ac6f087cbad0b061adbee6cd55bf99d88149769759656a4db9c982b165e064ee
MD5 e142d393649d5f082af06a0634d880a0
BLAKE2b-256 532d3182c348969d242b9a6ab2726a948c7a9cf7ed5b1fe85659ef66f90cfead

See more details on using hashes here.

Provenance

The following attestation bundles were made for clovord-0.1.4.tar.gz:

Publisher: release.yml on Clovord/Clovord---PyLibrary

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

File details

Details for the file clovord-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: clovord-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for clovord-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d346be7b3c2c2ed4fe6800f7361865c45191b56daaf70f89fdbf7e63b78dd5bf
MD5 1c25ae17a3b41e1d5182bf47a7b0f418
BLAKE2b-256 15f7c5841645f5b9fc183718779096bc13c22284b43c7f852a40920e3389811f

See more details on using hashes here.

Provenance

The following attestation bundles were made for clovord-0.1.4-py3-none-any.whl:

Publisher: release.yml on Clovord/Clovord---PyLibrary

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