Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2571

QuantiPhy 2.0

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ken Kundert <admin@shalmirane.com>
Newsgroups comp.lang.python.announce
Subject QuantiPhy 2.0
Date Thu, 13 Jul 2017 11:26:52 -0700
Lines 47
Approved python-announce-list@python.org
Message-ID <mailman.62.1500033845.29743.python-announce-list@python.org> (permalink)
References <20170713182652.GA20142@kundert.designers-guide.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace news.uni-berlin.de WtmM7oHx6L+zG5fELLKfUQodD8nQ6XOHOvniq3aQSqQw==
Return-Path <admin@shalmirane.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'url:pypi': 0.03; 'url:github': 0.05; 'float': 0.07; 'scaling': 0.07; 'python': 0.09; 'appropriate.': 0.09; 'constants.': 0.09; 'indicates': 0.09; 'naturally': 0.09; 'subclass': 0.09; 'api': 0.10; 'engineering.': 0.16; 'extensible': 0.16; 'received:173.11': 0.16; 'supported.': 0.16; 'write.': 0.16; 'amounts': 0.18; 'output': 0.18; 'input': 0.18; 'library': 0.20; 'cheers,': 0.22; 'object.': 0.22; 'language': 0.23; 'programming': 0.23; 'url:io': 0.24; 'scale': 0.24; 'header:User-Agent:1': 0.26; 'convert': 0.27; 'generally': 0.27; 'anywhere': 0.28; 'quantities': 0.29; 'objects': 0.29; '----': 0.31; '--------': 0.31; 'url:python': 0.31; 'possible': 0.33; 'converting': 0.33; 'url:en': 0.34; 'supported': 0.34; 'release': 0.34; 'but': 0.34; 'widely': 0.35; 'science': 0.35; 'class': 0.36; 'url:org': 0.36; 'number,': 0.36; 'skip:- 10': 0.38; 'charset:us-ascii': 0.38; 'large': 0.38; 'some': 0.38; 'unit': 0.39; 'proto:https': 0.39; 'received:io': 0.39; 'received:psf.io': 0.39; 'to:addr:python.org': 0.39; 'received:ams1.psf.io': 0.40; 'received:mail1.ams1.psf.io': 0.40; 'read': 0.61; 'offers': 0.61; 'making': 0.62; 'share': 0.62; 'collection': 0.62; 'effectively': 0.62; 'easy': 0.63; 'news': 0.64; 'quantity': 0.66; 'direct': 0.66; 'skip:= 30': 0.67; 'natural': 0.67; 'to:addr:python-announce-list': 0.72; 'physical': 0.73; 'from:addr:admin': 0.76; 'factors': 0.79; 'measurable': 0.84; 'factors,': 0.91; 'humans.': 0.91
X-Virus-Scanned amavisd-new at designers-guide.com
Content-Disposition inline
User-Agent Mutt/1.8.3 (2017-05-23)
X-Mailman-Approved-At Fri, 14 Jul 2017 08:04:04 -0400
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.24
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <20170713182652.GA20142@kundert.designers-guide.com>
Xref csiph.com comp.lang.python.announce:2571

Show key headers only | View raw


QuantiPhy -- Physical Quantities
================================

QuantiPhy is a Python library that offers support for physical quantities. 
A quantity is the pairing of a number and a unit of measure that indicates the 
amount of some measurable thing. QuantiPhy provides quantity objects that keep 
the units with the number, making it easy to share them as single object. They 
subclass float and so can be used anywhere a number is appropriate.

QuantiPhy naturally supports SI scale factors, which are widely used in science 
and engineering. SI scale factors make it possible to cleanly represent both 
very large and very small quantities in a form that is both easy to read and 
write. While generally better for humans, no general programming language 
provides direct support for reading or writing quantities with SI scale factors, 
making it difficult to write software that communicates effectively with humans. 
QuantiPhy addresses this deficiency, making it natural and simple to both input 
and output physical quantities.


Features
--------
* Flexibly reads amounts with units and SI scale factors.
* Quantities subclass the float class and so can be used as conventional numbers.
* Generally includes the units when printing or converting to strings and by default employs SI scale factors.
* Flexible unit conversion and scaling is supported to make it easy to convert to or from any required form.
* Provides a small but extensible collection of physical constants.


Download
--------
https://github.com/KenKundert/quantiphy
https://pypi.python.org/pypi/quantiphy


Documentation
-------------
https://quantiphy.readthedocs.io/en/stable/


News
----
This is the first formal production release. With this release the API is 
considered mature and fully supported.


Cheers,
Ken

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

QuantiPhy 2.0 Ken Kundert <admin@shalmirane.com> - 2017-07-13 11:26 -0700

csiph-web