Hi!
I'm pleased to announce the availability of wxGlade revision 1.0.1
Please download from https://sourceforge.net/projects/wxglade/files/wxglade/1.0.1/
wxGlade is a GUI builder for wxWidgets and wxPython.
The documentation includes a tutorial for people who have not used wxPython
before.
Included are also examples for integration with matplotlib.
A snapshot of the documentation is available at http://wxglade.sourceforge.net/docs/index.html
For support, there's a mailing list at https://sourceforge.net/p/wxglade/mailman/wxglade-general/
git repository and bug tracker are at https://github.com/wxGlade/wxGlade
(These pages are also linked from the help menu.)
Changes in revision 1.0.x:
==========================
Besides many improvements in usability, code generation and widget support,
this is also a major internal refactoring of the main data structure and how
widgets in the Design window are created / updated / destroyed.
*General:*
- sizers only required where wx requires them; not required e.g. for
Frame->Panel (used to be Frame->Sizer->Panel)
- better handling of display updates when properties are edited
- accessibility and usability improvements
- Dialog example
- documentation update
*Widgets:*
- all: separate class related properties into Class / Base Classes /
Instance Class
- Dialog: add StdDialogButtonSizer and standard buttons (stock items);
support SetAffirmativeId, SetEscapeId
- Button: support for image direction
- MenuBar: support lambda event handlers
- GridBagSizer: indicate overlapped slots in the Tree view
*Generated Code:*
- no separation into __set_properties/__do_layout any more
- support for instantiation classes
*Internal:*
- internal structures refactored
- add shell window and Tree Printer
wxGlade is released under the MIT license.
Happy New Year,
Dietmar Schwertberger
dietmar(a)schwertberger.de
<P><A HREF="https://sourceforge.net/projects/wxglade/files/wxglade/1.0.1/">wxGlade 1.0.1</A> - GUI builder for wxPython (31-Dec-20)
I am pleased to announce the release of SfePy 2022.3.
Description
-----------
SfePy (simple finite elements in Python) is a software for solving systems of
coupled partial differential equations by finite element methods. It is
distributed under the new BSD license.
Home page: https://sfepy.org
Mailing list: https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/
Git (source) repository, issue tracker: https://github.com/sfepy/sfepy
Highlights of this release
--------------------------
- reorganized scripts
- PyPI support
- speed-up of linear elastodynamics problems
- improved homogenization-based recovery of micro-scale solutions
For full release notes see [1].
Cheers,
Robert Cimrman
[1] http://docs.sfepy.org/doc/release_notes.html#id1
---
Contributors to this release in alphabetical order:
Robert Cimrman
Yves Delley
Vladimir Lukes
What is python-oracledb?
python-oracledb is a Python extension module that enables access to Oracle
Database for Python and conforms to the Python database API 2.0
specifications with a number of enhancements. This module is intended to
eventually replace cx_Oracle.
Where do I get it?
https://pypi.org/project/oracledb/1.1.1/
The easiest method to install/upgrade python-oracledb is via pip as in
python -m pip install oracledb --upgrade
What's new?
This release addresses a number of reported issues.
See the full release notes for all of the details:
https://python-oracledb.readthedocs.io/en/latest/release_notes.html#oracled…
Please provide any feedback via GitHub issues: https://github.com/oracle/
python-oracledb/issues or discussions: https://github.com/oracle/python-
oracledb/discussions
Hello!
I'm pleased to announce version 3.10.0, the first release of branch
3.10 of SQLObject.
What's new in SQLObject
=======================
Contributors for this release are
James Hudson, Juergen Gmach, Hugo van Kemenade.
Many thanks!
Features
--------
* Allow connections in ``ConnectionHub`` to be strings.
This allows to open a new connection in every thread.
* Add compatibility with ``Pendulum``.
Tests
-----
* Run tests with Python 3.10.
CI
--
* GitHub Actions.
* Stop testing at Travis CI.
* Stop testing at AppVeyor.
Documentation
-------------
* DevGuide: source code must be pure ASCII.
* DevGuide: ``reStructuredText`` format for docstrings is recommended.
* DevGuide: de-facto good commit message format is required:
subject/body/trailers.
* DevGuide: ``conventional commit`` format for commit message subject lines
is recommended.
* DevGuide: ``Markdown`` format for commit message bodies is recommended.
* DevGuide: commit messages must be pure ASCII.
For a more complete list, please see the news:
http://sqlobject.org/News.html
What is SQLObject
=================
SQLObject is an object-relational mapper. Your database tables are described
as classes, and rows are instances of those classes. SQLObject is meant to be
easy to use and quick to get started with.
SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite;
connections to other backends - Firebird, Sybase, MSSQL
and MaxDB (also known as SAPDB) - are lesser debugged).
Python 2.7 or 3.4+ is required.
Where is SQLObject
==================
Site:
http://sqlobject.org
Development:
http://sqlobject.org/devel/
Mailing list:
https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss
Download:
https://pypi.org/project/SQLObject/3.10.0
News and changes:
http://sqlobject.org/News.html
StackOverflow:
https://stackoverflow.com/questions/tagged/sqlobject
Example
=======
Create a simple class that wraps a table::
>>> from sqlobject import *
>>>
>>> sqlhub.processConnection = connectionForURI('sqlite:/:memory:')
>>>
>>> class Person(SQLObject):
... fname = StringCol()
... mi = StringCol(length=1, default=None)
... lname = StringCol()
...
>>> Person.createTable()
Use the object::
>>> p = Person(fname="John", lname="Doe")
>>> p
<Person 1 fname='John' mi=None lname='Doe'>
>>> p.fname
'John'
>>> p.mi = 'Q'
>>> p2 = Person.get(1)
>>> p2
<Person 1 fname='John' mi='Q' lname='Doe'>
>>> p is p2
True
Queries::
>>> p3 = Person.selectBy(lname="Doe")[0]
>>> p3
<Person 1 fname='John' mi='Q' lname='Doe'>
>>> pc = Person.select(Person.q.lname=="Doe").count()
>>> pc
1
Oleg.
--
Oleg Broytman https://phdru.name/ phd(a)phdru.name
Programmers don't die, they just GOSUB without RETURN.
Vulture - Find dead code
========================
Vulture finds unused code in Python programs. This is useful for
cleaning up and finding errors in large code bases. If you run Vulture
on both your library and test suite you can find untested code.
Due to Python's dynamic nature, static code analyzers like Vulture are
likely to miss some dead code. Also, code that is only called
implicitly may be reported as unused. Nonetheless, Vulture can be a
very helpful tool for higher code quality.
Download
========
https://github.com/jendrikseipp/vulturehttp://pypi.python.org/pypi/vulture
Features
========
* fast: uses static code analysis
* tested: tests itself and has complete test coverage
* complements pyflakes and has the same output syntax
* sorts unused classes and functions by size with ``--sort-by-size``
* supports Python 3.6+
News
====
* Add basic `match` statement support (kreathon, #276, #291).
Cheers
Jendrik
What is python-oracledb?
python-oracledb is a Python extension module that enables access to Oracle
Database for Python and conforms to the Python database API 2.0
specifications with a number of enhancements. This module is intended to
eventually replace cx_Oracle.
Where do I get it?
https://pypi.org/project/oracledb/1.1.0/
The easiest method to install/upgrade python-oracledb is via pip as in
python -m pip install oracledb --upgrade
What's new?
This release adds support for Azure Active Directory OAuth 2.0 and Oracle
Cloud Infrastructure Identity and Access Management (IAM) token
authentication. It also adds support for JSON payloads in Advanced Queuing
(AQ) and addresses a number of smaller enhancements and bug fixes.
See the full release notes for all of the details:
https://python-oracledb.readthedocs.io/en/latest/release_notes.html#oracled…
Please provide any feedback via GitHub issues: https://github.com/oracle/
python-oracledb/issues or discussions: https://github.com/oracle/python-
oracledb/discussions
Python 3.11 is one month away, can you believe it? This snake is still
trying to bite as it has been an interesting day of fighting fires, release
blockers, and a bunch of late bugs but your friendly release team always
delivers :)
You can get this new release while is still fresh here:
https://www.python.org/downloads/release/python-3110rc2/
## This is the second release candidate of Python 3.11
This release, **3.11.0rc2**, is the last preview before the final release
of Python 3.11.0 on 2022-10-24.
Entering the release candidate phase, only reviewed code changes which are
clear bug fixes are allowed between this release candidate and the final
release. The second candidate and the last planned release preview is
currently planned for Monday, 2022-09-05 while the official release is
planned for Monday, 2022-10-24.
There will be no ABI changes from this point forward in the 3.11 series and
the goal is that there will be as few code changes as possible.
## Modification of the final release
Due to the fact that we needed to delay the last release candidate by a
week and because of personal scheduling problems I am delaying the final
release to 2022-10-24 (three weeks from the original date).
## Call to action
⚠️⚠️⚠️⚠️⚠️⚠️⚠️
The 3.11 branch is now accepting changes for 3.11.**1**. To maximize
stability, the final release will be cut from the v3.11.0rc2 tag. If you
need the release manager (me) to cherry-pick any critical fixes, mark
issues as release blockers, and/or add me as a reviewer on a critical
backport PR on GitHub. To see which changes are currently cherry-picked for
inclusion in 3.11.0, look at the short-lived branch-v3.11.0
https://github.com/python/cpython/tree/branch-v3.11.0 on GitHub.
⚠️⚠️⚠️⚠️⚠️⚠️⚠️
---
#### Core developers: all eyes on the docs now
* Are all your changes properly documented?
* Did you notice other changes you know of to have insufficient
documentation?
#### Community members
We strongly encourage maintainers of third-party Python projects to prepare
their projects for 3.11 compatibilities during this phase. As always,
report any issues to [the Python bug tracker ](https://github.com/issues).
Please keep in mind that this is a preview release and its use is **not**
recommended for production environments.
# Major new features of the 3.11 series, compared to 3.10
Some of the new major new features and changes in Python 3.11 are:
## General changes
* [PEP 657](https://www.python.org/dev/peps/pep-0657/) -- Include
Fine-Grained Error Locations in Tracebacks
* [PEP 654](https://www.python.org/dev/peps/pep-0654/) -- Exception Groups
and `except*`
* [PEP 680](https://www.python.org/dev/peps/pep-0680/) -- tomllib: Support
for Parsing TOML in the Standard Library
* [gh-90908](https://github.com/python/cpython/issues/90908) -- Introduce
task groups to asyncio
* [gh-34627](https://github.com/python/cpython/issues/34627/) -- Atomic
grouping (`(?>...)`) and possessive quantifiers (`*+, ++, ?+, {m,n}+`) are
now supported in regular expressions.
* The [Faster CPython Project](https://github.com/faster-cpython/) is
already yielding some exciting results. Python 3.11 is up to 10-60% faster
than Python 3.10. On average, we measured a 1.22x speedup on the standard
benchmark suite. See [Faster CPython](
https://docs.python.org/3.11/whatsnew/3.11.html#faster-cpython) for details.
## Typing and typing language changes
* [PEP 673](https://www.python.org/dev/peps/pep-0673/) -- Self Type
* [PEP 646](https://www.python.org/dev/peps/pep-0646/) -- Variadic Generics
* [PEP 675](https://www.python.org/dev/peps/pep-0675/) -- Arbitrary Literal
String Type
* [PEP 655](https://www.python.org/dev/peps/pep-0655/) -- Marking
individual TypedDict items as required or potentially-missing
* [PEP 681](https://www.python.org/dev/peps/pep-0681/) -- Data Class
Transforms
<small>(Hey, **fellow core developer,** if a feature you find important is
missing from this list, [let Pablo know](mailto:pablogsal@python.org
).)</small>
The next release will be the final release of Python 3.11.0, which is
currently scheduled for Monday, 2022-10-24.
# More resources
* [Online Documentation](https://docs.python.org/3.11/)
* [PEP 664](https://www.python.org/dev/peps/pep-0664/), 3.11 Release
Schedule
* Report bugs at [
https://github.com/python/cpython/issues](https://github.com/python/cpython…
.
* [Help fund Python and its community](/psf/donations/).
# And now for something completely different
In general relativity, a white hole is a theoretical region of spacetime
and singularity that cannot be entered from the outside, although
energy-matter, light and information can escape from it. In this sense, it
is the reverse of a black hole, which can be entered only from the outside
and from which energy-matter, light and information cannot escape. White
holes appear in the theory of eternal black holes. In addition to a black
hole region in the future, such a solution of the Einstein field equations
has a white hole region in its past. This region does not exist for black
holes that have formed through gravitational collapse, however, nor are
there any observed physical processes through which a white hole could be
formed. Supermassive black holes are theoretically predicted to be at the
centre of every galaxy and that possibly, a galaxy cannot form without one.
Stephen Hawking and others have proposed that these supermassive black
holes spawn a supermassive white hole.
# We hope you enjoy the new releases!
Thanks to all of the many volunteers who help make Python Development and
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
https://www.python.org/psf/
If you have any questions, please reach out to me or another member of the
release team :)
Your friendly release team,
Ned Deily @nad https://discuss.python.org/u/nad
Steve Dower @steve.dower https://discuss.python.org/u/steve.dower
Pablo Galindo Salgado @pablogsal https://discuss.python.org/u/pablogsal
Announcing objerve 0.2.0
=========================
PyPI: https://pypi.org/project/objerve/0.2.0/
Pip: ``pip install objerve==0.2.0``
Source: https://github.com/furkanonder/objerve/
What is objerve?
-----------------
Objerve is a tiny observer for Python object attributes that only use one decorator.
Example
-------------------------
from objerve import watch
@watch(set={"foo", "qux"}, get={"bar", "foo"})
class M:
qux = "blue"
def __init__(self):
self.bar = 55
self.foo = 89
self.baz = 121
m = M()
def abc():
m.foo += 10
m.qux = "red"
abc()
m.foo
Output:
Set | foo = 89
File "/home/blue/example.py", line 9, in __init__
self.foo = 89
Set | qux = red
File "/home/blue/example.py", line 18, in <module>
m.qux = "red"
Get | foo = 89
File "/home/blue/example.py", line 16, in abc
m.foo += 10
Set | foo = 99
File "/home/blue/example.py", line 16, in abc
m.foo += 10
Get | foo = 99
File "/home/blue/example.py, line 20, in <module>
m.foo
Enjoy,
Furkan Onderhttps://github.com/furkanonder/
Hi All,
On behalf of the NumPy team, I am pleased to announce the release of
NumPy 1.23.3. NumPy 1.23.3 is a maintenance release that fixes bugs
discovered after the 1.23.2 release. There is no major theme for this
release, the main improvements are for some downstream builds and some
annotation corner cases. The Python versions supported for this release are
3.8-3.11. Wheels can be downloaded from PyPI
<https://pypi.org/project/numpy/1.23.3>; source archives, release notes,
and wheel hashes are available on Github
<https://github.com/numpy/numpy/releases/tag/v1.23.3>.
Note that we will move to MacOS 11 for the NumPy 1.23.4 release, the 10.15
version currently used will no longer be supported by our build
infrastructure at that point.
*Contributors*
A total of 16 people contributed to this release. People with a "+" by
their
names contributed a patch for the first time.
- Aaron Meurer
- Bas van Beek
- Charles Harris
- Ganesh Kathiresan
- Gavin Zhang +
- Iantra Solari+
- Jyn Spring 琴春 +
- Matti Picus
- Rafael Cardoso Fernandes Sousa
- Rafael Sousa +
- Ralf Gommers
- Rin Cat (鈴猫) +
- Saransh Chopra +
- Sayed Adel
- Sebastian Berg
- Serge Guelton
*Pull requests merged*
A total of 14 pull requests were merged for this release.
- #22136: BLD: Add Python 3.11 wheels to aarch64 build
- #22148: MAINT: Update setup.py for Python 3.11.
- #22155: CI: Test NumPy build against old versions of GCC(6, 7, 8)
- #22156: MAINT: support IBM i system
- #22195: BUG: Fix circleci build
- #22214: BUG: Expose heapsort algorithms in a shared header
- #22215: BUG: Support using libunwind for backtrack
- #22216: MAINT: fix an incorrect pointer type usage in f2py
- #22220: BUG: change overloads to play nice with pyright.
- #22221: TST,BUG: Use fork context to fix MacOS savez test
- #22222: TYP,BUG: Reduce argument validation in C-based
``__class_getitem__``
- #22223: TST: ensure ``np.equal.reduce`` raises a ``TypeError``
- #22224: BUG: Fix the implementation of numpy.array_api.vecdot
- #22230: BUG: Better report integer division overflow (backport)
Cheers,
Charles Harris