I am please to announce the availability of the "baseline" package.
This tool streamlines creation and maintenance of tests which compare string
output against a baseline. It offers a mechanism to compare a string against
a baselined copy and update the baselined copy to match the new value when a
mismatch occurs. The update process includes a manual step to facilitate a
review of the change before acceptance. The tool uses multi-line string
format
for string baselines to improve readability for human review.
Docs: https://baseline.readthedocs.io/en/latest/
PyPi: https://pypi.org/project/baseline/
Repo: https://github.com/dmgass/baseline
License: MIT
With Regards,
Dan Gass
(dan.gass at gmail)
***********
Quick Start
***********
Create an empty baseline with a triple quoted multi-line string. Place
the ending triple quote on a separate line and indent it to the level
you wish the string baseline update to be indented to. Add a compare of
the string being tested to the baseline string. Then save the file as
``fox.py``:
.. code-block:: python
from baseline import Baseline
expected = Baseline("""
""")
test_string = "THE QUICK BROWN FOX\n JUMPS\nOVER THE LAZY DOG."
assert test_string == expected
Run ``fox.py`` and observe that the ``assert`` raises an exception since
the strings are not equal. Because the comparison failed, the tool located
the triple quoted baseline string in the source file and updated it with the
miscompared value. When the interpretter exited, the tool saved the updated
source file but changed the file name to ``fox.update.py``:
.. code-block:: python
from baseline import Baseline
expected = Baseline("""
THE QUICK BROWN FOX
JUMPS
OVER THE LAZY DOG.
""")
test_string = "THE QUICK BROWN FOX\n JUMPS\nOVER THE LAZY DOG."
assert test_string == expected
After reviewing the change with your favorite file differencing tool,
accept the change by either manually overwriting the original file or use
the ``baseline`` command line tool to scan the directory for updated
scripts and accept them:
.. code-block:: shell
$ python -m baseline *
Found updates for:
fox.py
Hit [ENTER] to update, [Ctrl-C] to cancel
fox.update.py -> fox.py
Run ``fox.py`` again and observe the ``assert`` does not raise an exception
nor is a source file update generated. If in the future the test value
changes, the ``assert`` will raise an exception and cause a new source file
update to be generated. Simply repeat the review and acceptance step and you
are back in business!
<P><A HREF="https://baseline.readthedocs.io/en/latest/">
baseline 0.2.1</A> - Easy String Baseline (07-Jun-18)
This course will help you to expertise the usage of Python in Data Science world.
Carter your Python Knowledge so that it can be utilized to get the Insights of Data using Methodologies and Techniques of Data Science...
Objective:
Understand the concepts of Data science and Python
You will be able to use Python in Discovering Data.
You will have an idea of Statistical and Analytical methods to deal with huge data sets.
You will gain an expertise on Regular Expressions, looping functions and concepts of Object Oriented Programming.
You will be able to create business algorithms and data models using Python and it's techniques.
Work on Real-life Projects will help you to get a practical experience of real scenarios of IT Industry.
Start learning Python for Data Science from basics to advance levels here...
https://goo.gl/070wXw
Hello all,
I'm very happy to announce the release of pyo 1.0.1, available for python 2.7,
3.5, 3.6, 3.7 and 3.8.
Pyo is a Python module written in C to help real-time digital signal processing
script creation. It provides a complete set of classes to build audio softwares,
compose algorithmic musics or simply explore audio processing.It is
available for
Windows, macOS and linux. It is released under the LGPL 3 license.
Official web site: http://ajaxsoundstudio.com/software/pyo/
pyo's documentation: http://ajaxsoundstudio.com/pyodoc/
Latest sources and bug tracker: https://github.com/belangeo/pyo
The package is now uploaded to pypi.org and can be installed (for
32-bit or 64-bit)
under MacOS, Windows and linux with pip. Just run the command:
python -m pip install pyo
For all the details and how to uninstall version prior to 1.0.0, see this page
in the documentation:
http://ajaxsoundstudio.com/pyodoc/download.html
Bug Fixes:
- Audio server falls back to playback-only mode if jack server has no
input ports.
- Fixed setting value of ControlSlider from national keyboard layout.
- Fixed segfault when CallAfter's callback results in deleting itself.
- Fixed tkinter font size on MacOS (issue #163).
New features:
- Added a clear() method to Mixer object to delete all inputs at once.
- Added new object: Binaural, 3D stereo spatialization.
- Added a DC blocker inside the feedback loop of Harmonizer object.
- Added setChannelNames(names) method to Spectrum and Scope objects.
- Added beatToDur(beat, bpm) function.
Events framework (new framework to sequence events):
Set of tools to generate sequence of events. The purpose of the Event
framework is
to allow the user to generate a sequence of events with as few as
possible parameters
to specify. The Events object is the heart of the framework. An Events
object computes
parameters, generally designed with event generator objects, builds
the events and plays
the sequence.
See the Events framework examples in the documentation for different use cases.
- EventScale: Constructs a list of pitches according to its arguments.
- EventGenerator: Base class for all event generators.
- EventKey: An EventGenerator that allow to retrieve the value of
another parameter.
- EventSeq: Plays through an entire list of values many times.
- EventSlide: Plays overlapping segments from a list of values.
- EventIndex: Plays values from a list based on a position index.
- EventMarkov: Applies a Markov algorithm to a list of values.
- EventChoice: Plays values randomly chosen from a list.
- EventDrunk: Performs a random walk over a list of values.
- EventNoise: White, pink or brown noise generator.
- EventCall: Calls a function, with any number of arguments, and uses
its return value.
- EventConditional: Executes one generator or the other depending on
the result of a condition.
- Events: Sequencing user-defined events to form musical phrases.
Expr API:
- let statment can now store a complex number.
- Expr now can handle multiple input sources.
- Expr now can generate multiple output signals.
- constants (pi, twopi, e, sr) can be used without braces.
New example categories:
- How to use OSC with pyo
- Utilities
- Events framework
- Evaluating prefix expression
Olivier Belanger
belangeo(a)gmail.com
http://olivier.ajaxsoundstudio.com/
----
<P><A HREF="http://ajaxsoundstudio.com/software/pyo/">Pyo 1.0.1</A> - short
Python DSP library. (27-Nov-19)
I am happy to announce Guppy 3 3.0.9
Guppy 3 is a library and programming environment for Python,
currently providing in particular the Heapy subsystem, which supports
object and heap memory sizing, profiling and debugging. It also
includes a prototypical specification language, the Guppy
Specification Language (GSL), which can be used to formally specify
aspects of Python programs and generate tests and documentation from a
common source.
Guppy 3 is a fork of Guppy-PE, created by Sverker Nilsson for Python 2.
The main news in this release:
o Python 3.8 support
o Guppy internals are again properly hidden from heap traversal
o Collapse Glue.py exception tracebacks
o Workaround multi-interpreter initialization with tracemalloc so we don't
deadlock
License: MIT
The project homepage is on GitHub:
https://github.com/zhuyifei1999/guppy3
Enjoy,
YiFei Zhu
I'm happy to announce the release of Pygments 2.5.0. Pygments is a
generic syntax highlighter written in Python.
Pygments 2.5 is a major new release, adding new lexers as well as
providing a large amount of fixes and lexer updates. Please
have a look at the changelog <https://pygments.org/docs/changelog/>.
With this release, we're also moving development from Bitbucket (due to
the end of support for Mercurial) to GitHub. For new development, please
check out: https://github.com/pygments/pygments
Report bugs and feature requests in the issue tracker:
<https://github.com/pygments/pygments/issues>.
Thanks go to all the contributors of these lexers, and to all
those who reported bugs and waited very patiently for this release.
Download it from <https://pypi.org/project/Pygments/>, or look at
the demonstration at <https://pygments.org/demo/>.
Enjoy,
Matthäus
pytest 5.3.1 has just been released to PyPI.
This is a bug-fix release, being a drop-in replacement. To upgrade::
pip install --upgrade pytest
The full changelog is available at
https://docs.pytest.org/en/latest/changelog.html.
Thanks to all who contributed to this release, among them:
* Anthony Sottile
* Bruno Oliveira
* Daniel Hahler
* Felix Yan
* Florian Bruhin
* Mark Dickinson
* Nikolay Kondratyev
* Steffen Schroeder
* Zac Hatfield-Dodds
Happy testing,
The pytest Development Team
Hello all,
I'm glad to announce the release of psutil 5.6.6:
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.6, 2.7 and 3.4+. PyPy is also known to work.
What's new
==========
2019-11-25
**Bug fixes**
- #1179: [Linux] Process cmdline() now takes into account misbehaving
processes
renaming the command line and using inappropriate chars to separate args.
- #1616: use of Py_DECREF instead of Py_CLEAR will result in double free and
segfault (CVE). (patch by Riccardo Schirone)
- #1619: [OpenBSD] compilation fails due to C syntax error. (patch by
Nathan
Houghton)
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 - http://grodola.blogspot.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi all,
On behalf of the SciPy development team I'm pleased to announce
the release of SciPy 1.3.3, a bug fix release that addresses
a DLL loading issue for wheels and a multiprocessing test issue.
Sources and binary wheels can be found at:
https://pypi.org/project/scipy/
and at: https://github.com/scipy/scipy/releases/tag/v1.3.3
One of a few ways to install this release with pip:
pip install scipy==1.3.3
=====================
SciPy 1.3.3 Release Notes
=====================
SciPy 1.3.3 is a bug-fix release with no new features
compared to 1.3.2. In particular, a test suite issue
involving multiprocessing was fixed for Windows and
Python 3.8 on macOS.
Wheels were also updated to place msvcp140.dll at the
appropriate location, which was previously causing issues.
Authors
=======
Ilhan Polat
Tyler Reddy
Ralf Gommers
Issues closed for 1.3.3
--------------------------------
* `#11033 <https://github.com/scipy/scipy/issues/11033>`__: deadlock on osx
for python 3.8
Pull requests for 1.3.3
---------------------------------
* `#11034 <https://github.com/scipy/scipy/pull/11034>`__: MAINT: TST: Skip
tests with multiprocessing that use "spawn" start method
Checksums
=========
MD5
~~~
69dabfe955c7092f5389a4374db57186
scipy-1.3.3-cp35-cp35m-macosx_10_6_intel.whl
23f3f5f48dc7893b9ff2a9a63adcf8c7 scipy-1.3.3-cp35-cp35m-manylinux1_i686.whl
e80281d504225da4b081245ac44081b5
scipy-1.3.3-cp35-cp35m-manylinux1_x86_64.whl
7af194e334c13a9b13f8814f4e1695ce scipy-1.3.3-cp35-cp35m-win32.whl
a39a6cb0436572f6149c87036288bd53 scipy-1.3.3-cp35-cp35m-win_amd64.whl
e0b74a4370050d48175c5ef91c50dbeb
scipy-1.3.3-cp36-cp36m-macosx_10_6_intel.whl
0bd21eb01dc34028d85fd2a9d752caf2 scipy-1.3.3-cp36-cp36m-manylinux1_i686.whl
64d9fb9b4ce5f9869834810dde4bc06f
scipy-1.3.3-cp36-cp36m-manylinux1_x86_64.whl
ef5d60c5485f9ff7ff0fbc42b4c8d4e5 scipy-1.3.3-cp36-cp36m-win32.whl
a3196497b85fc166cd50d7f465674753 scipy-1.3.3-cp36-cp36m-win_amd64.whl
0f6add185264881102ecac2fb5fb141c
scipy-1.3.3-cp37-cp37m-macosx_10_6_intel.whl
8d058ca27f5f5b0841f6a7fabcf79aed scipy-1.3.3-cp37-cp37m-manylinux1_i686.whl
eb609b74f3603cd4249cc31534a0d531
scipy-1.3.3-cp37-cp37m-manylinux1_x86_64.whl
46530dd85bf3dc2094ac7775b7279d81 scipy-1.3.3-cp37-cp37m-win32.whl
b5d3f757675d45f9f69ca0729d012205 scipy-1.3.3-cp37-cp37m-win_amd64.whl
94455bf1e5a6f8bf459bc0971897e2f1
scipy-1.3.3-cp38-cp38-macosx_10_9_x86_64.whl
150c45e2a3c5b14aa089a7f7835212e2 scipy-1.3.3-cp38-cp38-manylinux1_i686.whl
c6e464fdb7e928da58a7bd84f389cb74
scipy-1.3.3-cp38-cp38-manylinux1_x86_64.whl
08d3a330ef2469d139527163717fc318 scipy-1.3.3-cp38-cp38-win32.whl
286528ecaab3b56d6405d2775604d18d scipy-1.3.3-cp38-cp38-win_amd64.whl
b265efea6ce2f2c1e580cc66bfb8b117 scipy-1.3.3.tar.gz
4c73d4a86f97f41ceface4fc1622e2f7 scipy-1.3.3.tar.xz
5e8182d8b29b04bfc2f19f6bf5ca1fac scipy-1.3.3.zip
SHA256
~~~~~~
a70308bb065562afb936c963780deab359966d71ab4f230368b154dde3136ea4
scipy-1.3.3-cp35-cp35m-macosx_10_6_intel.whl
7be424ee09bed7ced36c9457f99c826ce199fd0c0f5b272cf3d098ff7b29e3ae
scipy-1.3.3-cp35-cp35m-manylinux1_i686.whl
f5d47351aeb1cb6bda14a8908e56648926a6b2d714f89717c71f7ada41282141
scipy-1.3.3-cp35-cp35m-manylinux1_x86_64.whl
4ba2ce1a58fe117e993cf316a149cf9926c7c5000c0cdc4bc7c56ae8325612f6
scipy-1.3.3-cp35-cp35m-win32.whl
c008f1b58f99f1d1cc546957b3effe448365e0a217df1f1894e358906e91edad
scipy-1.3.3-cp35-cp35m-win_amd64.whl
bb0899d3f8b9fe8ef95b79210cf0deb6709542889fadaa438eeb3a28001e09e7
scipy-1.3.3-cp36-cp36m-macosx_10_6_intel.whl
18ad034be955df046b5a27924cdb3db0e8e1d76aaa22c635403fe7aee17f1482
scipy-1.3.3-cp36-cp36m-manylinux1_i686.whl
2f690ba68ed7caa7c30b6dc48c1deed22c78f3840fa4736083ef4f2bd8baa19e
scipy-1.3.3-cp36-cp36m-manylinux1_x86_64.whl
b7b8cf45f9a48f23084f19deb9384a1cccb5e92fbc879b12f97dc4d56fb2eb92
scipy-1.3.3-cp36-cp36m-win32.whl
0b8c9dc042b9a47912b18b036b4844029384a5b8d89b64a4901ac3e06876e5f6
scipy-1.3.3-cp36-cp36m-win_amd64.whl
225d0b5e140bb66df23d438c7b535303ce8e533f94454f4e5bde5f8d109103ea
scipy-1.3.3-cp37-cp37m-macosx_10_6_intel.whl
884e619821f47eccd42979488d10fa1e15dbe9f3b7660b1c8c928d203bd3c1a3
scipy-1.3.3-cp37-cp37m-manylinux1_i686.whl
583f2ccd6a112656c9feb2345761d2b19e9213a094cfced4e7d2c1cae4173272
scipy-1.3.3-cp37-cp37m-manylinux1_x86_64.whl
dfcb0f0a2d8e958611e0b56536285bb435f03746b6feac0e29f045f7c6caf164
scipy-1.3.3-cp37-cp37m-win32.whl
b01ea5e4cf95a93dc335089f8fbe97852f56fdb74afff238cbdf09793103b6b7
scipy-1.3.3-cp37-cp37m-win_amd64.whl
cfee99d085d562a7e3c4afe51ac1fe9b434363489e565a130459307f30077973
scipy-1.3.3-cp38-cp38-macosx_10_9_x86_64.whl
a42b0d02150ef4747e225c31c976a304de5dc8202ec35a27111b7bb8176e5f13
scipy-1.3.3-cp38-cp38-manylinux1_i686.whl
869465c7ff89fc0a1e2ea1642b0c65f1b3c05030f3a4c0d53d6a57b2dba7c242
scipy-1.3.3-cp38-cp38-manylinux1_x86_64.whl
4b8746f4a755bdb2eeb39d6e253a60481e165cfd74fdfb54d27394bd2c9ec8ac
scipy-1.3.3-cp38-cp38-win32.whl
546f0dc020b155b8711159d53c87b36591d31f3327c47974a4fb6b50d91589c2
scipy-1.3.3-cp38-cp38-win_amd64.whl
64bf4e8ae0db2d42b58477817f648d81e77f0b381d0ea4427385bba3f959380a
scipy-1.3.3.tar.gz
6de202d30b9e9e0704972f2b9272b1ff1090e2b089ddbdccfcf6271ce5ffb2d9
scipy-1.3.3.tar.xz
80ffa587aa910f4b2304cd23d5666dd755968b40036a358114a0b15228a56acc
scipy-1.3.3.zip
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCAAdFiEEuinQzfUTSK0iykiguEZ+VI8xggYFAl3ZoBMACgkQuEZ+VI8x
ggbQXAwAwFxwfRudolGeEY15TGRBNSQdKtnL6tE8FQh+1yDAX9rKo+k5ZK34ouWV
KDZMcC17SGXA/3hzuqw5Lz3UmcB0xl+st7ltZVUruDK0otU8LqEJLB87fvJgSB4h
7wF+/zvc5TYdVt/3Svd53jYIn95FKKRjuWV/FSO+qNx119DDYx6O4vL1uf4WZutW
xEy1nGDn26j0Cc8fGBJE+eOCQFvySwRapqCP/gaRU/TkwYSXdIRWCFtU5WJA24zi
1kU6sk/jKsep07aEE3vc6xsjWCo+D8hca2XLqImnT7hN/djxzcSqk6xJMWyQhr+n
kEl6F5SDxombrlLnAM+X6PxWTZZUeeP4R6rVcHIRJxf7Lehke5rKgrhsfX4eqehI
4mnAIu/sph1LDH/78Q/TlUIh7X6chPONOEYcGPtHYCg6mIgfd0DQeyBeYEsE9UkC
No01gD11uAf/I9pYpdL918ADiVniRgG+IalbmAkPxvw0dBsfWGPVxWhEktKIloef
JI8xhZ8G
=e1l0
-----END PGP SIGNATURE-----
Announcing the release of evolutions 0.8.1
Evolutions is a new Python 3 tool for managing relational database schema
evolution and data migration, modeled on the Scala/Java play-evolutions
library (https://www.playframework.com/documentation/2.7.x/Evolutions). It
employs a minimalist approach supporting only linear history and pure SQL
migrations that works and stays out of your way in development and production
environments. Application framework agnostic.
This release is feature complete but beta status. Not recommended for
production. We will release 1.0 once there has been enough field use to make
us confident that bugs have been flushed out and the tool is proven suitably
robust.
License: BSD
Package: https://pypi.org/project/evolutions/0.8.1/
Development: https://github.com/arobertn/evolutions
Go get it here: https://www.python.org/downloads/release/python-390a1/ <https://www.python.org/downloads/release/python-390a1/>
This is an early developer preview of Python 3.9
Python 3.9 is still in development. This releasee, 3.9.0a1 is the first of six 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 (2020-05-18) and, if necessary, may be modified or deleted up until the release candidate phase (2020-08-10). 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.9 series, compared to 3.8
Many new features for Python 3.9 are still being planned and written. Among the new major new features and changes so far:
PEP 602 <https://www.python.org/dev/peps/pep-0602/>, Python adopts a stable annual release cadence
BPO 38379 <https://bugs.python.org/issue38379>, garbage collection does not block on resurrected objects;
BPO 38692 <https://bugs.python.org/issue38692>, os.pidfd_open added that allows process management without races and signals;
A number of standard library modules (audioop, ast, grp, _hashlib, pwd, _posixsubprocess, random, select, struct, termios, zlib) are now using the stable ABI defined by PEP 384 <https://www.python.org/dev/peps/pep-0384/>.
(Hey, fellow core developer, if a feature you find important is missing from this list, let Łukasz know <mailto:lukasz@python.org>.)
The next pre-release of Python 3.9 will be 3.9.0a2, currently scheduled for 2019-12-16.
- Ł