Re: python developer

2022-10-03 Thread orzodk
Jan van den Broek  writes:

> 2022-10-01, Mike Dewhirst  schrieb:
>
>>So the answer to your question is signed email is easy and if it becomes 
>>popular it has potential to defeat hackers.
>
> Yes, but I'm reading this as a usenet-message (comp.lang.python), not as 
> a mail.

You are reading a mirror of the mailing list:

"This mailing list is a general discussion list for the Python
programming language. Please note that for those who prefer, this list
is mirrored to the Usenet newsgroup comp.lang.python"

https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: HTTP server benchmarking/load testing in Python

2023-01-25 Thread orzodk
Dino  writes:

> Hello, I could use something like Apache ab in Python (
> https://httpd.apache.org/docs/2.4/programs/ab.html ).
>
> The reason why ab doesn't quite cut it for me is that I need to define
> a pool of HTTP requests and I want the tool to run those (as opposed
> to running the same request over and over again)
>
> Does such a marvel exist?
>
> Thinking about it, it doesn't necessarily need to be Python, but I
> guess I would have a chance to tweak things if it was.
>
> Thanks
>
> Dino


I have used locust with success in the past.

https://locust.io
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python + Vim editor

2023-02-21 Thread orzodk
Thomas Passin  writes:

> On 2/21/2023 9:00 PM, Hen Hanna wrote:
>> what editor do you (all) use to write Python code?  (i use Vim)
>
> I usually use the Leo-editor (https://github.com/leo-editor/leo-editor
> or PyPi).  It's wonderful once you get it figured out but it's got a
> real learning curve.

I had never heard of Leo before. This is a real rabbit-hole. Thanks for
sharing this interesting editor.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python + Vim editor

2023-02-22 Thread orzodk
Thomas Passin  writes:

> On 2/22/2023 12:00 AM, orzodk wrote:
>> Thomas Passin  writes:
>> 
>>> On 2/21/2023 9:00 PM, Hen Hanna wrote:
>>>> what editor do you (all) use to write Python code?  (i use Vim)
>>>
>>> I usually use the Leo-editor (https://github.com/leo-editor/leo-editor
>>> or PyPi).  It's wonderful once you get it figured out but it's got a
>>> real learning curve.
>> I had never heard of Leo before. This is a real rabbit-hole. Thanks
>> for
>> sharing this interesting editor.
>
> There's also a Google Group: https://groups.google.com/g/leo-editor
>
> Leo does dog-fooding: Leo's own code base (hundreds of Python files)
> is contained and developed in a Leo file (called an "outline").  I
> just this afternoon searched it to find where a particular core method
> is called in less than a second (two places, it turned out).  Leo lets
> you break down a program or other chunk of code into whatever pieces
> you like, not being limited to modules, classes, methods, and
> functions, and to rearrange them pretty much at will.
>
> Much of Leo's documentation is in Sphinx documents that are authored
> and managed in Leo outlines - it's an excellent documentation tool.
>
> More of how I use it is at
> https://leo-editor.github.io/leo-editor/testimonials.html#thomas-passin

I watched a couple of the intro videos and saw the dog-fooding. Leo is a
total paradigm shift for me. Thanks for links, I'll be sure to check
them out.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python for irc client

2024-07-08 Thread orzodk via Python-list
Daniel via Python-list  writes:

> One thing missing is a good textmode irc client that will connect to
> quassel core.
>
> I've seen efforts to make a plugin for weechat but, to date, I don't see much
> progress on that end.
>
> In your wisdom, would python be a good environment to accomplish this? I'd
> likely use extended ascii and colors. The point would be to minimize the
> memory footprint of the application.

One feature of weechat you may be interested in is it's relay mode:

https://weechat.org/files/doc/weechat/stable/weechat_user.en.html#relay

If you flipped this architecture around you should be able to run
weechat as your bouncer then connect quassel or any other client to
weechat with it's IRC relay mode. Weechat also has a list of remote
interfaces that can use this

https://weechat.org/about/interfaces/

OTOH if you prefer the setup you've got I've had 0 issues with the
Python plugins I've written for weechat. A Quassel/weechat proxy plugin
should be pretty straight forward and if you prefer a standalone bridge,
as others have suggested Python is great for that too!
-- 
https://mail.python.org/mailman/listinfo/python-list