Coder Social home page Coder Social logo

matteob99 / botogram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from python-botogram/botogram

0.0 0.0 0.0 2.05 MB

Just focus on your bots.

Home Page: https://botogram.dev

License: MIT License

Python 97.44% CSS 0.91% HTML 1.34% Makefile 0.08% Dockerfile 0.23%

botogram's Introduction

botogram Build Status News channel

Just focus on your bots.

botogram is a Python framework, which allows you to focus just on creating your Telegram bots, without worrying about the underlying Bots API.

While most of the libraries for Telegram out there just wrap the Bots API, botogram focuses heavily on the development experience, aiming to provide you the best API possible. Most of the Telegram implementation details are managed by botogram, so you can just focus on your bot.

import botogram
bot = botogram.create("YOUR-API-KEY")

@bot.command("hello")
def hello_command(chat, message, args):
    """Say hello to the world!"""
    chat.send("Hello world")

if __name__ == "__main__":
    bot.run()

You can find the documentation at botogram.dev. Also, you can get all the news about botogram in its Telegram channel.

Please note botogram currently doesn't support some of the upstream API features. All of them will be implemented in botogram 1.0

Supported Python versions: 3.4+ License: MIT

Installation

You can install easily botogram with pip (be sure to have Python 3.4 or higher installed):

$ python3 -m pip install botogram2

If you want to install from the source code, you can clone the repository and install it with setuptools. Be sure to have Python 3.4 (or a newer version), pip, virtualenv, setuptools and invoke installed:

$ git clone https://github.com/python-botogram/botogram.git
$ cd botogram
$ invoke install

On some Linux systems you might need to wrap the invoke install command with sudo, if you don't have root privileges.

botogram's People

Contributors

pietroalbini avatar marcobuster avatar matteob99 avatar thesharp avatar alcc01 avatar renyhp avatar paolobarbolini avatar possebon avatar oshadow05 avatar teopost avatar ceri01 avatar knsd avatar hearot avatar dependabot[bot] avatar patternspandemic avatar tsculpt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.