Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #103: operators on strike due to broken coffee machine


comp / comp.lang.python / Using pipx for packages as opposed to applications

SubjectAuthor
* Using pipx for packages as opposed to applicationsChris Green
+- Re: Using pipx for packages as opposed to applicationsStefan Ram
+- Re: Using pipx for packages as opposed to applicationsLeft Right
+* Re: Using pipx for packages as opposed to applicationsStefan Ram
|+* Re: Using pipx for packages as opposed to applicationsChris Green
||`- Re: Using pipx for packages as opposed to applicationsThomas Passin
|`- Re: Using pipx for packages as opposed to applications (Posting On Python-List PLawrence D'Oliveiro
+- Complete working version of cython Queue example?Henry S. Thompson
+- Re: Complete working version of cython Queue example?Henry S. Thompson
`- Re: Complete working version of cython Queue example?Thomas Passin

1
Subject: Using pipx for packages as opposed to applications
From: Chris Green
Newsgroups: comp.lang.python
Date: Sat, 11 Jan 2025 21:54 UTC
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl@isbd.net (Chris Green)
Newsgroups: comp.lang.python
Subject: Using pipx for packages as opposed to applications
Date: Sat, 11 Jan 2025 21:54:32 +0000
Lines: 10
Message-ID: <ot5b5l-50ps.ln1@q957.zbmc.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net BquUdzv9s5f6Gkby61hfzwA42kbc3lnkyOi/oUduw9HtuNJbI=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:MxwHOWdJ4W+3rWC+0wAZHDwwzeE= sha256:dAAPikJPeU1mHmfgOtLGdyZcxEGx1sBjfFR04dPNTkw=
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-28-amd64 (x86_64))
View all headers

Can one use pipx to wrap the process of creating an independent
environment for a python package as opposed to a runnable application?

E.g. I want to install and use pksheet but, as it's not available from
the Debian repositories, I'll have to install it from PyPi. So I
should put it in its own environment. Can pipx help me with this?

--
Chris Green
·

Subject: Re: Using pipx for packages as opposed to applications
From: Stefan Ram
Newsgroups: comp.lang.python
Organization: Stefan Ram
Date: Sun, 12 Jan 2025 09:54 UTC
References: 1
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: Using pipx for packages as opposed to applications
Date: 12 Jan 2025 09:54:35 GMT
Organization: Stefan Ram
Lines: 66
Expires: 1 Jan 2026 11:59:58 GMT
Message-ID: <pipx-20250112105347@ram.dialup.fu-berlin.de>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de Mgr8E2b/XXBngIhFATHz0AQgplFtUfrejKtT4KVhT1Hr82
Cancel-Lock: sha1:nOQFuPaefOpvjlFl1Pt61hITeqs= sha256:n0L3mw9/5i7I2Jo8aJQp0pFw6iRQyjBrkFadwTJce/E=
X-Copyright: (C) Copyright 2025 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
View all headers

Chris Green <cl@isbd.net> wrote or quoted:
>Can one use pipx to wrap the process of creating an independent
>environment for a python package as opposed to a runnable application?

.---------------------------------------------------------------.
| Heads up, I haven't put this advice through its paces myself, |
| so take it with a grain of salt! |
'---------------------------------------------------------------'

Yo, pipx is really more for setting up and running Python CLI
apps in their own little bubbles, not so much for creating
separate playgrounds for regular Python packages. But hey,
you can still use pipx to kind of sorta get what you want with
pksheet, even if it's not your typical command-line deal.

Here's the lowdown on using pipx for pksheet:

1. Drop pksheet in with pipx:

bash

pipx install pksheet

This bad boy will whip up a special spot just for pksheet and
plop it in there.

2. To rock pksheet in your Python scripts, you can run it through
pipx like this:

bash

pipx run pksheet your_script.py

This move will fire up your script using the pksheet setup in
its own little world.

Now, while this trick works, it's not exactly smooth sailing for
everyday package use. For non-CLI packages like pksheet, you're
better off sticking to the old-school virtual environment tools:

1. Whip up a virtual environment:

bash

python3 -m venv pksheet_env

2. Jump into that environment:

bash

source pksheet_env/bin/activate

3. Grab pksheet:

bash

pip install pksheet

4. Now you're golden to use pksheet in your Python scripts within
this environment.

To wrap it up, pipx can technically handle pksheet, but it's really
more at home with CLI apps. For your run-of-the-mill Python packages,
cooking up a dedicated virtual environment is the way to go.

Subject: Re: Using pipx for packages as opposed to applications
From: Left Right
Newsgroups: comp.lang.python
Date: Sun, 12 Jan 2025 10:02 UTC
References: 1 2
Path: news.eternal-september.org!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: Using pipx for packages as opposed to applications
Date: Sun, 12 Jan 2025 11:02:00 +0100
Lines: 35
Message-ID: <mailman.63.1736676133.2912.python-list@python.org>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@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 NMEVGZGsPd2aLJEHyyLcCQl8IszhCf+of3XyMgPFVFig==
Cancel-Lock: sha1:S5gjDtYS55rVOpUg2l06ySyEc/U= sha256:OgxARLyiTp6n3HkUQq26eyaYDuvfckMTwoXjq8X2qWA=
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=hKGh53jo;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'e.g.': 0.07; 'sun,': 0.07;
'users,': 0.07; 'url:mailman': 0.09; 'cc:addr:python-list': 0.09;
'debian': 0.09; 'fair,': 0.09; 'integrate': 0.09; 'library,':
0.09; 'received:mail-qv1-xf2a.google.com': 0.09;
'subject:packages': 0.09; 'cc:no real name:2**0': 0.14; 'that.':
0.15; 'url:listinfo': 0.15; '2025': 0.16; 'else?': 0.16;
'integration,': 0.16; 'pypi.': 0.16; 'use?': 0.16; 'wrote:': 0.16;
'python': 0.16; 'it?': 0.19; 'libraries': 0.19;
'cc:addr:python.org': 0.20; 'url-ip:188.166.95.178/32': 0.20;
'url-ip:188.166.95/24': 0.20; 'install': 0.23; 'url-
ip:188.166/16': 0.24; "i'd": 0.24; 'cannot': 0.25; 'cc:2**0':
0.25; 'seems': 0.26; 'library': 0.26; 'creating': 0.27; 'chris':
0.28; 'sense': 0.28; 'environment': 0.29; 'this?': 0.29; 'it,':
0.29; 'message-id:@mail.gmail.com': 0.31; 'distributing': 0.32;
'python-list': 0.32; 'subject:Using': 0.32; 'subject:for': 0.32;
"i'll": 0.33; 'use,': 0.33; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'able': 0.34; 'package': 0.34;
'from:addr:gmail.com': 0.34; 'also,': 0.36; "it's": 0.37; 'hard':
0.37; 'way': 0.38; 'put': 0.38; 'both': 0.38; 'use': 0.39;
"that's": 0.39; 'decide': 0.39; 'to.': 0.39; 'want': 0.40;
'should': 0.40; 'best': 0.61; "there's": 0.61; 'your': 0.64;
'imagine': 0.64; 'let': 0.65; 'independent': 0.65; 'tool': 0.65;
'them,': 0.70; 'tools': 0.74; 'green': 0.96
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1736676131; x=1737280931; darn=python.org;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:from:to:cc:subject:date
:message-id:reply-to;
bh=B8vOHp/dkT4h7Ml6crYU5ymIc8Pu5WZ6MQZAKt6u2Gc=;
b=hKGh53jouQPbRELytRr1hewkftcnkm8ZodcdNwtulWC06zijP6lJ/13bwTNBQjU2qc
MiLPmliI5wj1UhqYxN+Po3FNj8UGMD3qB3kp/B2E5g/Fmek1CoQ2DbLLushC88H6BHpW
A+s4V9b2kSL9im/rM6EqYOv6w4Fxp1j790ev5hPSSbk6ymDCAHp2LeU/5qu9D8Spm9cy
wTV9i9Tdo8nEKdT7k8b0Tph3tH8q8m0NRpMnZNviy63vhPIAerKmNyJy6iNIbkZaYPnS
pfAHNYfbMX5a8aelMJPuDZX/tIxXmGrsimgeHGT5D1I1rzpW/SG5NaFmiqrGgbWpaVLu
7UTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1736676131; x=1737280931;
h=content-transfer-encoding:cc: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=B8vOHp/dkT4h7Ml6crYU5ymIc8Pu5WZ6MQZAKt6u2Gc=;
b=RkHokpvcMP3cYq/ejI+C5tVKmkG20Q8n5vtPrNt8a1eaqTP/ofIZH+RrL9HtztjC1a
C+fkTP5KvPxXgAJB4m+H9ew0flxnQoHQSflHRQc9JatAQEiyPd2UKscVzzMXeFGMDQhW
rtN3LGguevNcUUola5IBd7Wj1QqyXuJTh2oURiZWmtRGQpgliVP4rwRGhs3q1+VSuhsB
VEl+ku2dQfUkgOwb5JlOVMygLZ0i2cVJvRcasOEqSTJJ+RgrqC9EIZxsrLae4QWn1Iee
SJjVNLl2GLE1InUd4p/2I40sXlOyhRWA9oFeeGEBMAHxHraPpISoW9TTfFC+ml8pft6l
Z5Gw==
X-Gm-Message-State: AOJu0YzrcJoxI3labhiiZT8YT5K5tScK5KLp14zQBq05m1oAOBmmvayP
N1oZH6Pe9A938vvEF6WGD5/+esVvwpZ3319VHTycg5yDqFSejTWE0JLAPhuE6M1JEPnBYswEr/a
+0B8gDvnfMUARnjohzxyJi9/DShnblA==
X-Gm-Gg: ASbGnct/ynJwTqm6ZR94sN4EKcdHIhcxuLpWE6l0d6bfLiwcVKjf3tXo/oCzjXzwapc
rRpaskf2GdPWlj26RiB3PCLsdOe/dGhv7CMg33E1a5zHhfEk/48mQG8PyTPfDx999WVu+
X-Google-Smtp-Source: AGHT+IEnsuuAoErTxIk9Le3wytP6Iv0lkFDLjw7fkB76Pu4jPSSmAf2rErkG2Z1+inJbQgdmh5z9tfg5vcG9YSziIyE=
X-Received: by 2002:a05:6214:2588:b0:6d8:94f4:d2a8 with SMTP id
6a1803df08f44-6dfba9f7ceemr72529866d6.9.1736676130843; Sun, 12 Jan 2025
02:02:10 -0800 (PST)
In-Reply-To: <ot5b5l-50ps.ln1@q957.zbmc.eu>
X-Gm-Features: AbW1kvbc-PcFV8nhVpX0DwxFIX_Xaeu7YCjpba-Ps8n9V5TAqwWrJB43kBYwYow
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: <CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
X-Mailman-Original-References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
View all headers

What would be the intended use? If this is for other Debian users,
then why not make a Debian package? If it's for yourself, why do you
need to automate it?

To be fair, I don't see a point in tools like pipx. Have never used
it, and cannot imagine a scenario where I'd want to. It seems like
there's always a better way to do what this tool alleges to be able to
do...

Also, you say that you want it in its own environment: then what
difference does it make if it's on Debian or anywhere else? If you
are distributing a library, it makes sense to incorporate it into the
user's infrastructure. Either you do the integration, or let users
decide how to best integrate it. If you provide them with the
environment that they *must* use, that's going to be the worst of both
worlds: users won't be able to use the library in the environment
created by them, nor will this library integrate with the other
libraries provided by the system. So, it's hard to imagine why your
users would want that.

On Sun, Jan 12, 2025 at 12:47 AM Chris Green via Python-list
<python-list@python.org> wrote:
>
> Can one use pipx to wrap the process of creating an independent
> environment for a python package as opposed to a runnable application?
>
> E.g. I want to install and use pksheet but, as it's not available from
> the Debian repositories, I'll have to install it from PyPi. So I
> should put it in its own environment. Can pipx help me with this?
>
> --
> Chris Green
> ·
> --
> https://mail.python.org/mailman/listinfo/python-list

Subject: Re: Using pipx for packages as opposed to applications
From: Stefan Ram
Newsgroups: comp.lang.python
Organization: Stefan Ram
Date: Sun, 12 Jan 2025 10:26 UTC
References: 1
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: Using pipx for packages as opposed to applications
Date: 12 Jan 2025 10:26:17 GMT
Organization: Stefan Ram
Lines: 9
Expires: 1 Jan 2026 11:59:58 GMT
Message-ID: <pksheet-20250112112546@ram.dialup.fu-berlin.de>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de TZRr7dkeSy3NVu47lCHXZwq/3kLwKbr2no2QLZQLJh9ztj
Cancel-Lock: sha1:nPQ9Ri2CWDn1L3PiFIQxr1MtoCA= sha256:jzDYrjFSid/zwNWlTVqByOFF/cBBqmbhVfM8UxIX9NQ=
X-Copyright: (C) Copyright 2025 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
View all headers

Chris Green <cl@isbd.net> wrote or quoted:
>E.g. I want to install and use pksheet but, as it's not available from
>the Debian repositories, I'll have to install it from PyPi.

I can't dig up any "pksheet" on PyPI. So, you got to take
my earlier response like a rumor from a random tech meetup in
Palo Alto - sounds interesting, but needs serious verification.

Subject: Re: Using pipx for packages as opposed to applications
From: Chris Green
Newsgroups: comp.lang.python
Date: Sun, 12 Jan 2025 12:11 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl@isbd.net (Chris Green)
Newsgroups: comp.lang.python
Subject: Re: Using pipx for packages as opposed to applications
Date: Sun, 12 Jan 2025 12:11:22 +0000
Lines: 24
Message-ID: <a4oc5l-l9ft.ln1@q957.zbmc.eu>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu> <pksheet-20250112112546@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net c/11TEB21yugpSTF9LwMmAeycuydP+XjTwExO6M4/K0HSVdXk=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:rFm2RHdbsRcfhmMbsdCJj8k46RE= sha256:pTP75O/xtyLS1tvEUgaJpihDAvbWND5ReV0FSzz7g0M=
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-28-amd64 (x86_64))
View all headers

Stefan Ram <ram@zedat.fu-berlin.de> wrote:
> Chris Green <cl@isbd.net> wrote or quoted:
> >E.g. I want to install and use pksheet but, as it's not available from
> >the Debian repositories, I'll have to install it from PyPi.
>
> I can't dig up any "pksheet" on PyPI. So, you got to take
> my earlier response like a rumor from a random tech meetup in
> Palo Alto - sounds interesting, but needs serious verification.
>
Ah, oops, a typo. It's pysheet (I have pk on the brain from it being
Point Kilometrique, distance markers on canals in France).

Thanks for your previous response, it told me what I needed to know,
that pipx isn't really going to do what I want particularly easily.

If I DIY an environment for pysheet and then develop some python that
uses it, how do I then make it accessible as a 'normal' program? This
is just for my own use by the way, on (probably) just a couple of
Linux systems.

--
Chris Green
·

Subject: Re: Using pipx for packages as opposed to applications (Posting On Python-List Prohibited)
From: Lawrence D'Oliv
Newsgroups: comp.lang.python
Organization: A noiseless patient Spider
Date: Sun, 12 Jan 2025 22:42 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.python
Subject: Re: Using pipx for packages as opposed to applications (Posting On
Python-List Prohibited)
Date: Sun, 12 Jan 2025 22:42:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <vm1ghc$1el7t$1@dont-email.me>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<pksheet-20250112112546@ram.dialup.fu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 12 Jan 2025 23:42:52 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a1d5ee7ce2084e0db768a688b533fbe4";
logging-data="1529085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18oiFZAJn9WqoDlLDzlr/DN"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:S2uZQGVJQppzCu+mnjee3mucfuI=
View all headers

On 12 Jan 2025 10:26:17 GMT, Stefan Ram wrote:

> I can't dig up any "pksheet" on PyPI. So, you got to take my earlier
> response like a rumor from a random tech meetup in Palo Alto - sounds
> interesting, but needs serious verification.

More of a fill-in-the-blanks type of response, shall we say?

Subject: Complete working version of cython Queue example?
From: Henry S. Thompson
Newsgroups: comp.lang.python
Date: Mon, 13 Jan 2025 16:09 UTC
References: 1 2 3
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ht@inf.ed.ac.uk (Henry S. Thompson)
Newsgroups: comp.lang.python
Subject: Complete working version of cython Queue example?
Date: Mon, 13 Jan 2025 16:09:36 +0000
Lines: 21
Message-ID: <mailman.64.1736790268.2912.python-list@python.org>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
<f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Trace: news.uni-berlin.de oy1PPHO6at6EXBrVL9VRVQPVQ1+YcN67GKC0lvwIuU0Q==
Cancel-Lock: sha1:yDMpeQJk5F9cgjx5Y24NRQK+ZbE= sha256:7J7Bu1qRMpzYtSS1i4xMB5fZY0egCrf6ALts/lRnnMI=
Return-Path: <ht@inf.ed.ac.uk>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: UNSURE 0.223
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.60; '*S*': 0.04; 'can,': 0.09; 'library,':
0.09; 'subject:version': 0.09; 'cython,': 0.16; 'preferably':
0.16; 'subject:working': 0.16; 'url-ip:129/8': 0.16; 'python':
0.16; 'to:addr:python-list': 0.20; "i've": 0.22; 'version': 0.23;
'school': 0.24; 'anyone': 0.25; 'header:User-Agent:1': 0.30;
"doesn't": 0.32; 'carefully': 0.32; 'files,': 0.32; 'but': 0.32;
'header:In-Reply-To:1': 0.34; 'trying': 0.35; 'files': 0.36;
'errors': 0.36; 'thanks,': 0.36; 'work.': 0.37; 'using': 0.37;
'example': 0.37; 'days': 0.62; 'simply': 0.63; 'received:userid':
0.66; '[1]': 0.67; 'henry': 0.69; 'subject:? ': 0.69; 'working,':
0.69; 'charset:iso-8859-1': 0.73; 'url:ac': 0.75; 'spent': 0.81;
'edinburgh': 0.84; 'forged': 0.84; 'received:ac.uk': 0.84;
'e-mail:': 0.88; 'details,': 0.95
In-Reply-To: <CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
(Left
Right via Python-list's message of "Sun\, 12 Jan 2025 11\:02\:00 +0100")
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b35 (linux)
X-Edinburgh-Scanned: at loire.is.ed.ac.uk
X-Mailman-Approved-At: Mon, 13 Jan 2025 12:44:27 -0500
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: <f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
X-Mailman-Original-References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
View all headers

I've spent several days trying to get this example [1] working, using
Python3.11 and Cython 3.0.11 of Debian.

I've copied the example files as carefully as I can, renamed some to
avoid a name clash with the queue.py library, but the Pure Python
version throws errors at compile time and although the Cython version
compiles, it doesn't work.

Before giving details, just checking first if anyone can simply point
to a set of files, preferably Pure Python but failing that Cython,
that actually work for them.

Thanks,

ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND
e-mail: ht@inf.ed.ac.uk
URL: https://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]

Subject: Re: Using pipx for packages as opposed to applications
From: Thomas Passin
Newsgroups: comp.lang.python
Date: Mon, 13 Jan 2025 18:15 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Using pipx for packages as opposed to applications
Date: Mon, 13 Jan 2025 13:15:49 -0500
Lines: 25
Message-ID: <mailman.65.1736792542.2912.python-list@python.org>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<pksheet-20250112112546@ram.dialup.fu-berlin.de>
<a4oc5l-l9ft.ln1@q957.zbmc.eu>
<e67b7cba-131e-4719-9d89-d2b4e73ade17@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de NwVtyQ2pu7pCACYprmHRKQQNhyR2x+Gj/ZD0379zh81g==
Cancel-Lock: sha1:792C6sU/smIonxuKHSoy6rBTRJs= sha256:l+YI1wRkf7CGfT9By2gsv6yxbW1uyyYyCgh3VBMtcaE=
Return-Path: <list1@tompassin.net>
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=tompassin.net header.i=@tompassin.net header.b=jJDjNwGq;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'random': 0.05; 'e.g.':
0.07; 'ram': 0.07; 'debian': 0.09; 'linux': 0.09; 'meetup': 0.09;
'subject:packages': 0.09; 'easily.': 0.16; 'interesting,': 0.16;
'program?': 0.16; 'pypi.': 0.16; 'received:10.0.0': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
'sounds': 0.16; 'typo.': 0.16; 'wrote:': 0.16; 'python': 0.16;
"can't": 0.17; 'uses': 0.19; 'to:addr:python-list': 0.20;
'install': 0.23; 'stefan': 0.26; "isn't": 0.27; '>>>': 0.28;
'chris': 0.28; 'environment': 0.29; 'it,': 0.29; 'header:User-
Agent:1': 0.30; 'am,': 0.31; 'python-list': 0.32; 'received:10.0':
0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'subject:Using': 0.32;
'but': 0.32; 'develop': 0.32; 'subject:for': 0.32; "i'll": 0.33;
'script': 0.33; 'header:In-Reply-To:1': 0.34; 'particularly':
0.35; 'really': 0.36; 'couple': 0.37; "it's": 0.37; 'tech': 0.37;
'thanks': 0.39; 'use': 0.39; 'received:100': 0.39; 'wrote': 0.39;
'program.': 0.40; 'serious': 0.40; 'want': 0.40; 'skip:k 10':
0.64; 'your': 0.64; 'earlier': 0.67; 'header:Received:6': 0.67;
'received:64': 0.68; 'launches': 0.69; 'alto': 0.84; 'palo': 0.84;
'brain': 0.91; 'green': 0.96
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1736792151; a=rsa-sha256;
cv=none;
b=a6w6ZTAfjJVQzNn5jiVAHbxeL9ZQvYhYZrtPsitO7T50Fhcli4bV27ax8aAfBByxPiH01z
H881YGN2ZI9Ew3Shcd5BmoblPjD8oCPDvt/8k3qClpF+gSfO5h6qWQ6vczP8Odugp5iSDI
WEcKmWv03hQDrzwY1yyWK/Pkd4cvKfF2znL3VVorJfAFzLjK4zVOtaABZQW5733V7IK5MF
XemaaDcI08so1i4B+Xe1+YsarzjwV9kD92JG04vDvjuwIgILfl8saEfHWz3vKrfP9IMUD3
cHWzeI1FG1ZU5V5BqFlpql/6QxURPgPSkAh/hNLxTuDNsxqJR2YibHlZb9G/Nw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1736792151;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=quAOsRm/mWUOFyRql/E6mhGQjbmNd4un5hIooKG5SEg=;
b=H9YtvOGiqmWZ73nMCJD2xwlkehSCVugQXoLtTnMbyVtz3/sCQm4DFicSWK6S82oC5qLSHg
dKCVyuzidB3JNOhDhXdjWBjdXvnw84KADMmeKYOe1hGv3AxfgPdb74QgaXz6BgjDWcTy43
J5dQM8vSiSaOgWsd8S3OlOPk5DWXodZ8w+TMm95mQHTE4K8kBcTbmA3wC0rNaEA6fKisKs
Hs639uU3Sb5rKvcNjglp3+rPF2iGPTRR6Owr/Ogfx6V0bO0C0XzDjTTssz2l1hv013L2dE
4rQJg/LQcmhwjIq3QZyGfORq6a+opH4dXhdMAmW/TlNsWEb7lmfn01uheuqRhg==
ARC-Authentication-Results: i=1; rspamd-7df4dcbd86-6j8tr;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Stupid-Hook: 6c310b631fcd6d90_1736792151393_1940751807
X-MC-Loop-Signature: 1736792151393:829579037
X-MC-Ingress-Time: 1736792151393
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1736792150;
bh=quAOsRm/mWUOFyRql/E6mhGQjbmNd4un5hIooKG5SEg=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=jJDjNwGqW7wXcEbUXK8Uo4jfGhDwvJPOtDfDd/7+1dC5WTMo20HXgPqx+lOY1A9VC
cQ6j1+5hrn7a06IDGNi3C6pWKeCbs8pxdT5iyAkGnAjfGo4PAXAF5cI67OPejO1AyF
cIISnG5VTqvQfM9GZOKVdNfMQVnvYXeKkExsBAr/nwl+N2awnScYoS5CB2DlfEbRLx
N4NAIt/GfydtrCJUI7+ocoSFiBJzVgb+1KwvP2gTUjqU1tWBbyWEGfystqUSK+WvTz
piuLWlDRea8Adze7NaofKNzE7xuxu2ja+w/50W76/jBZLQpSWvvxmWKLuE/u4QtGmP
yBwlGSKYFeE1A==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <a4oc5l-l9ft.ln1@q957.zbmc.eu>
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: <e67b7cba-131e-4719-9d89-d2b4e73ade17@tompassin.net>
X-Mailman-Original-References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<pksheet-20250112112546@ram.dialup.fu-berlin.de>
<a4oc5l-l9ft.ln1@q957.zbmc.eu>
View all headers

On 1/12/2025 7:11 AM, Chris Green via Python-list wrote:
> Stefan Ram <ram@zedat.fu-berlin.de> wrote:
>> Chris Green <cl@isbd.net> wrote or quoted:
>>> E.g. I want to install and use pksheet but, as it's not available from
>>> the Debian repositories, I'll have to install it from PyPi.
>>
>> I can't dig up any "pksheet" on PyPI. So, you got to take
>> my earlier response like a rumor from a random tech meetup in
>> Palo Alto - sounds interesting, but needs serious verification.
>>
> Ah, oops, a typo. It's pysheet (I have pk on the brain from it being
> Point Kilometrique, distance markers on canals in France).
>
> Thanks for your previous response, it told me what I needed to know,
> that pipx isn't really going to do what I want particularly easily.
>
>
> If I DIY an environment for pysheet and then develop some python that
> uses it, how do I then make it accessible as a 'normal' program? This
> is just for my own use by the way, on (probably) just a couple of
> Linux systems.

Create a launch script that sets the environmental variables and
launches the program.

Subject: Re: Complete working version of cython Queue example?
From: Henry S. Thompson
Newsgroups: comp.lang.python
Date: Mon, 13 Jan 2025 19:58 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: ht@inf.ed.ac.uk (Henry S. Thompson)
Newsgroups: comp.lang.python
Subject: Re: Complete working version of cython Queue example?
Date: Mon, 13 Jan 2025 19:58:45 +0000
Lines: 26
Message-ID: <mailman.66.1736799406.2912.python-list@python.org>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
<f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
<f5b34hm4hai.fsf@lochinver.inf.ed.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Trace: news.uni-berlin.de aRy9pkbGv5dmXodXjHNhFw+KGuHjDKUZlB1En+zIG1Ww==
Cancel-Lock: sha1:XVtEc3c5LL2AKmz21zNHYwxY6Bc= sha256:XrQQbuGvOCc+I62vCw3HF4OJvFo/Dpi4rlQLdt0RVWg=
Return-Path: <ht@inf.ed.ac.uk>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.160
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.71; '*S*': 0.03; 'can,': 0.09; 'library,':
0.09; 'subject:version': 0.09; 'url:stable': 0.09; 'writes:':
0.09; 'cython,': 0.16; 'preferably': 0.16; 'subject:working':
0.16; 'url-ip:129/8': 0.16; 'python': 0.16; 'to:addr:python-list':
0.20; "i've": 0.22; 'version': 0.23; 'school': 0.24; 'anyone':
0.25; 'header:User-Agent:1': 0.30; "doesn't": 0.32; 'carefully':
0.32; 'files,': 0.32; 'python-list': 0.32; 'but': 0.32; 'header
:In-Reply-To:1': 0.34; 'trying': 0.35; 'files': 0.36; 'errors':
0.36; 'thanks,': 0.36; 'work.': 0.37; 'using': 0.37; 'example':
0.37; 'days': 0.62; 'simply': 0.63; 'url-ip:104.16/16': 0.65;
'received:userid': 0.66; '[1]': 0.67; 'henry': 0.69; 'working,':
0.69; 'charset:iso-8859-1': 0.73; 'url:ac': 0.75; 'spent': 0.81;
'edinburgh': 0.84; 'forged': 0.84; 'received:ac.uk': 0.84;
'url:src': 0.84; 'e-mail:': 0.88; 'details,': 0.95
In-Reply-To: <f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk> (Henry S. Thompson
via Python-list's message of "Mon\, 13 Jan 2025 16\:09\:36 +0000")
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b35 (linux)
X-Edinburgh-Scanned: at loire.is.ed.ac.uk
X-Mailman-Approved-At: Mon, 13 Jan 2025 15:16:45 -0500
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: <f5b34hm4hai.fsf@lochinver.inf.ed.ac.uk>
X-Mailman-Original-References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
<f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
View all headers

[with link]
Henry S. Thompson via Python-list writes:

> I've spent several days trying to get this example [1] working, using
> Python3.11 and Cython 3.0.11 of Debian.
>
> I've copied the example files as carefully as I can, renamed some to
> avoid a name clash with the queue.py library, but the Pure Python
> version throws errors at compile time and although the Cython version
> compiles, it doesn't work.
>
> Before giving details, just checking first if anyone can simply point
> to a set of files, preferably Pure Python but failing that Cython,
> that actually work for them.
>
> Thanks,
>
> ht

[1] https://cython.readthedocs.io/en/stable/src/tutorial/clibraries.html
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND
e-mail: ht@inf.ed.ac.uk
URL: https://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]

Subject: Re: Complete working version of cython Queue example?
From: Thomas Passin
Newsgroups: comp.lang.python
Date: Mon, 13 Jan 2025 18:18 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Complete working version of cython Queue example?
Date: Mon, 13 Jan 2025 13:18:50 -0500
Lines: 16
Message-ID: <mailman.67.1736807031.2912.python-list@python.org>
References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
<f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
<f801e672-bded-492a-b9b8-bce10c9e9c85@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de pnHCPfYbcKWWafrVs85/Vg8wSQ64oD2N1YSEhcXJgPyg==
Cancel-Lock: sha1:Y06hp/6Y8oKYdDGJmikddMfDCaI= sha256:W98aYREW4MxKNO9wcjYhxbrczo4Aepc8QDWrx8hBdvs=
Return-Path: <list1@tompassin.net>
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=tompassin.net header.i=@tompassin.net header.b=yYL4wHKi;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'attachment,': 0.09;
'can,': 0.09; 'library,': 0.09; 'post.': 0.09;
'received:23.83.212': 0.09; 'received:elm.relay.mailchannels.net':
0.09; 'subject:version': 0.09; 'cython,': 0.16; 'preferably':
0.16; 'received:10.0.0': 0.16; 'received:100.112': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
'subject:working': 0.16; 'wrote:': 0.16; 'python': 0.16; 'to:addr
:python-list': 0.20; "i've": 0.22; 'version': 0.23; 'anyone':
0.25; 'header:User-Agent:1': 0.30; 'am,': 0.31; "doesn't": 0.32;
'carefully': 0.32; 'files,': 0.32; 'python-list': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'but': 0.32; 'header:In-
Reply-To:1': 0.34; 'trying': 0.35; 'files': 0.36; 'errors': 0.36;
'missing': 0.37; 'work.': 0.37; 'using': 0.37; 'example': 0.37;
'list': 0.39; 'attachments.': 0.39; 'received:100': 0.39;
'reference': 0.60; 'days': 0.62; 'simply': 0.63; 'your': 0.64;
'[1]': 0.67; 'header:Received:6': 0.67; 'received:64': 0.68;
'henry': 0.69; 'working,': 0.69; 'spent': 0.81; 'details,': 0.95
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1736792332; a=rsa-sha256;
cv=none;
b=clklcyXcrLPT8qtpEH1DJJr4L2vSusOnkXhlxgF9OK8pr11RWuuE+5KTnVB4neVmw1tqY6
Fv8q0XfYjALBqRnehqRsXb/4eS2UBnKX/V2Vu5NTlgSqyktiHFCIxlu+iqzZ5TkWghQ/ir
v0FcewMlK1qTuwyUNwrWQMJNH1Y40og7cgk61X+sYo70ontfSXPyCW+359ZtHrfrieVBXN
XTCkfZ6LSlm0IapoUj8hKl7JvR/YPMb4brNFVeduueLBpzD8+X/9c6EpH2E+7+d305M3aV
gnM65mW2ZzCuSZltXlUDcWOOKTmrGVrsnqWIHiiQKIoNIE1aF7doM4mZx1R3cQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1736792332;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=ZDT0RgChyY3Uv7F8+PrnkgGokr6+8yMXMfSoauIzP3U=;
b=48bd4vSt/gsPyWeOiPwljgTU3awlMJQrTrG/j8EL9B3cRhVJGuGk7abw26rGnc70IriU1t
J3USOvMYlRyIuxDdSTOrUmApGTj5Q8k0qW8viVvUxf4vTiTFD3XiaK/oxnOaHLKGaP6hR8
HgWrEA4wXhK9CLcVHF+xLjfVGLaUldaFhb1n8nkWQXD87Kp/FY0RmKfELW65rnEcoKsCoH
D4ysDlTKjCSE6cwZDxzFWHACBqBESrZudW3JMHZLPFdC9NfXm6cXU1kXnwi0HWkBG+82ws
MwAz6ceYlcOJ773MRRkowIo1hMgoOQ//EZQU/e3kkLfAmrO6W4N53YPkDHmI2A==
ARC-Authentication-Results: i=1; rspamd-7df4dcbd86-zjps2;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Cure-Oafish: 77991ce05debe207_1736792332572_106073408
X-MC-Loop-Signature: 1736792332572:3469900232
X-MC-Ingress-Time: 1736792332572
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1736792332;
bh=ZDT0RgChyY3Uv7F8+PrnkgGokr6+8yMXMfSoauIzP3U=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=yYL4wHKivPNLzR5A+w09kainDKJvvxwNnR+/WybZDB72zqvJC0DThD05Yx/0zIiPZ
WN5FTdZRPS4Y0L8StByHxO7scguqrCs3Gg3k5WonSbdFFM/54t01twH3B95N/D2hlD
l0EH/symIMm69dLi5UWl4iMfSrnnjXAyuZ9DOG9aSshMkmAijhgm39bDRL+FDfAlhK
Y4ptWFDHvgzMy5wGDFf3cmegOaIZYTLorRYAv23DwaywzUuVgIEDnAbtGPNdHi942z
EaEfDo7O7XnKeBXz2sJRpATv4Y32FYAkKYt+JcsuC6gaXwZ5d//+SNaOzSH/hz+dRJ
uXAGpmfGtb+aw==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
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: <f801e672-bded-492a-b9b8-bce10c9e9c85@tompassin.net>
X-Mailman-Original-References: <ot5b5l-50ps.ln1@q957.zbmc.eu>
<CAJQBtg=aEGSU-_VUCrD5x3y6Suea9AjSNTFSWr0kKDZ4NNjrSA@mail.gmail.com>
<f5b7c6y4rwf.fsf_-_@lochinver.inf.ed.ac.uk>
View all headers

On 1/13/2025 11:09 AM, Henry S. Thompson via Python-list wrote:
> I've spent several days trying to get this example [1] working, using
> Python3.11 and Cython 3.0.11 of Debian.
>
> I've copied the example files as carefully as I can, renamed some to
> avoid a name clash with the queue.py library, but the Pure Python
> version throws errors at compile time and although the Cython version
> compiles, it doesn't work.
>
> Before giving details, just checking first if anyone can simply point
> to a set of files, preferably Pure Python but failing that Cython,
> that actually work for them.

Your reference [1] is missing from your post. If it was an attachment,
this list doesn't do attachments.

1

rocksolid light 0.9.8
clearnet tor