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)
Hi All,
On behalf of the NumPy team, I'm pleased to announce the release of
NumPy 2.2.1. NumPy 2.2.1 is a patch release following 2.2.0. It fixes bugs
found after the 2.2.0 release and has several maintenance pins to work
around upstream changes.
There was some breakage in downstream projects following the 2.2.0 release
due to updates to NumPy typing. Because of problems due to MyPy defects, we
recommend using basedpyright for type checking, it can be installed from
PyPI. The Pylance extension for Visual Studio Code is also based on
Pyright. Typing problems that persist when using basedpyright should be
reported as issues on the NumPy github site.
This release supports Python 3.10-3.13. Wheels can be downloaded from PyPI
<https://pypi.org/project/numpy/2.2.1>; source archives, release notes, and
wheel hashes are available on Github
<https://github.com/numpy/numpy/releases/tag/v2.2.1>.
*Contributors*
A total of 9 people contributed to this release. People with a "+" by their
names contributed a patch for the first time.
- Charles Harris
- Joren Hammudoglu
- Matti Picus
- Nathan Goldbaum
- Peter Hawkins
- Simon Altrogge
- Thomas A Caswell
- Warren Weckesser
- Yang Wang +
*Pull requests merged*
A total of 12 pull requests were merged for this release.
- #27935: MAINT: Prepare 2.2.x for further development
- #27950: TEST: cleanups
- #27958: BUG: fix use-after-free error in npy_hashtable.cpp (#27955)
- #27959: BLD: add missing include
- #27982: BUG:fix compile error libatomic link test to meson.build
- #27990: TYP: Fix falsely rejected value types in
``ndarray.__setitem__``
- #27991: MAINT: Don't wrap ``#include <Python.h>`` with ``extern "C"``
- #27993: BUG: Fix segfault in stringdtype lexsort
- #28006: MAINT: random: Tweak module code in mtrand.pyx to fix a
Cython...
- #28007: BUG: Cython API was missing NPY_UINTP.
- #28021: CI: pin scipy-doctest to 1.5.1
- #28044: TYP: allow ``None`` in operand sequence of nditer
Cheers,
Charles Harris
Hello!
I'm pleased to announce version 3.12.0, the release of branch
3.12 of SQLObject.
What's new in SQLObject
=======================
Drivers
-------
* Add support for CyMySQL; there're some problems with unicode yet.
* Separate ``psycopg`` and ``psycopg2``;
``psycopg`` is actually ``psycopg3`` now; not all tests pass.
* Minor fix in getting error code from PyGreSQL.
* Dropped ``oursql``. It wasn't updated in years.
* Dropped ``PySQLite2``. Only builtin ``sqlite3`` is supported.
Tests
-----
* Run tests with Python 3.13.
* Run tests with ``psycopg-c``; not all tests pass.
* Fix ``test_exceptions.py`` under MariaDB, PostgreSQL and SQLite.
* ``py-postgres``: Set ``sslmode`` to ``allow``;
upstream changed default to ``prefer``.
CI
--
* Run tests with ``PyGreSQL`` on w32, do not ignore errors.
* Skip tests with ``pg8000`` on w32.
* GHActions: Switch to ``setup-miniconda``.
* GHActions: Python 3.13.
For a more complete list, please see the news:
http://sqlobject.org/News.html
What is SQLObject
=================
SQLObject is a free and open-source (LGPL) Python 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/MariaDB (with a number of
DB API drivers: ``MySQLdb``, ``mysqlclient``, ``mysql-connector``,
``PyMySQL``, ``mariadb``), PostgreSQL (``psycopg2``, ``PyGreSQL``,
partially ``pg8000`` and ``py-postgresql``), SQLite (builtin ``sqlite3``);
connections to other backends
- Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB) - are less
debugged).
Python 2.7 or 3.4+ is required.
Where is SQLObject
==================
Site:
http://sqlobject.org
Download:
https://pypi.org/project/SQLObject/3.12.0
News and changes:
http://sqlobject.org/News.html
StackOverflow:
https://stackoverflow.com/questions/tagged/sqlobject
Mailing lists:
https://sourceforge.net/p/sqlobject/mailman/
Development:
http://sqlobject.org/devel/
Developer Guide:
http://sqlobject.org/DeveloperGuide.html
Example
=======
Install::
$ pip install sqlobject
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.
Hello all,
I'm glad to announce the release of psutil 6.1.1:
https://github.com/giampaolo/psutil
IMPORTANT NOTICE
================
This is the last release supporting Python 2.7.
About
=====
psutil (process and system utilities) is a cross-platform library for
retrieving information on running processes and system utilization (CPU,
memory, disks, network) in Python. It is useful mainly for system
monitoring, profiling and limiting process resources and management of
running processes. It implements many functionalities offered by command
line tools such as: ps, top, lsof, netstat, ifconfig, who, df, kill, free,
nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap. It
currently supports Linux, Windows, macOS, Sun Solaris, FreeBSD, OpenBSD,
NetBSD and AIX. Supported Python versions are 2.7 and 3.6+. PyPy is also
known to work.
What's new
==========
2024-12-19
**Enhancements**
- #2471: use Vulture CLI tool to detect dead code.
**Bug fixes**
- #2418, [Linux]: fix race condition in case /proc/PID/stat does not exist,
but
/proc/PID does, resulting in FileNotFoundError.
- #2470, [Linux]: `users()`_ may return "localhost" instead of the actual IP
address of the user logged in.
Links
=====
- Home page: https://github.com/giampaolo/psutil
- Download: https://pypi.org/project/psutil/#files
- Documentation: http://psutil.readthedocs.io
- What's new: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
Hashes
======
psutil-6.1.1-cp27-cp27m-win32.zip
md5: 1c37c147aa46e4d49c03bf05a0cf231a
sha256: bee46b1fa84e984b57d506acc3e62fb6f1fbae56c0c7b16781da23c1c87cf685
psutil-6.1.1-cp27-cp27m-win_amd64.zip
md5: dcc2eacc6e5dcb1a015b3b17281892e2
sha256: f383fd8c61d41eb8090cb0b02be5000efa3f3de30026e8022344a523f714d3a4
--
Giampaolo - https://gmpy.dev/about
O Alpha 3, O Alpha 3, how lovely are your branches!
https://www.python.org/downloads/release/python-3140a3/
This is an early developer preview of Python 3.14.
Python 3.14 is still in development. This release, 3.14.0a3, is the third
of seven planned alpha releases.
Alpha releases are intended to make it easier to test the current state of
new features and bug fixes and to test the release process.
During the alpha phase, features may be added up until the start of the
beta phase (2025-05-06) and, if necessary, may be modified or deleted up
until the release candidate phase (2025-07-22). Please keep in mind that
this is a preview release and its use is not recommended for production
environments.
Many new features for Python 3.14 are still being planned and written.
Among the new major new features and changes so far:
* PEP 649: deferred evaluation of annotations
* PEP 741: Python configuration C API
* PEP 761: Python 3.14 and onwards no longer provides PGP signatures for
release artifacts. Instead, Sigstore is recommended for verifiers.
* Improved error messages
* (Hey, fellow core developer, if a feature you find important is missing
from this list, let Hugo know.)
The next pre-release of Python 3.14 will be 3.14.0a4, currently scheduled
for 2025-01-14.
More resources:
* Online documentation: https://docs.python.org/3.14/
* PEP 745, 3.14 Release Schedule: https://peps.python.org/pep-0745/
* Report bugs at https://github.com/python/cpython/issues
* Help fund Python and its community: https://www.python.org/psf/donations/
And now for something completely different
A mince pie is a small, round covered tart filled with “mincemeat”, usually
eaten during the Christmas season – the UK consumes some 800 million each
Christmas. Mincemeat is a mixture of things like apple, dried fruits,
candied peel and spices, and originally would have contained meat chopped
small, but rarely nowadays. They are often served warm with brandy butter.
According to the Oxford English Dictionary, the earliest mention of
Christmas mince pies is by Thomas Dekker, writing in the aftermath of the
1603 London plague, in Newes from Graues-end: Sent to Nobody (1604):
Ten thousand in London swore to feast their neighbors with nothing but
plum-porredge, and mince-pyes all Christmas.
Here’s a meaty recipe from Rare and Excellent Receipts, Experienc’d and
Taught by Mrs Mary Tillinghast and now Printed for the Use of her Scholars
Only (1678):
XV. How to make Mince-pies.
To every pound of Meat, take two pound of beef Suet, a pound of Corrants,
and a quarter of an Ounce of Cinnamon, one Nutmeg, a little beaten Mace,
some beaten Colves, a little Sack & Rose-water, two large Pippins, some
Orange and Lemon peel cut very thin, and shred very small, a few beaten
Carraway-seeds, if you love them the Juyce of half a Lemon squez’d into
this quantity of meat; for Sugar, sweeten it to your relish; then mix all
these together and fill your Pie. The best meat for Pies is Neats-Tongues,
or a leg of Veal; you may make them of a leg of Mutton if you please; the
meat must be parboyl’d if you do not spend it presently; but if it be for
present use, you may do it raw, and the Pies will be the better.
Enjoy the new release
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 organisation contributions to the Python
Software Foundation.
Regards from a snowy and slippery Helsinki,
Your release team,
Hugo van Kemenade
Ned Deily
Steve Dower
Łukasz Langa
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 replaces
cx_Oracle.
Where do I get it?
https://pypi.org/project/oracledb/2.5.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
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 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`
News
====
* Improve reachability analysis (kreathon, #270, #302).
* Add type hints for `get_unused_code` and the fields of the `Item`
class (John Doknjas, #361).
Cheers,
Jendrik
Hi All,
On behalf of the NumPy team, I'm pleased to announce the release of NumPy
2.2.0. The NumPy 2.2.0 release is a short release that brings us back into
sync with the usual twice yearly release cycle. There have been a number of
small cleanups, as well as work bringing the new StringDType to completion
and improving support for free threaded Python. Highlights are:
- New functions `matvec` and `vecmat`, see below.
- Many improved annotations.
- Improved support for the new StringDType.
- Improved support for free threaded Python
- Fixes for f2py
This release supports Python 3.10-3.13. Wheels can be downloaded from PyPI
<https://pypi.org/project/numpy/2.2.0>; source archives, release notes, and
wheel hashes are available on Github
<https://github.com/numpy/numpy/releases/tag/v2.2.0>.
Cheers,
Charles Harris