telegram-bot-ruby
typer
telegram-bot-ruby | typer | |
---|---|---|
36 | 88 | |
1,323 | 14,398 | |
- | - | |
6.2 | 8.7 | |
about 2 months ago | 7 days ago | |
Ruby | Python | |
Do What The F*ck You Want To Public License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
telegram-bot-ruby
-
Show HN: Talk Paper Scissors
Instead of WhatsApp, why not turn this into a Telegram app? Telegram’s APIs are built quite well for this type of thing. You can still do it via voice messages [0] or you can even build what Telegram calls a Mini App [1]. And it’s all very straightforward and free!
[0]: https://core.telegram.org/bots/api#voice
[1]: https://core.telegram.org/bots/webapps
-
I have created an almost perfect Telegram bot client library/framework.
Because the documents are really parsed into data. I have converted almost all of the valid content from the official document page (https://core.telegram.org/bots/api) into JSON format and uploaded it to a separate repository (telegex/api_doc.json). This includes all types, methods, and comments.
-
Help me with 2 problems
From a palette point of view I really like node-red-contrib-telegrambot because it exposes the whole telegram api (https://core.telegram.org/bots/api). Should have you covered for sending and receiving text and voice messages.
-
How can I setup a Portal like this? (with these buttons, where you basically create a click-through portal)
You will need to code a bot that can do something like this. You can use basically any (popular) programming language. Check https://core.telegram.org/bots/api for more info.
- What design pattern should I use to build a telegram chat bot to register users to my platform
-
AHK Script to Click the Call(phone) button on Telegram
The Telegram bot API is [here](https://core.telegram.org/bots/api). Check the "introduction to bots" link at the top for instructions on how to create a bot.
-
Help me with a Telegram Bot Tutorial, please
var back = InlineKeyboardButton.builder() .text("Back").callbackData("back") .build(); var url = InlineKeyboardButton.builder() .text("Tutorial") .url("https://core.telegram.org/bots/api") .build();
-
Rule
Studying guides and the API documentation. Actually, why are you even asking us, just ask ChatGPT. People obsess too much about how you can break or the fact that it will make up shit when discussing historical facts, but for everything else it's actually amazing. Like a friend who knows a little bit of everything and you just ask them if you don't know how to google the answer.
- telegram bot
-
How to make this type of link on telegram group?
There is fantastic API documentation to develop your own bot, which you can use to send these kinds of messages: https://core.telegram.org/bots/api
typer
-
Github Sponsor Sebastián Ramírez Python programmer
He is probably most well know for creating FastAPI that I taught to some of my clients and Typer that I've never used.
- Typer: Python library for building CLI applications
- Copilot for your GitHub stars
-
Things I've learned about building CLI tools in Python
I have been using Typer on every one of my CLI projects which uses Click under the hood. The documentation is fantastic, the CLI app it produces looks great and lets you create things quickly. I high recommend it.
https://typer.tiangolo.com/
-
Things to do with standalone script
Adding CLI capabilities. My preferred library here is typer.
-
Where to start for managing a Python code base for public distribution
I just heard about this but it seems to be pretty much the type of thing you want and want fast.
-
Help on Docstrings
Docstrings are for documenting how a function/ class/ method/ module works. Often you don't need to add a docstring to your main function because no one will be importing it to use elsewhere. And if you want it to run as a CLI, then there are better ways to document the available options. For example, typer does most of it for you, or in click you add the help text to the decorator.
-
Which best practices do you follow to build robust & extensible ETL jobs?
Most computing tasks in airflow DAGs are KubernetesPodOperator containing a CLI (Python Typer). It allows us to pass arguments easily to run DAG manually if needed (the new UI to pass arguments to DAG in airflow 2.6 is really nice). Arguments allow us to replay DAG easily (change start / end dates for instance).
-
Devs on teams that deploy anytime you want, what does your SDLC workflow look like?
So it's basically the main .gitlab-ci.yml file plus a separate Python CI app using Typer for the AWS instrumentation.
-
The different uses of Python type hints
Similarly for Typer, which is literally "the FastAPI of CLIs"[1]. Handy to type your `main` parameters and have CLI argument parsing. For more complicated cases, it's a wrapper around Click.
[1] https://typer.tiangolo.com/
What are some alternatives?
Ruby on Rails - Ruby on Rails
click - Python composable command line interface toolkit
form-data - A module to create readable `"multipart/form-data"` streams. Can be used to submit forms and file uploads to other web applications.
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
python-telegram-bot - We have made you a wrapper you can't refuse
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
minuteman-bot
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
node-telegram-bot-api - Telegram Bot API for NodeJS
cement - Application Framework for Python