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
I am delighted to announce the release 0.7.0 of Austin. If you haven't
heard of Austin before, it is a frame stack sampler for CPython. It can
be used to obtain statistical profiling data out of a running Python
application without a single line of instrumentation. This means that you
can start profiling a Python application straightaway, even while it's
running on a production environment, with minimal impact on performance.
The simplest way of using Austin is by piping its output to FlameGraph
for a quick and detailed representation of the collected samples. The
latest release introduces a memory profiling mode which allows you to
profile memory usage.
Austin is a pure C application that has no other dependencies other than
the C standard library. Its source code is hosted on GitHub at
https://github.com/P403n1x87/austin
The README contains installation and usage details, as well as some
examples of Austin in action. Details on how to contribute to Austin's
development can be found at the bottom of the page.
I hope that you can find Austin useful!
All the best,
Gabriele
This time without delays, I present you Python 3.8.0b3:
https://www.python.org/downloads/release/python-380b3/ <https://www.python.org/downloads/release/python-380b3/>
This release is the third of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release. The next pre-release of Python 3.8 will be 3.8.0b4, the last beta release, currently scheduled for 2019-08-26.
Call to action
We strongly encourage maintainers of third-party Python projects to test with 3.8 during the beta phase and report issues found to the Python bug tracker <https://bugs.python.org/> as soon as possible. While the release is planned to be feature complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (2019-09-30). Our goal is have no ABI changes after beta 3 and no code changes after 3.8.0rc1, the release candidate. To achieve that, it will be extremely important to get as much exposure for 3.8 as possible during the beta phase.
Please keep in mind that this is a preview release and its use is not recommended for production environments.
Last beta coming
Beta 4 can only be released if all “Release blocker” and “Deferred blocker” issues on bugs.python.org <http://bugs.python.org/> for 3.8.0 are resolved. Please prioritize those for the next four weeks.
Acknowledgements
Thanks to our binary builders, Ned and Steve, who were very quick today to get the macOS and Windows installers ready. The Windows story in particular got pretty magical, it’s now really fully automatic end-to-end.
Thanks to Victor for vastly improving the reliability of multiprocessing tests since Beta 2.
Thanks to Pablo for keeping the buildbots green.
- Ł
Hi All,
On behalf of the NumPy team I am pleased to announce the release of NumPy
1.17.0. The 1.17.0 release contains a number of new features that should
substantially improve its performance and usefulness. The Python versions
supported are 3.5-3.7, note that Python 2.7 has been dropped. Python 3.8b2
should work with the released source packages, but there are no guarantees
about future releases. Highlights of this release are:
- A new extensible random module along with four selectable random
number generators and improved seeding designed for use in parallel
processes has been added. The currently available bit generators are
MT19937, PCG64, Philox, and SFC64.
- NumPy's FFT implementation was changed from fftpack to pocketfft,
resulting in faster, more accurate transforms and better handling of
datasets of prime length.
- New radix sort and timsort sorting methods. It is currently not
possible to choose which will be used, but they are hardwired to the
datatype and used when either ``stable`` or ``mergesort`` is passed as the
method.
- Overriding numpy functions is now possible by default
Downstream developers should use Cython >= 0.29.10 for Python 3.8 support
and OpenBLAS >= 3.7 (not currently out) to avoid problems on the Skylake
architecture. The NumPy wheels on PyPI are built from the OpenBLAS
development branch in order to avoid those problems. Wheels for this
release can be downloaded from PyPI <https://pypi.org/project/numpy/1.17.0/>,
source archives and release notes are available from Github
<https://github.com/numpy/numpy/releases/tag/v1.17.0>.
*Contributors*
A total of 150 people contributed to this release. People with a "+" by
their
names contributed a patch for the first time.
- Aaron Voelker +
- Abdur Rehman +
- Abdur-Rahmaan Janhangeer +
- Abhinav Sagar +
- Adam J. Stewart +
- Adam Orr +
- Albert Thomas +
- Alex Watt +
- Alexander Blinne +
- Alexander Shadchin
- Allan Haldane
- Ander Ustarroz +
- Andras Deak
- Andrea Pattori +
- Andreas Schwab
- Andrew Naguib +
- Andy Scholand +
- Ankit Shukla +
- Anthony Sottile
- Antoine Pitrou
- Antony Lee
- Arcesio Castaneda Medina +
- Assem +
- Bernardt Duvenhage +
- Bharat Raghunathan +
- Bharat123rox +
- Bran +
- Bruce Merry +
- Charles Harris
- Chirag Nighut +
- Christoph Gohlke
- Christopher Whelan +
- Chuanzhu Xu +
- Colin Snyder +
- Dan Allan +
- Daniel Hrisca
- Daniel Lawrence +
- Debsankha Manik +
- Dennis Zollo +
- Dieter Werthmüller +
- Dominic Jack +
- EelcoPeacs +
- Eric Larson
- Eric Wieser
- Fabrice Fontaine +
- Gary Gurlaskie +
- Gregory Lee +
- Gregory R. Lee
- Guillaume Horel +
- Hameer Abbasi
- Haoyu Sun +
- Harmon +
- He Jia +
- Hunter Damron +
- Ian Sanders +
- Ilja +
- Isaac Virshup +
- Isaiah Norton +
- Jackie Leng +
- Jaime Fernandez
- Jakub Wilk
- Jan S. (Milania1) +
- Jarrod Millman
- Javier Dehesa +
- Jeremy Lay +
- Jim Turner +
- Jingbei Li +
- Joachim Hereth +
- Johannes Hampp +
- John Belmonte +
- John Kirkham
- John Law +
- Jonas Jensen
- Joseph Fox-Rabinovitz
- Joseph Martinot-Lagarde
- Josh Wilson
- Juan Luis Cano Rodríguez
- Julian Taylor
- Jérémie du Boisberranger +
- Kai Striega +
- Katharine Hyatt +
- Kevin Sheppard
- Kexuan Sun
- Kiko Correoso +
- Kriti Singh +
- Lars Grueter +
- Luis Pedro Coelho
- Maksim Shabunin +
- Manvi07 +
- Mark Harfouche
- Marten van Kerkwijk
- Martin Reinecke +
- Matthew Brett
- Matthias Bussonnier
- Matti Picus
- Michel Fruchart +
- Mike Lui +
- Mike Taves +
- Min ho Kim +
- Mircea Akos Bruma
- Nick Minkyu Lee
- Nick Papior
- Nick R. Papior +
- Nicola Soranzo +
- Nimish Telang +
- OBATA Akio +
- Oleksandr Pavlyk
- Ori Broda +
- Paul Ivanov
- Pauli Virtanen
- Peter Andreas Entschev +
- Peter Bell +
- Pierre de Buyl
- Piyush Jaipuriayar +
- Prithvi MK +
- Raghuveer Devulapalli +
- Ralf Gommers
- Richard Harris +
- Rishabh Chakrabarti +
- Riya Sharma +
- Robert Kern
- Roman Yurchak
- Ryan Levy +
- Sebastian Berg
- Sergei Lebedev +
- Shekhar Prasad Rajak +
- Stefan van der Walt
- Stephan Hoyer
- Steve Stagg +
- SuryaChand P +
- Søren Rasmussen +
- Thibault Hallouin +
- Thomas A Caswell
- Tobias Uelwer +
- Tony LaTorre +
- Toshiki Kataoka
- Tyler Moncur +
- Tyler Reddy
- Valentin Haenel
- Vrinda Narayan +
- Warren Weckesser
- Weitang Li
- Wojtek Ruszczewski
- Yu Feng
- Yu Kobayashi +
- Yury Kirienko +
- @aashuli +
- @luzpaz
- @parul +
- @spacescientist +
Cheers,
Charles Harris
Wing 7.1 is a new release of Wingware's Python IDE product line. This
release adds support for Python 3.8, warns about unused symbols,
improves code warnings configuration, adds new icons for the
auto-completer, project, and source browser, supports Dark Mode on OS X,
and makes other improvements.
== Some Highlights of Wing 7.1 ==
* Support for Python 3.8: Wing 7.1 supports editing, testing, and
debugging code written for Python 3.8, so you can take advantage of
assignment expressions and other improvements introduced in this new
version of Python.
* Improved Code Warnings: Wing 7.1 adds unused symbol warnings for
imports, variables, and arguments found in Python code. This release
also improves code warnings configuration, making it easier to disable
unwanted warnings.
* Cosmetic Improvements: Wing 7.1 improves the auto-completer, project
tool, and code browser with redesigned icons that make use of Wing's
icon color configuration. This release also improves text display on
some Linux systems, supports Dark Mode on macOS, and improves display of
Python code and icons found in documentation.
* And More: Wing 7.1 also adds support for Windows 10 native OpenSSH
installations for remote development, and makes a number of other minor
improvements. This release drops support for macOS 10.11. System
requirements remain unchanged on Windows and Linux.
For details see the change log:
https://wingware.com/pub/wingpro/7.1.0.2/CHANGELOG.txt
For a complete list of new features in Wing 7, see What's New in Wing 7:
https://wingware.com/wingide/whatsnew
== Downloads ==
Wing Pro: https://wingware.com/downloads/wing-pro/7.1/binaries
Wing Personal: https://wingware.com/downloads/wing-personal/7.1/binaries
Wing 101: https://wingware.com/downloads/wing-101/7.1/binaries
Compare Products: https://wingware.com/downloads
See Upgrading https://wingware.com/doc/install/upgrading for details on
upgrading from Wing 6 and earlier, and Migrating from Older Versions
https://wingware.com/doc/install/migrating for a list of compatibility
notes.
What is cx_Oracle?
cx_Oracle is a Python extension module that enables access to Oracle Database
for Python 3.x and 2.x and conforms to the Python database API 2.0
specifications with a number of enhancements.
Where do I get it?
https://oracle.github.io/python-cx_Oracle
The easiest method to install/upgrade cx_Oracle is via pip as in
python -m pip install cx_Oracle --upgrade
What's new?
This release addresses one bug on Windows. See the release notes for more
information.
https://cx-oracle.readthedocs.io/en/latest/releasenotes.html#version-7-2-1-…
Please provide any feedback via GitHub issues (https://github.com/oracle
/python-cx_Oracle/issues).
Hello,
Thought I'd announce a project I've been working on for some time.
Aioli is a Framework for building RESTful HTTP and WebSocket APIs with
asyncio. Its easy-to-use component system--built with an emphasis on
portability and composability--offers a sensible separation of application
logic, data access, and request/response layers.
Some links.
Framework Github repo:
https://github.com/aioli-framework/aioli
Documentation:
https://docs.aioli.dev
Extensions:
https://github.com/aioli-framework/aioli-rdbms -- Mysql and Postgres support
https://github.com/aioli-framework/aioli-openapi -- Generate OAS3 schemas
using Aioli Route Handlers
Fully functional (and quite comprehensive) RESTful HTTP API example:
https://github.com/aioli-framework/aioli-guestbook-example
Note that the project is still under development and lacks some features,
documentation, and tests.
Let me know if you have any questions, suggestions or such.
--
Robert Wikman
0xf6feb506ae5d3762
Note
Docutils 0.15.x is compatible with Python versions 2.6, 2.7 and 3.3 to
3.5
* reStructuredText:
- Allow embedded colons in field list field names (before, tokens like
``:this:example:`` were considered ordinary text).
- Fixed a bug with the "trim" options of the "unicode" directive.
* languages: Added Korean (ko) mappings and latin.
* Several fixes to keep mor information on source in parsed elements,
isolate documents roles from other documents parsed, smartquotes,
table gets width and latex table multicolumn cells, ...
all the best
engelbert
Trac 1.0.18, the latest maintenance release for the current stable
branch, is available.
You will find this release at the usual places:
https://trac.edgewall.org/wiki/TracDownload#LatestStableRelease
You can find the detailed release notes for 1.0.18 on the following
pages:
https://trac.edgewall.org/wiki/TracChangeLoghttps://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.0#MaintenanceReleases
Now to the packages themselves:
URLs:
https://download.edgewall.org/trac/Trac-1.0.18.tar.gzhttps://download.edgewall.org/trac/Trac-1.0.18-py2-none-any.whlhttps://download.edgewall.org/trac/Trac-1.0.18.win32.exehttps://download.edgewall.org/trac/Trac-1.0.18.win-amd64.exe
MD5 sums:
872c7ff39373cefc250d1696d348d7b7 Trac-1.0.18.tar.gz
f30aeb75f0c916304069ef1613d84b73 Trac-1.0.18-py2-none-any.whl
f8d9893e6a3aa83d78c8825669e3f155 Trac-1.0.18.win32.exe
40d2a185af036b4b20bd40a026f6d658 Trac-1.0.18.win-amd64.exe
SHA256 sums:
9ae779a2de238437cb650e82ca5b3beecbca19d1478083097bc30a2745dd362a Trac-1.0.18.tar.gz
d826ae169a712a5dcceb67af5329576a912429a85744978bdc8fc76e07be4bef Trac-1.0.18-py2-none-any.whl
5f2a9d78162aad8d1cf57cc42fb150060f7ad0c18bae2cf6e47943fa59af2aef Trac-1.0.18.win32.exe
8089aac09ee7c4d1ad766d6226600e260a2d816bf6b086b26e01ff1faadd2071 Trac-1.0.18.win-amd64.exe
Acknowledgements
================
Many thanks to the growing number of people who have, and continue to,
support the project. Also our thanks to all people providing feedback
and bug reports that helps us make Trac better, easier to use and
more effective. Without your invaluable help, Trac would not evolve.
Thank you all.
Finally, we hope that Trac will be useful to like-minded programmers
around the world, and that this release will be an improvement over
the last version.
Please let us know.
/The Trac Team https://trac.edgewall.org/