2021-06-28 17:57:17 +02:00

68 lines
1.9 KiB

.. image::
:alt: Documentation Status
.. image::
:alt: Discord
.. image::
:alt: Build Status
.. image::
:alt: Code Style: Black
Small subset of MetPy python module for CircuitPython.
Come without numpy, pint (units), matplotlib or other "big" library support.
As pint is not supported, the SI units are used.
Original project : `MetPy <>`_
This library depends on:
* `Adafruit CircuitPython <>`_
Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <>`_.
Usage Example
.. code-block:: python3
import umetpy.constants
print("List of all constants:\n")
for cst in dir(umetpy.constants):
if cst[0] != "_":
print("{:25s} = {:f}".format(cst, eval("{}.{}".format("umetpy.constants", cst))))
Contributions are welcome! Please read our `Code of Conduct
before contributing to help this project stay welcoming.
For information on building library documentation, please check out
`this guide <>`_.