<commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This subpackage contains classes and functions for defining and converting
between different physical units.

This code is adapted from the `pynbody
<http://code.google.com/p/pynbody/>`_ units module written by Andrew
Pontzen, who has granted the Astropy project permission to use the
code under a BSD license.
"""

from .core import *
from .si import *
from .astrophys import *
from .cgs import *
from .imperial import *
from .equivalencies import *
from .physical import *

# Create a special singleton for the dimensionless unit
dimensionless = Unit(1)

# After importing the unit definitions above, set the unit namespace
# to this top-level module so that new units are added here.
UnitBase._set_namespace(globals())<commit_msg>import quantity into units/__init__<commit_after># Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This subpackage contains classes and functions for defining and converting
between different physical units.

This code is adapted from the `pynbody
<http://code.google.com/p/pynbody/>`_ units module written by Andrew
Pontzen, who has granted the Astropy project permission to use the
code under a BSD license.
"""

from .core import *
from .si import *
from .astrophys import *
from .cgs import *
from .imperial import *
from .equivalencies import *
from .physical import *
from .quantity import *

# Create a special singleton for the dimensionless unit
dimensionless = Unit(1)

# After importing the unit definitions above, set the unit namespace
# to this top-level module so that new units are added here.
UnitBase._set_namespace(globals())
{'fraction_non_alphanumeric': 0.06853396901072706, 'fraction_numerical': 0.0023837902264600714, 'mean_word_length': 4.596666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1428525', 'n_tokens_mistral': 455, 'n_tokens_neox': 437, 'n_words': 217}