Commit Graph

  • e44d4c672e Add "hectare" as a supported unit of area Ed Schofield 2015-02-04 18:39:56 +11:00
  • b32c2ec3bb Unicode identifiers accepted Hernan Grecco 2015-01-24 17:23:21 -03:00
  • a6fd56a925 Merge branch 'ryanpdwyer-master' into develop Hernan Grecco 2015-01-24 16:56:23 -03:00
  • 8756ed7279 Started a custom tokenizer Hernan Grecco 2015-01-24 16:52:43 -03:00
  • ca77af0414 Added TODO note in conversion Hernan Grecco 2015-01-24 16:52:17 -03:00
  • 4dfa6662fb Added copy method to UnitContainer Hernan Grecco 2015-01-24 16:51:40 -03:00
  • f1e677d038 Removed hard-coded SI prefixes Ryan Dwyer 2015-01-14 11:17:31 -05:00
  • bee6b3ba4a Eliminated first set of hard-coded prefixes Ryan Dwyer 2015-01-14 07:35:22 -05:00
  • 41a26a131a Added Å to unit definition, added tests to check angstrom, µ problems Ryan Dwyer 2015-01-17 21:54:20 -05:00
  • 7e8b856230 Added list around calls to items for Python 3 compatibility Ryan Dwyer 2015-01-13 16:17:23 -05:00
  • a85eceff3b Switched to tuple for python 2.6 compatibility Ryan Dwyer 2015-01-13 15:30:18 -05:00
  • 504369900a Switched name of compact to to_compact Ryan Dwyer 2015-01-13 15:07:22 -05:00
  • 2513a75731 Unnecessary re import Ryan Dwyer 2015-01-13 14:56:56 -05:00
  • ffa0fba6b5 Added infer_base_units, so that if no unit is specified in compact method, derived units are retained Ryan Dwyer 2015-01-13 14:54:29 -05:00
  • e2efe349b4 This is a very clean version of the compact method, but it rather unintuitively converts bytes to bits by default Ryan Dwyer 2015-01-13 13:46:46 -05:00
  • e14cc45d7a Implemented systems and test for it Hernan Grecco 2015-01-12 00:41:35 -03:00
  • e9091d5589 Merge branch 'develop' into _systems Hernan Grecco 2015-01-09 15:36:31 -03:00
  • 0566c26ce4 Merge branch 'MatthieuDartiailh/units-container' into develop Hernan Grecco 2015-01-07 14:02:41 -03:00
  • 1847d9b385 Remove useless assertEqual override in test_umath. assert_Equal is never used directly but through assertQuantityEqual which handle numpy arrays so there is no need to use np.testing.assert_array_equal in place of assertEqual. Matthieu Dartiailh 2015-01-07 09:00:32 +01:00
  • 8b45404c16 Fix import issue. Matthieu Dartiailh 2015-01-06 23:09:27 +01:00
  • 0dddba88c9 Makes use of Unit as return type for unit related methods (and Quantity.units). Fix tests accordingly. Matthieu Dartiailh 2015-01-06 23:03:13 +01:00
  • 38317dc7cd Add Unit object and tests for it. Unit is not yet used anywhere it is simply recognised as a valid unit value for a quantity. Matthieu Dartiailh 2015-01-06 17:33:39 +01:00
  • 9af00ebf91 Creates a SharedRegistryObject handling the check of the registry identity. (will be useful for Unit) All tests are passing locally. Matthieu Dartiailh 2015-01-06 14:01:59 +01:00
  • 293066eff7 Move definitions, errors, and converters into their own modules. Move definitions, errors and converters tests to their own modules. (tests pass locally) Matthieu Dartiailh 2015-01-06 14:01:59 +01:00
  • ac3eb7be01 Squash commit turning UnitsContainer into an immutable type and making ParserHelper a subclass of UnitsContainer. Corrections : - Make only scale = 1 ParserHelper hashable. - Remove inplace operation for UnitsContainer. Matthieu Dartiailh 2015-01-06 14:01:59 +01:00
  • 5b5ca53e24 Implementing Systems and Groups (WIP) Hernan Grecco 2015-01-05 02:35:27 -03:00
  • d218c8aa0d Added note about {} in Python 2.6 Hernan Grecco 2014-12-18 15:22:33 -03:00
  • f2a9403395 Added print(...) to pretty representation, Python 2 unicode note Ryan Dwyer 2014-12-17 22:06:54 -05:00
  • 17cbb2dea7 Merge branch 'ryanpdwyer-master' Hernan Grecco 2014-12-16 22:28:29 -03:00
  • 8e35ffb5be Merge branch 'master' of github.com:ryanpdwyer/pint Ryan Dwyer 2014-12-10 00:34:08 -05:00
  • f8be1de672 Corrected typo 'suffix with ~' to 'prefix with ~', and added an example showing ~ used as a pretty print prefix. Other grammar / wording smoothed over. Ryan Dwyer 2014-12-10 00:31:33 -05:00
  • 9be3783f14 Emphasize in the front page that we do not monkey patch or wrap numpy Hernan Grecco 2014-12-09 23:18:38 -03:00
  • f93c4d1323 Fixed .travis.yml Hernan Grecco 2014-12-09 13:50:15 -03:00
  • 527b1b4e42 Python 2.6 compatible test runner Hernan Grecco 2014-12-09 12:08:23 -03:00
  • 1d35e43920 Added -bb option to testing Hernan Grecco 2014-12-09 11:35:09 -03:00
  • beaf6713e3 Edited the tutorial documentation: Ryan Dwyer 2014-12-09 08:21:52 -05:00
  • 46a06999c3 Back to development: 0.7 Hernan Grecco 2014-11-07 21:15:48 -03:00
  • e7e7de5ca2 Preparing release 0.6 0.6 Hernan Grecco 2014-11-07 21:14:05 -03:00
  • bda5fe5079 Improved docs Hernan Grecco 2014-11-07 21:06:27 -03:00
  • d2b1070086 Updated CHANGES Hernan Grecco 2014-11-07 20:35:57 -03:00
  • d682a21f19 Fix operations with measurments and user defined units. Hernan Grecco 2014-11-07 20:35:01 -03:00
  • 71d40b9048 Tagged version as alpha 1 Hernan Grecco 2014-11-03 17:18:13 -03:00
  • 728dab272e Fix help of a UnitRegistry Hernan Grecco 2014-11-03 17:10:49 -03:00
  • 7ae443e8e8 Better error messages on Quantity.__setitem__. Hernan Grecco 2014-11-03 17:05:44 -03:00
  • 419d782fa0 Updated AUTHORS Hernan Grecco 2014-11-03 16:55:48 -03:00
  • 297dae0e40 Updated CHANGES and CHANGES_DEV Hernan Grecco 2014-11-03 16:51:11 -03:00
  • 14a587aaf3 Removed some zest entry points for setup.cfg Hernan Grecco 2014-11-03 16:39:20 -03:00
  • cda086328a Fixed chemistry context Hernan Grecco 2014-10-30 18:11:01 -03:00
  • cacf2b2256 Merge branch 'kdavies4-FAQ' Hernan Grecco 2014-10-30 16:57:38 -03:00
  • 6525e1f484 Merge branch 'FAQ' of git://github.com/kdavies4/pint into kdavies4-FAQ Hernan Grecco 2014-10-30 16:57:36 -03:00
  • 278ae33114 Merge branch 'rsking84-doc_changes' Hernan Grecco 2014-10-30 16:56:34 -03:00
  • 89636acb69 Merge branch 'doc_changes' of git://github.com/rsking84/pint into rsking84-doc_changes Hernan Grecco 2014-10-30 16:56:24 -03:00
  • 800d7fc481 Merge branch 'develop' Hernan Grecco 2014-10-30 13:48:07 -03:00
  • 2f2166aa9d Merge branch 'MatthieuDartiailh-speedups' into develop Hernan Grecco 2014-10-19 13:26:55 -03:00
  • ce681a4ba5 Fix Python 2.6 compatibility. Matthieu Dartiailh 2014-10-19 17:38:44 +02:00
  • 082a338cfb Add caching for get_dimensionality for non base units. Add unit parser cache to make q1.to('mV') as fast as q1.to(q2.units) Matthieu Dartiailh 2014-10-17 19:46:45 +02:00
  • b29ed165b8 WIP trying to speed up unit conversion. Matthieu Dartiailh 2014-10-11 00:22:50 +02:00
  • 386774cc7e Make "floz" the abbreviated version of "fluid_ounce" instead of the opposite Virgil Dupras 2014-09-10 09:28:20 -04:00
  • 941bd386f8 Fixed debian/* licensing to be BSD-3-clause like upstream. debian/0.5.2-1 Thomas Goirand 2014-09-06 07:29:55 +00:00
  • e8c33a76f9 Even more copyright stuff. Thomas Goirand 2014-09-06 15:27:08 +08:00
  • 7b83a31c7c Fixed debian/copyright. Thomas Goirand 2014-09-06 15:17:41 +08:00
  • 30e007cbba Added initial debian folder. Thomas Goirand 2014-09-05 23:45:27 +08:00
  • 43dce2faf6 fix another error in the chemistry context Ryan Kingsbury 2014-09-01 00:29:42 -04:00
  • 8ee1e7b4d4 Define prefix "µ". Jonas Olson 2014-08-27 15:46:11 +02:00
  • f5ecae892f Define "ångström" and "Å". Jonas Olson 2014-08-27 02:11:04 +02:00
  • 2153022147 Define "Ω". Jonas Olson 2014-08-27 02:10:35 +02:00
  • 91eb1475df Fix another error in chemistry context. Ryan Kingsbury 2014-08-25 23:56:57 -04:00
  • bf02838c1e Complete missing conversions in chemistry context. Ryan Kingsbury 2014-08-25 23:51:15 -04:00
  • 7db0d13b60 Fix error in chemistry context Ryan Kingsbury 2014-08-25 18:59:31 -04:00
  • 91c3765fd1 Enhance documentation of parameterized Contexts. Ryan Kingsbury 2014-08-25 18:53:02 -04:00
  • 15d2ff3e21 symbol accessor optimization for string formatting Joel B. Mohler 2014-08-22 10:04:38 -04:00
  • fb95fbbf82 Removed fetching version from git repo Hernan Grecco 2014-08-10 12:18:55 -03:00
  • df05504215 Add similar library to faq.rst Kevin Davies 2014-08-07 09:42:04 -10:00
  • 05557bc290 Added zest.releaser hook to setup.cfg Hernan Grecco 2014-08-01 02:14:49 -03:00
  • 7af1d19a1b Added CHANGES_DEV to MANIFEST.in Hernan Grecco 2014-08-01 01:30:53 -03:00
  • d6e3ec67c3 Add travis check Hernan Grecco 2014-08-01 01:26:11 -03:00
  • 30f709e5cc Changed name of travis conda env Hernan Grecco 2014-08-01 01:24:41 -03:00
  • be5081e84f Added CHANGES_DEV file to compile changes in develop branch Hernan Grecco 2014-07-31 00:27:15 -03:00
  • dcb7ca4c7b Merged 0.5.2 into develop Hernan Grecco 2014-07-31 00:22:05 -03:00
  • 89bbc0545e Back to development: 0.5.3 Hernan Grecco 2014-07-31 00:09:51 -03:00
  • 7d9837ead0 Preparing release 0.5.2 0.5.2 Hernan Grecco 2014-07-31 00:08:35 -03:00
  • c4ce308391 Updated CHANGES Hernan Grecco 2014-07-31 00:07:40 -03:00
  • 019a139c17 Removed unused regex Hernan Grecco 2014-07-30 18:47:42 -03:00
  • 0fef05306e Added tests and fix for multiparemeter contexts Hernan Grecco 2014-07-30 18:38:40 -03:00
  • 74338c4024 Updated CHANGES Hernan Grecco 2014-07-11 09:11:16 -03:00
  • e57f72004d Updated CHANGES Hernan Grecco 2014-07-11 08:55:54 -03:00
  • e438b0b900 Changed deprected assertEquals to assertEqual Hernan Grecco 2014-07-10 21:39:06 -03:00
  • 7e928f5210 Added context manager to close resource after reading. Hernan Grecco 2014-07-10 21:37:07 -03:00
  • 6aff7cd4c3 Require setuptools to install Hernan Grecco 2014-07-10 21:28:48 -03:00
  • 2401b7b9fa Implements tests and code for real, imag and T properties Hernan Grecco 2014-07-10 21:17:58 -03:00
  • 75694b07b0 Implements __int__ and __long__ for Quantity Hernan Grecco 2014-07-10 13:35:33 -03:00
  • c7ae27ad85 Added arrayterator _npsubclass Hernan Grecco 2014-07-08 11:43:08 -03:00
  • b683a79f7e First implementation that derives Quantity from ndarray (when possible) Hernan Grecco 2014-06-24 14:48:05 -03:00
  • 33854821fd Merge branch 'jbmohler-recurse_cls_method' into develop Hernan Grecco 2014-07-03 17:21:25 -03:00
  • c8ae9eeccd rewrite get_dimensionality with compact recursion for performance Joel B. Mohler 2014-07-01 15:27:02 -04:00
  • 46b8f472ff rewrite get_base_name with compact recursion for performance Joel B. Mohler 2014-07-01 14:34:33 -04:00
  • 17afd4fd47 Added 0.5.2 in develop CHANGES Hernan Grecco 2014-06-24 19:40:59 -03:00
  • 6ceb8127c3 Changed master to be 0.5.2.dev0 Hernan Grecco 2014-06-24 19:39:40 -03:00
  • 6c2efbfa63 Merge branch 'dalito-feature/_offset_units' into develop Hernan Grecco 2014-06-24 19:02:13 -03:00
  • 623d4f3356 Merge branch 'feature/_offset_units' of git://github.com/dalito/pint into dalito-feature/_offset_units Hernan Grecco 2014-06-24 19:01:48 -03:00