Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Wagner's music is better than it sounds. -- Mark Twain


comp / comp.lang.python / Re: python for irc client

SubjectAuthor
* python for irc clientDaniel
+* Re: python for irc clientinhahe
|`- Re: python for irc clientDaniel
+- Re: python for irc clientinhahe
+- Re: python for irc clientLeft Right
`- Re: python for irc clientorzodk

1
Subject: python for irc client
From: Daniel
Newsgroups: comp.lang.python
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Thu, 4 Jul 2024 07:51 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
From: me@sc1f1dan.com (Daniel)
Newsgroups: comp.lang.python
Subject: python for irc client
Message-ID: <87msmx4mt5.fsf@raspberrypi>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:POM0bMKk27RPHp3N/jCteC8tlSc=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 27
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Thu, 04 Jul 2024 07:51:37 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Thu, 04 Jul 2024 00:51:34 -0700
X-Received-Bytes: 1644
View all headers

Hi guys -

I have historical experience developing sofwtare for my own use. It has been
quite a while since doing so and the advent of new languages has brought me
here. Python has built quite a reputation. It would be fun to pick up a
new language while I'm at it.

I've been a consumer of IRC since the nineties and have been running an
instance of quassel core on an old laptop for the last decade. Over the
years, my use of xwindows has dramatically decreased and I spend 90% of my
computer time with multiple panes of tmux while I do my usual daily fun. 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.

I don't use standard desktop computers anymore - I'm writing this on my
beloved pi400 using emacs.

Thanks

Daniel

Subject: Re: python for irc client
From: inhahe
Newsgroups: comp.lang.python
Date: Thu, 4 Jul 2024 09:22 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: inhahe@gmail.com (inhahe)
Newsgroups: comp.lang.python
Subject: Re: python for irc client
Date: Thu, 4 Jul 2024 05:22:53 -0400
Lines: 52
Message-ID: <mailman.0.1720084989.2981.python-list@python.org>
References: <87msmx4mt5.fsf@raspberrypi>
<CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de bPVQyY+B1cQHeYIozv+TvwEk9y6PYYUdOSRUBQhj72UA==
Cancel-Lock: sha1:vqqQvGwGyo5O63HbH/Ji6uZutI0= sha256:Qe/wJn8CC8EF0ODqHRwgBWpW86fWlaIQh2qrygdJrpQ=
Return-Path: <inhahe@gmail.com>
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=gmail.com header.i=@gmail.com header.b=Lhy4F0P6;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.006
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'jul': 0.04; 'variable':
0.05; 'subject:python': 0.06; 'email addr:python.org>': 0.09;
'language,': 0.09; 'utf-8.': 0.09; 'url:mailman': 0.15; 'memory':
0.15; '2024': 0.16; 'colors.': 0.16; 'computers': 0.16; 'date,':
0.16; 'footprint': 0.16; 'instance': 0.16; 'interpreter': 0.16;
'irc': 0.16; 'irc,': 0.16; 'subject:client': 0.16; 'textual':
0.16; 'tmux': 0.16; 'wrote:': 0.16; 'python': 0.16; 'reduce':
0.19; 'thu,': 0.19; 'to:addr:python-list': 0.20; 'language': 0.21;
"i've": 0.22; 'languages': 0.22; 'application.': 0.22; 'progress':
0.22; 'laptop': 0.23; "i'd": 0.24; 'url-ip:188.166.95.178/32':
0.25; 'url-ip:188.166.95/24': 0.25; 'url:listinfo': 0.25; 'url-
ip:188.166/16': 0.25; 'brought': 0.26; "isn't": 0.27; 'old': 0.27;
'purpose': 0.28; 'email addr:python.org&gt;': 0.28; 'example,':
0.28; 'computer': 0.29; 'environment': 0.29; 'this?': 0.29; 'url-
ip:188/8': 0.31; 'think': 0.32; 'accomplish': 0.32; 'end.': 0.32;
'guess': 0.32; 'language.': 0.32; 'python-list': 0.32; 'message-
id:@mail.gmail.com': 0.32; 'but': 0.32; "i'm": 0.33;
'subject:for': 0.33; 'core': 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'running': 0.34; 'particularly':
0.35; 'usual': 0.35; 'from:addr:gmail.com': 0.35; 'built': 0.36;
'missing': 0.37; 'really': 0.37; 'using': 0.37; "it's": 0.37;
'thanks': 0.38; 'quite': 0.39; 'text': 0.39; 'enough': 0.39;
'use': 0.39; 'higher': 0.60; 'in,': 0.60; 'likely': 0.61; 'here.':
0.61; 'seen': 0.62; 'great': 0.63; 'experience': 0.64; 'spend':
0.64; 'your': 0.64; 'daily': 0.65; 'consumer': 0.67; 'historical':
0.69; 'desktop': 0.70; 'client': 0.82; 'decade.': 0.84;
'dramatically': 0.84; 'email name:&lt;python-list': 0.84; 'say,':
0.84; 'sure.': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1720084986; x=1720689786; darn=python.org;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=dG0s5hNLu2w/fnBoaaQAH0E4uFSn4A3HjlwDLeNXdFk=;
b=Lhy4F0P6PU+6ETXvdiJI1cl0Yr9dmlKw4K+aYTwvLatFsPh3dlVL61xBc/tainhY7Z
WyZVr0tWGBKMQDdJAmGMpkVd25FH84kmEw+QVkWIFCyFx6pr1IQZ6rKD0dxl60LY4xEw
kww0hPC8aZDo2bHH/nNEYiorpf+in/F9Tx8ZwjYnPNd0q0Z9Vp+yNSY2TEBs7MyBBj12
Zg2Vk4J0myIr5sMbtOGUD8yR6xInrtDcbzKs2HKodr7kI1lN/fNX9i4EFM0zNNuyCwir
cUogq3NIgREaVke6oAGWYv/DprJnxHwoeNvIBgYIwU2/yQdJm9kycwch4TGCeiiRPya0
DOjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1720084986; x=1720689786;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=dG0s5hNLu2w/fnBoaaQAH0E4uFSn4A3HjlwDLeNXdFk=;
b=XGr5Uzm+SSfGYU6tMZgV8Dsx0lZceb1NoJa5lrtBToheyssUy8tYQVq/HUL2OdkZKK
1PhA1rPTR6vf785VprHYvacg+rZoLnfK/Uqu34GR5I8VzeEHRvFYuTdQbf4nc3d3p2Kf
y5rH6rYElXC+a785AnXItB5TUhikfsryu7nHf8BDa1MdAq/8m/eCxaGE2bL5XalIWVsA
snB714QG5LsrX5kg6FtgZFe1gCBUT9Borg2r8o9EX9xleWdx5uUDtDSysXKPxXvGXXRh
Z6U8cVlUB64k9zUX0zl1f3MsIrkNvDD9J4ApGQmfdPJh5J+WiFWhFtqfNwZ30ADI449S
hmPg==
X-Gm-Message-State: AOJu0Yy/Ini6j+PNIrF5y7sxjWgY04bXiuPThLL3St497lESbZTHg8bt
lO4/D83yxg+s/odbEEZRbz5ppxq8eIDGcRTDnQkjy5dgeDnctOdejZ5gjptOfwmCrwzO2U+xdHr
E5yhi2Fo8THNjRzfCgz+hfE71qHo3pfuJ
X-Google-Smtp-Source: AGHT+IH2ZYDOkS6/t1ccPraoAe9/idPKzQLNdAGSWOwZIeo6dQN3Llw2BasoQN5IxxabgwzyW0R/5swOltmRlubNWmA=
X-Received: by 2002:ac2:5a4d:0:b0:52c:d753:2829 with SMTP id
2adb3069b0e04-52ea06267ebmr710657e87.19.1720084985932; Thu, 04 Jul 2024
02:23:05 -0700 (PDT)
In-Reply-To: <87msmx4mt5.fsf@raspberrypi>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com>
X-Mailman-Original-References: <87msmx4mt5.fsf@raspberrypi>
View all headers

On Thu, Jul 4, 2024 at 5:14 AM Daniel via Python-list <
python-list@python.org> wrote:

> Hi guys -
>
> I have historical experience developing sofwtare for my own use. It has
> been
> quite a while since doing so and the advent of new languages has brought me
> here. Python has built quite a reputation. It would be fun to pick up a
> new language while I'm at it.
>
> I've been a consumer of IRC since the nineties and have been running an
> instance of quassel core on an old laptop for the last decade. Over the
> years, my use of xwindows has dramatically decreased and I spend 90% of my
> computer time with multiple panes of tmux while I do my usual daily fun.
> 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.
>
> I don't use standard desktop computers anymore - I'm writing this on my
> beloved pi400 using emacs.
>
> Thanks
>
> Daniel
> --
> https://mail.python.org/mailman/listinfo/python-list

I think Python would be a great language to write an IRC client in, it's a
rapid-development language, and also Python is particularly good for text
manipulation and the IRC protocol is textual rather than binary. But, if
your only purpose for using Python is to reduce the memory footprint, I'm
not sure. I don't know specifically, but I'd guess Python has a higher
memory footprint than, say, C, because it's a high-level language. For
example, each variable has to be boxed, and also the interpreter has to be
loaded..

Regarding high ASCII, I don't know if that works in IRC, but either way,
ASCII isn't really enough nowadays. You need to support Unicode;
specifically, UTF-8.

Subject: Re: python for irc client
From: inhahe
Newsgroups: comp.lang.python
Date: Thu, 4 Jul 2024 09:25 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: inhahe@gmail.com (inhahe)
Newsgroups: comp.lang.python
Subject: Re: python for irc client
Date: Thu, 4 Jul 2024 05:25:48 -0400
Lines: 22
Message-ID: <mailman.1.1720085163.2981.python-list@python.org>
References: <87msmx4mt5.fsf@raspberrypi>
<CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com>
<CAPeSgWr+2Ci_f+JzhwvoJHf_pG2-1bbZQWwiqx055Q_xon4K1A@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de 08bdq+kPe5v0c3CyTbE3hAqPdrEZ9Fe2PGDLw4FVfQ9g==
Cancel-Lock: sha1:MtrFyYRvKedTFxptgqKaRVrVGmU= sha256:T+nZHK/z4lt8sZtyRjZ6Izta+laGKeJzPW2sdjpseGU=
Return-Path: <inhahe@gmail.com>
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=gmail.com header.i=@gmail.com header.b=BO4hdHhb;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.015
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'jul': 0.04;
'subject:python': 0.06; 'email addr:python.org>': 0.09;
'language,': 0.09; 'received:mail-lf1-x12e.google.com': 0.09;
'2024': 0.16; 'implements': 0.16; 'irc': 0.16; 'protocol.': 0.16;
'subject:client': 0.16; 'textual': 0.16; 'wrote:': 0.16; 'python':
0.16; 'thu,': 0.19; 'to:addr:python-list': 0.20; 'language': 0.21;
'done': 0.28; 'email addr:python.org&gt;': 0.28; 'environment':
0.29; 'this?': 0.29; 'think': 0.32; 'accomplish': 0.32; 'python-
list': 0.32; 'message-id:@mail.gmail.com': 0.32; 'subject:for':
0.33; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'particularly': 0.35; 'from:addr:gmail.com': 0.35; "it's": 0.37;
'text': 0.39; 'in,': 0.60; 'great': 0.63; 'your': 0.64; 'skip:w
20': 0.69; '8bit%:6': 0.71; 'client': 0.82; 'email name:&lt
;python-list': 0.84; 'forgot': 0.84; 'twisted': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1720085160; x=1720689960; darn=python.org;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=P+dAiyQ0bB6oOXWfCs0HkT7ZB1yl0s+9qRhJQXphHLM=;
b=BO4hdHhb38rJMi34s16epRirDOvJU5gcfedkJ7e7bKcSTTeoL2ypdE73AvBe8mg1xr
v861Q91nqrSQjq20cSB11Paw5Ro4aKFXVg5g9TrJ5RDJYN5e3qlzpL6fd7Zy4mLnpTgK
FuqkdvU5KjXgoPY+zvvvGlLXJT0S89ByfcgCFV7bCnaW+UvUJnd08n2anZcfhYDBX3JA
mhCmFa2hZJg/f+yfAI46hf2ahj63Uw30t/srz53WSgpJ+qM8Qdgmzcm0U8/Z6t8Rr+uU
Dg71ScK1ZKUHcnk7/WhZODxAjRxlnqnlormIm3JfzlQrR+d/CzG2eTu6rzUBnE7sQOLu
Bjvw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1720085160; x=1720689960;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=P+dAiyQ0bB6oOXWfCs0HkT7ZB1yl0s+9qRhJQXphHLM=;
b=NBg99ZO3cOegTcmWrMfuqa54mkJHgtHKZB/qD33OxokfXR4lD7QjZ0WnVUKgHUG4kw
SiECoE5pJj2MjpiYIVJ3jyhx/hpudfmbLgL5twf8uyw2MJZwe7rn/gxesrNxSFlzzZvt
9+ETX6QRk7PzHmrkI0u702EKua831YiR7DU7UogfpbP8mGIGh/jBOd+819jT+gV/m/7A
2E5vg9saL+stGEpEOcoEVfepAWjS4RZ2MX3b71hqJkE2V7NVBdCxX2oSDdVIdZcUp9xj
us6Y5HDq5s3Bkub/VYY5JvvWpsieKP6ou8C0cutmMnbDxjE45LJtMEZ8hkqE1C4cVPTl
Dypw==
X-Gm-Message-State: AOJu0Ywpdjj35zXWThh6ZV3UVM5Z5qOl3yBwswlpj2K55ZDaINuphCR/
j7jY9bF1q33jRNxjbJvvdbWEoOSJzLVpbzB+la9UdZsGtTjw3MdmLTrTifjXpQCVrOoZ+nfSiiO
cDgF4dGcwTgsqzamNhnW6IEdC+kgbNpKD
X-Google-Smtp-Source: AGHT+IFZCQi6kVSvhfxsThM67W14yIFnp5kqMLuvocJx0IU8v3jytdcm9PZ3KYO9FEtHngGAh/fT7VX4sW5AxZ2VXWo=
X-Received: by 2002:a19:381c:0:b0:52c:a016:5405 with SMTP id
2adb3069b0e04-52ea0618638mr758581e87.8.1720085159885; Thu, 04 Jul 2024
02:25:59 -0700 (PDT)
In-Reply-To: <CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPeSgWr+2Ci_f+JzhwvoJHf_pG2-1bbZQWwiqx055Q_xon4K1A@mail.gmail.com>
X-Mailman-Original-References: <87msmx4mt5.fsf@raspberrypi>
<CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com>
View all headers

On Thu, Jul 4, 2024 at 5:22 AM inhahe <inhahe@gmail.com> wrote:

>
>
> On Thu, Jul 4, 2024 at 5:14 AM Daniel via Python-list <
> python-list@python.org> wrote:
>
>>
>> In your wisdom, would python be a good environment to accomplish this?
>
>

> I think Python would be a great language to write an IRC client in, it's a
> rapid-development language, and also Python is particularly good for text
> manipulation and the IRC protocol is textual rather than binary.
>

Oh yeah, I forgot I was going to mention that Twisted has already done a
lot of the dirty work for you if you make it in Python...they have twisted.
words.protocols.irc, which implements the IRC protocol. (I don't know if
it's up to date and supports ircv3, though.)

Subject: Re: python for irc client
From: Left Right
Newsgroups: comp.lang.python
Date: Thu, 4 Jul 2024 13:55 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: olegsivokon@gmail.com (Left Right)
Newsgroups: comp.lang.python
Subject: Re: python for irc client
Date: Thu, 4 Jul 2024 15:55:09 +0200
Lines: 36
Message-ID: <mailman.2.1720107023.2981.python-list@python.org>
References: <87msmx4mt5.fsf@raspberrypi>
<CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com>
<CAPeSgWr+2Ci_f+JzhwvoJHf_pG2-1bbZQWwiqx055Q_xon4K1A@mail.gmail.com>
<CAJQBtgnVCfrgBgSKL5rxNV1=7uQNDWzDxk+4oT+OoQR-=E1U4Q@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de bwcxiMq6LLyfgpZgNIpOQgquE2K/kcu+JzlgOS4fPoMA==
Cancel-Lock: sha1:DlFLS0WDUjLLZxZ5fA/LE3vuggc= sha256:RgqAv6a5y6nLcQu7M1B2JID0Q+q/V7NkILVgjC97Sp8=
Return-Path: <olegsivokon@gmail.com>
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=gmail.com header.i=@gmail.com header.b=Kh29yCSL;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.008
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'jul': 0.04;
'subject:python': 0.06; 'email addr:python.org>': 0.09; 'fyi,':
0.09; 'language,': 0.09; 'url:mailman': 0.15; '2024': 0.16;
'implements': 0.16; 'irc': 0.16; 'irc,': 0.16; 'perhaps,': 0.16;
'protocol.': 0.16; 'subject:client': 0.16; 'textual': 0.16;
'wrote:': 0.16; 'python': 0.16; 'thu,': 0.19; 'to:addr:python-
list': 0.20; 'language': 0.21; 'advanced': 0.22; 'url-
ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25;
'url:listinfo': 0.25; 'url-ip:188.166/16': 0.25; 'done': 0.28;
'environment': 0.29; 'this?': 0.29; 'url-ip:188/8': 0.31; 'think':
0.32; 'accomplish': 0.32; 'python-list': 0.32; 'message-
id:@mail.gmail.com': 0.32; 'but': 0.32; "i'm": 0.33;
'subject:for': 0.33; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'felt': 0.35; 'one.': 0.35;
'particularly': 0.35; 'from:addr:gmail.com': 0.35; "it's": 0.37;
'least': 0.39; 'text': 0.39; 'use': 0.39; 'in,': 0.60; "there's":
0.61; 'miss': 0.62; 'great': 0.63; 'your': 0.64; 'skip:w 20':
0.69; 'client': 0.82; 'decent': 0.84; 'forgot': 0.84; 'twisted':
0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1720101321; x=1720706121; darn=python.org;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:from:to:cc:subject:date
:message-id:reply-to;
bh=P9NVSZ0ejoiZnqTYL78X3slDte8UF3bxByAybRoeB+w=;
b=Kh29yCSL2rOYx12hIsyhKYY6avlBYumbLzeOXqLbueKsg6b6nk/3YoEZc2U74DwE5N
CJZ+nRdiogolhnB4JGMAfI+OWHKUkDxebWXHsWHjrEWQAFD2NTQiv+d3VCjRjdvsq2JE
R5KWEYvKMLCMIqURu3ph0lzEKAChYJf1m9144ZqIhPrqiQWG1aiVjL/MWUb0Xw2sv7ZX
DU2yH9l/nOjf9G8aUI/AHqk7hRJIqq8yr+ZU32Lz2q+chg1kRaQbcljXd7wtWBvjyMnK
A1bUzVzeyK4/RDCGd8MfXFdifJtPEExOCwiKeqUDUK9X0VgMRZnnX7finkKiKy9qFZrE
uNjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1720101321; x=1720706121;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=P9NVSZ0ejoiZnqTYL78X3slDte8UF3bxByAybRoeB+w=;
b=xOVnwaAN93TLzc4ZS2sUdOIAxV9aSO01B6zzJmCqxwOtS1b/5+eQLxIBC1a8DC/IfK
vF9l1w2bH28T1S1gjNe3cJur/fPdwnrTpXP0blal0ryN4leZBXxUx1Na4vTPxJgRZYku
lZE3Onlp+Wp1XIGVSFIdpDaMi+MXx/dG/st75WK7lG1wv2oN0ituSp5RsFw8GqGOSYSj
aW2RgGfPFfB45N20RFSy5w5TPWQWRAsFrP7mISf9haP1WVAbg8HAyio161yypscCSsHI
CD1ka+luvKofb9YDmq6NAebCU1s/klLrHWYEGoAJ6rJ63HnJp1gIkrRo/uP7FlhBxaIB
lznw==
X-Gm-Message-State: AOJu0YxUb6f7X8QGSHYaIQzEZ3uEKfcRyaJop0DugLLAj/UkTii7novZ
jEV1GwvVhVZUaaNKRSI0O5rYKo5fJ7qrHnheiDg2aH4mLPMDwMDRHUnlS/r0B1WRy8sJkDoSXkt
qF5LuT/CmzxoiLxZksHScDtucEIRGcg==
X-Google-Smtp-Source: AGHT+IGETtFdx/962gXBk8lcesJRUtjuhDMMS2X/Q7OAR68coISBlq8Pv9B0nezjUbP9A/0oBJySnn2rZpNXRWF//2U=
X-Received: by 2002:a05:690c:a06:b0:651:6888:a018 with SMTP id
00721157ae682-652d6d9a339mr17072887b3.26.1720101321430; Thu, 04 Jul 2024
06:55:21 -0700 (PDT)
In-Reply-To: <CAPeSgWr+2Ci_f+JzhwvoJHf_pG2-1bbZQWwiqx055Q_xon4K1A@mail.gmail.com>
X-Mailman-Approved-At: Thu, 04 Jul 2024 11:30:23 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAJQBtgnVCfrgBgSKL5rxNV1=7uQNDWzDxk+4oT+OoQR-=E1U4Q@mail.gmail.com>
X-Mailman-Original-References: <87msmx4mt5.fsf@raspberrypi>
<CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com>
<CAPeSgWr+2Ci_f+JzhwvoJHf_pG2-1bbZQWwiqx055Q_xon4K1A@mail.gmail.com>
View all headers

Hi.

Just FYI, I use Erc (in Emacs). I'm not a very advanced user, perhaps,
but I never felt like I miss anything. That's not to stop you from
making your own, but if you just need a decent text client for IRC,
then there's already at least one.

On Thu, Jul 4, 2024 at 11:30 AM inhahe via Python-list
<python-list@python.org> wrote:
>
> On Thu, Jul 4, 2024 at 5:22 AM inhahe <inhahe@gmail.com> wrote:
>
> >
> >
> > On Thu, Jul 4, 2024 at 5:14 AM Daniel via Python-list <
> > python-list@python.org> wrote:
> >
> >>
> >> In your wisdom, would python be a good environment to accomplish this?
> >
> >
>
> > I think Python would be a great language to write an IRC client in, it's a
> > rapid-development language, and also Python is particularly good for text
> > manipulation and the IRC protocol is textual rather than binary.
> >
>
> Oh yeah, I forgot I was going to mention that Twisted has already done a
> lot of the dirty work for you if you make it in Python...they have twisted.
> words.protocols.irc, which implements the IRC protocol. (I don't know if
> it's up to date and supports ircv3, though.)
> --
> https://mail.python.org/mailman/listinfo/python-list

Subject: Re: python for irc client
From: Daniel
Newsgroups: comp.lang.python
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Thu, 4 Jul 2024 20:43 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
From: me@sc1f1dan.com (Daniel)
Newsgroups: comp.lang.python
Subject: Re: python for irc client
References: <87msmx4mt5.fsf@raspberrypi>
<CAPeSgWoEtcNs+kYNzoL2njQFLdk2MoTeR2JG8FMXciosZeChpw@mail.gmail.com>
<mailman.0.1720084989.2981.python-list@python.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Message-ID: <87jzi0vqfe.fsf@raspberrypi>
Cancel-Lock: sha1:mkrBj9+DH1y5KWRsYWqX0mZbbKs=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 72
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Thu, 04 Jul 2024 20:43:35 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Thu, 04 Jul 2024 13:43:33 -0700
X-Received-Bytes: 3711
View all headers

inhahe <inhahe@gmail.com> writes:

> On Thu, Jul 4, 2024 at 5:14 AM Daniel via Python-list <
> python-list@python.org> wrote:
>
>> Hi guys -
>>
>> I have historical experience developing sofwtare for my own use. It has
>> been
>> quite a while since doing so and the advent of new languages has brought me
>> here. Python has built quite a reputation. It would be fun to pick up a
>> new language while I'm at it.
>>
>> I've been a consumer of IRC since the nineties and have been running an
>> instance of quassel core on an old laptop for the last decade. Over the
>> years, my use of xwindows has dramatically decreased and I spend 90% of my
>> computer time with multiple panes of tmux while I do my usual daily fun.
>> 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.
>>
>> I don't use standard desktop computers anymore - I'm writing this on my
>> beloved pi400 using emacs.
>>
>> Thanks
>>
>> Daniel
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>
>
> I think Python would be a great language to write an IRC client in, it's a
> rapid-development language, and also Python is particularly good for text
> manipulation and the IRC protocol is textual rather than binary. But, if
> your only purpose for using Python is to reduce the memory footprint, I'm
> not sure. I don't know specifically, but I'd guess Python has a higher
> memory footprint than, say, C, because it's a high-level language. For
> example, each variable has to be boxed, and also the interpreter has to be
> loaded..
>
> Regarding high ASCII, I don't know if that works in IRC, but either way,
> ASCII isn't really enough nowadays. You need to support Unicode;
> specifically, UTF-8.

Okay great. Since my original post, I settled on UTF8. I have to create
a list of requirements for v1.0 to limit scope creep and I can actually
get this done.

I may put it on github and solicit for assistance at some point.

Thanks for the response, both of them. I'll look at the other code and
see how I can fold it in. What I have to find out, still, is how the
core server manages the messages. I suspect the core does all the
sending and receiving and the client just sends the packets to core for
management. That's just a guess though.

I still have to review the liraries, this is a new idea hatched last
night so I have yet to investigate much.

My initial thought was C++ but this would be my first termianl-only
application in many years so I thought a different coding platform would
be effective.

Daniel

Subject: Re: python for irc client
From: orzodk
Newsgroups: comp.lang.python
Date: Mon, 8 Jul 2024 21:09 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: orzodk@fastmail.com (orzodk)
Newsgroups: comp.lang.python
Subject: Re: python for irc client
Date: Mon, 08 Jul 2024 15:09:01 -0600
Lines: 27
Message-ID: <mailman.23.1720472929.2981.python-list@python.org>
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: <orzodk@fastmail.com>
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: <xms:XlWMZshUCx6DXxrQgf7ijtLh5pwjlWXccVVfSVham5w1oEplY2BJGw>
<xme:XlWMZlDlVNlqP-FGFgh5-_npX-2UK6fsea55wvbNw9NZ_MSA2EGc6-h8Gh1jxCWEo
GvfRbVXP8wl0S1G_DU>
X-ME-Received: <xmr:XlWMZkHbS4zgtHgBVZny3qW_fMmOSxa5-YOvwFd3l9YOF3NdpzYsAQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejgdduheejucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
cujfgurhephffvvefujghffffkfgggtgesthdtredttdertdenucfhrhhomhepohhriiho
ughkuceoohhriihoughksehfrghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnh
epkedvgfehgffhleeuiedtfeehheduudegkeeiieeiudeiudetffffjedtheekueeinecu
ffhomhgrihhnpeifvggvtghhrghtrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc
frrghrrghmpehmrghilhhfrhhomhepohhriihoughksehfrghsthhmrghilhdrtghomh
X-ME-Proxy: <xmx:XlWMZtQsGKaLMKyj85_WwETt-xAQ0ZsRPpFDe9mYf8HyOKx-wbxNkw>
<xmx:XlWMZpxSRdgWS7WE8q0y_aS7_yGQmjAWOLZ2g_qjSHQ89GGcX4_BeA>
<xmx:XlWMZr7wck7KAiZONANTA-U4qFguR8LTJddB2OJzqrczNgbdEdQ2yA>
<xmx:XlWMZmzGANEbU6233ZBavvRZr7UkUVnTyu4DSmwMLhv-nRD91IaDiQ>
<xmx:XlWMZk-XlYAGpHifE_StSh55neGBKI9IwF86ez6ctStMMr4qZEgaTogY>
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
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <87zfqrfv6a.fsf@blahblah.localdomain>
X-Mailman-Original-References: <87msmx4mt5.fsf@raspberrypi>
View all headers

Daniel via Python-list <python-list@python.org> 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!

1

rocksolid light 0.9.8
clearnet tor