Good day.

I am studynig decorators, and I am yet to understand how to create a
dcorator for a function which is invoked upon an event.

That is, the function depends upon an event from the event system of
Slixmpp, and the external decorator should be invoked by it.

gemini://woodpeckersnest.space/~schapps/journal/2025-03-19-designing-a-framework-for-xmpp-chat-bots.gmi

>From the frameworks of Flask, and FastAPI, I suppose that it should be
possible, and I do not understand that system yet to do so.

In the attached file you would see what I think that I want to do for
some of the functions that Slixmpp provides.

https://bpa.st/PDNA.

Please advise.

Regards,
Schimon

On Tue, 18 Mar 2025 08:24:29 +0200
Schimon Jehudah via Python-list <python-list@python.org> wrote:

> Good day!
> 
> My name is Schimon, and I create software in a form of XMPP contacts
> (i.e. bots) with chat and visual interfaces.
> 
> https://git.xmpp-it.net/sch
> 
> I already have three bots, and several ideas for other bots, including
> BitTorrent, MPD, and even Chess.
> 
> gemini://woodpeckersnest.space/~schapps/journal/2024-05-23-slixfeed-news-bot.gmi
> 
> https://schapps.woodpeckersnest.eu/journal/2024-05-23-slixfeed-news-bot/#preview
> 
> The basic structure of all of the bots is almost identical.
> 
> Instead of repeating code and copy and paste my own templates, I was
> thinking of creating a framework for creating XMPP bots, based on the
> module Slixmpp, and perhaps also for IRC and MQTT.
> 
> I do not know how to design a framework yet.
> 
> I would appreciate guidance.
> 
> Kind regards,
> Schimon
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to