CVS log for pkgsrc/math/py-simpleeval/distinfo
Up to [cvs.NetBSD.org] / pkgsrc / math / py-simpleeval
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Nov 3 20:02:30 2024 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4
lines
py-simpleeval: updated to 1.0.3
1.0.3
Spelling fixes in documentation, docstrings & tests (thanks @kurtmckee !)
Fix support for 3.14 (deprecated features actually being removed, so getattr use was incorrect).
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Oct 31 08:44:35 2024 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4
lines
py-simpleeval: updated to 1.0.2
1.0.2
No functional changes - but release with the pip version removed from requirements.
1.0.1
Update the packaging / build after the 1.0.0 release.
No new features since 1.0.0
1.0.0
Fix a sandbox escape via generators and _frame methods.
Supporting dictionary comprehensions
A custom exception rather than KeyError when names not found
Dropping support for old python versions - if you need pre 3.9, then you can use an older version
Various cleanups & tidying warnings, deprecation warnings etc.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Mar 1 10:56:24 2023 UTC (2 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4
lines
py-simpleeval: updated to 0.9.13
0.9.13
Better handling of empty strings passed as input.
Fix the shift safe number issue from 0.9.12
More minor pylint / etc fixes / cleanups (general code quality)
separate .parse
Allow setting up completely empty {} operators / functions
Add extra bit-ops
Add @daxamin to contributors ?
Version bump stuff.
other readme tweaks
star expressions, eg x = {"a": 1, "b": 2, **c}
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jan 23 19:13:16 2022 UTC (3 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4
lines
py-simpleeval: updated to 0.9.12
0.9.12
KInd of hoping this is the last 0.9 release, and I find time to stablize as 1.0, and start the 2.0 work some time soon...
Changelog:
Remove Cyclic references (memory leak)
Add left & right shift operations (<< and >>)
Switch to GH actions & CodeCov.io for CI tests
Add extra contributors details
Reformat w/ Black + isort, and have linting of those in CI
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 23 09:01:47 2021 UTC (3 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
py-simpleeval: updated to 0.9.11
0.9.11:
Revert / convert to setup.py-less build system using pypa build
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 26 10:56:05 2021 UTC (3 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
math: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 7 14:28:27 2021 UTC (3 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2
lines
math: Remove SHA1 hashes for distfiles
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jan 3 12:17:37 2020 UTC (5 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -5
lines
py-simpleeval: updated to 0.9.10
0.9.10:
Unknown changes
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Nov 14 10:26:59 2018 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -5
lines
py-simpleeval: updated to 0.9.8
0.9.8:
Unknown changes
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Aug 14 07:33:33 2018 UTC (6 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -5
lines
py-simpleeval: updated to 0.9.6
0.9.6:
Unknown changes.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Oct 11 07:10:47 2017 UTC (7 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -5
lines
py-simpleeval: update to 0.9.5
0.9.5:
Python 3 compatibility.
Bug fixes.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Nov 3 23:33:43 2015 UTC (9 years, 5 months ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
Add SHA512 digests for distfiles for math category
Problems found locating distfiles:
Package dfftpack: missing distfile dfftpack-20001209.tar.gz
Package eispack: missing distfile eispack-20001130.tar.gz
Package fftpack: missing distfile fftpack-20001130.tar.gz
Package linpack: missing distfile linpack-20010510.tar.gz
Package minpack: missing distfile minpack-20001130.tar.gz
Package odepack: missing distfile odepack-20001130.tar.gz
Package py-networkx: missing distfile networkx-1.10.tar.gz
Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz
Package quadpack: missing distfile quadpack-20001130.tar.gz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Aug 25 05:05:39 2015 UTC (9 years, 7 months ago) by richard
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3
Add py-simpleeval
A quick single-file MIT-Licenced library for easily adding evaluatable
expressions into python projects. Say you want to allow a user to set an alarm
volume, which could depend on the time of day, alarm level, how many previous
alarms had gone off, and if there is music playing at the time.
Or if you want to allow simple formulae in a web application, but don't want
to give full eval() access, or don't want to run in javascript on the client side.
It's deliberately very simple, just a single file you can dump into a project,
or import from pypi (pip or easy_install).
Internally, it's using the amazing python ast module to parse the expression,
which allows very fine control of what is and isn't allowed. It should be
completely safe in terms of what operations can be performed by the expression.
The only issue I know to be aware of is that you can create an expression which
takes a long time to evaluate, or which evaluating requires an awful lot of
memory, which leaves the potential for DOS attacks. There is basic protection
against this, and you can lock it down further if you desire.
You should be aware of this when deploying in a public setting.
The defaults are pretty locked down and basic, and it's very easy to add whatever
extra specific functionality you need (your own functions, variable/name lookup, etc).
CVSweb <webmaster@jp.NetBSD.org>