Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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; 'url:pypi': 0.03; 'output': 0.05; 'debugging': 0.07; 'expressions': 0.07; 'see:': 0.07; 'skip:` 10': 0.07; 'tool,': 0.07; 'variables': 0.07; 'arguments': 0.09; 'executed': 0.09; 'file)': 0.09; 'setup.py': 0.09; 'url:github': 0.09; 'variable,': 0.09; 'works.': 0.09; 'wrapper': 0.09; 'url:blog': 0.10; 'python': 0.11; 'changes': 0.15; '0.2': 0.16; 'cristian': 0.16; 'extensible': 0.16; 'filters.': 0.16; 'frames.': 0.16; 'optionally': 0.16; 'positional': 0.16; 'renamed': 0.16; 'to:addr:python-announce-list': 0.16; 'skip:= 10': 0.16; 'thanks,': 0.17; 'variable': 0.18; 'all,': 0.19; 'skip:p 40': 0.19; 'examples': 0.20; '(the': 0.22; 'example': 0.22; 'import': 0.22; 'print': 0.22; 'install': 0.23; 'installation': 0.23; 'error': 0.23; 'environment': 0.24; 'tracker': 0.26; 'second': 0.26; 'fixed': 0.29; 'skip:p 30': 0.29; 'reporting': 0.29; 'locations': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'breaking': 0.31; 'changes:': 0.31; 'convenience': 0.31; 'names.': 0.31; 'prints': 0.31; 'url:python': 0.33; 'announce': 0.33; 'received:209.85': 0.35; 'received:google.com': 0.35; 'activate': 0.36; 'choosing': 0.36; 'var': 0.36; 'url:org': 0.36; 'application': 0.37; 'project': 0.37; 'received:209': 0.37; 'actions': 0.38; 'issue': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'changed': 0.39; 'release': 0.40; 'how': 0.40; 'improved': 0.60; 'color': 0.61; 'skip:a 30': 0.61; 'from:charset:utf-8': 0.61; "you're": 0.61; 'show': 0.63; 'more': 0.64; 'url:0': 0.67; '(still': 0.84; 'env': 0.84; 'hunter': 0.84; 'convenience,': 0.91; 'url:ro': 0.91 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=Mhzqoa/boGhZvlOuK/g20YzUhpyAzTj7gxBsC58ooD8=; b=CKDtJlaUnbWSiKiB92bZXg15OMuv0LeRFbNV1UXbHyxqD9mfeSXz7AoVnVfn2viCQ1 ZXbVWgbPEx35fhnUnzVgGuk6HZP1huYD8y1P5d0CIroLYZeoZepd6+WYAHWk0daWTdlg T6AOZs6fUXYVE/Twow0d3rVqtHwsm9CZHkQd7RIO5vOFM5lnGJXr6uiIbDVw/jjwWvev YIstnFBD6rzE3HSMxSHYSByaX4zq0NBe3gGbKyQRRxGpSu59WHr1kWSYPRc92l7W7kz5 6GsJHSQe9H/ifrXu9x0RU9pyTaZTGZnV5AnhFBmifgCH8QFU++ghFLZ6GhMHBSZEaeHg TXJA== X-Gm-Message-State: ALoCoQkxK0FfTJUGxRuS8JXd8PPFIvdUez12mXhA2S1v8AaQk0frlR+vPP950Xdx/4CsoglBHKPI X-Received: by 10.152.163.2 with SMTP id ye2mr15439587lab.89.1427416527985; Thu, 26 Mar 2015 17:35:27 -0700 (PDT) X-Received: by 10.152.26.201 with SMTP id n9mr15415974lag.29.1427416525521; Thu, 26 Mar 2015 17:35:25 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Ionel_Cristian_M=C4=83rie=C8=99?= Date: Fri, 27 Mar 2015 02:35:05 +0200 Subject: Hunter 0.2 Released To: python-announce-list@python.org X-Mailman-Approved-At: Fri, 27 Mar 2015 07:00:27 +0100 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.19 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.19 Precedence: list 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: 68 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427436029 news.xs4all.nl 2889 [2001:888:2000:d::a6]:45583 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:1646 Hello all, I'm pleased to announce the second release for hunter: https://pypi.python.org/pypi/hunter/0.2.0 What is Hunter? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Hunter is a tracer tool, designed to be used for debugging or just to understand how an application works. It's designed to be flexible and extensible with custom actions or filters. It prints the executed code from locations of your choosing and can optionally print variables from the frames. It also colors the output if you're in a terminal. Quick example ------------- To show all the executed code from `posixpath`: import hunter hunter.trace(module=3D'posixpath') To show all the executed code from `posixpath` and a variable: hunter.trace(hunter.Q( module=3D'posixpath', action=3Dhunter.VarsPrinter('path'))) For convenience, you can also activate it via a `PYTHONHUNTER` environment variable, eg: PYTHONHUNTER=3D"module=3D'posixpath'" python yourapp.py For more examples see: https://github.com/ionelmc/python-hunter Changes in 0.2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * Added color support (and colorama as dependency). * Added support for expressions in VarsPrinter. * Improved error reporting for env variable activation (PYTHONHUNTER). * Fixed env var activator (the .pth file) installation with setup.py install (the =E2=80=9Cegg installs=E2=80=9D) and setup.py develop/pip insta= ll -e (the =E2=80=9Cegg links=E2=80=9D). * Breaking changes: * Renamed F to Q. And Q is now just a convenience wrapper for Query. * Renamed the PYTHON_HUNTER env variable to PYTHONHUNTER. * Changed When to take positional arguments. * Changed output to show 2 path components (still not configurable). * Changed VarsPrinter to take positional arguments for the names. Download page =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D https://pypi.python.org/pypi/hunter Project page and issue tracker =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D https://github.com/ionelmc/python-hunter Thanks, -- Ionel Cristian M=C4=83rie=C8=99, http://blog.ionelmc.ro