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

Uploaded Source

Built Distribution

quinnat-1.0.5-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quinnat-1.0.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.26.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6

File hashes

Hashes for quinnat-1.0.5.tar.gz
Algorithm Hash digest
SHA256 219fcaa760a193f19d1d54e2e024d9272760296988ce1864456d871ca0bbca78
MD5 14368497ddd8dce152f9c54b74d73d63
BLAKE2b-256 f8dbb4bbfaa0782efc8acdc7989a07ec89e6350c6646492ad5276cb271ba5e28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quinnat-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.26.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6

File hashes

Hashes for quinnat-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1351b221b0ca03cc5fbe41627e24d8c6808ca752a14fdfc048f243f4788ab507
MD5 cf2f05be8202fed7b8c1aca9f905149d
BLAKE2b-256 32836534da420e04c4c5bc95a3e5c2a1b706aa15377dfefca5aa245caa5265ff

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