Skip to main content

Pydantic models for Telegram Bot API

Project description

Pydantic models for Telegram Bot API

Install:

pip install pyteledantic

How to use

FastAPI

from fastapi import FastAPI
from pyteledantic.models import Update


app = FastAPI()


@app.post("/")
async def root(update: Update):
    return update

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

pyteledantic-0.0.13.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

pyteledantic-0.0.13-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file pyteledantic-0.0.13.tar.gz.

File metadata

  • Download URL: pyteledantic-0.0.13.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyteledantic-0.0.13.tar.gz
Algorithm Hash digest
SHA256 60a2094e9ee8072a34883c70d727b0eca3ead7829cc83b7adf277df786bdce0c
MD5 07ccd3757c25c34cc87770d013768945
BLAKE2b-256 95776c8202891724195c460f56d5af84ea0947e48ba5402921084dbd4f91c4b5

See more details on using hashes here.

Provenance

File details

Details for the file pyteledantic-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: pyteledantic-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyteledantic-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 fef523d68a9e886b76b6851bf0f96a43218b8aafa1cca037597e784733011c08
MD5 bc84e0dd8b6a71e38999b81d56fea6ca
BLAKE2b-256 188a6789d5baf7a9e01d6f357358793a3bfd1516cb135db3b620eaef91d2f7f7

See more details on using hashes here.

Provenance

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