File: __init__.py

package info (click to toggle)
python-pint 0.24.4-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,924 kB
  • sloc: python: 19,983; makefile: 149
file content (18 lines) | stat: -rw-r--r-- 537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
    pint.facets.context
    ~~~~~~~~~~~~~~~~~~~

    Adds pint the capability to contexts: predefined conversions
    between incompatible dimensions.

    :copyright: 2022 by Pint Authors, see AUTHORS for more details.
    :license: BSD, see LICENSE for more details.
"""

from __future__ import annotations

from .definitions import ContextDefinition
from .objects import Context
from .registry import ContextRegistry, GenericContextRegistry

__all__ = ["ContextDefinition", "Context", "ContextRegistry", "GenericContextRegistry"]