👋 Hi there, this is
QueryStar
Python-First Solution to Develop Bots
QueryStar lets you easily set up triggers and actions to automate workflows.
Something like
Saving Slack new messages that must contain 'hello' to a Google sheet
can be easily done:
# bot.py
import querystar as qs
data = qs.triggers.slack.new_message(channel_id='MyChannelID',
trigger_string='hello')
qs.actions.slack.new_message(
spreadsheet_id='MySheetID',
worksheet_id='Sheet1',
data=[[data['user'], data['text']]])
QueryStar can help you:
- automate workflows
- develop Slack bots
- integrate SaaS data to your own apps
- run background jobs
- schedule tasks
- ...
Get Started
Installation
pip install querystar
Setup Slack (or other apps) Connection
This step takes 3-5 mins:
- Crete a free account at querystar.io
- Add any SaaS tools that you want to automate in your QueryStar workspace. (Head over to quickstart in our docs for instructions.)
- Get a QueryStar token. (Instruction)
- Add the token as an environment variable on your dev machine.
Build and Run a Bot
-
Create a new file
app.pyand add this code:# app.py import querystar as qs message = qs.triggers.slack.new_message(channel_id='MyChannelID') print(message)
-
Add QueryStar app to your Slack channel, and copy the channel ID (Instruction)
-
Replace
MyChannelIDwith the channel id. -
Run the bot:
$ querystar run app.py
Get Inspired
Because you use Python, there's much more you can build.
- A LLM-powered (Large Language Model) Slack bot: tutorial.
Metadata
Release files for querystar 0.3.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| querystar-0.3.14.tar.gz | 16.3 kB | Without provenance | Details for querystar-0.3.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| querystar-0.3.14-py3-none-any.whl | Python 3 | none | any | Details for querystar-0.3.14-py3-none-any.whl |
Total release size: 37.3 kB
Release files / querystar-0.3.14.tar.gz
| Download URL | querystar-0.3.14.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44f1ede47ebf65fdb45ba5aa650a18f239a7eb65dd6bb84565fb9086f7f57c79
|
|
BLAKE2b-256 checksum How to use checksums |
3f90308e3f3660ea51a0a176887d9bf6fdb8e8925ed7661c35575f052a527df8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Darwin/22.6.0
|
Release files / querystar-0.3.14-py3-none-any.whl
| Download URL | querystar-0.3.14-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7dc4ad197af554621b0b227c16ad6a232517dce3c81a2a69b6a564e662a5d0e
|
|
BLAKE2b-256 checksum How to use checksums |
b3d4b1326827ac3ade480668d0d92aebbebe487d049f1c94c6b6268ef5446d8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Darwin/22.6.0
|
Security for querystar 0.3.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.