Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'url:pypi': 0.03; 'binary': 0.07; 'filing': 0.07; 'linux,': 0.07; 'pypi': 0.07; 'subject:ANN': 0.07; 'subject:released': 0.07; '===': 0.09; 'enhancements': 0.09; 'reference:': 0.09; 'strings.': 0.09; 'url:googlecode': 0.09; 'windows,': 0.09; 'api': 0.11; 'python': 0.11; 'bug': 0.12; 'changes': 0.15; 'windows': 0.15; "'w')": 0.16; '1.1.0': 0.16; '1024)': 0.16; '24]': 0.16; 'create:': 0.16; 'files:': 0.16; 'folks,': 0.16; 'ioerror:': 0.16; 'portable': 0.16; 'processes.': 0.16; 'retrieving': 0.16; 'to:addr :python-announce-list': 0.16; 'url:display': 0.16; 'url:html)': 0.16; 'module': 0.19; 'implementing': 0.19; 'skip:f 30': 0.19; 'command': 0.22; '>>>': 0.22; 'memory': 0.22; 'network,': 0.22; '>>>': 0.24; 'versions': 0.24; '---': 0.24; 'source': 0.25; '(see': 0.26; 'fixed': 0.29; 'skip:p 30': 0.29; 'possibility': 0.29; 'url:code': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'included': 0.31; "skip:' 10": 0.31; 'url:wiki': 0.31; '"",': 0.31; '8bit%:2': 0.31; 'constant': 0.31; 'file': 0.32; 'interface': 0.32; 'open': 0.33; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'announce': 0.33; 'plain': 0.33; 'problem': 0.35; 'offered': 0.35; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'skip:f 40': 0.36; 'similar': 0.36; 'url:org': 0.36; 'example,': 0.37; 'too': 0.37; 'list': 0.37; 'skip:& 10': 0.38; 'others.': 0.38; 'url:library': 0.38; 'skip:[ 10': 0.38; 'files': 0.38; 'resource': 0.38; 'recent': 0.39; 'skip:& 20': 0.39; "couldn't": 0.39; 'hosted': 0.39; 'url:action': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; '8bit%:6': 0.40; 'release': 0.40; 'extended': 0.61; 'free,': 0.61; 'new': 0.61; 'providing': 0.61; 'here:': 0.62; 'complete': 0.62; 'information': 0.63; 'such': 0.63; 'maximum': 0.63; 'url:p': 0.64; 'home': 0.69; 'limit': 0.70; 'faster.': 0.84; 'freebsd': 0.84; 'leak': 0.84; 'disks,': 0.91; 'serious': 0.97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=6DbtW/pdtB4WRYbN6+vZm9V39CSrX9xSLIXiUZ+s/7I=; b=zhLURtw0GxoDHbRc2wAkELtuVapcwngRxwbUwVKILxams2zBeqsGFbSI1Pae3mHlxj ECpqQdv6JXyn06D8FyX+DDyXOumCpcpDb0OVN6HQWeCloExBV7DT0OfYaeuy+CNwHA8+ THpP2FxS03eA5RX13MMSFyVXbPtsZWpRKzUk+51cVwEW5UIRS6x0RrSfysT5oy+4Bj9B kraD0ZS/92mUVGa82/BkfgPwHLcoSDI+sUaHjDcI9Zze+L3lyiE6Zf7KjJKi0oyFn6jc 5ZRVc07RSD2/4iCBPeS0UahOCWClR89EVJRepWcZgHkzCRO0qvx1phh18zipK1hxhBnZ 2I0A== X-Received: by 10.112.126.37 with SMTP id mv5mr12818908lbb.20.1380366087171; Sat, 28 Sep 2013 04:01:27 -0700 (PDT) MIME-Version: 1.0 From: "Giampaolo Rodola'" Date: Sat, 28 Sep 2013 13:01:07 +0200 Subject: ANN: psutil 1.1.0 released To: python-announce-list@python.org X-Mailman-Approved-At: Mon, 30 Sep 2013 02:34:44 +0200 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 88 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380501285 news.xs4all.nl 15927 [2001:888:2000:d::a6]:59656 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:1068 Hi there folks, I'm pleased to announce the 1.1.0 release of psutil: http://code.google.com/p/psutil/ === About === psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory, disks, network, users) in a portable way by using Python, implementing many functionalities offered by command line tools such as ps, top, free, netstat, lsof and others. It supports Linux, Windows, OSX, FreeBSD and Solaris with Python versions from 2.4 to 3.4. === New features === The main addition included in this new release is the possibility to set process resource limits on Linux (see "man prlimit"). This functionality is similar to what you can already do with stdlib resource module (http://docs.python.org/2/library/resource.html) but it is extended to all processes. For example, you might limit the number of files which may be opened by a process: >>> p = psutil.Process(pid) >>> p.set_rlimit(psutil.RLIMIT_NOFILE, (128, 128)) >>> files = [] >>> for x in range(200): ... files.append(open('/tmp/foo')) ... Traceback (most recent call last): File "", line 2, in IOError: [Errno 24] Too many open files: '/tmp/foo' ...or the maximum size of files that the process may create: >>> p.set_rlimit(psutil.RLIMIT_FSIZE, (1024, 1024)) >>> f = open('/tmp/foo', 'w') >>> f.write('x' * 1024) >>> f.flush() >>> f.write('x') >>> f.flush() Traceback (most recent call last): File "", line 1, in IOError: [Errno 27] File too large >>> === Main bugfixes === * Process.as_dict() return value couldn't be serialized to JSON. * [Windows] fixed a pretty serious memory leak in Process.get_memory_info(). * [Windows] Process get_children() and "name" property are an order of magnitude faster. === Other changes === * STATUS_* and CONN_* constants (returned by Process' status() and get_connections() methods respectively) have been turned from constant objects to plain Python strings. * source and Windows binary files are now hosted on PyPi Complete list of bugfixes and enhancements is here: https://psutil.googlecode.com/hg/HISTORY === Links === * Home page: http://code.google.com/p/psutil * Downloads: https://pypi.python.org/pypi?:action=display&name=psutil#downloads * API Reference: http://code.google.com/p/psutil/wiki/Documentation Please try out this new release and let me know if you experience any problem by filing issues on the bug tracker. All the best, --- Giampaolo Rodola' http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ http://code.google.com/p/pysendfile/