<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pint.git/pint/registry.py, branch develop</title>
<subtitle>github.com: hgrecco/pint.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/'/>
<entry>
<title>Implemented constants overhaul</title>
<updated>2021-10-26T22:23:20+00:00</updated>
<author>
<name>Hernan</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2021-10-26T22:06:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=4ada9df8e2747086851595217df759fc3d9df5c7'/>
<id>4ada9df8e2747086851595217df759fc3d9df5c7</id>
<content type='text'>
1. A new property `contants` is added to the registry.
2. This property is just a reference to the `constants` Group.
3. This group is populated using the @group directive in the definitions file.
4. Minor changes to Group and System __getattr__

This change is fully backwards compatible:
```python
&gt;&gt;&gt; ureg.speed_of_light
&lt;Unit('speed_of_light')&gt;
&gt;&gt;&gt; 1 * ureg.speed_of_light
&lt;Quantity(1, 'speed_of_light')&gt;
&gt;&gt;&gt; ureg.sys.imperial.speed_of_light
&lt;Quantity(3.27857019e+08, 'yard / second')&gt;
&gt;&gt;&gt; ureg.constants.speed_of_light # if the current system is 'mks'
&lt;Quantity(2.99792458e+08, 'meter / second')&gt;
```

Close #1078
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. A new property `contants` is added to the registry.
2. This property is just a reference to the `constants` Group.
3. This group is populated using the @group directive in the definitions file.
4. Minor changes to Group and System __getattr__

This change is fully backwards compatible:
```python
&gt;&gt;&gt; ureg.speed_of_light
&lt;Unit('speed_of_light')&gt;
&gt;&gt;&gt; 1 * ureg.speed_of_light
&lt;Quantity(1, 'speed_of_light')&gt;
&gt;&gt;&gt; ureg.sys.imperial.speed_of_light
&lt;Quantity(3.27857019e+08, 'yard / second')&gt;
&gt;&gt;&gt; ureg.constants.speed_of_light # if the current system is 'mks'
&lt;Quantity(2.99792458e+08, 'meter / second')&gt;
```

Close #1078
</pre>
</div>
</content>
</entry>
<entry>
<title>add docstrings to the application registry</title>
<updated>2021-08-14T12:50:33+00:00</updated>
<author>
<name>Keewis</name>
<email>keewis@posteo.de</email>
</author>
<published>2021-08-14T12:50:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=c135b5c995f058ade8c98298cbe7061b4e50675a'/>
<id>c135b5c995f058ade8c98298cbe7061b4e50675a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use the public method</title>
<updated>2021-08-07T23:44:33+00:00</updated>
<author>
<name>Keewis</name>
<email>keewis@posteo.de</email>
</author>
<published>2021-08-07T23:44:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=7e53f25d74b1113c3b0c55ad506edf5f75c40cdc'/>
<id>7e53f25d74b1113c3b0c55ad506edf5f75c40cdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>save the actual registry in shared registry objects</title>
<updated>2021-08-05T22:06:31+00:00</updated>
<author>
<name>Keewis</name>
<email>keewis@posteo.de</email>
</author>
<published>2021-08-05T22:05:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=2e011924e3ac8815cced2556615e83982402ef2f'/>
<id>2e011924e3ac8815cced2556615e83982402ef2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>allow setting the object returned by `get_application_registry`</title>
<updated>2021-08-05T17:50:13+00:00</updated>
<author>
<name>Keewis</name>
<email>keewis@posteo.de</email>
</author>
<published>2021-08-05T17:50:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=816ee0974d2f688c8e3048beb777446b12825275'/>
<id>816ee0974d2f688c8e3048beb777446b12825275</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>reimplement `get_application_registry` and `set_application_registry`</title>
<updated>2021-08-05T17:35:14+00:00</updated>
<author>
<name>Keewis</name>
<email>keewis@posteo.de</email>
</author>
<published>2021-08-05T17:35:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=08abfd0ede1d720f501730bd8d09c0a7b88e5135'/>
<id>08abfd0ede1d720f501730bd8d09c0a7b88e5135</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>manually override a few dunder methods</title>
<updated>2021-08-05T17:24:39+00:00</updated>
<author>
<name>Keewis</name>
<email>keewis@posteo.de</email>
</author>
<published>2021-08-05T17:24:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=0b5d917caf90657d05f1dd38a5af817fbf00a82d'/>
<id>0b5d917caf90657d05f1dd38a5af817fbf00a82d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add a draft of the registry wrapper class</title>
<updated>2021-08-05T17:23:36+00:00</updated>
<author>
<name>Keewis</name>
<email>keewis@posteo.de</email>
</author>
<published>2021-08-05T17:23:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=11fead308ce398d8b1a1641cc1ba8450fbb93c41'/>
<id>11fead308ce398d8b1a1641cc1ba8450fbb93c41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1359 from jules-ch/fix-1300</title>
<updated>2021-08-02T17:03:28+00:00</updated>
<author>
<name>Hernan Grecco</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2021-08-02T17:03:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=e5ac46aa1c66beec1307d1fd2af8118ca65e1d5b'/>
<id>e5ac46aa1c66beec1307d1fd2af8118ca65e1d5b</id>
<content type='text'>
Fix #1300</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix #1300</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #1300</title>
<updated>2021-08-01T20:49:46+00:00</updated>
<author>
<name>Jules Chéron</name>
<email>jules.cheron@gmail.com</email>
</author>
<published>2021-08-01T20:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=fa76e5aa569d573c092de2d64912253108f2d113'/>
<id>fa76e5aa569d573c092de2d64912253108f2d113</id>
<content type='text'>
Propagate default_format to Measurement class
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Propagate default_format to Measurement class
</pre>
</div>
</content>
</entry>
</feed>
