Skip to main content

Library for building chatbots on urbit

Project description

Quinnat

Quinnat is a library for building urbit chatbots, built with Urlock.

Here's how to use it:

#!/usr/bin/python

import quinnat

q = quinnat.Quinnat(
    "http://localhost:8080", # or wherever your ship is running
    "sampel-palnet",
    "your-code-here",
)

q.connect()

q.post_message("palnet-sampel", "my-chat-1234", {"text": "Hello world!"})

def say_hello(message, replier):
    if "hello bot" in message.full_text():
        replier({"text": "Hello " + message.author})

q.listen(say_hello)

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

quinnat-1.0.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

quinnat-1.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file quinnat-1.0.0.tar.gz.

File metadata

  • Download URL: quinnat-1.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for quinnat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b3731ca8765869003a4ee719122f4a43d1df98beaacf13258d42a801a7ac726d
MD5 f2ae5233ede0e08857cc120077be5ddb
BLAKE2b-256 8279eb76479b145384e2e430f3c746c4f5744bcfa57b7cf0107238e5e047bf4a

See more details on using hashes here.

File details

Details for the file quinnat-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: quinnat-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for quinnat-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa4babe1e658633cbe1da9b391aa8ab1d396b8457f1681b6ffb3a81265b40e47
MD5 6867eb0a7367f7038debfdc07f5b867a
BLAKE2b-256 a6e5de208ed5d0fe038654646160e35e67a64410ff96b2811c28a93375211504

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