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)
Release files for quinnat 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quinnat-1.0.5.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quinnat-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / quinnat-1.0.5.tar.gz
| Download URL | quinnat-1.0.5.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
219fcaa760a193f19d1d54e2e024d9272760296988ce1864456d871ca0bbca78
|
|
BLAKE2b-256 checksum How to use checksums |
f8dbb4bbfaa0782efc8acdc7989a07ec89e6350c6646492ad5276cb271ba5e28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / quinnat-1.0.5-py3-none-any.whl
| Download URL | quinnat-1.0.5-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1351b221b0ca03cc5fbe41627e24d8c6808ca752a14fdfc048f243f4788ab507
|
|
BLAKE2b-256 checksum How to use checksums |
32836534da420e04c4c5bc95a3e5c2a1b706aa15377dfefca5aa245caa5265ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|