Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'explicitly': 0.05; 'output': 0.05; 'subject:Python': 0.06; 'coverage.': 0.07; 'definitions': 0.07; 'string': 0.09; 'conversions': 0.09; 'dependency': 0.09; 'etc).': 0.09; 'pep': 0.09; 'prefix': 0.09; 'prefixes': 0.09; 'url:github': 0.09; 'runs': 0.10; 'python': 0.11; 'bug': 0.12; '2.7': 0.14; '2.7+': 0.16; 'alexander': 0.16; 'barnes,': 0.16; 'constants.': 0.16; 'define,': 0.16; 'defined,': 0.16; 'formatted': 0.16; 'formatting.': 0.16; 'hierarchy.': 0.16; 'maintainable': 0.16; 'numpy': 0.16; 'prefixed': 0.16; 'subject:library': 0.16; 'supported.': 0.16; 'to:addr:python- announce-list': 0.16; 'unchanged': 0.16; 'units,': 0.16; 'units.': 0.16; 'contributed': 0.16; 'sender:addr:gmail.com': 0.17; 'code.': 0.18; 'numerical': 0.19; 'packages.': 0.19; 'reports,': 0.19; 'example': 0.22; 'install': 0.23; '(or': 0.24; '---': 0.24; 'source': 0.25; 'recognized': 0.26; 'post': 0.26; 'code:': 0.26; 'supported': 0.26; 'values': 0.27; 'van': 0.27; 'absolute': 0.30; 'compared': 0.30; 'message-id:@mail.gmail.com': 0.30; '3.x': 0.31; 'flags': 0.31; 'url:05': 0.31; 'allows': 0.31; 'file': 0.32; 'extend': 0.32; 'text': 0.33; 'announce': 0.33; 'definition': 0.35; 'operate': 0.35; 'operations': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'library.': 0.36; 'licensed': 0.36; 'shorter': 0.36; 'thanks': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'changing': 0.37; 'unit': 0.37; 'list': 0.37; 'depends': 0.38; 'richard': 0.38; 'handle': 0.38; 'does': 0.39; 'support,': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'easy': 0.60; 'dave': 0.60; 'flat': 0.60; 'units': 0.60; 'free': 0.61; 'conversion': 0.61; 'extended': 0.61; 'new': 0.61; 'simple': 0.61; 'complete': 0.62; 'advanced': 0.63; 'skip:n 10': 0.64; 'choose': 0.64; 'design,': 0.64; 'map': 0.64; 'provide': 0.64; 'more': 0.64; 'different': 0.65; 'url:blogspot': 0.65; 'charset:windows-1252': 0.65; 'due': 0.66; 'subject:. ': 0.67; 'positions': 0.67; 'between': 0.67; 'url:ar': 0.68; 'results': 0.69; 'physical': 0.72; 'details:': 0.80; '3101': 0.84; 'float,': 0.84; 'free:': 0.84; 'it\x92s': 0.84; 'points,': 0.84; 'temperature': 0.84; 'url:2013': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type:content-transfer-encoding; bh=RAP9cMCsj4AlG0M5v/itjnZ4uoFLlMd1lifK2Bcy6qI=; b=U/rXH+Y6khhefUenQ3Twi7idKA44WiqYcywE4JzQPgcmdSkGBW5B/WJ1Dfch7l+5B5 nYmE9eacUpzf0OlwgsNfVZOt4iVmfaEny2m6PEgdVlHo2dZcSFf/B/J/cnKWY8WmkRKo 2hnXan1k4FjoNGd2DcSK47O2HBq+SSzX6QkJiTI1ur04X/B7NkaAVkaupREf9HKNdfJB 9zF+iNpe+jNfQWzy8f/0HrbaEs7FwLPgZtqxLXVUAJyb9Y3Wle4whnfLkc1RnoHBTB/M UDBePeU3QzBb69E3FOQnWIsWsVwsE7awo/bjy4TO6IdDCHcUxZwB8oCM1NVHpw5MpJXv 0bwQ== MIME-Version: 1.0 X-Received: by 10.50.176.164 with SMTP id cj4mr8875963igc.66.1368416264783; Sun, 12 May 2013 20:37:44 -0700 (PDT) Sender: hgrecco@gmail.com Date: Mon, 13 May 2013 00:37:44 -0300 X-Google-Sender-Auth: MTN7ZsL2xOC0ww2GSDZwxyjI2F8 Subject: Pint 0.2 released. Python units library From: Hernan Grecco To: Python Announcements Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 13 May 2013 10:16:52 +0200 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: 89 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1368433014 news.xs4all.nl 15959 [2001:888:2000:d::a6]:35633 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:943 Hi, We are happy to announce Pint 0.2. Pint is a Python package to define, operate and manipulate physical quantities: the product of a numerical value and a unit of measurement. This release brings a lot of new exciting features including extended NumPy support, temperature conversion, implementation of the Buckingham Pi Theorem and support for values with uncertainties. Check out the blog post for more details: http://python-in-the-lab.blogspot.com.ar/2013/05/a-pint-day.html You can get pint using pip: $ pip install pint or get the source code: https://github.com/hgrecco/pint and check the docs: http://pint.readthedocs.org/ What is Pint? --- Pint is Python package to define, operate and manipulate physical quantities: the product of a numerical value and a unit of measurement. It allows arithmetic operations between them and conversions from and to different units. It is distributed with a comprehensive list of physical units, prefixes and constants. Due to it=92s modular design, you can extend (or even rewrite!) the complete list without changing the source code. It has a complete test coverage. It runs in Python 2.7 and 3.X with no other dependency. It licensed under BSD. Highlights --- * Unit parsing: prefixed and pluralized forms of units are recognized without explicitly defining them. In other words: as the prefix kilo and the unit meter are defined, Pint understands kilometers. This results in a much shorter and maintainable unit definition list as compared to other packages. * Standalone unit definitions: units definitions are loaded from a text file which is simple and easy to edit. Adding and changing units and their definitions does not involve changing the code. * Advanced string formatting: a quantity can be formatted into string using PEP 3101 syntax. Extended conversion flags are given to provide symbolic, latex and pretty formatting. * Free to choose the numerical type: You can use any numerical type (fraction, float, decimal, numpy.ndarray, etc). NumPy is not required but supported. * NumPy integration: When you choose to use a NumPy ndarray, its methods and ufuncs are supported including automatic conversion of units. For example numpy.arccos(q) will require a dimensionless q and the units of the output quantity will be radian. * Handle temperature: conversion between units with different reference points, like positions on a map or absolute temperature scales. * Small codebase: easy to maintain codebase with a flat hierarchy. * Dependency free: it depends only on Python and it=92s standard library. * Python 2 and 3: a single codebase that runs unchanged in Python 2.7+ and Python 3.0+. Thanks to the people that contributed bug reports, suggestions and patches. In particular to: Richard Barnes, Alexander B=F6hn, Dave Brooks, Giel van Schijndel, Brend Wanders Enjoy! Hern=E1n