Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail From: orzodk Newsgroups: comp.lang.python Subject: Re: python for irc client Date: Mon, 08 Jul 2024 15:09:01 -0600 Lines: 27 Message-ID: References: <87msmx4mt5.fsf@raspberrypi> <87zfqrfv6a.fsf@blahblah.localdomain> Mime-Version: 1.0 Content-Type: text/plain X-Trace: news.uni-berlin.de dl/AyUKxws8f4J3tph1IIgApBYZaKBLifhO7Lmqj3Q2g== Cancel-Lock: sha1:WK6dryvpKJH2jm/neXHq3Siis8w= sha256:JBe/EeRBuxuqE4W+6IdMEnJN/8WMg87cBSjUn8EQc/I= Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=fastmail.com header.i=@fastmail.com header.b=ECFx4YR/; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:python': 0.06; 'architecture': 0.07; 'interfaces': 0.09; 'url:stable': 0.09; 'writes:': 0.09; 'memory': 0.15; 'colors.': 0.16; 'date,': 0.16; 'footprint': 0.16; 'from:addr:fastmail.com': 0.16; 'irc': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.163': 0.16; 'received:internal': 0.16; 'received:messagingengine.com': 0.16; 'subject:client': 0.16; 'url:doc': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20; 'written': 0.22; "i've": 0.22; 'application.': 0.22; 'progress': 0.22; 'run': 0.23; "i'd": 0.24; 'cc:2**0': 0.25; 'environment': 0.29; 'this?': 0.29; 'header:User-Agent:1': 0.30; 'accomplish': 0.32; 'end.': 0.32; 'python-list': 0.32; 'subject:for': 0.33; 'able': 0.34; 'header:In-Reply-To:1': 0.34; 'missing': 0.37; "it's": 0.37; 'others': 0.37; 'list': 0.39; 'use': 0.39; 'should': 0.40; 'likely': 0.61; 'seen': 0.62; 'forward': 0.62; 'remote': 0.63; 'great': 0.63; 'your': 0.64; 'interested': 0.68; 'client': 0.82; 'bridge,': 0.84; 'standalone': 0.84; 'mode.': 0.89; 'received:103': 0.91; 'url:files': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1720472926; x=1720559326; bh=fR8NuQDLCv 6TVgrRBBFEblFbyQq+R5AAFTw/opsDV78=; b=ECFx4YR/dhJPHapbDvO0yx2f9r XPuA0M7rJm1NEDF8sGYVtbmqH5yxovkwWxv3TrA9lLEzNm6/n0elJd3dNXzbWQGV PDRaUo/q63pI2uq/FKfpeo7zjIj0/FOd4v7xj8C56/v8P2ODbABGGFF/IDLoYOwr 1PEbaOmPqxeToQ3+LSYF8X5NIMVC75Brh9JkMkXGZppuBuzyKmLj9QbGnk7ENodH O1aCvxVD6P+2ghTN5XraR3kSOaiFqCJR+CuwKqU2WPt+5CuEunKoV678UC0GUECH umPupLXYn+4yG5lnIaGGdl9K0Rok3xxMbYll0Ust4a1ybGxa734YevsC4yyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1720472926; x=1720559326; bh=fR8NuQDLCv6TVgrRBBFEblFbyQq+ R5AAFTw/opsDV78=; b=HcpYcEvmBnZfd0PovEtMG3e9PrkUTQ9/a5ygX41Oh1GR 8vP/qJQh758fjS4t6jjgKpsEwaCxfuy1Q5FRUU5WC+Oi9ZGlEbpzZRNNj1v615yB k3xZ+4L0UntKr7VZQ69McwdilNr5x0diAwEyItu14ZjZB9RXszIEl69VgVmqNHPy GEji5qUzf75U/wDU+lhqTnpYUGOkP/kierXd9XtnT7KwfvxWg9SZrmu5OX9enz5D YJljBsihTh1GKJk30eKqWfuLh4JoMv++eueRcfHi/VDkCfYZdS9dKOYtKHPlzrX7 3lN2tyzxXzNlNaxR83k5RFSFb7YXGKze38QSFErrLA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejgdduheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkfgggtgesthdtredttdertdenucfhrhhomhepohhriiho ughkuceoohhriihoughksehfrghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnh epkedvgfehgffhleeuiedtfeehheduudegkeeiieeiudeiudetffffjedtheekueeinecu ffhomhgrihhnpeifvggvtghhrghtrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepohhriihoughksehfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ic149461b:Fastmail In-Reply-To: <87msmx4mt5.fsf@raspberrypi> (Daniel via Python-list's message of "Thu, 04 Jul 2024 00:51:34 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <87zfqrfv6a.fsf@blahblah.localdomain> X-Mailman-Original-References: <87msmx4mt5.fsf@raspberrypi> Bytes: 6844 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!