Installation of Slixfeed with pip fails

2024-07-30 Thread Schimon Jehudah via Python-list
Greetings, to one and all!

My name is Schimon, and I am the developer of a news chat bot for the
XMPP network, called Slixfeed.

I have recently added support for OMEMO encryption, and a friend of
mine has reported that there is an issue installing it with pip.

I suppoes this is a fault of a package at PyPi, or a fault at my
pyproject.toml.

This is the link to the project:
https://git.xmpp-it.net/sch/Slixfeed#getting-started

Please advise,
Schimon
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installation of Slixfeed with pip fails

2024-08-11 Thread Schimon Jehudah via Python-list
Barry. Thomas. I agree.

I do not have his machine to make observations, and therefore this
report is obscured.

I want to solve an issue of a friend who has attempted to install
Slixfeed, which is based on OMEMO, and the installation has failed.

I have asked him to install python-omemo and he has reported this:

$ pip install omemo

[...]

ERROR Failed building wheel for XEdDSA
ERROR Could not build wheels for XEdDSA, which is required to install 
pyproject.toml-based projects

Please see the attached screenshot.

Kind regards,
Schimon

On Sat, 3 Aug 2024 16:04:07 -0400
Thomas Passin via Python-list  wrote:

> On 8/3/2024 2:49 PM, Barry Scott via Python-list wrote:
> > 
> >   
> >> On 30 Jul 2024, at 18:36, Schimon Jehudah via Python-list
> >>  wrote:
> >>
> >> Greetings, to one and all!
> >>
> >> My name is Schimon, and I am the developer of a news chat bot for
> >> the XMPP network, called Slixfeed.
> >>
> >> I have recently added support for OMEMO encryption, and a friend of
> >> mine has reported that there is an issue installing it with pip.
> >>
> >> I suppoes this is a fault of a package at PyPi, or a fault at my
> >> pyproject.toml.
> >>
> >> This is the link to the project:
> >> https://git.xmpp-it.net/sch/Slixfeed#getting-started
> >>
> >> Please advise,  
> 
> This question is like asking "My car won't run. I suppose it's the 
> engine. Please advise."
> 
> > Please duplicate the problem and if after doing that you have not
> > fixed the problem post details here.
> > 
> > Barry
> > 
> > 
> >   
> >> Schimon
> >> -- 
> >> https://mail.python.org/mailman/listinfo/python-list
> >>  
> >   
> 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Unofficial PyBitmessage port to run with Python3 and PyQt5

2024-09-06 Thread Schimon Jehudah via Python-list
Good day, 711 Spooky Mart!

Congratulations and thank you for investing efforts to enhance
PyBitmessage, as it is an important telecommunication mean .

I use Arch Linux, and I would be happy to help you to test.

I have several tasks with Python, mostly on XMPP, so I am not sure I
would be available soon to help with coding.

Kind regards,
Schimon

On Thu, 5 Sep 2024 04:42:20 -
711 Spooky Mart via Python-list  wrote:

>  from
> https://www.reddit.com/r/bitmessage/comments/1d5ff18/unofficial_pybitmessage_port_to_run_with_python3/
> 
> Unofficial PyBitmessage port to run with Python3 and PyQt5
> 
> The official PyBitmessage still runs with outdated Python2 and PyQt4.
> 
> Recently, I'm trying to port PyBitmessage to run with Python3 and
> PyQt5. Although it's unofficial version and still should have some
> bugs, it seems now running as expected as long as I use it. I use
> PyBitmessage mostly for communications on chans. One-to-one messaging
> is not tested well since I have no friends at all.
> 
> The source code is published at GutHub:
> https://github.com/kashikoibumi/PyBitmessage . The default branch
> 'py3qt' is most matured among other many branches.
> 
> If you try to use it, at first backup your PyBitmessage databases and
> settings which are found $HOME/.config/PyBitmessage/ if you are using
> Linux.
> 
> Any bug reports or comments are welcome.
> 
> I'm using it on Devuan GNU+Linux Daedalus which is mostly compatible
> to Debian GNU/Linux bookworm except systemd utilizations. All
> dependencies are installed from Devuan (Debian) packages.
> 
> ─┏┓──┏━━┓───┏━━┓──Spooky Mart Channel
> ─┗━━┓─┃──┗┓─┃───┗┓─┃──[chan] 711
> ┃─┃──┏┛─┗┓──┏┛─┗┓─always open | stay spooky
> ┗━┛──┗━━━┛──┗━━━┛─https://bitmessage.org
> 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: BitChan (python project)

2024-09-06 Thread Schimon Jehudah via Python-list
Greetings, 711!

This is very good!

Do you know of Plebbit?

It might be good to interoperate with Plebbit too.

https://plebbit.com/

Kind regards,
Schimon

On Thu, 5 Sep 2024 04:53:05 -
711 Spooky Mart via Python-list  wrote:

>  from https://github.com/813492291816/BitChan
> 
> BitChan is a decentralized anonymous imageboard inspired by BitBoard
> and built on top of Bitmessage with Tor, I2P, and GnuPG.
> 
> BitChan solves a number of security and free speech problems that have
> plagued most imageboards. Centralized imageboards can be taken offline
> or hijacked and can leak user data. BitChan reduces the likelihood of
> this by being decentralized, allowing each user to host their own
> instance of the software, requiring all connections to go through
> Tor/I2P, and not requiring JavaScript.
> 
> Users of centralized forums often have to deal with overzealous
> moderators and sometimes even pressure from state powers that tend to
> suffocate the forum's culture. BitChan's moderation is multifaceted,
> but to be brief, the option exists to create entirely unmoderatable
> boards to post content on. Due to its decentralized design, BitChan
> cannot be moderated by its developers, the government, or any other
> entity. Indeed, there is no way to disconnect BitChan from the
> internet, and as long as people are still running Bitmessage, BitChan
> is completely untouchable.
> 
> ─┏┓──┏━━┓───┏━━┓──Spooky Mart Channel
> ─┗━━┓─┃──┗┓─┃───┗┓─┃──[chan] 711
> ┃─┃──┏┛─┗┓──┏┛─┗┓─always open | stay spooky
> ┗━┛──┗━━━┛──┗━━━┛─https://bitmessage.org
> 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: PyBitmessage is not dead. Ignore the FUD.

2024-09-06 Thread Schimon Jehudah via Python-list
Greetings!

I am interested in adding support for Bitmessage to Slixfeed news bot.

Support is currently provided to XMPP and it will be extended to Email,
IRC and Session.

https://git.xmpp-it.net/sch/Slixfeed

Schimon

On Thu, 5 Sep 2024 04:40:10 -
711 Spooky Mart via Python-list  wrote:

>  from [chan] bitmessage
> 
> PyBitmessage is not dead. Ignore the FUD.
> 
> I think Peter and gang just got tired of responding to this recurring
> claim. I wouldn't even expect a rebuttal from them at this point.
> 
> Newer forks have been under development, one in Python3 and one in
> Rust.
> 
> Here is the PyBitmessage fork in Python3:
> 
> https://github.com/kashikoibumi/PyBitmessage
> 
> Somebody should help the maintainer. I am no longer a Pythonista or I
> would. I dumped Python after the 2.7 sunset as I expect they will
> likely break Py3 equally bad some day. I will be occasionally
> reviewing Koibumi's bash scripts, build scripts and documentation
> looking for errors or points of improvement.
> 
> ─┏┓──┏━━┓───┏━━┓──Spooky Mart Channel
> ─┗━━┓─┃──┗┓─┃───┗┓─┃──[chan] 711
> ┃─┃──┏┛─┗┓──┏┛─┗┓─always open | stay spooky
> ┗━┛──┗━━━┛──┗━━━┛─https://bitmessage.org
> 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python3 Fork of BMWrapper

2024-09-06 Thread Schimon Jehudah via Python-list
Good day, 711 Spooky Mart!

Did you consider to add support for IRC or XMPP too?

Best regards,
Schimon

On Thu, 5 Sep 2024 04:47:39 -
711 Spooky Mart via Python-list  wrote:

>  from https://github.com/kashikoibumi/bmwrapper
> 
> bmwrapper is a poorly hacked together python script to let Thunderbird
> and PyBitmessage communicate, similar to AyrA's (generally much
> better) application: Bitmessage2Mail.
> 
> I'm on Linux, and don't feel like dealing with wine. So I wrote this
> to fill the same role as B2M, until the source code was released.
> (Which has since been
> open-sourced: https://github.com/AyrA/BitMailServer)
> 
> The script (usually) parses outgoing messages to strip the ugly email
> header information and put quoted text in PyBitmessage’s '---’
> delimited form. Attached images are included, base64 encoded, in an
> img tag. Incoming messages are likewise parsed to reconstruct a
> email, with attachment. This works...most of the time, and I’ve tried
> to make it fail gracefully when something goes wrong.
> 
> ─┏┓──┏━━┓───┏━━┓──Spooky Mart Channel
> ─┗━━┓─┃──┗┓─┃───┗┓─┃──[chan] 711
> ┃─┃──┏┛─┗┓──┏┛─┗┓─always open | stay spooky
> ┗━┛──┗━━━┛──┗━━━┛─https://bitmessage.org
> 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python List is Not Dead

2024-12-25 Thread Schimon Jehudah via Python-list
Abdur-Rahmaan. Good afternoon!

I think, that if project Discourse would want to preserve and increase
its popularity, then it should realize XMPP PubSub to communicate and
manage posts, which is what project Libervia will do in near future.

I use BitMessage, Email, LXMF, MQTT, and XMPP to communicate messsages,
BBS, BitTorrent, eDonkey2000 and Gnutella to transfer files, and I
recently have started to use Gemini and Gopher.

HTML sites, with JS, are almost always result in wasting of time, and
life is better without HTML browsers.

I do not use HTML browsers anymore.

Best regards,
Schimon

On Wed, 25 Dec 2024 14:52:23 +0400
Abdur-Rahmaan Janhangeer via Python-list  wrote:

> Hey all,
> 
> I have been following discussions on Discourse (discuss.python.org)
> these last times.
> 
> I think that it definitely lacks some of the joys of the mailing list:
> 
> 1/ Categories
> 
> The discussion has fixed categories. No channel for  fun posts,
> project releases or musings.
> 
> 2/ Ui
> 
> Good luck getting to the bottom of big threads. Hello JS!
> 
> PS. You can but it's not intuitive.
> 
> 3/ Quality
> 
> I find great posts here and there on the mailing list. I can't seem
> to find great posts over there.
> 
> Just sharing my POV. I like the mailing list ^^,
> 
> Kind Regards,
> 
> Abdur-Rahmaan Janhangeer
> about  | blog
> 
> github 
> Mauritius
-- 
https://mail.python.org/mailman/listinfo/python-list


Creating a framework for bots

2025-03-17 Thread Schimon Jehudah via Python-list
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


Re: Creating a framework for bots

2025-04-05 Thread Schimon Jehudah via Python-list
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  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


Module urljoin does not appear to work with scheme Gemini

2025-04-20 Thread Schimon Jehudah via Python-list
Good day.

Yesterday, I have added support for a new syndication format, Gemini
feed.

Yet, it appears that module urljoin fails at its task, even though
module urlsplit correctly handles Gemini.

Python 3.13.3

>>> from urllib.parse import urljoin
>>> urljoin('gopher://gopher.floodgap.com:70/1/overbite', '../one-level-up')
'gopher://gopher.floodgap.com:70/one-level-up'
>>> urljoin('gopher://gopher.floodgap.com:70/1/overbite', 'same-level')
'gopher://gopher.floodgap.com:70/1/same-level'
>>> urljoin('gemini://woodpeckersnest.space/~schapps/journal/2025-04-20-slixfeed-gemini-and-twtxt.gmi',
>>>  '../one-level-up')
'../one-level-up'
>>> urljoin('gemini://woodpeckersnest.space/~schapps/journal/2025-04-20-slixfeed-gemini-and-twtxt.gmi',
>>>  'same-level')
'same-level'
>>> from urllib.parse import urlsplit
>>> urlsplit('gopher://gopher.floodgap.com:70/1/overbite')
SplitResult(scheme='gopher', netloc='gopher.floodgap.com:70', 
path='/1/overbite', query='', fragment='')  
   
>>> urlsplit('gemini://woodpeckersnest.space/~schapps/journal/2025-04-20-slixfeed-gemini-and-twtxt.gmi')
SplitResult(scheme='gemini', netloc='woodpeckersnest.space', 
path='/~schapps/journal/2025-04-20-slixfeed-gemini-and-twtxt.gmi', query='', 
fragment='')
>>> 
>>>  
https://git.xmpp-it.net/sch/Slixfeed/src/branch/master/slixfeed/parser/gmi.py

Is this a problem with the module urljoin?

To whom should reports about such concern be conveyed?

Please advise.

Kind regards,
Schimon
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Module urljoin does not appear to work with scheme Gemini

2025-04-22 Thread Schimon Jehudah via Python-list
Is there an "ignore" option for "urljoin" to allow schemes that are not
included in the registry of the interpreter of the Python computer
language?

I think that it is needed to have, even if it is not registered, as
there are ongoing attempts to try to censor Gemini and Gopher.

gemini://woodpeckersnest.space/~schapps/journal/2024-05-28-censoring-gemini-and-gopher.gmi

Schimon

On Tue, 22 Apr 2025 15:33:52 +0100
"Henry S. Thompson"  wrote:

> Schimon Jehudah via Python-list writes:
> 
> > Yesterday, I have added support for a new syndication format, Gemini
> > feed.  
> 
> I note that 'gemini' is not (yet?) a registered URI scheme:
> 
>   https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
> 
> ht
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [egenix-info] ANN: eGenix Antispam Bot for Telegram 0.7.1

2025-05-14 Thread Schimon Jehudah via Python-list
Marc-Andre. Good evening.

Thank you for your respond.

I will definitely explore your project.

The XMPP modules are atomized in a single directory /interface/xmpp/ in
order to make it extendible to other interfaces (i.e. protocols).

I do consider to transform the directory of XMPP modules into a
framework for building XMPP bots.

I sense, that collaboration be feasible.

Kind regards,
Schimon

On Wed, 14 May 2025 19:19:01 +0200
Marc-Andre Lemburg  wrote:

> Hi Schimon,
> 
> thanks for reaching out. Our bot is TG-only, since we built it for
> our user group chat group running on TG.
> 
> But I suppose you can make use of the types of challenges we use for 
> XMPP and IRC as well.
> 
> The strategies are working quite well for us, even though they are
> not perfect. It reduces the admin work substantially, plus it's easy
> to extend, so we can always tune them or add new ones.
> 
> Thanks,
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: ANN: eGenix Antispam Bot for Telegram 0.7.1

2025-05-14 Thread Schimon Jehudah via Python-list
Good evening.

Is this service also available for XMPP?

I am working on a similar project which is called KaikOut, and I will
be glad to collaborate.

https://git.xmpp-it.net/sch/KaikOut
Moderation service for XMPP

Currently, it supports XMPP, and in future it would also support IRC.

Kind regards,
Schimon


On Wed, 14 May 2025 13:42:22 +0200
eGenix Team via Python-list  wrote:

> *ANNOUNCING*
> 
> 
> eGenix Antispam Bot for Telegram
> 
> Version 0.7.1
> 
> A simple, yet effective bot implementation
> to address Telegram signup spam.
> 
> This announcement is also available on our web-site for online
> reading:
> https://www.egenix.com/company/news/eGenix-Antispam-Bot-for-Telegram-0.7.1-GA.html
> 
> 
> *INTRODUCTION*
> 
> eGenix  has long been running a local Python
> user group meeting in Düsseldorf called /Python Meeting Düsseldorf 
> / and we are using a Telegram group for most of
> our communication.
> 
> In the early days, the group worked well and we only had few spammers 
> joining it, which we could well handle manually.
> 
> More recently, this has changed dramatically. We are seeing between
> 2-5 spam signups per day, often at night. Furthermore, the signups
> accounts are not always easy to spot as spammers, since they often
> come with profile images, descriptions, etc.
> 
> With the bot, we now have a more flexible way of dealing with the
> problem.
> 
> Please see our project page for details and download links:
> 
> https://www.egenix.com/library/telegram-antispam-bot/
> 
> 
> *FEATURES*
> 
>   * Low impact mode of operation: the bot tries to keep noise in the
> group to a minimum
>   * Several challenge mechanisms to choose from, more can be added as
> needed
>   * Flexible and easy to use configuration
>   * Only needs a few MB of RAM, so can easily be put into a container
> or run on a Raspberry Pi
>   * Can handle quite a bit of load due to the async implementation
>   * Works with Python 3.9+
>   * MIT open source licensed
> 
> 
> 
> *NEWS*
> 
> The 0.7.1 release fixes a few bugs and adds more features:
> 
>   * Added missing dependency on emoji package to setup (bug introduced
> in 0.7.0, fixed in 0.7.1)
>   * Added user name check for number of emojis, since these are being
> used a lot by spammers
>   * Added wheel as requirement, since this is no longer included per
> default
>   * Updated copyright year
> 
> It has been battle-tested in production for several years already 
> already and is proving to be a really useful tool to help with
> Telegram group administration.
> 
> 
> Enjoy,
> 
-- 
https://mail.python.org/mailman/listinfo/python-list