Documentation Status Discord Build Status 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:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Usage Example

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.

Indices and tables