Skip to main content
### Install Package
```
pip3 install gappy
```
compatible python version: 3.4+

### How to use

#### Run with flask

Example:

```
import gappy
from flask import Flask
from flask import request

TOKEN = '<your token>'

bot = gappy.Bot(TOKEN)
app = Flask(__name__)


@app.route('/', methods=['POST'])
def parse_request():
msg = request.form
content_type = msg['type']
chat_id = msg['chat_id']
data = msg['data']
bot.send_text(chat_id, data)
return 'OK'


if __name__ == '__main__':
app.run()
```

Metadata

Release files for gappy 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gappy 0.4.3
File Size Uploaded
gappy-0.4.3.tar.gz 6.4 kB Details

Release files / gappy-0.4.3.tar.gz

Download URL gappy-0.4.3.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8e97fa5d4055b9a7a0398c7d97a55ed0cc6c6913b3b778f6a2f626d77c7e0884
BLAKE2b-256 checksum
How to use checksums
9def3974fb4333c4f88ddc7a085190dfbd7f63560fa208354128cb6b5e334248
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page