<commit_before>"""
Number theory module (primes, etc)
"""

from .generate import nextprime, prevprime, prime, primepi, primerange,\
randprime, Sieve, sieve
from .primetest import isprime, mr, mr_safe
from .factor_ import divisors, factorint, multiplicity, perfect_power,\
pollard_pm1, pollard_rho, primefactors, totient, trailing
from .partitions_ import npartitions
from .residue import is_primitive_root, is_quad_residue, legendre_symbol,\
n_order, totient_
from .multinomial import binomial_coefficients, binomial_coefficients_list,\
multinomial_coefficients<commit_msg>Fixes the imports to work in python2.4<commit_after>"""
Number theory module (primes, etc)
"""

from generate import nextprime, prevprime, prime, primepi, primerange,\
randprime, Sieve, sieve
from primetest import isprime, mr, mr_safe
from factor_ import divisors, factorint, multiplicity, perfect_power,\
pollard_pm1, pollard_rho, primefactors, totient, trailing
from partitions_ import npartitions
from residue import is_primitive_root, is_quad_residue, legendre_symbol,\
n_order, totient_
from multinomial import binomial_coefficients, binomial_coefficients_list,\
multinomial_coefficients
{'fraction_non_alphanumeric': 0.07296137339055794, 'fraction_numerical': 0.0034334763948497852, 'mean_word_length': 7.969230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5906774', 'n_tokens_mistral': 376, 'n_tokens_neox': 347, 'n_words': 111}