6 class UnknownCurrencyError(Exception):
8 def __init__(self, identifier) -> None: ...
10 def list_currencies(locale: Any | None = ...): ...
11 def validate_currency(currency, locale: Any | None = ...) -> None: ...
12 def is_currency(currency, locale: Any | None = ...): ...
13 def normalize_currency(currency, locale: Any | None = ...): ...
14 def get_currency_name(currency, count: Any | None = ..., locale=...): ...
15 def get_currency_symbol(currency, locale=...): ...
16 def get_currency_precision(currency): ...
17 def get_currency_unit_pattern(currency, count: Any | None = ..., locale=...): ...
18 def get_territory_currencies(
20 start_date: Any | None = ...,
21 end_date: Any | None = ...,
23 non_tender: bool = ...,
24 include_details: bool = ...,
26 def get_decimal_symbol(locale=...): ...
27 def get_plus_sign_symbol(locale=...): ...
28 def get_minus_sign_symbol(locale=...): ...
29 def get_exponential_symbol(locale=...): ...
30 def get_group_symbol(locale=...): ...
31 def format_number(number, locale=...): ...
32 def get_decimal_precision(number): ...
33 def get_decimal_quantum(precision): ...
35 number, format: Any | None = ..., locale=..., decimal_quantization: bool = ..., group_separator: bool = ...
38 class UnknownCurrencyFormatError(KeyError): ...
43 format: Any | None = ...,
45 currency_digits: bool = ...,
46 format_type: str = ...,
47 decimal_quantization: bool = ...,
48 group_separator: bool = ...,
51 number, format: Any | None = ..., locale=..., decimal_quantization: bool = ..., group_separator: bool = ...
53 def format_scientific(number, format: Any | None = ..., locale=..., decimal_quantization: bool = ...): ...
55 class NumberFormatError(ValueError):
57 def __init__(self, message, suggestions: Any | None = ...) -> None: ...
59 def parse_number(string, locale=...): ...
60 def parse_decimal(string, locale=..., strict: bool = ...): ...
69 def parse_grouping(p): ...
70 def parse_pattern(pattern): ...
82 def __init__(self, pattern, prefix, suffix, grouping, int_prec, frac_prec, exp_prec, exp_plus) -> None: ...
83 def compute_scale(self): ...
84 def scientific_notation_elements(self, value, locale): ...
89 currency: Any | None = ...,
90 currency_digits: bool = ...,
91 decimal_quantization: bool = ...,
92 force_frac: Any | None = ...,
93 group_separator: bool = ...,