in src/h3/api/basic_int/__init__.py [0:0]
def versions():
"""
Version numbers for the Python (wrapper) and C (wrapped) libraries.
Versions are output as strings of the form ``'X.Y.Z'``.
C and Python should match on ``X`` (major) and ``Y`` (minor),
but may differ on ``Z`` (patch).
Returns
-------
dict like ``{'c': 'X.Y.Z', 'python': 'A.B.C'}``
"""
from ..._version import __version__
v = {
'c': _cy.c_version(),
'python': __version__,
}
return v