Skip to main content

A simple library for easy work with key-value storages and document databases

Project description

Apiogram

Simple wrapper for aiogram - little framework for comfortable develop telegram bots

PyPi Package Version PyPi status Supported python versions Telegram Bot API MIT License

import logging
from magic_config import Config
from apiogram import start_polling


def main():
    """Main function"""
    # Logging module configuration
    logging.basicConfig(level=logging.DEBUG if Config.DEBUG else logging.INFO)
    # Dafult configuration get from Config object
    start_polling()


if __name__ == "__main__":
    """Run main function"""
    main()

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

apiogram-0.2.2.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

apiogram-0.2.2-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

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