salabim 2.2.8 released

2017-12-07 Thread Ruud van der Ham
The discrete event simulation package salabim has now an enhanced user
interface and allows for non synchronized animations.
With this version the stability on iOS is improved.
Available on PyPI and GitHub.

See www.salabim.org for details.
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: Trio v0.2.0 released

2017-12-07 Thread Nathaniel Smith
Hi all,

I'm proud to announce the release of Trio v0.2.0. Trio is a new async
concurrency library for Python that's obsessed with usability and
correctness -- we want to make it easy to get things right. This is
the second public release, and it contains major new features and
bugfixes from 14 contributors.

You can read the full release notes here:

https://trio.readthedocs.io/en/latest/history.html#trio-0-2-0-2017-12-06

Some things I'm particularly excited about are:

- Comprehensive support for async file I/O

- The new 'nursery.start' method for clean startup of complex task trees

- The new high-level networking API -- this is roughly the same level
of abstraction as twisted/asyncio's protocols/transports. Includes
luxuries like happy eyeballs for most robust client connections, and
server helpers that integrate with nursery.start.

- Complete support for using SSL/TLS encryption over arbitrary
transports. You can even do SSL-over-SSL, which is useful for HTTPS
proxies and AFAIK not supported by any other Python library.

- Task-local storage.

- Our new contributing guide:
https://trio.readthedocs.io/en/latest/contributing.html

To get started with Trio, the best place to start is our tutorial:

https://trio.readthedocs.io/en/latest/tutorial.html

It doesn't assume any prior familiarity with concurrency or async/await.

Share and enjoy,
-n

-- 
Nathaniel J. Smith -- https://vorpus.org
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: psutil 5.4.2 released

2017-12-07 Thread Giampaolo Rodola'
Hello all,
I'm glad to announce the release of psutil 5.4.2:
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, OSX, Sun Solaris, FreeBSD, OpenBSD,
NetBSD and AIX, both 32-bit and 64-bit architectures, with Python versions
from 2.6 to 3.6. PyPy is also known to work.

What's new
==

*2017-12-07*

**Enhancements**

- #1173: introduced PSUTIL_DEBUG environment variable which can be set in
order
  to print useful debug messages on stderr (useful in case of nasty errors).
- #1177: added support for sensors_battery() on OSX.  (patch by Arnon Yaari)
- #1183: Process.children() is 2x faster on UNIX and 2.4x faster on Linux.
- #1188: deprecated method Process.memory_info_ex() now warns by using
  FutureWarning instead of DeprecationWarning.

**Bug fixes**

- #1152: [Windows] disk_io_counters() may return an empty dict.
- #1169: [Linux] users() "hostname" returns username instead.  (patch by
  janderbrain)
- #1172: [Windows] `make test` does not work.
- #1179: [Linux] Process.cmdline() is now able to splits cmdline args for
  misbehaving processes which overwrite /proc/pid/cmdline and use spaces
  instead of null bytes as args separator.
- #1181: [OSX] Process.memory_maps() may raise ENOENT.
- #1187: [OSX] pids() does not return PID 0 on recent OSX versions.

Links
=

- Home page: https://github.com/giampaolo/psutil
- Download: https://pypi.python.org/pypi/psutil
- Documentation: http://psutil.readthedocs.io
- What's new: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

--

Giampaolo - http://grodola.blogspot.com
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


Re: ANN: psutil 5.4.2 released

2017-12-07 Thread André Schneider
Unsubscribe

Giampaolo Rodola'  schrieb am Do., 7. Dez. 2017, 13:16:

> Hello all,
> I'm glad to announce the release of psutil 5.4.2:
> 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, OSX, Sun Solaris, FreeBSD, OpenBSD,
> NetBSD and AIX, both 32-bit and 64-bit architectures, with Python versions
> from 2.6 to 3.6. PyPy is also known to work.
>
> What's new
> ==
>
> *2017-12-07*
>
> **Enhancements**
>
> - #1173: introduced PSUTIL_DEBUG environment variable which can be set in
> order
>   to print useful debug messages on stderr (useful in case of nasty
> errors).
> - #1177: added support for sensors_battery() on OSX.  (patch by Arnon
> Yaari)
> - #1183: Process.children() is 2x faster on UNIX and 2.4x faster on Linux.
> - #1188: deprecated method Process.memory_info_ex() now warns by using
>   FutureWarning instead of DeprecationWarning.
>
> **Bug fixes**
>
> - #1152: [Windows] disk_io_counters() may return an empty dict.
> - #1169: [Linux] users() "hostname" returns username instead.  (patch by
>   janderbrain)
> - #1172: [Windows] `make test` does not work.
> - #1179: [Linux] Process.cmdline() is now able to splits cmdline args for
>   misbehaving processes which overwrite /proc/pid/cmdline and use spaces
>   instead of null bytes as args separator.
> - #1181: [OSX] Process.memory_maps() may raise ENOENT.
> - #1187: [OSX] pids() does not return PID 0 on recent OSX versions.
>
> Links
> =
>
> - Home page: https://github.com/giampaolo/psutil
> - Download: https://pypi.python.org/pypi/psutil
> - Documentation: http://psutil.readthedocs.io
> - What's new: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
>
> --
>
> Giampaolo - http://grodola.blogspot.com
> --
> https://mail.python.org/mailman/listinfo/python-announce-list
>
> Support the Python Software Foundation:
> http://www.python.org/psf/donations/
>
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


Announcing importlib_resources 0.1

2017-12-07 Thread Barry Warsaw
Brett and I have been working on a little skunkworks project for a few weeks, 
and it’s now time to announce the first release.  We’re calling it 
importlib_resources and its intent is to replace the “Basic Resource Access” 
APIs of pkg_resources with more efficient implementations based directly on 
importlib.

importlib_resources 0.1 provides support for Python 2.7, and 3.4-3.7.  It 
defines an ABC that loaders can implement to provide direct access to resources 
inside packages.  importlib_resources has fallbacks for file system and zip 
file loaders, so it should work out of the box in most of the places that 
pkg_resources is currently used.  We even have a migration guide for folks who 
want to drop pkg_resources altogether and adopt importlib_resources.  
importlib_resources explicitly does not support pkg_resources features like 
entry points, working sets, etc.  Still, we think the APIs provided will be 
good enough for most current use cases.

http://importlib-resources.readthedocs.io/

We are calling it “importlib_resources” because we intend to port this into 
Python 3.7 under a new importlib.resources subpackage, so starting with Python 
3.7, you will get this for free.  The API is going to officially be 
provisional, but I’ve already done an experimental port of at least one big 
application (I’ll let you guess which one :) and it’s fairly straightforward, 
if not completely mechanical unfortunately.  Take a look at the migration guide 
for details:

http://importlib-resources.readthedocs.io/en/latest/migration.html

We also intend to include the ABC in Python 3.7:

http://importlib-resources.readthedocs.io/en/latest/abc.html

You can of course `pip install importlib_resources`.

We’re hosting the project on GitLab, and welcome feedback, bug fixes, 
improvements, etc!

 * Project home: https://gitlab.com/python-devs/importlib_resources
 * Report bugs at: https://gitlab.com/python-devs/importlib_resources/issues
 * Code hosting: https://gitlab.com/python-devs/importlib_resources.git
 * Documentation: http://importlib_resources.readthedocs.io/

Cheers.
-Barry and Brett



signature.asc
Description: Message signed with OpenPGP
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/