a6fd56a925Merge branch 'ryanpdwyer-master' into develop
Hernan Grecco
2015-01-24 16:56:23 -03:00
8756ed7279Started a custom tokenizer
Hernan Grecco
2015-01-24 16:52:43 -03:00
ca77af0414Added TODO note in conversion
Hernan Grecco
2015-01-24 16:52:17 -03:00
4dfa6662fbAdded copy method to UnitContainer
Hernan Grecco
2015-01-24 16:51:40 -03:00
f1e677d038Removed hard-coded SI prefixes
Ryan Dwyer
2015-01-14 11:17:31 -05:00
bee6b3ba4aEliminated first set of hard-coded prefixes
Ryan Dwyer
2015-01-14 07:35:22 -05:00
41a26a131aAdded Å to unit definition, added tests to check angstrom, µ problems
Ryan Dwyer
2015-01-17 21:54:20 -05:00
7e8b856230Added list around calls to items for Python 3 compatibility
Ryan Dwyer
2015-01-13 16:17:23 -05:00
a85eceff3bSwitched to tuple for python 2.6 compatibility
Ryan Dwyer
2015-01-13 15:30:18 -05:00
504369900aSwitched name of compact to to_compact
Ryan Dwyer
2015-01-13 15:07:22 -05:00
2513a75731Unnecessary re import
Ryan Dwyer
2015-01-13 14:56:56 -05:00
ffa0fba6b5Added 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
e2efe349b4This 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
e14cc45d7aImplemented systems and test for it
Hernan Grecco
2015-01-12 00:41:35 -03:00
e9091d5589Merge branch 'develop' into _systems
Hernan Grecco
2015-01-09 15:36:31 -03:00
0566c26ce4Merge branch 'MatthieuDartiailh/units-container' into develop
Hernan Grecco
2015-01-07 14:02:41 -03:00
1847d9b385Remove 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
0dddba88c9Makes 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
38317dc7cdAdd 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
9af00ebf91Creates 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
293066eff7Move 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
ac3eb7be01Squash 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
5b5ca53e24Implementing Systems and Groups (WIP)
Hernan Grecco
2015-01-05 02:35:27 -03:00
d218c8aa0dAdded note about {} in Python 2.6
Hernan Grecco
2014-12-18 15:22:33 -03:00
f2a9403395Added print(...) to pretty representation, Python 2 unicode note
Ryan Dwyer
2014-12-17 22:06:54 -05:00
8e35ffb5beMerge branch 'master' of github.com:ryanpdwyer/pint
Ryan Dwyer
2014-12-10 00:34:08 -05:00
f8be1de672Corrected 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
9be3783f14Emphasize in the front page that we do not monkey patch or wrap numpy
Hernan Grecco
2014-12-09 23:18:38 -03:00
082a338cfbAdd 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
b29ed165b8WIP trying to speed up unit conversion.
Matthieu Dartiailh
2014-10-11 00:22:50 +02:00
386774cc7eMake "floz" the abbreviated version of "fluid_ounce" instead of the opposite
Virgil Dupras
2014-09-10 09:28:20 -04:00
941bd386f8Fixed debian/* licensing to be BSD-3-clause like upstream.
debian/0.5.2-1
Thomas Goirand
2014-09-06 07:29:55 +00:00
e8c33a76f9Even more copyright stuff.
Thomas Goirand
2014-09-06 15:27:08 +08:00
7b83a31c7cFixed debian/copyright.
Thomas Goirand
2014-09-06 15:17:41 +08:00
30e007cbbaAdded initial debian folder.
Thomas Goirand
2014-09-05 23:45:27 +08:00
43dce2faf6fix another error in the chemistry context
Ryan Kingsbury
2014-09-01 00:29:42 -04:00
8ee1e7b4d4Define prefix "µ".
Jonas Olson
2014-08-27 15:46:11 +02:00
f5ecae892fDefine "ångström" and "Å".
Jonas Olson
2014-08-27 02:11:04 +02:00
2153022147Define "Ω".
Jonas Olson
2014-08-27 02:10:35 +02:00
91eb1475dfFix another error in chemistry context.
Ryan Kingsbury
2014-08-25 23:56:57 -04:00
bf02838c1eComplete missing conversions in chemistry context.
Ryan Kingsbury
2014-08-25 23:51:15 -04:00
7db0d13b60Fix error in chemistry context
Ryan Kingsbury
2014-08-25 18:59:31 -04:00
91c3765fd1Enhance documentation of parameterized Contexts.
Ryan Kingsbury
2014-08-25 18:53:02 -04:00
15d2ff3e21symbol accessor optimization for string formatting
Joel B. Mohler
2014-08-22 10:04:38 -04:00
fb95fbbf82Removed fetching version from git repo
Hernan Grecco
2014-08-10 12:18:55 -03:00
df05504215Add similar library to faq.rst
Kevin Davies
2014-08-07 09:42:04 -10:00
05557bc290Added zest.releaser hook to setup.cfg
Hernan Grecco
2014-08-01 02:14:49 -03:00
7af1d19a1bAdded CHANGES_DEV to MANIFEST.in
Hernan Grecco
2014-08-01 01:30:53 -03:00