Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Men love to wonder, and that is the seed of science.


devel / comp.lang.python.announce / [Python-announce] ANN: NumExpr 2.8.7

SubjectAuthor
o [Python-announce] ANN: NumExpr 2.8.7Francesc Alted

1
[Python-announce] ANN: NumExpr 2.8.7

<CAFrp1vpCbhwxkLL7ctz8eWnK=NVsUeJbSik1Et2b_kkonCEdhQ@mail.gmail.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16969&group=comp.lang.python.announce#16969

  copy link   Newsgroups: comp.lang.python.announce
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: faltet@gmail.com (Francesc Alted)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] ANN: NumExpr 2.8.7
Date: Tue, 26 Sep 2023 11:10:36 +0200
Lines: 45
Approved: python-announce-list@python.org
Message-ID: <CAFrp1vpCbhwxkLL7ctz8eWnK=NVsUeJbSik1Et2b_kkonCEdhQ@mail.gmail.com>
Reply-To: python-list@python.org, faltet@gmail.com
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
X-Trace: news.uni-berlin.de 8kVLU4BKly9RpxYoxLKTigP8S9KKXT/MK/uYXRhwxh2A==
Cancel-Lock: sha1:bzlc1OqwHMCO41T7mNUNc6XaohM= sha256:PwkWPF8827DC21xVDIO+Q9E+65RxxqR5yRKSlsi11ng=
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=lMQ1X/+j;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'everyone,': 0.03;
'generated': 0.03; 'url-ip:140.82.114.3/32': 0.03; 'url-
ip:140.82.114/24': 0.03; 'url-ip:140.82/16': 0.03; '3.7': 0.03;
'3.8': 0.05; 'kernel': 0.05; 'pypi': 0.05; 'variable': 0.05;
'arrays': 0.07; 'python.': 0.08; 'anymore.': 0.09; 'expression':
0.09; 'hosted': 0.09; 'numerical': 0.09; 'numpy': 0.09; 'received
:mail-pl1-x62c.google.com': 0.09; 'skip:` 10': 0.09; 'skip:` 20':
0.09; 'to:addr:python-announce-list': 0.09; 'url:github': 0.14;
'memory': 0.15; 'url-ip:140/8': 0.15; '&gt;=': 0.16;
'calculation': 0.16; 'decimal': 0.16; 'downstream': 0.16;
'expressions': 0.16; 'heavy': 0.16; 'mkl': 0.16; 'numpy.': 0.16;
'subject:ANN': 0.16; 'suggestions,': 0.16; 'to:name:discussion of
numerical python': 0.16; 'url:latest': 0.16; 'url:pydata': 0.16;
'url:pypi': 0.16; 'variable,': 0.16; 'python': 0.16; 'github':
0.17; 'uses': 0.19; 'to:addr:numpy-discussion': 0.22; 'to:no real
name:2**1': 0.22; "what's": 0.22; 'code': 0.23; 'url:wiki': 0.23;
'skip:- 10': 0.25; 'environment': 0.29; 'it,': 0.29; 'packages':
0.31; 'requiring': 0.32; 'message-id:@mail.gmail.com': 0.32;
'release': 0.34; 'same': 0.34; 'received:google.com': 0.34; 'url-
ip:104.17/16': 0.35; 'from:addr:gmail.com': 0.35; 'functions':
0.36; 'those': 0.36; 'using': 0.37; 'thanks': 0.38; 'changes':
0.39; 'setting': 0.39; 'use': 0.39; 'evaluation': 0.39; 'double':
0.40; 'want': 0.40; 'point.': 0.62; 'here': 0.62; 'share': 0.63;
'experience': 0.64; 'in:': 0.64; 'your': 0.64; 'look': 0.65;
'well': 0.65; 'less': 0.65; 'wish': 0.66; 'let': 0.66; 'numbers':
0.67; 'drop': 0.69; 'solutions': 0.70; 'rules': 0.70;
'performance': 0.71; 'deal': 0.73; 'operate': 0.75; 'reply-to:no
real name:2**0': 0.78; 'header:Reply-To:1': 0.79; 'reply-
to:addr:gmail.com': 0.84; '(like': 0.84; 'adopt': 0.84;
'blacklist': 0.84; 'pin': 0.84; 'wheels': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1695719447; x=1696324247; darn=python.org;
h=to:subject:message-id:date:from:reply-to:mime-version:from:to:cc
:subject:date:message-id:reply-to;
bh=df1NKXNgl9qPznSS6Mu7d9k8bCU/djwPb+Nxte34Qeo=;
b=lMQ1X/+jlm+pvNDRJjv2UNcpsaNNMb0+MAdLXUnC9nHE84Hi1Lnmw1eBhL0RK/Ra+R
E7wZN3n1TlXuKCsAut3j+ers8+ujerjAfvoAbAwmEnRx6Ky2CUU5ili59we81vqLpyc+
hiXmpc1D8jW6O09Nr+ymek0pPhugMUuofISm+1NVL9IbjzrdFIDM8jZNjG9GWu8NVqCx
j6pErrPl6nCcjMVP7AV3eUBly04XKaOTo5R18Yb/yiiAfQnHa19OsUwuJFp5Opt+5e0c
WeLPNLyxugMQ8baKPbqjVvwXu5OFBVAr6OST/Dhn1IggclD6CES/v5KP+LXEzNZYXv7p
fdHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1695719447; x=1696324247;
h=to:subject:message-id:date:from:reply-to:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=df1NKXNgl9qPznSS6Mu7d9k8bCU/djwPb+Nxte34Qeo=;
b=oi9XlvTIdCdGEWlAbsOsnjAYtW9GB1bMlfFt0Sn28LAmCaCloCdujrQoVblSGGg4Uf
P8dKr+2wTHpzFGuMM3hsacxbVYwOuOaEjxUI4M32VXa1LK0QC8eYNLQgvIyasknBBWOI
pY7HM6WK3Dt4mSwgrzzCMvFISUgrMumd7zljcSWfYLdFOzcRn3mILTT/QJooAgjfNJT4
FDJ+wzXAMLeEiQopYiqTOQxVD1Q4zyj16TT+Zldx/g1qZ5TtpDtf1Uw8Bb5jzJ/tCx7u
fbbojd6UB6WYFknQjKnxiRLXTCsEsPL2hVE9JnoBDEImZZa4u6I5TlgCYdFfFxmWx411
4A1g==
X-Gm-Message-State: AOJu0YyUoniQAYIsVjuewV1BxzSD2UydZDf9GFlp2tqIfbzrcrNuMmNT
KhVia+ixF2SwlXARMhK6ypnYbrlEXjP47SjeNAlg9adevPs=
X-Google-Smtp-Source: AGHT+IEExIVshxq5JH+cyVtl3rPIcsW8+nQAbDdaNPie16caWNJ75cvGVFgDa9HjR/ZDmh9QCKXubFierbUdGFitGag=
X-Received: by 2002:a17:90a:94c3:b0:26d:3d86:9a8e with SMTP id
j3-20020a17090a94c300b0026d3d869a8emr6784902pjw.25.1695719447343; Tue, 26 Sep
2023 02:10:47 -0700 (PDT)
X-MailFrom: faltet@gmail.com
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved
Message-ID-Hash: UGN54IOKO7DQ5JAIKTMV5BVJ2LFJKM6B
X-Message-ID-Hash: UGN54IOKO7DQ5JAIKTMV5BVJ2LFJKM6B
X-Mailman-Approved-At: Tue, 26 Sep 2023 06:59:23 -0400
X-Content-Filtered-By: Mailman/MimeDel 3.3.9b1
X-Mailman-Version: 3.3.9b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/UGN54IOKO7DQ5JAIKTMV5BVJ2LFJKM6B/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
 by: Francesc Alted - Tue, 26 Sep 2023 09:10 UTC

Hi everyone,
NumExpr 2.8.7 is a release to deal with issues related to downstream
`pandas`
and other projects where the sanitization blacklist was triggering issues
in their
evaluate. Hopefully, the new sanitization code would be much more robust
now.
For those who do not wish to have sanitization on by default, it can be
changed
by setting an environment variable, `NUMEXPR_SANITIZE=0`.
If you use `pandas` in your packages it is advisable you pin
`numexpr >= 2.8.7`
in your requirements.
Project documentation is available at:
http://numexpr.readthedocs.io/
Changes from 2.8.6 to 2.8.7
---------------------------
* More permissive rules in sanitizing regular expression: allow to access
digits
after the . with scientific notation. Thanks to Thomas Vincent.
* Don't reject double underscores that are not at the start or end of a
variable
name (pandas uses those), or scientific-notation numbers with digits
after the
decimal point. Thanks to Rebecca Palmer.
* Do not use `numpy.alltrue` in the test suite, as it has been deprecated
(replaced by `numpy.all`). Thanks to Rebecca Chen.
* Wheels for Python 3.12. Wheels for 3.7 and 3.8 are not generated anymore.
What's Numexpr?
---------------
Numexpr is a fast numerical expression evaluator for NumPy. With it,
expressions that operate on arrays (like "3*a+4*b") are accelerated
and use less memory than doing the same calculation in Python.
It has multi-threaded capabilities, as well as support for Intel's
MKL (Math Kernel Library), which allows an extremely fast evaluation
of transcendental functions (sin, cos, tan, exp, log...) while
squeezing the last drop of performance out of your multi-core
processors. Look here for a some benchmarks of numexpr using MKL:
https://github.com/pydata/numexpr/wiki/NumexprMKL
Its only dependency is NumPy (MKL is optional), so it works well as an
easy-to-deploy, easy-to-use, computational engine for projects that
don't want to adopt other solutions requiring more heavy dependencies.
Where I can find Numexpr?
-------------------------
The project is hosted at GitHub in:
https://github.com/pydata/numexpr
You can get the packages from PyPI as well (but not for RC releases):
http://pypi.python.org/pypi/numexpr
Documentation is hosted at:
http://numexpr.readthedocs.io/en/latest/
Share your experience
---------------------
Let us know of any bugs, suggestions, gripes, kudos, etc. you may
have.
Enjoy data!
--
Francesc Alted

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor