diff options
author | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:10:44 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:10:44 -0400 |
commit | 6d7ba58f880be618ade07f8ea080fe8c4bf8a896 (patch) | |
tree | b1c931051ffcebd2bd9d61d98d6233ffa289bbce /venv/lib/python3.11/site-packages/faker/providers/currency | |
parent | 4f884c9abc32990b4061a1bb6997b4b37e58ea0b (diff) |
venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/currency')
56 files changed, 1867 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/__init__.py new file mode 100644 index 0000000..1492d2e --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/__init__.py @@ -0,0 +1,426 @@ +from typing import Dict, Optional, Tuple + +from .. import BaseProvider, ElementsType + +localized = True + + +class Provider(BaseProvider): + # Format: (code, name) + currencies: ElementsType[Tuple[str, str]] = ( + ("AED", "United Arab Emirates dirham"), + ("AFN", "Afghan afghani"), + ("ALL", "Albanian lek"), + ("AMD", "Armenian dram"), + ("ANG", "Netherlands Antillean guilder"), + ("AOA", "Angolan kwanza"), + ("ARS", "Argentine peso"), + ("AUD", "Australian dollar"), + ("AWG", "Aruban florin"), + ("AZN", "Azerbaijani manat"), + ("BAM", "Bosnia and Herzegovina convertible mark"), + ("BBD", "Barbadian dollar"), + ("BDT", "Bangladeshi taka"), + ("BGN", "Bulgarian lev"), + ("BHD", "Bahraini dinar"), + ("BIF", "Burundian franc"), + ("BMD", "Bermudian dollar"), + ("BND", "Brunei dollar"), + ("BOB", "Bolivian boliviano"), + ("BRL", "Brazilian real"), + ("BSD", "Bahamian dollar"), + ("BTN", "Bhutanese ngultrum"), + ("BWP", "Botswana pula"), + ("BYR", "Belarusian ruble"), + ("BZD", "Belize dollar"), + ("CAD", "Canadian dollar"), + ("CDF", "Congolese franc"), + ("CHF", "Swiss franc"), + ("CLP", "Chilean peso"), + ("CNY", "Renminbi"), + ("COP", "Colombian peso"), + ("CRC", "Costa Rican colón"), + ("CUC", "Cuban convertible peso"), + ("CUP", "Cuban peso"), + ("CVE", "Cape Verdean escudo"), + ("CZK", "Czech koruna"), + ("DJF", "Djiboutian franc"), + ("DKK", "Danish krone"), + ("DOP", "Dominican peso"), + ("DZD", "Algerian dinar"), + ("EGP", "Egyptian pound"), + ("ERN", "Eritrean nakfa"), + ("ETB", "Ethiopian birr"), + ("EUR", "Euro"), + ("FJD", "Fijian dollar"), + ("FKP", "Falkland Islands pound"), + ("GBP", "Pound sterling"), + ("GEL", "Georgian lari"), + ("GGP", "Guernsey pound"), + ("GHS", "Ghanaian cedi"), + ("GIP", "Gibraltar pound"), + ("GMD", "Gambian dalasi"), + ("GNF", "Guinean franc"), + ("GTQ", "Guatemalan quetzal"), + ("GYD", "Guyanese dollar"), + ("HKD", "Hong Kong dollar"), + ("HNL", "Honduran lempira"), + ("HRK", "Croatian kuna"), + ("HTG", "Haitian gourde"), + ("HUF", "Hungarian forint"), + ("IDR", "Indonesian rupiah"), + ("ILS", "Israeli new shekel"), + ("NIS", "Israeli new shekel"), + ("IMP", "Manx pound"), + ("INR", "Indian rupee"), + ("IQD", "Iraqi dinar"), + ("IRR", "Iranian rial"), + ("ISK", "Icelandic króna"), + ("JEP", "Jersey pound"), + ("JMD", "Jamaican dollar"), + ("JOD", "Jordanian dinar"), + ("JPY", "Japanese yen"), + ("KES", "Kenyan shilling"), + ("KGS", "Kyrgyzstani som"), + ("KHR", "Cambodian riel"), + ("KMF", "Comorian franc"), + ("KPW", "North Korean won"), + ("KRW", "South Korean won"), + ("KWD", "Kuwaiti dinar"), + ("KYD", "Cayman Islands dollar"), + ("KZT", "Kazakhstani tenge"), + ("LAK", "Lao kip"), + ("LBP", "Lebanese pound"), + ("LKR", "Sri Lankan rupee"), + ("LRD", "Liberian dollar"), + ("LSL", "Lesotho loti"), + ("LTL", "Lithuanian litas"), + ("LYD", "Libyan dinar"), + ("MAD", "Moroccan dirham"), + ("MDL", "Moldovan leu"), + ("MGA", "Malagasy ariar"), + ("MKD", "Macedonian denar"), + ("MMK", "Burmese kyat"), + ("MNT", "Mongolian tugrik"), + ("MOP", "Macanese pataca"), + ("MRO", "Mauritanian ouguiya"), + ("MUR", "Mauritian rupee"), + ("MVR", "Maldivian rufiyaa"), + ("MWK", "Malawian kwacha"), + ("MXN", "Mexican peso"), + ("MYR", "Malaysian ringgit"), + ("MZN", "Mozambican metical"), + ("NAD", "Namibian dollar"), + ("NGN", "Nigerian naira"), + ("NIO", "Nicaraguan córdoba"), + ("NOK", "Norwegian krone"), + ("NPR", "Nepalese rupee"), + ("NZD", "New Zealand dollar"), + ("OMR", "Omani rial"), + ("PAB", "Panamanian balboa"), + ("PEN", "Peruvian sol"), + ("PGK", "Papua New Guinean kina"), + ("PHP", "Philippine peso"), + ("PKR", "Pakistani rupee"), + ("PLN", "Polish zloty"), + ("PYG", "Paraguayan guarani"), + ("QAR", "Qatari riyal"), + ("RON", "Romanian leu"), + ("RSD", "Serbian dinar"), + ("RUB", "Russian ruble"), + ("RWF", "Rwandan franc"), + ("SAR", "Saudi riyal"), + ("SBD", "Solomon Islands dollar"), + ("SCR", "Seychellois rupee"), + ("SDG", "Sudanese pound"), + ("SEK", "Swedish krona"), + ("SGD", "Singapore dollar"), + ("SHP", "Saint Helena pound"), + ("SLL", "Sierra Leonean leone"), + ("SOS", "Somali shilling"), + ("SPL", "Seborga luigino"), + ("SRD", "Surinamese dollar"), + ("STD", "São Tomé and Príncipe dobra"), + ("SVC", "Salvadoran colón"), + ("SYP", "Syrian pound"), + ("SZL", "Swazi lilangeni"), + ("THB", "Thai baht"), + ("TJS", "Tajikistani somoni"), + ("TMT", "Turkmenistan manat"), + ("TND", "Tunisian dinar"), + ("TOP", "Tongan paʻanga"), + ("TRY", "Turkish lira"), + ("TTD", "Trinidad and Tobago dollar"), + ("TVD", "Tuvaluan dollar"), + ("TWD", "New Taiwan dollar"), + ("TZS", "Tanzanian shilling"), + ("UAH", "Ukrainian hryvnia"), + ("UGX", "Ugandan shilling"), + ("USD", "United States dollar"), + ("UYU", "Uruguayan peso"), + ("UZS", "Uzbekistani soʻm"), + ("VEF", "Venezuelan bolívar"), + ("VND", "Vietnamese đồng"), + ("VUV", "Vanuatu vatu"), + ("WST", "Samoan tālā"), + ("XAF", "Central African CFA franc"), + ("XCD", "Eastern Caribbean dollar"), + ("XDR", "Special drawing rights"), + ("XOF", "West African CFA franc"), + ("XPF", "CFP franc"), + ("YER", "Yemeni rial"), + ("ZAR", "South African rand"), + ("ZMW", "Zambian kwacha"), + ("ZWD", "Zimbabwean dollar"), + ) + + # Source: https://en.wikipedia.org/wiki/List_of_cryptocurrencies + cryptocurrencies: ElementsType[Tuple[str, str]] = ( + ("AMP", "AMP"), + ("AUR", "Auroracoin"), + ("BC", "BlackCoin"), + ("BTC", "Bitcoin"), + ("BURST", "Burstcoin"), + ("DASH", "Dash"), + ("DOGE", "Dogecoin"), + ("EMC", "Emercoin"), + ("ETH", "Ethereum"), + ("ETC", "Ethereum Classic"), + ("GRC", "Gridcoin"), + ("KOI", "Coinye"), + ("LTC", "Litecoin"), + ("MSC", "Omni"), + ("MZC", "MazaCoin"), + ("NMC", "Namecoin"), + ("NXT", "Nxt"), + ("POT", "PotCoin"), + ("PPC", "Peercoin"), + ("TIT", "Titcoin"), + ("VTC", "Vertcoin"), + ("XDN", "DigitalNote"), + ("XMR", "Monero"), + ("XPM", "Primecoin"), + ("XRP", "Ripple"), + ("ZEC", "Zcash"), + ("STC", "SwiftCoin"), + ("BCN", "Bytecoin"), + ("FTH", "Feathercoin"), + ("NEO", "NEO"), + ("NEM", "XEM"), + ("USDT", "Tether"), + ("IOTA", "IOTA"), + ("DRC", "Decred"), + ("WAVES", "Waves Platform"), + ("LSK", "Lisk"), + ("ZCL", "Zclassic"), + ("BCH", "Bitcoin Cash"), + ("UBQ", "Ubiq"), + ("EOS", "EOS.IO"), + ("SRN", "Sirin Labs"), + ("TRX", "TRON"), + ("ADA", "Cardano"), + ) + + # List of currency symbols + # source: https://en.wikipedia.org/wiki/Currency_symbol + currency_symbols: Dict[str, str] = { + "AED": "\u002e\u062f\u002e\u0625", + "AFN": "\u060B", + "ALL": "Lek", + "AMD": "\u058F", + "ANG": "\u0192", + "AOA": "Kz", + "ARS": "\u0024", + "AUD": "\u0024", + "AWG": "\u0192", + "AZN": "\u20bc", + "BAM": "KM", + "BBD": "\u0024", + "BDT": "\u09F3", + "BGN": "Lev", + "BHD": "\u062F\u0628", + "BIF": "Fr", + "BMD": "\u0024", + "BND": "\u0024", + "BOB": "\u0024", + "BRL": "\u0024", + "BSD": "\u0024", + "BTN": "Nu", + "BWP": "P", + "BYR": "R", + "BZD": "\u0024", + "CAD": "\u0024", + "CDF": "Fr", + "CHF": "Fr", + "CLP": "\u0024", + "CNY": "\u00A5", + "COP": "\u0024", + "CRC": "\u20A1", + "CUC": "\u0024", + "CUP": "\u0024", + "CVE": "\u0024", + "CZK": "\u004b\u010d\u0073", + "DJF": "Fr", + "DKK": "kr", + "DOP": "\u0024", + "DZD": "\u062f\u062c\u200e", + "EGP": "\u00A3", + "ERN": "Nfk", + "ETB": "Br", + "EUR": "\u20AC", + "FJD": "\u0024", + "FKP": "\u00A3", + "GBP": "\u00A3", + "GEL": "\u20BE", + "GGP": "\u00A3", + "GHS": "\u20B5", + "GIP": "\u00A3", + "GMD": "D", + "GNF": "FG", + "GTQ": "Q", + "GYD": "\u0024", + "HKD": "\u0024", + "HNL": "L", + "HRK": "kn", + "HTG": "G", + "HUF": "Ft", + "IDR": "Rp", + "ILS": "\u20AA", + "IMP": "\u00A3", + "INR": "\u20B9", + "IQD": "\u062F\u0639", + "IRR": "\uFDFC", + "ISK": "kr", + "JEP": "\u00A3", + "JMD": "\u0024", + "JOD": "JD", + "JPY": "\u00A5", + "KES": "KSh", + "KGS": "\u20C0", + "KHR": "\u17DB", + "KMF": "FC", + "KPW": "\u20A9", + "KRW": "\u20A9", + "KWD": "KD", + "KYD": "\u0024", + "KZT": "\u20B8", + "LAK": "\u20AD", + "LBP": "\u00A3", + "LKR": "\u20A8", + "LRD": "\u0024", + "LSL": "M", + "LTL": "L", + "LYD": "LD", + "MAD": "Dhs", + "MDL": "leu", + "MGA": "Ar", + "MKD": "DEN", + "MMK": "Ks", + "MNT": "\u20AE", + "MOP": "\u0024", + "MRO": "UM", + "MUR": "\u20A8", + "MVR": "\u0078", + "MWK": "K", + "MXN": "\u0024", + "MYR": "RM", + "MZN": "Mt", + "NAD": "\u0024", + "NGN": "\u20A6", + "NIO": "\u0024", + "NIS": "\u20AA", + "NOK": "kr", + "NPR": "\u20A8", + "NZD": "\u0024", + "OMR": "\uFDFC", + "PAB": "B/", + "PEN": "S/", + "PGK": "K", + "PHP": "\u20B1", + "PKR": "\u20A8", + "PLN": "\u007a\u0142", + "PYG": "\u20B2", + "QAR": "\uFDFC", + "RON": "leu", + "RSD": "\u0434\u0438\u043d", + "RUB": "\u20BD", + "RWF": "F", + "SAR": "\uFDFC", + "SBD": "\u0024", + "SCR": "\u20A8", + "SDG": "\u00A3", + "SEK": "kr", + "SGD": "\u0024", + "SHP": "\u00A3", + "SLL": "Le", + "SOS": "Sh.So.", + "SPL": "L", + "SRD": "\u0024", + "STD": "Db", + "SVC": "\u20A1", + "SYP": "\u00A3", + "SZL": "E", + "THB": "\u0E3F", + "TJS": "SM", + "TMT": "m", + "TND": "DT", + "TOP": "\u00a2", + "TRY": "\u20BA", + "TTD": "\u0024", + "TVD": "\u0024", + "TWD": "\u0024", + "TWD": "\u0024", + "TZS": "Tsh", + "UAH": "\u20B4", + "UGX": "USh", + "USD": "\u0024", + "UYU": "\u0024", + "UZS": "\u043b\u0432", + "VEF": "\u0042\u0073", + "VND": "\u20AB", + "VUV": "VT", + "WST": "\u0024", + "XAF": "Fr", + "XCD": "\u0024", + "XDR": "SDR", + "XOF": "Fr", + "XPF": "Fr", + "YER": "\uFDFC", + "ZAR": "R", + "ZMW": "K", + "ZWD": "\u0024", + } + + price_formats: ElementsType[str] = ["#.##", "%#.##", "%##.##", "%,###.##", "%#,###.##"] + + def currency(self) -> Tuple[str, str]: + return self.random_element(self.currencies) + + def currency_code(self) -> str: + return self.currency()[0] + + def currency_name(self) -> str: + return self.currency()[1] + + def currency_symbol(self, code: Optional[str] = None) -> str: + """ + :example: $ + """ + if code is None: + code = self.random_element(self.currency_symbols.keys()) + elif code not in [currency[0] for currency in self.currencies]: + raise KeyError("The supplied code is not valid") + return self.currency_symbols.get(code, "\u00A4") + + def cryptocurrency(self) -> Tuple[str, str]: + return self.random_element(self.cryptocurrencies) + + def cryptocurrency_code(self) -> str: + return self.cryptocurrency()[0] + + def cryptocurrency_name(self) -> str: + return self.cryptocurrency()[1] + + def pricetag(self) -> str: + currency: Tuple[str, str] = self.random_element(self.currencies) + return currency[0] + "\N{no-break space}" + self.numerify(self.random_element(self.price_formats)) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..26cdc65 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/az_AZ/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/az_AZ/__init__.py new file mode 100644 index 0000000..b8a3786 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/az_AZ/__init__.py @@ -0,0 +1,178 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + # Format: (code, name) + # Source: https://az.wikipedia.org/wiki/M%C3%B6vcud_valyutalar%C4%B1n_siyah%C4%B1s%C4%B1 + currencies = ( + ("USD", "ABŞ dolları"), + ("ALL", "Albaniya leki"), + ("AOA", "Anqola kvanzası"), + ("ARS", "Argentina pesosu"), + ("AWG", "Aruba florini"), + ("EUR", "Avro"), + ("AUD", "Avstraliya dolları"), + ("AZN", "Azərbaycan manatı"), + ("BSD", "Baham dolları"), + ("BDT", "Banqladeş takası"), + ("BBD", "Barbados dolları"), + ("BZD", "Beliz dolları"), + ("BMD", "Bermud dolları"), + ("MMK", "Birma kyatı"), + ("BOB", "Boliviya bolivianosu"), + ("BGN", "Bolqarıstan levi"), + ("BAM", "Bosniya və Herseqovina konvertasiya olunan markası"), + ("BWP", "Botsvana pulası"), + ("BRL", "Braziliya realı"), + ("GBP", "Britaniya funtu"), + ("GBP", "Britaniya funtu[C]"), + ("BND", "Bruney dolları"), + ("BIF", "Burundi frankı"), + ("BTN", "Butan nqultrumu"), + ("AED", "BƏƏ dirhəmi"), + ("BHD", "Bəhreyn dinarı"), + ("XPF", "CFP frankı"), + ("JEP", "Cersi funtu"), + ("DJF", "Cibuti frankı"), + ("GIP", "Cəbəllütariq funtu"), + ("ZAR", "Cənubi Afrika randı"), + ("KRW", "Cənubi Koreya vonası"), + ("SSP", "Cənubi Sudan funtu"), + ("DKK", "Danimarka kronu"), + ("PRB", "Dnestryanı rublu"), + ("DOP", "Dominikan pesosu"), + ("ETB", "Efiopiya birri"), + ("ERN", "Eritreya nakfası"), + ("AMD", "Ermənistan dramı"), + ("SZL", "Esvatini lilangenisi"), + ("FJD", "Fici dolları"), + ("PHP", "Filippin pesosu"), + ("FKP", "Folklend adaları funtu"), + ("(yoxdur)", "Gernsi funtu"), + ("GGP", "Gernsi funtu"), + ("GEL", "Gürcüstan larisi"), + ("HTG", "Haiti qurdu"), + ("INR", "Hindistan rupisi"), + ("HNL", "Honduras lempirası"), + ("HKD", "Honkonq dolları"), + ("CVE", "Kabo-Verde eskudosu"), + ("KHR", "Kamboca rieli"), + ("CAD", "Kanada dolları"), + ("KYD", "Kayman adaları dolları"), + ("KES", "Keniya şillinqi"), + ("COP", "Kolumbiya pesosu"), + ("KMF", "Komor frankı"), + ("CDF", "Konqo frankı"), + ("CRC", "Kosta-Rika kolonu"), + ("CUC", "Kuba konvertasiya olunan pesosu"), + ("CUP", "Kuba pesosu"), + ("BYN", "Köhnə Belarus rublu"), + ("KWD", "Küveyt dinarı"), + ("LAK", "Laos kipi"), + ("LSL", "Lesoto lotisi"), + ("LRD", "Liberiya dolları"), + ("LBP", "Livan funtu"), + ("LYD", "Liviya dinarı"), + ("HUF", "Macarıstan forinti"), + ("MOP", "Makao patakası"), + ("MKD", "Makedoniya denarı"), + ("MGA", "Malaqasi ariarisi"), + ("MWK", "Malavi kvaçası"), + ("MYR", "Malayziya ringgiti"), + ("MVR", "Maldiv rufiyası"), + ("MUR", "Mavriki rupisi"), + ("MRO", "Mavritaniya ugiya"), + ("MRO", "Mavritaniya ugiyası"), + ("MXN", "Meksika pesosu"), + ("IMP", "Men funtu"), + ("EGP", "Misir funtu"), + ("MDL", "Moldova leyi"), + ("MNT", "Monqolustan tuqriki"), + ("MZN", "Mozambik metikalı"), + ("SHP", "Müqəddəs Yelena funtu"), + ("MAD", "Mərakeş dirhəmi"), + ("XAF", "Mərkəzi Afrika AMİ frankı"), + ("NAD", "Namibiya dolları"), + ("NPR", "Nepal rupisi"), + ("ANG", "Niderland Antil adaları quldeni"), + ("NGN", "Nigeriya nayrası"), + ("NIO", "Nikaraqua kordobası"), + ("NOK", "Norveç kronu"), + ("OMR", "Oman rialı"), + ("PKR", "Pakistan rupisi"), + ("PAB", "Panama balboası"), + ("PGK", "Papua-Yeni Qvineya kinası"), + ("PYG", "Paraqvay quaranisi"), + ("PLN", "Polşa zlotısı"), + ("GMD", "Qambiya dalasisi"), + ("GHS", "Qana sedisi"), + ("GYD", "Qayana dolları"), + ("KZT", "Qazaxıstan tengəsi"), + ("GTQ", "Qvatemala ketsalı"), + ("GNF", "Qvineya frankı"), + ("KGS", "Qırğız somu"), + ("XOF", "Qərbi Afrika AMİ frankı"), + ("QAR", "Qətər rialı"), + ("RWF", "Ruanda frankı"), + ("RON", "Rumıniya leyi"), + ("RUB", "Rus rublu"), + ("RUB", "Rusiya rublu"), + ("WST", "Samoa talası"), + ("STD", "San-Tome və Prinsipi dobrası"), + ("RSD", "Serbiya dinarı"), + ("SCR", "Seyşel rupisi"), + ("SGD", "Sinqapur dolları"), + ("SBD", "Solomon adaları dolları"), + ("SOS", "Somali şillinqi"), + ("SDG", "Sudan funtu"), + ("SRD", "Surinam dolları"), + ("SYP", "Suriya funtu"), + ("SLL", "Syerra-Leone leonesi"), + ("SAR", "Səudiyyə Ərəbistanı rialı"), + ("TJS", "Tacikistan somonisi"), + ("THB", "Tailand bahtı"), + ("TZS", "Tanzaniya şillinqi"), + ("TOP", "Tonqa paanqası"), + ("TTD", "Trinidad və Tobaqo dolları"), + ("TND", "Tunis dinarı"), + ("TVD", "Tuvalu dolları"), + ("TRY", "Türk lirəsi"), + ("TMT", "Türkmənistan manatı"), + ("UAH", "Ukrayna qrivnası"), + ("UGX", "Uqanda şillinqi"), + ("UYU", "Uruqvay pesosu"), + ("VUV", "Vanuatu vatusu"), + ("VEF", "Venesuela bolivarı"), + ("VND", "Vyetnam donqu"), + ("HRK", "Xorvatiya kunası"), + ("JMD", "Yamayka dolları"), + ("JPY", "Yapon yeni"), + ("BYR", "Yeni Belarus rublu"), + ("PEN", "Yeni Peru solu"), + ("TWD", "Yeni Tayvan dolları"), + ("NZD", "Yeni Zelandiya dolları"), + ("ILS", "Yeni İsrail şekeli"), + ("YER", "Yəmən rialı"), + ("ZMW", "Zambiya kvaçası"), + ("CZK", "Çex kronu"), + ("CLP", "Çili pesosu"), + ("CNY", "Çin yuanı"), + ("UZS", "Özbək somu"), + ("IDR", "İndoneziya rupiası"), + ("JOD", "İordaniya dinarı"), + ("IRR", "İran rialı"), + ("IQD", "İraq dinarı"), + ("ISK", "İslandiya kronası"), + ("SEK", "İsveç kronu"), + ("CHF", "İsveçrə frankı"), + ("KPW", "Şimali Koreya vonası"), + ("LKR", "Şri-Lanka rupisi"), + ("XCD", "Şərqi Karib dolları"), + ("AFN", "Əfqanıstan əfqanisi"), + ("DZD", "Əlcəzair dinarı"), + ) + + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self): + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}AZN" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/az_AZ/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/az_AZ/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..43ffe86 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/az_AZ/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/bn_BD/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/bn_BD/__init__.py new file mode 100644 index 0000000..ae3953d --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/bn_BD/__init__.py @@ -0,0 +1,231 @@ +from faker.providers.person.bn_BD import translate_to_bengali_digits + +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + """ + Implement currency provider for ``bn_BD`` locale. + """ + + currencies = ( + ("AED", "সংযুক্ত আরব আমিরাত দিরহাম"), + ("AFN", "আফগান আফগানি"), + ("সমস্ত", "আলবেনিয়ান লেক"), + ("AMD", "আর্মেনিয়ান ড্রাম"), + ("ANG", "নেদারল্যান্ডস অ্যান্টিলিয়ান গিল্ডার"), + ("AOA", "অ্যাঙ্গোলান কোয়ানজা"), + ("ARS", "আর্জেন্টিনা পেসো"), + ("AUD", "অস্ট্রেলিয়ান ডলার"), + ("AWG", "আরুবান ফ্লোরিন"), + ("AZN", "আজারবাইজানীয় মানাত"), + ("BAM", "বসনিয়া ও হার্জেগোভিনা পরিবর্তনযোগ্য চিহ্ন"), + ("BBD", "বার্বাডিয়ান ডলার"), + ("বিডিটি", "বাংলাদেশি টাকা"), + ("BGN", "বুলগেরিয়ান লেভ"), + ("BHD", "বাহরাইন দিনার"), + ("BIF", "বুরুন্ডিয়ান ফ্রাঙ্ক"), + ("BMD", "বারমুডিয়ান ডলার"), + ("BND", "ব্রুনাই ডলার"), + ("BOB", "বলিভিয়ান বলিভিয়ানো"), + ("BRL", "ব্রাজিলিয়ান রিয়াল"), + ("BSD", "বাহামিয়ান ডলার"), + ("BTN", "ভুটানি নগুলট্রাম"), + ("BWP", "বতসোয়ানা পুলা"), + ("BYR", "বেলারুশিয়ান রুবেল"), + ("BZD", "বেলিজ ডলার"), + ("CAD", "কানাডিয়ান ডলার"), + ("CDF", "কঙ্গোলিজ ফ্রাঙ্ক"), + ("CHF", "সুইস ফ্রাঙ্ক"), + ("CLP", "চিলিয়ান পেসো"), + ("CNY", "রেনমিনবি"), + ("COP", "কলম্বিয়ান পেসো"), + ("CRC", "কোস্টারিকান কোলন"), + ("CUC", "কিউবান কনভার্টেবল পেসো"), + ("CUP", "কিউবান পেসো"), + ("CVE", "কেপ ভার্ডিয়ান এসকুডো"), + ("CZK", "চেক কোরুনা"), + ("DJF", "জিবুতিয়ান ফ্রাঙ্ক"), + ("DKK", "ড্যানিশ ক্রোন"), + ("DOP", "ডোমিনিকান পেসো"), + ("DZD", "আলজেরিয়ান দিনার"), + ("EGP", "মিশরীয় পাউন্ড"), + ("ERN", "ইরিত্রিয়ান নাকফা"), + ("ETB", "ইথিওপিয়ান বির"), + ("EUR", "ইউরো"), + ("FJD", "ফিজিয়ান ডলার"), + ("FKP", "ফকল্যান্ড দ্বীপপুঞ্জ পাউন্ড"), + ("GBP", "পাউন্ড স্টার্লিং"), + ("GEL", "জর্জিয়ান লারি"), + ("GGP", "গার্নসি পাউন্ড"), + ("GHS", "ঘানার সিডি"), + ("GIP", "জিব্রাল্টার পাউন্ড"), + ("GMD", "গাম্বিয়ান ডালাসি"), + ("GNF", "গিনি ফ্রাঙ্ক"), + ("GTQ", "গুয়াতেমালান কুয়েটজাল"), + ("GYD", "গায়ানিজ ডলার"), + ("HKD", "হংকং ডলার"), + ("HNL", "হন্ডুরান লেম্পিরা"), + ("HRK", "ক্রোয়েশিয়ান কুনা"), + ("HTG", "হাইতিয়ান গার্ড"), + ("HUF", "হাঙ্গেরিয়ান ফরিন্ট"), + ("IDR", "ইন্দোনেশিয়ান রুপিয়া"), + ("ILS", "ইসরায়েলি নতুন শেকেল"), + ("NIS", "ইসরায়েলি নতুন শেকেল"), + ("IMP", "ম্যাঙ্কস পাউন্ড"), + ("INR", "ভারতীয় রুপি"), + ("IQD", "ইরাকি দিনার"), + ("IRR", "ইরানি রিয়াল"), + ("ISK", "আইসল্যান্ডিক ক্রোনা"), + ("JEP", "জার্সি পাউন্ড"), + ("JMD", "জ্যামাইকান ডলার"), + ("JOD", "জর্ডানিয়ান দিনার"), + ("JPY", "জাপানি ইয়েন"), + ("KES", "কেনিয়ান শিলিং"), + ("KGS", "কিরগিজস্তানি সোম"), + ("KHR", "কম্বোডিয়ান রিয়েল"), + ("KMF", "কমোরিয়ান ফ্রাঙ্ক"), + ("KPW", "উত্তর কোরিয়ান জয়ী"), + ("KRW", "দক্ষিণ কোরিয়ান জয়ী"), + ("KWD", "কুয়েতি দিনার"), + ("KYD", "কেম্যান দ্বীপপুঞ্জ ডলার"), + ("KZT", "কাজাখস্তানি টেঙ্গে"), + ("LAK", "লাও কিপ"), + ("LBP", "লেবানিজ পাউন্ড"), + ("LKR", "শ্রীলঙ্কা রুপি"), + ("LRD", "লাইবেরিয়ান ডলার"), + ("LSL", "লেসোথো লোটি"), + ("LTL", "লিথুয়ানিয়ান লিটাস"), + ("LYD", "লিবিয়ান দিনার"), + ("MAD", "মরক্কান দিরহাম"), + ("MDL", "Moldovan leu"), + ("MGA", "মালাগাসি আরিয়ার"), + ("MKD", "ম্যাসেডোনিয়ান ডেনার"), + ("MMK", "বর্মী কিয়াত"), + ("MNT", "মঙ্গোলিয়ান তুগ্রিক"), + ("MOP", "ম্যাকানিজ পটাকা"), + ("MRO", "মৌরিতানীয় ওগুইয়া"), + ("MUR", "মরিশিয়ান রুপি"), + ("MVR", "মালদ্বীপের রুফিয়া"), + ("MWK", "মালাউইয়ান কোয়াচা"), + ("MXN", "মেক্সিকান পেসো"), + ("MYR", "মালয়েশিয়ান রিঙ্গিত"), + ("MZN", "মোজাম্বিকন মেটিক্যাল"), + ("NAD", "নামিবিয়ান ডলার"), + ("NGN", "নাইজেরিয়ান নায়রা"), + ("NIO", "নিকারাগুয়ান কর্ডোবা"), + ("NOK", "নরওয়েজিয়ান ক্রোন"), + ("NPR", "নেপালি রুপি"), + ("NZD", "নিউজিল্যান্ড ডলার"), + ("OMR", "ওমানি রিয়াল"), + ("PAB", "পানামানিয়ান বালবোয়া"), + ("পেন", "পেরুভিয়ান সল"), + ("PGK", "পাপুয়া নিউ গিনি কিনা"), + ("PHP", "ফিলিপাইন পেসো"), + ("PKR", "পাকিস্তানি রুপি"), + ("PLN", "পোলিশ জ্লটি"), + ("PYG", "প্যারাগুয়ের গুয়ারানি"), + ("QAR", "কাতারি রিয়াল"), + ("RON", "রোমানিয়ান লিউ"), + ("RSD", "সার্বিয়ান দিনার"), + ("RUB", "রাশিয়ান রুবেল"), + ("RWF", "রুয়ান্ডার ফ্রাঙ্ক"), + ("SAR", "সৌদি রিয়াল"), + ("SBD", "সলোমন দ্বীপপুঞ্জ ডলার"), + ("SCR", "সেচেলো রুপি"), + ("SDG", "সুদানিজ পাউন্ড"), + ("SEK", "সুইডিশ ক্রোনা"), + ("SGD", "সিঙ্গাপুর ডলার"), + ("SHP", "সেন্ট হেলেনা পাউন্ড"), + ("SLL", "সিয়েরা লিওনিয়ান লিওন"), + ("SOS", "সোমালি শিলিং"), + ("SPL", "সেবোরগা লুইগিনো"), + ("SRD", "সুরিনামী ডলার"), + ("STD", "সাও টোমে এবং প্রিন্সিপে ডোবরা"), + ("SVC", "সালভাডোরান কোলন"), + ("SYP", "সিরিয়ান পাউন্ড"), + ("SZL", "সোয়াজি লিলাঞ্জেনি"), + ("THB", "থাই বাত"), + ("TJS", "তাজিকিস্তানি সোমনি"), + ("TMT", "তুর্কমেনিস্তান মানাত"), + ("TND", "তিউনিসিয়ান দিনার"), + ("TOP", "টোঙ্গান পা'আঙ্গা"), + ("TRY", "তুর্কি লিরা"), + ("TTD", "ত্রিনিদাদ ও টোবাগো ডলার"), + ("TVD", "টুভালুয়ান ডলার"), + ("TWD", "নতুন তাইওয়ান ডলার"), + ("TZS", "তানজানিয়ান শিলিং"), + ("UAH", "ইউক্রেনীয় রিভনিয়া"), + ("UGX", "উগান্ডার শিলিং"), + ("USD", "মার্কিন যুক্তরাষ্ট্র ডলার"), + ("UYU", "উরুগুয়ের পেসো"), + ("UZS", "উজবেকিস্তানি তাই'"), + ("VEF", "ভেনিজুয়েলা বলিভার"), + ("VND", "ভিয়েতনামী তামা"), + ("VUV", "ভানুয়াতু ভাতু"), + ("WST", "সামোয়ান তালা"), + ("XAF", "সেন্ট্রাল আফ্রিকান সিএফএ ফ্রাঙ্ক"), + ("XCD", "পূর্ব ক্যারিবিয়ান ডলার"), + ("XDR", "বিশেষ অঙ্কন অধিকার"), + ("XOF", "ওয়েস্ট আফ্রিকান সিএফএ ফ্রাঙ্ক"), + ("XPF", "সিএফপি ফ্রাঙ্ক"), + ("YER", "ইয়েমেনি রিয়াল"), + ("ZAR", "দক্ষিণ আফ্রিকান র্যান্ড"), + ("ZMW", "জাম্বিয়ান কোয়াচা"), + ("ZWD", "জিম্বাবুয়েন ডলার"), + ) + + cryptocurrencies = ( + ("AMP", "এএমপি"), + ("AUR", "অরোরাকয়েন"), + ("BC", "ব্ল্যাককয়েন"), + ("BTC", "বিটকয়েন"), + ("BURST", "ব্রাস্টকয়েন"), + ("DASH", "ড্যাশ"), + ("DOGE", "ডোজকয়েন"), + ("EMC", "ইমারকয়েন"), + ("ETH", "ইথেরিয়াম"), + ("ETC", "ইথেরিয়াম ক্ল্যাসিক"), + ("GRC", "গ্রিডকয়েন"), + ("KOI", "কয়েনইয়ে"), + ("LTC", "লাইট কয়েন"), + ("MSC", "ওমনি"), + ("MZC", "মাজাকয়েন"), + ("NMC", "নেমকয়েন"), + ("NXT", "এনএক্সটি"), + ("POT", "পট কয়েন"), + ("PPC", "পিয়ারকয়েন"), + ("TIT", "টিটকয়েন"), + ("VTC", "ভার্টকয়েন"), + ("XDN", "ডিজিটাল নোট"), + ("XMR", "মনেরো"), + ("XPM", "প্রাইম কয়েন"), + ("XRP", "রিপল"), + ("ZEC", "জেক্যাশ"), + ("STC", "সুইফট কয়েন"), + ("BCN", "বাইট কয়েন"), + ("FTH", "ফেদার কয়েন"), + ("NEO", "নিও"), + ("NEM", "জেম"), + ("USDT", "টেথার"), + ("IOTA", "আই ও টা"), + ("DRC", "ডিক্রিড"), + ("WAVES", "ওয়েভস প্লাটফর্ম"), + ("LSK", "লিস্ক"), + ("ZCL", "জেক্ল্যাসিক"), + ("BCH", "বিটকয়েন ক্যাশ"), + ("UBQ", "ইউবিক"), + ("EOS", "ই ও এস ডট আইও"), + ("SRN", "সিরিন ল্যাবস"), + ("TRX", "ট্রন"), + ("ADA", "কার্দানো"), + ) + + def pricetag(self) -> str: + """ + Return price in Bengali digit with Bangladeshi Currency symbol. + :example: '৳ ৫৫,৫৫০' + """ + currency_symbol = self.currency_symbol("BDT") + price = self.numerify(self.random_element(self.price_formats)) + return currency_symbol + " " + translate_to_bengali_digits(price) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/bn_BD/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/bn_BD/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..1a5a6f8 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/bn_BD/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/cs_CZ/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/cs_CZ/__init__.py new file mode 100644 index 0000000..ad67125 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/cs_CZ/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,#0", "%#,#0", "%##,#0", "%.###,#0", "%#.###,#0"] + + def pricetag(self) -> str: + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}Kč" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/cs_CZ/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/cs_CZ/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..b8eb809 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/cs_CZ/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/da_DK/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/da_DK/__init__.py new file mode 100644 index 0000000..ce26084 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/da_DK/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self): + return self.numerify(self.random_element(self.price_formats)) + " kr." diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/da_DK/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/da_DK/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..a2d7639 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/da_DK/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/de_AT/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/de_AT/__init__.py new file mode 100644 index 0000000..0237640 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/de_AT/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}\N{euro sign}" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/de_AT/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/de_AT/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..79e7f9c --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/de_AT/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/de_DE/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/de_DE/__init__.py new file mode 100644 index 0000000..93d2014 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/de_DE/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self): + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}\N{euro sign}" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/de_DE/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/de_DE/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..7f09f9a --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/de_DE/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/el_GR/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/el_GR/__init__.py new file mode 100644 index 0000000..a16afce --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/el_GR/__init__.py @@ -0,0 +1,158 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + # Source https://el.wikipedia.org/wiki/Κατάλογος_νομισμάτων_των_χωρών_του_κόσμου + # Format: (code, name) + currencies = ( + ("AED", "Ντιρχάμ των Ηνωμένων Αραβικών Εμιράτων"), + ("AFN", "Αφγάνι"), + ("ALL", "Λεκ"), + ("AMD", "Ντραμ"), + ("AOA", "Κουάνζα"), + ("ARS", "Πέσο Αργεντινής"), + ("AUD", "Δολάριο Αυστραλίας"), + ("AZN", "Μανάτ του Αζερμπαϊτζάν"), + ("BAM", "Μετατρέψιμο μάρκο Βοσνίας και Ερζεγοβίνης"), + ("BBD", "Δολάριο των Μπαρμπάντος"), + ("BDT", "Τάκα"), + ("BGN", "Λεβ"), + ("BHD", "Δηνάριο του Μπαχρέιν"), + ("BIF", "Φράγκο του Μπουρούντι"), + ("BND", "Κυάτ Μιανμάρ"), + ("BOB", "Μπολιβιάνο"), + ("BRL", "Ρεάλ Βραζιλίας"), + ("BSD", "Δολάριο Μπαχάμας"), + ("BTN", "Νγκούλντρουμ"), + ("BWP", "Πούλα"), + ("BYΝ", "Ρούβλι Λευκορωσίας"), + ("BZD", "Δολάριο Μπελίζ"), + ("CAD", "Δολάριο Καναδά"), + ("CDF", "Φράγκο του Κονγκό"), + ("CHF", "Ελβετικό Φράγκο"), + ("CLP", "Πέσο Χιλής"), + ("CNY", "Γιουάν |"), + ("COP", "Πέσο Κολομβίας"), + ("CRC", "Κολόν"), + ("CSD", "Δηνάριο Σερβίας"), + ("CUC", "Μετατρέψιμο πέσο Κούβας"), + ("CUP", "Πέσος Κούβας"), + ("CVE", "Εσκούδο Πρασίνου Ακρωτηρίου"), + ("CZK", "Κορόνα Τσεχίας (koruna)"), + ("DJF", "Φράγκο του Τζιμπουτί"), + ("DKK", "Κορόνα Δανίας"), + ("DOP", "Πέσο Δομινικανής Δημοκρατίας"), + ("DZD", "Δηνάριο της Αλγερίας"), + ("EGP", "Λίρα Αιγύπτου"), + ("ERN", "Νάκφα"), + ("ETB", "Μπιρ"), + ("EUR", "Ευρώ"), + ("FJD", "Δολάριο Νησιών Φίτζι"), + ("GBP", "Στερλίνα"), + ("GEL", "Λάρι"), + ("GHC", "Σέντι της Γκάνας"), + ("GMD", "Νταλάζι (Dalasi)"), + ("GNF", "Φράγκο Γουινέας"), + ("GTQ", "Κετσάλ"), + ("GYD", "Δολάριο Γουιάνας"), + ("HNL", "Λεμπίρα"), + ("HRK", "Κούνα"), + ("HTG", "Γκουρντ"), + ("HUF", "Φιορίνι Ουγγαρίας"), + ("IDR", "Ρουπία Ινδονησίας"), + ("ILS", "Νέο σέκελ"), + ("INR", "Ρουπία Ινδίας[6]"), + ("IQD", "Δηνάριο του Ιράκ"), + ("IRR", "Ριάλ του Ιράν"), + ("ISK", "Κορόνα Ισλανδίας (króna)"), + ("JMD", "Δολάριο Τζαμάικας"), + ("JOD", "Ιορδανικό δηνάριο"), + ("JPY", "Γιέν"), + ("KES", "Σελίνι Κένυας"), + ("KGS", "Σομ της Κιργιζίας"), + ("KHR", "Ριέλ Καμπότζης"), + ("KMF", "Φράγκο Κομόρων"), + ("KPW", "Γουόν Βόρειας Κορέας"), + ("KRW", "Γουόν Νότιας Κορέας"), + ("KWD", "Δηνάριο του Κουβέιτ"), + ("KZT", "Τένγκε"), + ("LAK", "Κιπ"), + ("LBP", "Λίρα Λιβάνου"), + ("LKR", "Ρουπία της Σρι Λάνκας (rupee)"), + ("LRD", "Δολάριο Λιβερίας"), + ("LSL", "Λότι"), + ("LYD", "Δηνάριο Λιβύης"), + ("MAD", "Ντιρχάμ Μαρόκου"), + ("MDL", "Μολδαβικό Λέου"), + ("MGA", "Αριάρι[10]"), + ("MKD", "Δηνάριο Βόρειας Μακεδονίας"), + ("MNT", "Τουγκρίκ"), + ("MRU", "Ουγκίγια[10]"), + ("MUR", "Ρουπία Μαυρίκιου"), + ("MVR", "Ρουφίγια"), + ("MWK", "Κουάτσα του Μαλάουι"), + ("MXN", "Πέσο Μεξικού"), + ("MYR", "Ρινγκίτ"), + ("MZN", "Μετικάλ"), + ("NAD", "Δολάριο Ναμίμπιας"), + ("NGN", "Νάιρα"), + ("NIO", "Χρυσό κόρντομπα της Νικαράγουας"), + ("NOK", "Κορόνα Νορβηγίας (krone)"), + ("NPR", "Ρουπία του Νεπάλ (rupee)"), + ("NZD", "Δολάριο Νέας Ζηλανδίας"), + ("OMR", "Ριάλ του Ομάν"), + ("PAB", "Μπαλμπόα Παναμά"), + ("PEK", "ΠΕΚΕΡΟΝ"), + ("PEN", "Σολ Περού (sol)"), + ("PGK", "Κίνα Παπούα-Νέας Γουινέας"), + ("PHP", "Πέσο Φιλιππίνων"), + ("PKR", "Ρουπία του Πακιστάν (rupee)"), + ("PLN", "Ζλότι"), + ("PYG", "Γκουαρανί"), + ("QAR", "Ριγιάλ του Κατάρ"), + ("RON", "Λέου Ρουμανίας"), + ("RUB", "Ρούβλι Ρωσίας"), + ("RWF", "Φράγκο της Ρουάντα"), + ("SAR", "Ριάλ Σαουδικής Αραβίας (riyal)"), + ("SBD", "Δολάριο των Νήσων του Σολομώντα"), + ("SCR", "Ρουπία των Σεϋχελλών (Seychellois rupee)"), + ("SDG", "Λίρα του Σουδάν"), + ("SEK", "Κορόνα Σουηδίας (krona)"), + ("SGD", "Δολάριο Σιγκαπούρης"), + ("SLL", "Λεόνε της Σιέρα Λεόνε"), + ("SOS", "Σελίνι Σομαλίας"), + ("SRD", "Δολάριο του Σουρινάμ"), + ("SSP", "Λίρα Νοτίου Σουδάν"), + ("STN", "Ντόμπρα"), + ("SYP", "Λίρα Συρίας"), + ("SZL", "Λιλανγκένι"), + ("THB", "Μπαχτ"), + ("TJS", "Σομόνι"), + ("TMM", "Μανάτ του Τουρκμενιστάν"), + ("TND", "Δηνάριο Τυνησίας"), + ("TOP", "Παάνγκα"), + ("TRY", "Τουρκική Λίρα"), + ("TTD", "Δολάριο Τρινιντάντ και Τομπάγκο"), + ("TZS", "Σελίνι Τανζανίας (shilling)"), + ("UAH", "Γρίβνα Ουκρανίας"), + ("UGX", "Σελίνι Ουγκάντας"), + ("USD", "Δολάριο ΗΠΑ"), + ("UYU", "Πέσο Ουρουγουάης"), + ("UZS", "Σομ του Ουζμπεκιστάν"), + ("VES", "Μπολίβαρ Σομπεράνο"), + ("VND", "Ντονγκ"), + ("VUV", "Βάτου"), + ("WST", "Τάλα Σαμόα"), + ("XAF", "Φράγκο CFA Κεντρικής Αφρικής"), + ("XCD", "Δολάριο Ανατολικής Καραϊβικής"), + ("XOF", "Φράγκο CFA Δυτικής Αφρικής"), + ("YER", "Ριάλ Υεμένης"), + ("ZAR", "Ραντ Νότιας Αφρικής"), + ("ZMK", "Κουάτσα της Ζάμπιας"), + ("ZWD", "RTGS Dollar"), + ) + + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}\N{euro sign}" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/el_GR/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/el_GR/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..68685f0 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/el_GR/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/en_AU/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/en_AU/__init__.py new file mode 100644 index 0000000..7f0736e --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/en_AU/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#.##", "%#.##", "%##.##", "%,###.##", "%#,###.##"] + + def pricetag(self) -> str: + return "$\N{no-break space}" + self.numerify(self.random_element(self.price_formats)) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/en_AU/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/en_AU/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..018cd03 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/en_AU/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/en_CA/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/en_CA/__init__.py new file mode 100644 index 0000000..96be3bd --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/en_CA/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#.##", "%#.##", "%##.##", "%,###.##", "%#,###.##"] + + def pricetag(self): + return "$\N{no-break space}" + self.numerify(self.random_element(self.price_formats)) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/en_CA/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/en_CA/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..eefdeed --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/en_CA/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/en_US/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/en_US/__init__.py new file mode 100644 index 0000000..2527f6d --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/en_US/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#.##", "%#.##", "%##.##", "%,###.##", "%#,###.##"] + + def pricetag(self) -> str: + return "$" + self.numerify(self.random_element(self.price_formats)) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/en_US/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/en_US/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..dc32f32 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/en_US/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/es/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/es/__init__.py new file mode 100644 index 0000000..e7f9006 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/es/__init__.py @@ -0,0 +1,171 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + # Format: (code, name) + currencies = ( + ("AED", "Dírham de los Emiratos Árabes Unidos"), + ("AFN", "Afghaní"), + ("ALL", "Lek albanés"), + ("AMD", "Dram armenio"), + ("ANG", "Florín de las Antillas Holandesas"), + ("AOA", "Kwanza angoleño"), + ("ARS", "Peso argentino"), + ("AUD", "Dólar australiano"), + ("AWG", "Florín arubeño"), + ("AZN", "Manat azerbaiyano"), + ("BAM", "Marco bosnioherzegovino"), + ("BBD", "Dólar barbadense"), + ("BDT", "Taka bangladesí"), + ("BGN", "Lev búlgaro"), + ("BHD", "Dinar bahreiní"), + ("BIF", "Franco burundés"), + ("BMD", "Dólar de Bermudas"), + ("BND", "Dólar bruneano"), + ("BOB", "Boliviano"), + ("BRL", "Real brasileño"), + ("BSD", "Dólar bahameño"), + ("BTN", "Ngultrum butanés"), + ("BWP", "Pula de Botswana"), + ("BYR", "Rublio bielurruso"), + ("BZD", "Dólar beliceño"), + ("CAD", "Dólar canadiense"), + ("CDF", "Franco congolés"), + ("CHF", "Franco suizo"), + ("CLP", "Peso chileno"), + ("CNY", "Yuan"), + ("COP", "Peso colombiano"), + ("CRC", "Colón costarricense"), + ("CUC", "Peso cubano convertible"), + ("CUP", "Peso subano"), + ("CVE", "Escudo de Cabo Verde"), + ("CZK", "Corona checa"), + ("DJF", "Franco yibutiano"), + ("DKK", "Corona danesa"), + ("DOP", "Peso dominicano"), + ("DZD", "Dinar argelino"), + ("EGP", "Libra egipcia"), + ("ERN", "Nafka"), + ("ETB", "Bir de Etiopía"), + ("EUR", "Euro"), + ("FJD", "Dólar fiyiano"), + ("FKP", "Libra de las islas Falkland"), + ("GBP", "Libra esterlina"), + ("GEL", "Larí georgiano"), + ("GGP", "Libra de Guernsey"), + ("GHS", "Cedi"), + ("GIP", "Libra de Gibraltar"), + ("GMD", "Dalasi"), + ("GNF", "Franco guineano"), + ("GTQ", "Quetzal guatemalteco"), + ("GYD", "Dólar guyanés"), + ("HKD", "Dólar hongkonés"), + ("HNL", "Lempira hondureño"), + ("HRK", "Kuna croata"), + ("HTG", "Gourde haitiano"), + ("HUF", "Forinto húngaro"), + ("IDR", "Rupia indonesia"), + ("ILS", "Séquel israelí"), + ("NIS", "Nuevo Séquel israelí"), + ("IMP", "Libra manesa"), + ("INR", "Rupia india"), + ("IQD", "Dinar iraquí"), + ("IRR", "Rial iraní"), + ("ISK", "Corona islandesa"), + ("JEP", "Libra de Jersey"), + ("JMD", "Dólar jamaicano"), + ("JOD", "Dinar jordano"), + ("JPY", "Yen japonés"), + ("KES", "Chelín keniano"), + ("KGS", "Som kirguís"), + ("KHR", "Riel camboyano"), + ("KMF", "Franco comorense"), + ("KPW", "Won norcoreano"), + ("KRW", "Krahn Occidental"), + ("KWD", "Dinar kuwaití"), + ("KYD", "Dólar de las islas Cayman"), + ("KZT", "Tenge kazako"), + ("LAK", "Kip laosiano"), + ("LBP", "Libra libanesa"), + ("LKR", "Rupia esrilanquesa"), + ("LRD", "Dólar liberiano"), + ("LSL", "Loti lesothense"), + ("LTL", "Litas lituana"), + ("LYD", "Dinar libio"), + ("MAD", "Dirham marroquí"), + ("MDL", "Leu moldavo"), + ("MGA", "Ariary malgache"), + ("MKD", "Denar normacedonio"), + ("MMK", "Kyat birmano"), + ("MNT", "Tugrik mongol"), + ("MOP", "Pataca macaense"), + ("MRO", "Ouguiya mauritano"), + ("MUR", "Rupia mauritana"), + ("MVR", "Rupia de Maldivas"), + ("MWK", "Kwacha malauí"), + ("MXN", "Peso mexicano"), + ("MYR", "Ringgit"), + ("MZN", "Metical mozambiqueño"), + ("NAD", "Dólar namibio"), + ("NGN", "Naira nigeriano"), + ("NIO", "Córdoba nicaragüense"), + ("NOK", "Corona noruega"), + ("NPR", "Rupia nepalí"), + ("NZD", "Dólar neozelandés"), + ("OMR", "Rial omaní"), + ("PAB", "Balboa panameño"), + ("PEN", "Sol peruano"), + ("PGK", "Kina"), + ("PHP", "Peso filipino"), + ("PKR", "Rupia pakistaní"), + ("PLN", "Złoty polaco"), + ("PYG", "Guaraní paraguayo"), + ("QAR", "Riyal catarí"), + ("RON", "Leu rumano"), + ("RSD", "Dinar serbio"), + ("RUB", "Rublo ruso"), + ("RWF", "Franco ruandés"), + ("SAR", "Riyal saudí"), + ("SBD", "Dólar de las islas Solomon"), + ("SCR", "Rupia seychellense"), + ("SDG", "Libra sudanesa"), + ("SEK", "Corona sueca"), + ("SGD", "Dólar de Singapur"), + ("SHP", "Libra de Santa Elena"), + ("SLL", "Leona"), + ("SOS", "Chelín somalí"), + ("SPL", "Luigino"), + ("SRD", "Dólar surinamés"), + ("STD", "Dobra santotomense"), + ("SVC", "Colón salvadoreño"), + ("SYP", "Libra siria"), + ("SZL", "Lilangeni"), + ("THB", "Baht tailandés"), + ("TJS", "Somoni tayiko"), + ("TMT", "Manat turcomano"), + ("TND", "Dinar tunecino"), + ("TOP", "Pa'anga tongano"), + ("TRY", "Lira turca"), + ("TTD", "Dólar de Trinidad and Tobago"), + ("TVD", "Dólar tuvaluano"), + ("TWD", "Nuevo dólar taiwanés"), + ("TZS", "Chelín tanzano"), + ("UAH", "Grivna ucraniano"), + ("UGX", "Chelín ugandés"), + ("USD", "Dólar de Estados Unidos"), + ("UYU", "Peso uruguayo"), + ("UZS", "Soʻm Uzbekistani"), + ("VEF", "Bolívar venezolano"), + ("VND", "Đồng vietnamita"), + ("VUV", "Vanuatu vatu"), + ("WST", "Tālā samoano"), + ("XAF", "Franco centro africano"), + ("XCD", "Dólar del Caribe Oriental"), + ("XDR", "Derechos especiales de giro"), + ("XOF", "Franco de África occidental"), + ("XPF", "Franco CFP"), + ("YER", "Rial yemení"), + ("ZAR", "Rand sudafricano"), + ("ZMW", "Kwacha zambiano"), + ("ZWD", "Dólar zimbabuense"), + ) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/es/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/es/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..330ae2d --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/es/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/es_AR/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/es_AR/__init__.py new file mode 100644 index 0000000..8ca962b --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/es_AR/__init__.py @@ -0,0 +1,8 @@ +from ..es import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["%##", "%.###", "%#.##0", "%##.##0", "%##.##0", "%.###.##0", "%#,##"] + + def pricetag(self) -> str: + return "$" + self.numerify(self.random_element(self.price_formats)) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/es_AR/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/es_AR/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..3f136ec --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/es_AR/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/es_CL/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/es_CL/__init__.py new file mode 100644 index 0000000..3cf0f5a --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/es_CL/__init__.py @@ -0,0 +1,8 @@ +from ..es import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["%##", "%.###", "%#.##0", "%##.##0", "%##.##0", "%.###.##0"] + + def pricetag(self) -> str: + return "\N{dollar sign}\N{no-break space}" + self.numerify(self.random_element(self.price_formats)) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/es_CL/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/es_CL/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..af4ff15 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/es_CL/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/es_ES/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/es_ES/__init__.py new file mode 100644 index 0000000..c451305 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/es_ES/__init__.py @@ -0,0 +1,8 @@ +from ..es import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}\N{euro sign}" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/es_ES/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/es_ES/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..f1bfa37 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/es_ES/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/fa_IR/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/fa_IR/__init__.py new file mode 100644 index 0000000..a15d7a1 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/fa_IR/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["###,###,000", "#,###,000,000", "%,###,###,###,###", "%,###,###,###,000,000"] + + def pricetag(self) -> str: + return self.numerify(self.random_element(self.price_formats)) + "\uFDFC" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/fa_IR/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/fa_IR/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..8f656e3 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/fa_IR/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/fr_CA/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/fr_CA/__init__.py new file mode 100644 index 0000000..94b138b --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/fr_CA/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}$" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/fr_CA/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/fr_CA/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..49a724f --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/fr_CA/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/fr_FR/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/fr_FR/__init__.py new file mode 100644 index 0000000..93d2014 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/fr_FR/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self): + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}\N{euro sign}" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/fr_FR/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/fr_FR/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..506faa5 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/fr_FR/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/it_IT/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/it_IT/__init__.py new file mode 100644 index 0000000..93d2014 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/it_IT/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self): + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}\N{euro sign}" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/it_IT/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/it_IT/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..3e540f8 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/it_IT/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/nl_NL/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/nl_NL/__init__.py new file mode 100644 index 0000000..f155b6e --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/nl_NL/__init__.py @@ -0,0 +1,8 @@ +from faker.providers.currency import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return "\N{euro sign}" + self.numerify(self.random_element(self.price_formats)) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/nl_NL/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/nl_NL/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..a4b7381 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/nl_NL/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/pl_PL/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/pl_PL/__init__.py new file mode 100644 index 0000000..84de96b --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/pl_PL/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}zł" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/pl_PL/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/pl_PL/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..f6b5d5f --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/pl_PL/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/pt_BR/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/pt_BR/__init__.py new file mode 100644 index 0000000..23637cd --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/pt_BR/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return "R$" + self.numerify(self.random_element(self.price_formats)) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/pt_BR/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/pt_BR/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..7c5dbb6 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/pt_BR/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/ro_RO/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/ro_RO/__init__.py new file mode 100644 index 0000000..a040bfa --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/ro_RO/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}Lei" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/ro_RO/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/ro_RO/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..1818cbe --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/ro_RO/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/ru_RU/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/ru_RU/__init__.py new file mode 100644 index 0000000..f6843c2 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/ru_RU/__init__.py @@ -0,0 +1,179 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + # Format: (code, name) + # See currency names in Russian: https://ru.wikipedia.org/wiki/Список_существующих_валют#Валюты + currencies = ( + ("AED", "Дирхам ОАЭ"), + ("AFN", "Афгани"), + ("ALL", "Лек"), + ("AMD", "Армянский драм"), + ("ANG", "Нидерландский антильский гульден"), + ("AOA", "Кванза"), + ("ARS", "Аргентинское песо"), + ("AUD", "Австралийский доллар"), + ("AWG", "Арубанский флорин"), + ("AZN", "Азербайджанский манат"), + ("BAM", "Конвертируемая марка Боснии и Герцеговины"), + ("BBD", "Барбадосский доллар"), + ("BDT", "Така"), + ("BGN", "Болгарский лев"), + ("BHD", "Бахрейнский динар"), + ("BIF", "Бурундийский франк"), + ("BMD", "Бермудский доллар"), + ("BND", "Брунейский доллар"), + ("BOB", "Боливиано"), + ("BRL", "Бразильский реал"), + ("BSD", "Багамский доллар"), + ("BTN", "Нгултрум"), + ("BWP", "Пула"), + ("BYR", "Белорусский рубль"), + ("BZD", "Белизский доллар"), + ("CAD", "Канадский доллар"), + ("CDF", "Конголезский франк"), + ("CHF", "Швейцарский франк"), + ("CLP", "Чилийское песо"), + ("CNY", "Юань"), + ("COP", "Колумбийское песо"), + ("CRC", "Коста-риканский колон"), + ("CUC", "Кубанское конвертируемое песо"), + ("CUP", "Кубанское песо"), + ("CVE", "Эскудо Кабо-Верде"), + ("CZK", "Чешская крона"), + ("DJF", "Франк Джибути"), + ("DKK", "Датская крона"), + ("DOP", "Доминиканское песо"), + ("DZD", "Алжирский динар"), + ("EGP", "Египетский фунт"), + ("ERN", "Накфа"), + ("ETB", "Эфиопский быр"), + ("EUR", "Евро"), + ("FJD", "Доллар Фиджи"), + ("FKP", "Фунт Фолклендских островов"), + ("GBP", "Фунт стерлингов"), + ("GEL", "Лари"), + ("GGP", "Гернсийский фунт"), + ("GHS", "Ганский седи"), + ("GIP", "Гибралтарский фунт"), + ("GMD", "Даласи"), + ("GNF", "Гвинейский франк"), + ("GTQ", "Кетсаль"), + ("GYD", "Гайанский доллар"), + ("HKD", "Гонконгский доллар"), + ("HNL", "Лемпира"), + ("HRK", "Хорватская куна"), + ("HTG", "Гурд"), + ("HUF", "Форинт"), + ("IDR", "Индонезийская рупия"), + ("ILS", "Новый израильский шекель"), + ("NIS", "Новый израильский шекель"), + ("IMP", "Фунт острова Мэн"), + ("INR", "Индийская рупия"), + ("IQD", "Иракский динар"), + ("IRR", "Иранский риал"), + ("ISK", "Исландская крона"), + ("JEP", "Джерсийский фунт"), + ("JMD", "Ямайский доллар"), + ("JOD", "Иорданский динар"), + ("JPY", "Иена"), + ("KES", "Кенийский шиллинг"), + ("KGS", "Сом"), + ("KHR", "Риель"), + ("KMF", "Франк Комор"), + ("KPW", "Северокорейская вона"), + ("KRW", "Южнокорейская вона"), + ("KWD", "Кувейтский динар"), + ("KYD", "Доллар Островов Кайман"), + ("KZT", "Тенге"), + ("LAK", "Кип"), + ("LBP", "Ливийский фунт"), + ("LKR", "Шри-ланкийская рупия"), + ("LRD", "Либерийский доллар"), + ("LSL", "Лоти"), + ("LTL", "Литовский лит"), + ("LYD", "Ливийский динар"), + ("MAD", "Марокканский дирхам"), + ("MDL", "Молдавский лей"), + ("MGA", "Малагасийский ариари"), + ("MKD", "Денар"), + ("MMK", "Кьят"), + ("MNT", "Тугрик"), + ("MOP", "Патака"), + ("MRO", "Угия"), + ("MUR", "Маврикийская рупия"), + ("MVR", "Рувия"), + ("MWK", "Квача"), + ("MXN", "Мексиканское песо"), + ("MYR", "Малайзийский ринггит"), + ("MZN", "Мозамбикский метикал"), + ("NAD", "Доллар Намибии"), + ("NGN", "Найра"), + ("NIO", "Кордоба"), + ("NOK", "Норвежская крона"), + ("NPR", "Непальская рупия"), + ("NZD", "Новозеландский доллар"), + ("OMR", "Оманский риал"), + ("PAB", "Бальбоа"), + ("PEN", "Соль"), + ("PGK", "Кина"), + ("PHP", "Филиппинское песо"), + ("PKR", "Пакистанская рупия"), + ("PLN", "Злотый"), + ("PYG", "Гуарани"), + ("QAR", "Катарский риал"), + ("RON", "Румынский лей"), + ("RSD", "Сербский динар"), + ("RUB", "Российский рубль"), + ("RWF", "Франк Руанды"), + ("SAR", "Саудовский риял"), + ("SBD", "Доллар Соломоновых Островов"), + ("SCR", "Сейшельская рупия"), + ("SDG", "Суданский фунт"), + ("SEK", "Шведская крона"), + ("SGD", "Сингапурский доллар"), + ("SHP", "Фунт Святой Елены"), + ("SLL", "Леоне"), + ("SOS", "Сомалийский шиллинг"), + ("SPL", "Луиджино"), + ("SRD", "Суринамский доллар"), + ("STD", "Добра"), + ("SVC", "Сальвадорский колон"), + ("SYP", "Сирийский фунт"), + ("SZL", "Лилангени"), + ("THB", "Бат"), + ("TJS", "Сомони"), + ("TMT", "Новый туркменский манат"), + ("TND", "Тунисский динар"), + ("TOP", "Паанга"), + ("TRY", "Турецкая лира"), + ("TTD", "Доллар Тринидада и Тобаго"), + ("TVD", "Доллар Тувалу"), + ("TWD", "Новый тайваньский доллар"), + ("TZS", "Танзанийский шиллинг"), + ("UAH", "Гривна"), + ("UGX", "Угандийский шиллинг"), + ("USD", "Доллар США"), + ("UYU", "Уругвайское песо"), + ("UZS", "Узбекский сум"), + ("VEF", "Суверенный боливар"), + ("VND", "Донг"), + ("VUV", "Вату"), + ("WST", "Тала"), + ("XAF", "Франк КФА ВЕАС"), + ("XCD", "Восточно-карибский доллар"), + ("XDR", "СДР"), + ("XOF", "Франк КФА ВСЕАО"), + ("XPF", "Франк КФП"), + ("YER", "Йеменский риал"), + ("ZAR", "Рэнд"), + ("ZMW", "Замбийская квача"), + ("ZWD", "Доллар Зимбабве"), + ) + + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self) -> str: + return ( + self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}\N{cyrillic small letter er}." + ) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/ru_RU/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/ru_RU/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..c57f825 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/ru_RU/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/sk_SK/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/sk_SK/__init__.py new file mode 100644 index 0000000..93d2014 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/sk_SK/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#,##", "%#,##", "%##,##", "%.###,##", "%#.###,##"] + + def pricetag(self): + return self.numerify(self.random_element(self.price_formats)) + "\N{no-break space}\N{euro sign}" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/sk_SK/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/sk_SK/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..96cb1c4 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/sk_SK/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/sv_SE/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/sv_SE/__init__.py new file mode 100644 index 0000000..6991968 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/sv_SE/__init__.py @@ -0,0 +1,178 @@ +from .. import Provider as CurrencyProvider + +# Names taken from https://www.iban.se/currency-codes + + +class Provider(CurrencyProvider): + # Format: (code, name) + currencies = ( + ("AED", "UAE Dirham"), + ("AFN", "Afghani"), + ("ALL", "Lek"), + ("AMD", "Armenisk Dram"), + ("ANG", "Gulden från Nederländska Antillerna"), + ("AOA", "Kwanza"), + ("ARS", "Argentinsk Peso"), + ("AUD", "Australisk Dollar"), + ("AWG", "Arubisk Florin"), + ("AZN", "Azerbajdzjansk Manat"), + ("BAM", "Konvertibel Mark"), + ("BBD", "Barbadosdollar"), + ("BDT", "Taka"), + ("BGN", "Bulgarisk Lev"), + ("BHD", "Bahraini Dinar"), + ("BIF", "Burundi-franc"), + ("BMD", "Bermuda-dollar"), + ("BND", "Brunei-dollar"), + ("BOB", "Boliviano"), + ("BOV", "Mvdol"), + ("BRL", "Brasilisk Real"), + ("BSD", "Bahamasdollar"), + ("BTN", "Ngultrum"), + ("BWP", "Pula"), + ("BYR", "Vitrysk Rubel"), + ("BZD", "Belize-dollar"), + ("CAD", "Kanadensisk Dollar"), + ("CDF", "Kongolesisk Franc"), + ("CHE", "WIR Euro"), + ("CHF", "Schweizerfranc"), + ("CHW", "WIR Franc"), + ("CLF", "Unidad de Fomento"), + ("CLP", "Chilensk Peso"), + ("CNY", "Yuan Renminbi"), + ("COP", "Colombiansk Peso"), + ("COU", "Unidad de Valor Real"), + ("CRC", "Costa Ricansk Colon"), + ("CUC", "Peso Convertible"), + ("CUP", "Kubansk Peso"), + ("CVE", "Kap Verde Escudo"), + ("CZK", "Tjeckisk Koruna"), + ("DJF", "Djibouti-franc"), + ("DKK", "Dansk Krone"), + ("DOP", "Dominicansk Peso"), + ("DZD", "Algerisk Dinar"), + ("EGP", "Egyptiskt pund"), + ("ERN", "Nakfa"), + ("ETB", "Etiopisk Birr"), + ("EUR", "Euro"), + ("FJD", "Fiji Dollar"), + ("FKP", "Pund från Falklandöarna"), + ("GBP", "Pund Sterling"), + ("GEL", "Lari"), + ("GHS", "Ghana Cedi"), + ("GIP", "Gibraltar-pund"), + ("GMD", "Dalasi"), + ("GNF", "Guinea-franc"), + ("GTQ", "Quetzal"), + ("GYD", "Guyana-dollar"), + ("HKD", "Hong Kong-dollar"), + ("HNL", "Lempira"), + ("HRK", "Kuna"), + ("HTG", "Gourde"), + ("HUF", "Forint"), + ("IDR", "Rupiah"), + ("ILS", "Ny Israelisk Shekel"), + ("INR", "Indisk Rupie"), + ("IQD", "Irakisk Dinar"), + ("IRR", "Iransk Rial"), + ("ISK", "Isländsk Krona"), + ("JMD", "Jamaica-dollar"), + ("JOD", "Jordanisk Dinar"), + ("JPY", "Yen"), + ("KES", "Kenyansk Shilling"), + ("KGS", "Som"), + ("KHR", "Riel"), + ("KMF", "Comoros-franc"), + ("KPW", "Nordkoreansk Won"), + ("KRW", "Won"), + ("KWD", "Kuwaiti Dinar"), + ("KYD", "Caymanöar-dollar"), + ("KZT", "Tenge"), + ("LAK", "Kip"), + ("LBP", "Libanesiskt pund"), + ("LKR", "Sri Lanka Rupie"), + ("LRD", "Liberiansk Dollar"), + ("LSL", "Loti"), + ("LYD", "Libysk Dinar"), + ("MAD", "Marockansk Dirham"), + ("MDL", "Moldavisk Leu"), + ("MGA", "Malagasy Ariary"), + ("MKD", "Denar"), + ("MMK", "Kyat"), + ("MNT", "Tugrik"), + ("MOP", "Pataca"), + ("MRO", "Ouguiya"), + ("MUR", "Mauritius Rupie"), + ("MVR", "Rufiyaa"), + ("MWK", "Kwacha"), + ("MXN", "Mexikansk Peso"), + ("MXV", "Mexikansk Unidad de Inversion (UDI)"), + ("MYR", "Malaysisk Ringgit"), + ("MZN", "Mozambique Metical"), + ("NAD", "Namibia Dollar"), + ("NGN", "Naira"), + ("NIO", "Cordoba Oro"), + ("NOK", "Norsk Krone"), + ("NOK", "Norwegian Krone"), + ("NPR", "Nepalesisk Rupie"), + ("NZD", "Nya Zealand-dollar"), + ("OMR", "Rial Omani"), + ("PAB", "Balboa"), + ("PEN", "Nuevo Sol"), + ("PGK", "Kina"), + ("PHP", "Filippinsk Peso"), + ("PKR", "Pakistansk Rupie"), + ("PLN", "Zloty"), + ("PYG", "Guarani"), + ("QAR", "Qatari Rial"), + ("RON", "Rumänsk Leu"), + ("RSD", "Serbisk Dinar"), + ("RUB", "Rysk Rubel"), + ("RWF", "Rwanda Franc"), + ("SAR", "Saudi Riyal"), + ("SBD", "Dollar från Salomonöarna"), + ("SCR", "Seychell-rupie"), + ("SDG", "Sudanesiskt pund"), + ("SEK", "Svensk Krona"), + ("SGD", "Singapore Dollar"), + ("SHP", "Saint Helena pund"), + ("SLL", "Leone"), + ("SOS", "Somalisk Shilling"), + ("SRD", "Surinam Dollar"), + ("SSP", "Sydsudanesiskt pund"), + ("STD", "Dobra"), + ("SVC", "El Salvador Colon"), + ("SYP", "Syriskt pund"), + ("SZL", "Lilangeni"), + ("THB", "Baht"), + ("TJS", "Somoni"), + ("TMT", "Turkmenistansk Ny Manat"), + ("TND", "Tunisisk Dinar"), + ("TOP", "Pa’anga"), + ("TRY", "Turkisk Lira"), + ("TTD", "Trinidad och Tobago Dollar"), + ("TWD", "Ny Taiwanesisk Dollar"), + ("TZS", "Tanzanisk Shilling"), + ("UAH", "Hryvnia"), + ("UGX", "Uganda Shilling"), + ("USD", "US Dollar"), + ("USN", "US Dollar (Nästa dag)"), + ("UYI", "Uruguay Peso en Unidades Indexadas (URUIURUI)"), + ("UYU", "Peso Uruguayo"), + ("UZS", "Uzbekistansk Sum"), + ("VEF", "Bolivar"), + ("VND", "Dong"), + ("VUV", "Vatu"), + ("WST", "Tala"), + ("XAF", "CFA Franc BEAC"), + ("XCD", "East Caribbean Dollar"), + ("XDR", "SDR (Särskild dragningsrätt)"), + ("XOF", "CFA Franc BCEAO"), + ("XPF", "CFP Franc"), + ("XSU", "Sucre"), + ("XUA", "ADB Beräkningsenhet"), + ("YER", "Yemeni Rial"), + ("ZAR", "Rand"), + ("ZMW", "Zambian Kwacha"), + ("ZWL", "Zimbabwe Dollar"), + ) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/sv_SE/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/sv_SE/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..b60c8e9 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/sv_SE/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/th_TH/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/th_TH/__init__.py new file mode 100644 index 0000000..6c07758 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/th_TH/__init__.py @@ -0,0 +1,186 @@ +from .. import Provider as CurrencyProvider + +# Names taken from https://std.moc.go.th/std/codelist_detail/40 + + +class Provider(CurrencyProvider): + # Format: (code, name) + currencies = ( + ("AED", "ดีแรห์ม สหรัฐอาหรับเอมิเรตส์"), + ("AFN", "อัฟกานิ"), + ("ALL", "เลค"), + ("AMD", "ดีแรห์ม อาร์เมเนีย"), + ("ANG", "กิลเดอร์ เนเธอร์แลนด์แอนทิลลิส"), + ("AOA", "ควันซา"), + ("ARS", "เปโซ อาร์เจนตินา"), + ("AUD", "ดอลลาร์ ออสเตรเลีย"), + ("AWG", "กิลเดอร์ อารูบา"), + ("AZN", "มานาท อาเซอร์ไบจาน"), + ("BAM", "มาร์ค บอสเนียและเฮอร์เซโกวีนา"), + ("BBD", "ดอลลาร์ บาร์เบโดส"), + ("BDT", "ตากา"), + ("BGN", "เลฟ บัลแกเรีย"), + ("BHD", "ดีนาร์ บาห์เรน"), + ("BIF", "ฟรังก์ บุรุนดี"), + ("BMD", "ดอลลาร์ เบอร์มิวดา"), + ("BND", "ดอลลาร์ บรูไนดารุสซาลาม"), + ("BOB", "โบลีเวียโน"), + ("BRL", "เรียล บราซิล"), + ("BSD", "ดอลลาร์ บาฮามาส"), + ("BTN", "เองกัลทรัม"), + ("BWP", "พูลา"), + ("BYR", "รูเบิล เบลารุส"), + ("BZD", "ดอลลาร์ เบลีซ"), + ("CAD", "ดอลลาร์ แคนาดา"), + ("CDF", "ฟรังก์ คองโก"), + ("CHF", "ฟรังก์ สวิส"), + ("CLF", "ฟันด์ โค้ด ยูนิแดด ดี โฟเมนโต"), + ("CLP", "เปโซ ชิลี"), + ("CNY", "หยวนเหรินหมินปี้"), + ("COP", "เปโซ โคลอมเบีย"), + ("COU", "ยูนิแดด ดี วาโล เรียล"), + ("CRC", "โคโลน คอสตาริกา"), + ("CUC", "แปลงสภาพเปโซ"), + ("CUP", "เปโซ คิวบา"), + ("CVE", "เอสคูโด เคปเวิร์ด"), + ("CZK", "คราวน์ เช็ก"), + ("DJF", "ฟรังก์ จิบูตี"), + ("DKK", "โครน เดนมาร์ก"), + ("DOP", "เปโซ สาธารณรัฐโดมินิกัน"), + ("DZD", "ดีนาร์ แอลจีเรีย"), + ("EGP", "ปอนด์ อียิปต์"), + ("ERN", "นาคฟา"), + ("ETB", "เปอร์ เอธิโอเปีย"), + ("EUR", "ยูโร"), + ("FJD", "ดอลลาร์ ฟิจิ"), + ("FKP", "ปอนด์ หมู่เกาะฟอล์กแลนด์"), + ("GBP", "ปอนด์สเตอลิง"), + ("GEL", "ลารี"), + ("GHS", "เซดี กานา"), + ("GIP", "ปอนด์ ยิบรอลตาร์"), + ("GMD", "ดาราซี"), + ("GNF", "ฟรังก์ กินี"), + ("GTQ", "เก็ตซาล"), + ("GYD", "ดอลลาร์ กายอานา"), + ("HKD", "ดอลลาร์ ฮ่องกง"), + ("HNL", "เลมพีรา ฮอนดูรัส"), + ("HRK", "คูนา"), + ("HTG", "กอร์ด"), + ("HUF", "ฟอรินท์"), + ("IDR", "รูเปีย"), + ("ILS", "เชคเกิล อิสราเอล"), + ("INR", "รูปี อินเดีย"), + ("IQD", "ดีนาร์ อิรัก"), + ("IRR", "เรียล อิหร่าน"), + ("ISK", "โครนา ไอซ์แลนด์"), + ("JMD", "ดอลลาร์ จาเมกา"), + ("JOD", "ดอลลาร์ จอร์แดน"), + ("JPY", "เยน"), + ("KES", "ชิลลิง เคนยา"), + ("KGS", "ซอม"), + ("KHR", "เรียล กัมพูชา"), + ("KMF", "ฟรังก์ คอโมโรส"), + ("KPW", "วอน เกาหลีเหนือ"), + ("KRW", "วอน เกาหลีใต้"), + ("KWD", "ดีนาร์ คูเวต"), + ("KYD", "ดอลลาร์ หมู่เกาะเคย์แมน"), + ("KZT", "เทงเก"), + ("LAK", "กีบ"), + ("LBP", "ปอนด์ เลบานอน"), + ("LKR", "รูปี ศรีลังกา"), + ("LRD", "ดอลลาร์ ไลบีเรีย"), + ("LSL", "โลตี"), + ("LTL", "ลีทาส ลิทัวเนีย"), + ("LVL", "ลัตส์ ลัตเวีย"), + ("LYD", "ดีนาร์ ลิเบีย"), + ("MAD", "ดีแรห์ม โมร็อกโก"), + ("MDL", "ลิว มอลโดวา"), + ("MGA", "อเรียรี่ มาดากัสการ์"), + ("MKD", "ดีนาร์ มาซิโดเนีย"), + ("MMK", "จัต"), + ("MNT", "ทูกริค"), + ("MOP", "พาทากา"), + ("MRO", "อูกุยยา / อูกียา"), + ("MUR", "รูปี มอริเชียส"), + ("MVR", "รูฟียา"), + ("MWK", "ควาซา มาลาวี"), + ("MXN", "เปโซ เม็กซิโก"), + ("MYR", "ริงกิต มาเลเซีย"), + ("MZN", "เมททิคัล โมซัมบิก"), + ("NAD", "ดอลลาร์ นามิเบีย"), + ("NGN", "ไนรา"), + ("NIO", "คอร์โดบา"), + ("NOK", "โครน นอร์เวย์"), + ("NPR", "รูปี เนปาล"), + ("NZD", "ดอลลาร์ นิวซีแลนด์"), + ("OMR", "เรียล โอมาน"), + ("PAB", "บัลโบอา"), + ("PEN", "ซัล เปรู"), + ("PGK", "คีนา"), + ("PHP", "เปโซ ฟิลิปปินส์"), + ("PKR", "รูปี ปากีสถาน"), + ("PLN", "สล็อตตี"), + ("PYG", "กวารานี"), + ("QAR", "เรียล กาตาร์"), + ("RON", "ลิว โรมาเนีย"), + ("RSD", "ดีนาร์ เซอร์เบีย"), + ("RUB", "รูเบิล รัสเซีย"), + ("RWF", "ฟรังก์ รวันดา"), + ("SAR", "ริยัล ซาอุดีอาระเบีย"), + ("SBD", "ดอลลาร์ หมู่เกาะโซโลมอน"), + ("SCR", "รูปี เซเชลส์"), + ("SDG", "ปอนด์ ซูดาน"), + ("SEK", "โครนา สวีเดน"), + ("SGD", "ดอลลาร์ สิงคโปร์"), + ("SHP", "ปอนด์ เซนต์เฮเลนา"), + ("SLL", "ลีโอน"), + ("SOS", "ชิลลิง โซมาเลีย"), + ("SRD", "ดอลลาร์ ซูรินาเม"), + ("SSP", "ปอนด์ เซาท์ซูดาน"), + ("STD", "โดบรา"), + ("SVC", "โคโลน เอลซัลวาดอร์"), + ("SYP", "ปอนด์ ซีเรีย"), + ("SZL", "ลิลอนเกนี"), + ("THB", "บาท"), + ("TJS", "โซโมนิ"), + ("TMT", "มานาท เติร์กเมนิสถานใหม่"), + ("TND", "ดีนาร์ ตูนิเซีย"), + ("TOP", "พาอานกา"), + ("TRY", "ลีร์ ตุรกี"), + ("TTD", "ดอลลาร์ ตรินิแดดและโตเบโก"), + ("TWD", "ดอลลาร์ ไต้หวัน"), + ("TZS", "ชิลลิง แทนซาเนีย"), + ("UAH", "รีฟเนีย"), + ("UGX", "ชิลลิง ยูกันดา"), + ("USD", "ดอลลาร์ สหรัฐอเมริกา"), + ("USN", "ดอลลาร์ สหรัฐอเมริกา เน็กซ์เดย์ฟัน"), + ("UYI", "อุรุกวัย เปโซ เอ็น อุนดิดาเดซ อินเด็กซาดาซ"), + ("UYU", "เปโซ อุรุกวัย"), + ("UZS", "โซม อุซเบกิสถาน"), + ("VEF", "โบลิวาร์"), + ("VND", "ดอง"), + ("VUV", "วาตู"), + ("WST", "ทาลา"), + ("XAF", "ฟรังก์ ซีเอฟเอ บีอีเอซี"), + ("XAG", "เงิน"), + ("XAU", "ทองคำ"), + ("XBA", "อียูอาร์ซีโอ"), + ("XBB", "อีเอ็มยู 6"), + ("XBC", "บัญชี อียู 9"), + ("XBD", "บัญชี อียู 17"), + ("XCD", "ดอลลาร์ คาริบเบียลตะวันออก"), + ("XDR", "สิทธิพิเศษถอนเงิน (กองทุนการเงินระหว่างประเทศ)"), + ("XEU", "อี ซี ยู"), + ("XFU", "ยูไอซี ฟรังก์"), + ("XOF", "ฟรังก์ ซีเอฟเอ บีซีอีเอโอ"), + ("XPD", "พัลเลเดียม"), + ("XPF", "ฟรังก์ ซีเอฟพี"), + ("XPT", "แพลตตินัม"), + ("XSU", "ซูเคร"), + ("XUA", "เอดีบี"), + ("XXX", "ธุรกรรมที่ไม่มีเงินสกุลใดเกี่ยวข้อง"), + ("YER", "เรียล เยเมน"), + ("ZAR", "แรนด์"), + ("ZMW", "ควาซา แซมเบีย"), + ("ZWL", "ดอลลาร์ ซิมบับเว"), + ) diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/th_TH/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/th_TH/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..8caca7b --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/th_TH/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/tr_TR/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/currency/tr_TR/__init__.py new file mode 100644 index 0000000..5535c75 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/tr_TR/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as CurrencyProvider + + +class Provider(CurrencyProvider): + price_formats = ["#.##", "%#.##", "%##.##", "%,###.##", "%#,###.##"] + + def pricetag(self) -> str: + return f"{self.numerify(self.random_element(self.price_formats))} ₺" diff --git a/venv/lib/python3.11/site-packages/faker/providers/currency/tr_TR/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/currency/tr_TR/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..8ef67e9 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/currency/tr_TR/__pycache__/__init__.cpython-311.pyc |