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)
PyCA cryptography 38.0.4 has been released to PyPI. cryptography
includes both high level recipes and low level interfaces to common
cryptographic algorithms such as symmetric ciphers, asymmetric
algorithms, message digests, X509, key derivation functions, and much
more. We support Python 3.6+, and PyPy3.
Changelog (https://cryptography.io/en/latest/changelog/#v38-0-4):
* Fixed compilation when using LibreSSL 3.6.0.
* Fixed error when using py2app to build an application with a
cryptography dependency.
-Paul Kehrer (reaperhulk)
Hello!
I'm pleased to announce version 3.3.0.post1, the 1st post release
of release 3.3.0 of branch 3.3 of CheetahTemplate3.
What's new in CheetahTemplate3
==============================
Nothing changed in the library code, no need to upgrade.
Tests:
- Run tests with Python 3.11.
- Fix DeprecationWarning: ``unittest.findTestCases()`` is deprecated. Use
``unittest.TestLoader.loadTestsFromModule()`` instead.
CI:
- Publish wheels at Github Releases.
What is CheetahTemplate3
========================
Cheetah3 is a free and open source (MIT) Python template engine.
It's a fork of the original CheetahTemplate library.
Python 2.7 or 3.4+ is required.
Where is CheetahTemplate3
=========================
Site:
https://cheetahtemplate.org/
Download:
https://pypi.org/project/CT3/3.3.0.post1
News and changes:
https://cheetahtemplate.org/news.html
StackOverflow:
https://stackoverflow.com/questions/tagged/cheetah
Mailing lists:
https://sourceforge.net/p/cheetahtemplate/mailman/
Development:
https://github.com/CheetahTemplate3
Developer Guide:
https://cheetahtemplate.org/dev_guide/
Example
=======
Install::
$ pip install CT3 # (or even "ct3")
Below is a simple example of some Cheetah code, as you can see it's practically
Python. You can import, inherit and define methods just like in a regular Python
module, since that's what your Cheetah templates are compiled to :) ::
#from Cheetah.Template import Template
#extends Template
#set $people = [{'name' : 'Tom', 'mood' : 'Happy'}, {'name' : 'Dick',
'mood' : 'Sad'}, {'name' : 'Harry', 'mood' : 'Hairy'}]
<strong>How are you feeling?</strong>
<ul>
#for $person in $people
<li>
$person['name'] is $person['mood']
</li>
#end for
</ul>
Oleg.
--
Oleg Broytman https://phdru.name/ phd(a)phdru.name
Programmers don't die, they just GOSUB without RETURN.
Wing 9.0.1 has been released with some theming fixes on Windows, a
work-around to avoid segfaults in the Python 3.11 core, fixes for vi
mode ci[ and similar when the cursor is on the opening character, a fix
for tool tips appearing on the incorrect monitor, and a few other
usability improvements.
Details: https://wingware.com/news/2022-11-23
Downloads: https://wingware.com/downloads
== About Wing ==
Wing is a full-featured but light-weight Python IDE designed
specifically for Python, with powerful editing, code inspection,
testing, and debugging capabilities. Wing's deep code analysis provides
auto-completion, auto-editing, code navigation, early error detection,
and refactoring that speed up development. Its top notch debugger works
with any Python code, locally or on a remote host, container, or
cluster. Wing also supports test-driven development, version control,
Python package management, UI color and layout customization, and
includes extensive documentation and support.
Wing is available in three product levels: Wing Pro is the
full-featured Python IDE for professional developers, Wing Personal is a
free Python IDE for students and hobbyists (omits some features), and
Wing 101 is a very simplified free Python IDE for beginners (omits many
features).
Learn more at https://wingware.com/
Hi All,
On behalf of the NumPy team, I'm pleased to announce the release of NumPy
1.24.0rc1. The NumPy 1.24.0 release continues the ongoing work to improve
the handling and promotion of dtypes, increase execution speed, and
clarify the documentation. There are also a large number of new and expired
deprecations due to changes in promotion and cleanups. This might be called
a deprecation release. Highlights are
- Many new deprecations.
- Many expired deprecations.
- New f2py features and fixes.
- New "dtype" and "casting" keywords for stacking functions.
The Python versions supported in this release are 3.8-3.11 Note that 32 bit
wheels are only provided for Windows, all other wheels are 64 bits on
account of Ubuntu, Fedora, and other Linux distributions dropping 32 bit
support. Wheels can be downloaded from PyPI
<https://pypi.org/project/numpy/1.24.0rc1/>; source archives, release
notes, and wheel hashes are available on Github
<https://github.com/numpy/numpy/releases/tag/v1.24.0rc1>. The Python 3.8
aarch64 wheel is missing from this pre-release due to build problems.
*Contributors*
A total of 174 people contributed to this release. People with a "+" by
their
names contributed a patch for the first time.
- @DWesl
- @h-vetinari
- Aaron Meurer
- Aayush Agrawal +
- Adam Knapp +
- Adarsh Singh +
- Al-Baraa El-Hag
- Alban Desmaison +
- Ales Crocaro +
- Alex +
- Alexander Grund +
- Alexander Kanavin +
- Andras Deak
- Angéllica Araujo +
- Anselm Hahn +
- Ari Cooper Davis +
- Axel Huebl +
- Bas van Beek
- Bhavuk Kalra
- Bram Ton +
- Brent Tan +
- Brigitta Sipőcz
- Callum O'Riley +
- Charles Harris
- Chiara Marmo
- Christoph Reiter
- Damien Caliste
- Dan Schult +
- Daniel da Silva
- DanielHabenicht +
- Dave Goel +
- David Gilbertson +
- Developer-Ecosystem-Engineering
- Digya Acharya +
- Dimitri Papadopoulos Orfanos
- Eric-Shang +
- Evgeni Burovski
- Ewout ter Hoeven
- Felix Hirwa Nshuti +
- Frazer McLean +
- Ganesh Kathiresan
- Gavin Zhang +
- Gaëtan de Menten
- Greg Lucas
- Greg Sadetsky +
- Gregory P. Smith [Google LLC] +
- Hameer Abbasi
- Hannah Aizenman +
- Hood Chatham
- I-Shen Leong
- Iantra Solari +
- Ikko Ashimine +
- Inessa Pawson
- Jake Bowhay +
- Jake Close +
- Jarrod Millman
- Jason Thai
- Jessé Pires +
- Jhonatan Cunha +
- Jingxuan He +
- Johnathon Cusick +
- Jon Morris
- Jordy Williams +
- Josh Wilson
- João Fontes Gonçalves +
- Juan Luis Cano Rodríguez
- Jyn Spring 琴春 +
- KIU Shueng Chuan
- Karl Otness +
- Kevin Sheppard
- Kinshuk Dua +
- Leo Fang
- Leona Taric +
- Lev Maximov +
- Lillian Zha +
- Loïc Estève
- M. Eric Irrgang +
- Mariusz Felisiak
- Mark Harfouche
- Martin Zacho +
- Matheus Santana Patriarca +
- Matt Williams +
- Matteo Raso +
- Matthew Barber
- Matthew Brett
- Matthew Sterrett +
- Matthias Bussonnier
- Matthias Koeppe +
- Matti Picus
- Meekail Zain +
- Melissa Weber Mendonça
- Michael Osthege +
- Michael Siebert +
- Mike Toews
- Miki Watanabe +
- Miles Cranmer +
- MilesCranmer +
- Monika Kubek +
- Muhammad Jarir Kanji +
- Mukulika Pahari
- Namami Shanker
- Nathan Goldbaum +
- Nathan Rooy +
- Navpreet Singh +
- Noritada Kobayashi +
- Oleksiy Kononenko +
- Omar +
- Pal Barta +
- Pamphile Roy
- Patrick Hoefler +
- Pearu Peterson
- Pedro Nacht +
- Petar Mlinarić +
- Pey Lian Lim
- Pieter Eendebak
- Pradipta Ghosh
- Pranab Das +
- Precision Wordcraft LLC +
- PrecisionWordcraft +
- Rafael CF Sousa +
- Rafael Cardoso Fernandes Sousa
- Rafael Sousa +
- Raghuveer Devulapalli
- Ralf Gommers
- Rin Cat (鈴猫) +
- Robert Kern
- Rohit Davas +
- Rohit Goswami
- Ross Barnowski
- Ruth Comer +
- Sabiha Tahsin Soha +
- Sachin Krishnan T V +
- Sanjana M Moodbagil +
- Sanya Sinha +
- Sarah Coffland +
- Saransh Chopra +
- Satish Kumar Mishra +
- Satish Mishra +
- Sayed Adel
- Schrijvers Luc +
- Sebastian Berg
- Serge Guelton
- Seva Lotoshnikov +
- Shashank Gupta +
- Shoban Chiddarth +
- Shreya Singh +
- Shreyas Joshi +
- Sicheng Zeng +
- Simran Makandar +
- Srimukh Sripada +
- Stefan van der Walt
- Stefanie Molin +
- Stuart Archibald
- Tania Allard
- Thomas A Caswell
- Thomas Kastl +
- Thomas Mansencal +
- Tony Newton / Teng Liu +
- Toshiki Kataoka
- Tyler Reddy
- Vardhaman Kalloli +
- Warren Weckesser
- Will Ayd +
- William Stein +
- XinRu Lin +
- Yin Li +
- Yulv-git +
- Yunika Bajracharya +
- Zachary Blackwood +
- amagicmuffin +
- dg3192 +
- juztamau5 +
- swagatip +
- 渡邉 美希 +
Cheers,
Charles Harris
Hi All,
On behalf of the NumPy team, I am pleased to announce the release of
NumPy 1.23.5. NumPy 1.23.5 is a maintenance release that fixes bugs
discovered after the 1.23.4 release and keeps the build infrastructure
current. 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.5>; source
archives, release notes, and wheel hashes are available on Github
<https://github.com/numpy/numpy/releases/tag/v1.23.5>.
*Contributors*
A total of 7 people contributed to this release. People with a "+" by
their names contributed a patch for the first time.
- @DWesl
- Aayush Agrawal +
- Adam Knapp +
- Charles Harris
- Navpreet Singh +
- Sebastian Berg
- Tania Allard
*Pull requests merged*
A total of 10 pull requests were merged for this release.
- #22489: TST, MAINT: Replace most setup with setup_method (also
teardown)
- #22490: MAINT, CI: Switch to cygwin/cygwin-install-action@v2
- #22494: TST: Make test_partial_iteration_cleanup robust but require
leak...
- #22592: MAINT: Ensure graceful handling of large header sizes
- #22593: TYP: Spelling alignment for array flag literal
- #22594: BUG: Fix bounds checking for ``random.logseries``
- #22595: DEV: Update GH actions and Dockerfile for Gitpod
- #22596: CI: Only fetch in actions/checkout
- #22597: BUG: Decrement ref count in gentype_reduce if allocated
memory...
- #22625: BUG: Histogramdd breaks on big arrays in Windows
Cheers,
Charles Harris
I’m happy to announce a new release of structlog!
With more than 4 million downloads per month, structlog is the best solution for production-ready structured logging in Python. It doesn’t just allow you to log key-value pairs in a structured manner, it also makes it EASIER and FASTER. Check out <https://www.structlog.org/en/stable/why.html> if you’re intrigued but not convinced!
---
This is another (too) big release, but before I go into new features, allow me to beg you to check out structlog's documentation: <https://www.structlog.org/>.
I've spent easily half of the time on bringing is up to date, restructuring, and adding usage recipes. Not new in this release, but did you know that the standard library chapter has flowcharts that give you as visual explanations of how the various methods work? This is usually the biggest sticking point when starting to use structlog.
Feature-wise the big thing is that structlog's internal (and extremely fast) loggers (the one created using structlog.make_filtering_bound_logger() got two new features that people have asked for forever:
1. String interpolation: log.info("hello %s!", "world") works now!
2. Async! Each logging method has an async version: await log.ainfo("hello %s!", "world") is the same thing as above, but async.
Special Thanks
This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If you would like to join them, go to https://github.com/sponsors/hynek and check out the sweet perks!
Above and Beyond
Variomedia AG (@variomedia), Tidelift (@tidelift), Sentry (@getsentry), HiredScore (@HiredScore), FilePreviews (@filepreviews), and Daniel Fortunov (@asqui).
Maintenance Sustainers
@rzijp, Adam Hill (@adamghill), Dan Groshev (@si14), Tamir Bahar (@tmr232), Adi Roiban (@adiroiban), Magnus Watn (@magnuswatn), David Cramer (@dcramer), Moving Content AG (@moving-content), Stein Magnus Jodal (@jodal), Iwan Aucamp (@aucampia), ProteinQure (@ProteinQure), Jesse Snyder (@jessesnyder), Rivo Laks (@rivol), Thomas Ballinger (@thomasballinger), @medecau, Ionel Cristian Mărieș (@ionelmc), The Westervelt Company (@westerveltco), Philippe Galvan (@PhilippeGalvan), Birk Jernström (@birkjernstrom), Jannis Leidel (@jezdez), Tim Schilling (@tim-schilling), Chris Withers (@cjw296), and Christopher Dignam (@chdsbd).
Not to forget 2 more amazing humans who chose to be generous but anonymous!
Full Changelog
Deprecated
- Accessing package metadata as attributes on the structlog module is deprecated (e.g. structlog.__version__). Please use importlib.metadata instead (for Python 3.7: the importlib-metadata PyPI package).
- The structlog.types module is now deprecated in favor of the structlog.typing module. It seems like the Python typing community is settling on this name.
Added
- FilteringBoundLogger (used by default) now allows for string interpolation using positional arguments:
>>> log.info("Hello %s! The answer is %d.", "World", 42, x=1)
2022-10-07 10:04.31 [info ] Hello World! The answer is 42. x=1
#454
- FilteringBoundLogger now also has support for asyncio-based logging. Instead of a wrapper class like structlog.stdlib.AsyncBoundLogger, async equivalents have been added for all logging methods. So instead of log.info("hello") you can also write await log.ainfo("hello") in async functions and methods.
This seems like the better approach and if it's liked by the community, structlog.stdlib.BoundLogger will get those methods too. #457
Changed
- The documentation has been heavily overhauled. Have a look if you haven't lately! Especially the graphs in the standard library chapter have proven valuable to many.
- The build backend has been switched to Hatch.
Fixed
- The timestamps in the default configuration now use the correct separator (:) for seconds.
I'm pleased to announce the release of Python 3.12 alpha 2.
https://www.python.org/downloads/release/python-3120a2/
*This is an early developer preview of Python 3.12*.
Major new features of the 3.12 series, compared to 3.11
Python 3.12 is still in development. This release, 3.12.0a2 is the second
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 (2023-05-08) and, if necessary, may be modified or deleted up
until the release candidate phase (2023-07-31). 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.12 are still being planned and written.
Among the new major new features and changes so far:
- Even more improved error messages. More exceptions potentially caused
by typos now make suggestions to the user.
- Support for the Linux perf profiler to report Python function names in
traces.
- The deprecated wstr and wstr_length members of the C implementation of
unicode objects were removed, per PEP 623
<https://peps.python.org/pep-0623>.
- In the unittest module, a number of long deprecated methods and
classes were removed. (They had been deprecated since Python 3.1 or 3.2).
- The deprecated smtpd and distutils modules have been removed (see PEP
594 <https://peps.python.org/pep-0594/> and PEP 632
<https://peps.python.org/pep-0632/>). The setuptools package (installed
by default in virtualenvs and many other places) continues to
provide the distutils
module.
- A number of other old, broken and deprecated functions, classes and
methods have been removed.
- (Hey, **fellow core developer,** if a feature you find important is
missing from this list, let Thomas know <thomas(a)python.org>.)
For more details on the changes to Python 3.12, see What's new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next pre-release
of Python 3.12 will be 3.12.0a3, currently scheduled for 2022-12-05.
More resources
Online Documentation <https://docs.python.org/3.12/>.
PEP 693 <https://www.python.org/dev/peps/pep-0693/>, the Python 3.12
Release Schedule.
Report bugs via GitHub Issues <https://github.com/python/cpython/issues>.
Help fund Python and its community <https://www.python.org/psf/donations/>.
And now for something completely different
Life, believe, is not a dream
> So dark as sages say;
> Oft a little morning rain
> Foretells a pleasant day.
> Sometimes there are clouds of gloom,
> But these are transient all;
> If the shower will make the roses bloom,
> O why lament its fall?
>
> Rapidly, merrily,
> Life's sunny hours flit by,
> Gratefully, cheerily,
> Enjoy them as they fly!
>
> What though Death at times steps in
> And calls our Best away?
> What though sorrow seems to win,
> O'er hope, a heavy sway?
> Yet hope again elastic springs,
> Unconquered, though she fell;
> Still buoyant are her golden wings,
> Still strong to bear us well.
>
> Manfully, fearlessly,
> The day of trial bear,
> For gloriously, victoriously,
> Can courage quell despair!
*Life*, by Charlotte Brontë, from *Poems by Currer, Ellis, and Acton Bell*.
Charlotte wrote about the publishing under pseudonyms by her and her
sisters, Emily and Anne, in a preface to Emily's *Wuthering Heights*:
Averse to personal publicity, we veiled our own names under those of
> Currer, Ellis and Acton Bell; the ambiguous choice being dictated by a sort
> of conscientious scruple at assuming Christian names positively masculine,
> while we did not like to declare ourselves women, because – without at
> that time suspecting that our mode of writing and thinking was not what is
> called "feminine" – we had a vague impression that authoresses are liable
> to be looked on with prejudice; we had noticed how critics sometimes use
> for their chastisement the weapon of personality, and for their reward, a
> flattery, which is not true praise.
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.
Regards from chilly Amsterdam,
Your release team,
Thomas Wouters
Ned Deily
Steve Dower
--
Thomas Wouters <thomas(a)python.org>
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.2.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 binding and fetching data of type
oracledb.DB_TYPE_OBJECT (including SYS.XMLTYPE) in thin mode. It also adds
official support for Python 3.11 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
Hello all,
I'm glad to announce the release of psutil 5.9.4:
https://github.com/giampaolo/psutil
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, both 32-bit and 64-bit architectures. Supported Python
versions are 2.7 and 3.4+. PyPy is also known to work.
What's new
==========
2022-11-07
**Enhancements**
- #2102: use Limited API when building wheels with CPython 3.6+ on Linux,
macOS and Windows. This allows to use pre-built wheels in all future
versions
of cPython 3. (patch by Matthieu Darbois)
**Bug fixes**
- #2077, [Windows]: Use system-level values for `virtual_memory()`_. (patch
by
Daniel Widdis)
- #2156, [Linux]: compilation may fail on very old gcc compilers due to
missing
``SPEED_UNKNOWN`` definition. (patch by Amir Rossert)
- #2010, [macOS]: on MacOS, arm64 ``IFM_1000_TX`` and ``IFM_1000_T`` are the
same value, causing a build failure. (patch by Lawrence D'Anna)
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
--
Giampaolo - https://gmpy.dev/about