kittycad.models.currency.Currency

class kittycad.models.currency.Currency(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source][source]

Bases: str, Enum

Currency is the list of supported currencies.

This comes from the Stripe API docs: For more details see <https://support.stripe.com/questions/which-currencies-does-stripe-support>.

__init__(*args, **kwds)[source]

Methods

__init__(*args, **kwds)

capitalize()

Return a capitalized version of the string.

casefold()

Return a version of the string suitable for caseless comparisons.

center(width[, fillchar])

Return a centered string of length width.

count(sub[, start[, end]])

Return the number of non-overlapping occurrences of substring sub in string S[start:end].

encode([encoding, errors])

Encode the string using the codec registered for encoding.

endswith(suffix[, start[, end]])

Return True if S ends with the specified suffix, False otherwise.

expandtabs([tabsize])

Return a copy where all tab characters are expanded using spaces.

find(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

format(*args, **kwargs)

Return a formatted version of S, using substitutions from args and kwargs.

format_map(mapping)

Return a formatted version of S, using substitutions from mapping.

index(sub[, start[, end]])

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

isalnum()

Return True if the string is an alpha-numeric string, False otherwise.

isalpha()

Return True if the string is an alphabetic string, False otherwise.

isascii()

Return True if all characters in the string are ASCII, False otherwise.

isdecimal()

Return True if the string is a decimal string, False otherwise.

isdigit()

Return True if the string is a digit string, False otherwise.

isidentifier()

Return True if the string is a valid Python identifier, False otherwise.

islower()

Return True if the string is a lowercase string, False otherwise.

isnumeric()

Return True if the string is a numeric string, False otherwise.

isprintable()

Return True if the string is printable, False otherwise.

isspace()

Return True if the string is a whitespace string, False otherwise.

istitle()

Return True if the string is a title-cased string, False otherwise.

isupper()

Return True if the string is an uppercase string, False otherwise.

join(iterable, /)

Concatenate any number of strings.

ljust(width[, fillchar])

Return a left-justified string of length width.

lower()

Return a copy of the string converted to lowercase.

lstrip([chars])

Return a copy of the string with leading whitespace removed.

maketrans

Return a translation table usable for str.translate().

partition(sep, /)

Partition the string into three parts using the given separator.

removeprefix(prefix, /)

Return a str with the given prefix string removed if present.

removesuffix(suffix, /)

Return a str with the given suffix string removed if present.

replace(old, new[, count])

Return a copy with all occurrences of substring old replaced by new.

rfind(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

rindex(sub[, start[, end]])

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

rjust(width[, fillchar])

Return a right-justified string of length width.

rpartition(sep, /)

Partition the string into three parts using the given separator.

rsplit([sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

rstrip([chars])

Return a copy of the string with trailing whitespace removed.

split([sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

splitlines([keepends])

Return a list of the lines in the string, breaking at line boundaries.

startswith(prefix[, start[, end]])

Return True if S starts with the specified prefix, False otherwise.

strip([chars])

Return a copy of the string with leading and trailing whitespace removed.

swapcase()

Convert uppercase characters to lowercase and lowercase characters to uppercase.

title()

Return a version of the string where each word is titlecased.

translate(table, /)

Replace each character in the string using the given translation table.

upper()

Return a copy of the string converted to uppercase.

zfill(width, /)

Pad a numeric string with zeros on the left, to fill a field of the given width.

Attributes

AED

# Afghan Afghani

AFN

# Albanian Lek

ALL

# Armenian Dram

AMD

# Netherlands Antillean Gulden

ANG

# Angolan Kwanza

AOA

# Argentine Peso

ARS

# Australian Dollar

AUD

# Aruban Florin

AWG

# Azerbaijani Manat

AZN

# Bosnia & Herzegovina Convertible Mark

BAM

# Barbadian Dollar

BBD

# Bangladeshi Taka

BDT

# Bulgarian Lev

BGN

# Burundian Franc

BIF

# Bermudian Dollar

BMD

# Brunei Dollar

BND

# Bolivian Boliviano

BOB

# Brazilian Real

BRL

# Bahamian Dollar

BSD

# Botswana Pula

BWP

# Belize Dollar

BZD

# Canadian Dollar

CAD

# Congolese Franc

CDF

# Swiss Franc

CHF

# Chilean Peso

CLP

# Chinese Renminbi Yuan

CNY

# Colombian Peso

COP

# Costa Rican Colón

CRC

# Cape Verdean Escudo

CVE

# Czech Koruna

CZK

# Djiboutian Franc

DJF

# Danish Krone

DKK

# Dominican Peso

DOP

# Algerian Dinar

DZD

# Estonian Kroon

EEK

# Egyptian Pound

EGP

# Ethiopian Birr

ETB

# Euro

EUR

# Fijian Dollar

FJD

# Falkland Islands Pound

FKP

# British Pound

GBP

# Georgian Lari

GEL

# Gibraltar Pound

GIP

# Gambian Dalasi

GMD

# Guinean Franc

GNF

# Guatemalan Quetzal

GTQ

# Guyanese Dollar

GYD

# Hong Kong Dollar

HKD

# Honduran Lempira

HNL

# Croatian Kuna

HRK

# Haitian Gourde

HTG

# Hungarian Forint

HUF

# Indonesian Rupiah

IDR

# Israeli New Sheqel

ILS

# Indian Rupee

INR

# Icelandic Króna

ISK

# Jamaican Dollar

JMD

# Japanese Yen

JPY

# Kenyan Shilling

KES

# Kyrgyzstani Som

KGS

# Cambodian Riel

KHR

# Comorian Franc

KMF

# South Korean Won

KRW

# Cayman Islands Dollar

KYD

# Kazakhstani Tenge

KZT

# Lao Kip

LAK

# Lebanese Pound

LBP

# Sri Lankan Rupee

LKR

# Liberian Dollar

LRD

# Lesotho Loti

LSL

# Lithuanian Litas

LTL

# Latvian Lats

LVL

# Moroccan Dirham

MAD

# Moldovan Leu

MDL

# Malagasy Ariary

MGA

# Macedonian Denar

MKD

# Mongolian Tögrög

MNT

# Macanese Pataca

MOP

# Mauritanian Ouguiya

MRO

# Mauritian Rupee

MUR

# Maldivian Rufiyaa

MVR

# Malawian Kwacha

MWK

# Mexican Peso

MXN

# Malaysian Ringgit

MYR

# Mozambican Metical

MZN

# Namibian Dollar

NAD

# Nigerian Naira

NGN

# Nicaraguan Córdoba

NIO

# Norwegian Krone

NOK

# Nepalese Rupee

NPR

# New Zealand Dollar

NZD

# Panamanian Balboa

PAB

# Peruvian Nuevo Sol

PEN

# Papua New Guinean Kina

PGK

# Philippine Peso

PHP

# Pakistani Rupee

PKR

# Polish Złoty

PLN

# Paraguayan Guaraní

PYG

# Qatari Riyal

QAR

# Romanian Leu

RON

# Serbian Dinar

RSD

# Russian Ruble

RUB

# Rwandan Franc

RWF

# Saudi Riyal

SAR

# Solomon Islands Dollar

SBD

# Seychellois Rupee

SCR

# Swedish Krona

SEK

# Singapore Dollar

SGD

# Saint Helenian Pound

SHP

# Sierra Leonean Leone

SLL

# Somali Shilling

SOS

# Surinamese Dollar

SRD

# São Tomé and Príncipe Dobra

STD

# Salvadoran Colón

SVC

# Swazi Lilangeni

SZL

# Thai Baht

THB

# Tajikistani Somoni

TJS

# Tongan Paʻanga

TOP

# Turkish Lira

TRY

# Trinidad and Tobago Dollar

TTD

# New Taiwan Dollar

TWD

# Tanzanian Shilling

TZS

# Ukrainian Hryvnia

UAH

# Ugandan Shilling

UGX

# United States Dollar

USD

# Uruguayan Peso

UYU

# Uzbekistani Som

UZS

# Venezuelan Bolívar

VEF

# Vietnamese Đồng

VND

# Vanuatu Vatu

VUV

# Samoan Tala

WST

# Central African Cfa Franc

XAF

# East Caribbean Dollar

XCD

# West African Cfa Franc

XOF

# Cfp Franc

XPF

# Yemeni Rial

YER

# South African Rand

ZAR

# Zambian Kwacha

ZMW

AED = 'aed'[source]

# Afghan Afghani

AFN = 'afn'[source]

# Albanian Lek

ALL = 'all'[source]

# Armenian Dram

AMD = 'amd'[source]

# Netherlands Antillean Gulden

ANG = 'ang'[source]

# Angolan Kwanza

AOA = 'aoa'[source]

# Argentine Peso

ARS = 'ars'[source]

# Australian Dollar

AUD = 'aud'[source]

# Aruban Florin

AWG = 'awg'[source]

# Azerbaijani Manat

AZN = 'azn'[source]

# Bosnia & Herzegovina Convertible Mark

BAM = 'bam'[source]

# Barbadian Dollar

BBD = 'bbd'[source]

# Bangladeshi Taka

BDT = 'bdt'[source]

# Bulgarian Lev

BGN = 'bgn'[source]

# Burundian Franc

BIF = 'bif'[source]

# Bermudian Dollar

BMD = 'bmd'[source]

# Brunei Dollar

BND = 'bnd'[source]

# Bolivian Boliviano

BOB = 'bob'[source]

# Brazilian Real

BRL = 'brl'[source]

# Bahamian Dollar

BSD = 'bsd'[source]

# Botswana Pula

BWP = 'bwp'[source]

# Belize Dollar

BZD = 'bzd'[source]

# Canadian Dollar

CAD = 'cad'[source]

# Congolese Franc

CDF = 'cdf'[source]

# Swiss Franc

CHF = 'chf'[source]

# Chilean Peso

CLP = 'clp'[source]

# Chinese Renminbi Yuan

CNY = 'cny'[source]

# Colombian Peso

COP = 'cop'[source]

# Costa Rican Colón

CRC = 'crc'[source]

# Cape Verdean Escudo

CVE = 'cve'[source]

# Czech Koruna

CZK = 'czk'[source]

# Djiboutian Franc

DJF = 'djf'[source]

# Danish Krone

DKK = 'dkk'[source]

# Dominican Peso

DOP = 'dop'[source]

# Algerian Dinar

DZD = 'dzd'[source]

# Estonian Kroon

EEK = 'eek'[source]

# Egyptian Pound

EGP = 'egp'[source]

# Ethiopian Birr

ETB = 'etb'[source]

# Euro

EUR = 'eur'[source]

# Fijian Dollar

FJD = 'fjd'[source]

# Falkland Islands Pound

FKP = 'fkp'[source]

# British Pound

GBP = 'gbp'[source]

# Georgian Lari

GEL = 'gel'[source]

# Gibraltar Pound

GIP = 'gip'[source]

# Gambian Dalasi

GMD = 'gmd'[source]

# Guinean Franc

GNF = 'gnf'[source]

# Guatemalan Quetzal

GTQ = 'gtq'[source]

# Guyanese Dollar

GYD = 'gyd'[source]

# Hong Kong Dollar

HKD = 'hkd'[source]

# Honduran Lempira

HNL = 'hnl'[source]

# Croatian Kuna

HRK = 'hrk'[source]

# Haitian Gourde

HTG = 'htg'[source]

# Hungarian Forint

HUF = 'huf'[source]

# Indonesian Rupiah

IDR = 'idr'[source]

# Israeli New Sheqel

ILS = 'ils'[source]

# Indian Rupee

INR = 'inr'[source]

# Icelandic Króna

ISK = 'isk'[source]

# Jamaican Dollar

JMD = 'jmd'[source]

# Japanese Yen

JPY = 'jpy'[source]

# Kenyan Shilling

KES = 'kes'[source]

# Kyrgyzstani Som

KGS = 'kgs'[source]

# Cambodian Riel

KHR = 'khr'[source]

# Comorian Franc

KMF = 'kmf'[source]

# South Korean Won

KRW = 'krw'[source]

# Cayman Islands Dollar

KYD = 'kyd'[source]

# Kazakhstani Tenge

KZT = 'kzt'[source]

# Lao Kip

LAK = 'lak'[source]

# Lebanese Pound

LBP = 'lbp'[source]

# Sri Lankan Rupee

LKR = 'lkr'[source]

# Liberian Dollar

LRD = 'lrd'[source]

# Lesotho Loti

LSL = 'lsl'[source]

# Lithuanian Litas

LTL = 'ltl'[source]

# Latvian Lats

LVL = 'lvl'[source]

# Moroccan Dirham

MAD = 'mad'[source]

# Moldovan Leu

MDL = 'mdl'[source]

# Malagasy Ariary

MGA = 'mga'[source]

# Macedonian Denar

MKD = 'mkd'[source]

# Mongolian Tögrög

MNT = 'mnt'[source]

# Macanese Pataca

MOP = 'mop'[source]

# Mauritanian Ouguiya

MRO = 'mro'[source]

# Mauritian Rupee

MUR = 'mur'[source]

# Maldivian Rufiyaa

MVR = 'mvr'[source]

# Malawian Kwacha

MWK = 'mwk'[source]

# Mexican Peso

MXN = 'mxn'[source]

# Malaysian Ringgit

MYR = 'myr'[source]

# Mozambican Metical

MZN = 'mzn'[source]

# Namibian Dollar

NAD = 'nad'[source]

# Nigerian Naira

NGN = 'ngn'[source]

# Nicaraguan Córdoba

NIO = 'nio'[source]

# Norwegian Krone

NOK = 'nok'[source]

# Nepalese Rupee

NPR = 'npr'[source]

# New Zealand Dollar

NZD = 'nzd'[source]

# Panamanian Balboa

PAB = 'pab'[source]

# Peruvian Nuevo Sol

PEN = 'pen'[source]

# Papua New Guinean Kina

PGK = 'pgk'[source]

# Philippine Peso

PHP = 'php'[source]

# Pakistani Rupee

PKR = 'pkr'[source]

# Polish Złoty

PLN = 'pln'[source]

# Paraguayan Guaraní

PYG = 'pyg'[source]

# Qatari Riyal

QAR = 'qar'[source]

# Romanian Leu

RON = 'ron'[source]

# Serbian Dinar

RSD = 'rsd'[source]

# Russian Ruble

RUB = 'rub'[source]

# Rwandan Franc

RWF = 'rwf'[source]

# Saudi Riyal

SAR = 'sar'[source]

# Solomon Islands Dollar

SBD = 'sbd'[source]

# Seychellois Rupee

SCR = 'scr'[source]

# Swedish Krona

SEK = 'sek'[source]

# Singapore Dollar

SGD = 'sgd'[source]

# Saint Helenian Pound

SHP = 'shp'[source]

# Sierra Leonean Leone

SLL = 'sll'[source]

# Somali Shilling

SOS = 'sos'[source]

# Surinamese Dollar

SRD = 'srd'[source]

# São Tomé and Príncipe Dobra

STD = 'std'[source]

# Salvadoran Colón

SVC = 'svc'[source]

# Swazi Lilangeni

SZL = 'szl'[source]

# Thai Baht

THB = 'thb'[source]

# Tajikistani Somoni

TJS = 'tjs'[source]

# Tongan Paʻanga

TOP = 'top'[source]

# Turkish Lira

TRY = 'try'[source]

# Trinidad and Tobago Dollar

TTD = 'ttd'[source]

# New Taiwan Dollar

TWD = 'twd'[source]

# Tanzanian Shilling

TZS = 'tzs'[source]

# Ukrainian Hryvnia

UAH = 'uah'[source]

# Ugandan Shilling

UGX = 'ugx'[source]

# United States Dollar

USD = 'usd'[source]

# Uruguayan Peso

UYU = 'uyu'[source]

# Uzbekistani Som

UZS = 'uzs'[source]

# Venezuelan Bolívar

VEF = 'vef'[source]

# Vietnamese Đồng

VND = 'vnd'[source]

# Vanuatu Vatu

VUV = 'vuv'[source]

# Samoan Tala

WST = 'wst'[source]

# Central African Cfa Franc

XAF = 'xaf'[source]

# East Caribbean Dollar

XCD = 'xcd'[source]

# West African Cfa Franc

XOF = 'xof'[source]

# Cfp Franc

XPF = 'xpf'[source]

# Yemeni Rial

YER = 'yer'[source]

# South African Rand

ZAR = 'zar'[source]

# Zambian Kwacha

ZMW = 'zmw'[source]
__add__(value, /)[source]

Return self+value.

__annotations__ = {}[source]
__contains__(key, /)[source]

Return key in self.

__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.currency', '__doc__': 'Currency is the list of supported currencies.\n\n    This comes from the Stripe API docs: For more details see <https://support.stripe.com/questions/which-currencies-does-stripe-support>.', '__str__': <function Currency.__str__>, '_new_member_': <built-in method __new__ of type object>, '_use_args_': True, '_member_names_': ['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BWP', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EEK', 'EGP', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'INR', 'ISK', 'JMD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KRW', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LTL', 'LVL', 'MAD', 'MDL', 'MGA', 'MKD', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'STD', 'SVC', 'SZL', 'THB', 'TJS', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW'], '_member_map_': {'AED': <Currency.AED: 'aed'>, 'AFN': <Currency.AFN: 'afn'>, 'ALL': <Currency.ALL: 'all'>, 'AMD': <Currency.AMD: 'amd'>, 'ANG': <Currency.ANG: 'ang'>, 'AOA': <Currency.AOA: 'aoa'>, 'ARS': <Currency.ARS: 'ars'>, 'AUD': <Currency.AUD: 'aud'>, 'AWG': <Currency.AWG: 'awg'>, 'AZN': <Currency.AZN: 'azn'>, 'BAM': <Currency.BAM: 'bam'>, 'BBD': <Currency.BBD: 'bbd'>, 'BDT': <Currency.BDT: 'bdt'>, 'BGN': <Currency.BGN: 'bgn'>, 'BIF': <Currency.BIF: 'bif'>, 'BMD': <Currency.BMD: 'bmd'>, 'BND': <Currency.BND: 'bnd'>, 'BOB': <Currency.BOB: 'bob'>, 'BRL': <Currency.BRL: 'brl'>, 'BSD': <Currency.BSD: 'bsd'>, 'BWP': <Currency.BWP: 'bwp'>, 'BZD': <Currency.BZD: 'bzd'>, 'CAD': <Currency.CAD: 'cad'>, 'CDF': <Currency.CDF: 'cdf'>, 'CHF': <Currency.CHF: 'chf'>, 'CLP': <Currency.CLP: 'clp'>, 'CNY': <Currency.CNY: 'cny'>, 'COP': <Currency.COP: 'cop'>, 'CRC': <Currency.CRC: 'crc'>, 'CVE': <Currency.CVE: 'cve'>, 'CZK': <Currency.CZK: 'czk'>, 'DJF': <Currency.DJF: 'djf'>, 'DKK': <Currency.DKK: 'dkk'>, 'DOP': <Currency.DOP: 'dop'>, 'DZD': <Currency.DZD: 'dzd'>, 'EEK': <Currency.EEK: 'eek'>, 'EGP': <Currency.EGP: 'egp'>, 'ETB': <Currency.ETB: 'etb'>, 'EUR': <Currency.EUR: 'eur'>, 'FJD': <Currency.FJD: 'fjd'>, 'FKP': <Currency.FKP: 'fkp'>, 'GBP': <Currency.GBP: 'gbp'>, 'GEL': <Currency.GEL: 'gel'>, 'GIP': <Currency.GIP: 'gip'>, 'GMD': <Currency.GMD: 'gmd'>, 'GNF': <Currency.GNF: 'gnf'>, 'GTQ': <Currency.GTQ: 'gtq'>, 'GYD': <Currency.GYD: 'gyd'>, 'HKD': <Currency.HKD: 'hkd'>, 'HNL': <Currency.HNL: 'hnl'>, 'HRK': <Currency.HRK: 'hrk'>, 'HTG': <Currency.HTG: 'htg'>, 'HUF': <Currency.HUF: 'huf'>, 'IDR': <Currency.IDR: 'idr'>, 'ILS': <Currency.ILS: 'ils'>, 'INR': <Currency.INR: 'inr'>, 'ISK': <Currency.ISK: 'isk'>, 'JMD': <Currency.JMD: 'jmd'>, 'JPY': <Currency.JPY: 'jpy'>, 'KES': <Currency.KES: 'kes'>, 'KGS': <Currency.KGS: 'kgs'>, 'KHR': <Currency.KHR: 'khr'>, 'KMF': <Currency.KMF: 'kmf'>, 'KRW': <Currency.KRW: 'krw'>, 'KYD': <Currency.KYD: 'kyd'>, 'KZT': <Currency.KZT: 'kzt'>, 'LAK': <Currency.LAK: 'lak'>, 'LBP': <Currency.LBP: 'lbp'>, 'LKR': <Currency.LKR: 'lkr'>, 'LRD': <Currency.LRD: 'lrd'>, 'LSL': <Currency.LSL: 'lsl'>, 'LTL': <Currency.LTL: 'ltl'>, 'LVL': <Currency.LVL: 'lvl'>, 'MAD': <Currency.MAD: 'mad'>, 'MDL': <Currency.MDL: 'mdl'>, 'MGA': <Currency.MGA: 'mga'>, 'MKD': <Currency.MKD: 'mkd'>, 'MNT': <Currency.MNT: 'mnt'>, 'MOP': <Currency.MOP: 'mop'>, 'MRO': <Currency.MRO: 'mro'>, 'MUR': <Currency.MUR: 'mur'>, 'MVR': <Currency.MVR: 'mvr'>, 'MWK': <Currency.MWK: 'mwk'>, 'MXN': <Currency.MXN: 'mxn'>, 'MYR': <Currency.MYR: 'myr'>, 'MZN': <Currency.MZN: 'mzn'>, 'NAD': <Currency.NAD: 'nad'>, 'NGN': <Currency.NGN: 'ngn'>, 'NIO': <Currency.NIO: 'nio'>, 'NOK': <Currency.NOK: 'nok'>, 'NPR': <Currency.NPR: 'npr'>, 'NZD': <Currency.NZD: 'nzd'>, 'PAB': <Currency.PAB: 'pab'>, 'PEN': <Currency.PEN: 'pen'>, 'PGK': <Currency.PGK: 'pgk'>, 'PHP': <Currency.PHP: 'php'>, 'PKR': <Currency.PKR: 'pkr'>, 'PLN': <Currency.PLN: 'pln'>, 'PYG': <Currency.PYG: 'pyg'>, 'QAR': <Currency.QAR: 'qar'>, 'RON': <Currency.RON: 'ron'>, 'RSD': <Currency.RSD: 'rsd'>, 'RUB': <Currency.RUB: 'rub'>, 'RWF': <Currency.RWF: 'rwf'>, 'SAR': <Currency.SAR: 'sar'>, 'SBD': <Currency.SBD: 'sbd'>, 'SCR': <Currency.SCR: 'scr'>, 'SEK': <Currency.SEK: 'sek'>, 'SGD': <Currency.SGD: 'sgd'>, 'SHP': <Currency.SHP: 'shp'>, 'SLL': <Currency.SLL: 'sll'>, 'SOS': <Currency.SOS: 'sos'>, 'SRD': <Currency.SRD: 'srd'>, 'STD': <Currency.STD: 'std'>, 'SVC': <Currency.SVC: 'svc'>, 'SZL': <Currency.SZL: 'szl'>, 'THB': <Currency.THB: 'thb'>, 'TJS': <Currency.TJS: 'tjs'>, 'TOP': <Currency.TOP: 'top'>, 'TRY': <Currency.TRY: 'try'>, 'TTD': <Currency.TTD: 'ttd'>, 'TWD': <Currency.TWD: 'twd'>, 'TZS': <Currency.TZS: 'tzs'>, 'UAH': <Currency.UAH: 'uah'>, 'UGX': <Currency.UGX: 'ugx'>, 'USD': <Currency.USD: 'usd'>, 'UYU': <Currency.UYU: 'uyu'>, 'UZS': <Currency.UZS: 'uzs'>, 'VEF': <Currency.VEF: 'vef'>, 'VND': <Currency.VND: 'vnd'>, 'VUV': <Currency.VUV: 'vuv'>, 'WST': <Currency.WST: 'wst'>, 'XAF': <Currency.XAF: 'xaf'>, 'XCD': <Currency.XCD: 'xcd'>, 'XOF': <Currency.XOF: 'xof'>, 'XPF': <Currency.XPF: 'xpf'>, 'YER': <Currency.YER: 'yer'>, 'ZAR': <Currency.ZAR: 'zar'>, 'ZMW': <Currency.ZMW: 'zmw'>}, '_value2member_map_': {'aed': <Currency.AED: 'aed'>, 'afn': <Currency.AFN: 'afn'>, 'all': <Currency.ALL: 'all'>, 'amd': <Currency.AMD: 'amd'>, 'ang': <Currency.ANG: 'ang'>, 'aoa': <Currency.AOA: 'aoa'>, 'ars': <Currency.ARS: 'ars'>, 'aud': <Currency.AUD: 'aud'>, 'awg': <Currency.AWG: 'awg'>, 'azn': <Currency.AZN: 'azn'>, 'bam': <Currency.BAM: 'bam'>, 'bbd': <Currency.BBD: 'bbd'>, 'bdt': <Currency.BDT: 'bdt'>, 'bgn': <Currency.BGN: 'bgn'>, 'bif': <Currency.BIF: 'bif'>, 'bmd': <Currency.BMD: 'bmd'>, 'bnd': <Currency.BND: 'bnd'>, 'bob': <Currency.BOB: 'bob'>, 'brl': <Currency.BRL: 'brl'>, 'bsd': <Currency.BSD: 'bsd'>, 'bwp': <Currency.BWP: 'bwp'>, 'bzd': <Currency.BZD: 'bzd'>, 'cad': <Currency.CAD: 'cad'>, 'cdf': <Currency.CDF: 'cdf'>, 'chf': <Currency.CHF: 'chf'>, 'clp': <Currency.CLP: 'clp'>, 'cny': <Currency.CNY: 'cny'>, 'cop': <Currency.COP: 'cop'>, 'crc': <Currency.CRC: 'crc'>, 'cve': <Currency.CVE: 'cve'>, 'czk': <Currency.CZK: 'czk'>, 'djf': <Currency.DJF: 'djf'>, 'dkk': <Currency.DKK: 'dkk'>, 'dop': <Currency.DOP: 'dop'>, 'dzd': <Currency.DZD: 'dzd'>, 'eek': <Currency.EEK: 'eek'>, 'egp': <Currency.EGP: 'egp'>, 'etb': <Currency.ETB: 'etb'>, 'eur': <Currency.EUR: 'eur'>, 'fjd': <Currency.FJD: 'fjd'>, 'fkp': <Currency.FKP: 'fkp'>, 'gbp': <Currency.GBP: 'gbp'>, 'gel': <Currency.GEL: 'gel'>, 'gip': <Currency.GIP: 'gip'>, 'gmd': <Currency.GMD: 'gmd'>, 'gnf': <Currency.GNF: 'gnf'>, 'gtq': <Currency.GTQ: 'gtq'>, 'gyd': <Currency.GYD: 'gyd'>, 'hkd': <Currency.HKD: 'hkd'>, 'hnl': <Currency.HNL: 'hnl'>, 'hrk': <Currency.HRK: 'hrk'>, 'htg': <Currency.HTG: 'htg'>, 'huf': <Currency.HUF: 'huf'>, 'idr': <Currency.IDR: 'idr'>, 'ils': <Currency.ILS: 'ils'>, 'inr': <Currency.INR: 'inr'>, 'isk': <Currency.ISK: 'isk'>, 'jmd': <Currency.JMD: 'jmd'>, 'jpy': <Currency.JPY: 'jpy'>, 'kes': <Currency.KES: 'kes'>, 'kgs': <Currency.KGS: 'kgs'>, 'khr': <Currency.KHR: 'khr'>, 'kmf': <Currency.KMF: 'kmf'>, 'krw': <Currency.KRW: 'krw'>, 'kyd': <Currency.KYD: 'kyd'>, 'kzt': <Currency.KZT: 'kzt'>, 'lak': <Currency.LAK: 'lak'>, 'lbp': <Currency.LBP: 'lbp'>, 'lkr': <Currency.LKR: 'lkr'>, 'lrd': <Currency.LRD: 'lrd'>, 'lsl': <Currency.LSL: 'lsl'>, 'ltl': <Currency.LTL: 'ltl'>, 'lvl': <Currency.LVL: 'lvl'>, 'mad': <Currency.MAD: 'mad'>, 'mdl': <Currency.MDL: 'mdl'>, 'mga': <Currency.MGA: 'mga'>, 'mkd': <Currency.MKD: 'mkd'>, 'mnt': <Currency.MNT: 'mnt'>, 'mop': <Currency.MOP: 'mop'>, 'mro': <Currency.MRO: 'mro'>, 'mur': <Currency.MUR: 'mur'>, 'mvr': <Currency.MVR: 'mvr'>, 'mwk': <Currency.MWK: 'mwk'>, 'mxn': <Currency.MXN: 'mxn'>, 'myr': <Currency.MYR: 'myr'>, 'mzn': <Currency.MZN: 'mzn'>, 'nad': <Currency.NAD: 'nad'>, 'ngn': <Currency.NGN: 'ngn'>, 'nio': <Currency.NIO: 'nio'>, 'nok': <Currency.NOK: 'nok'>, 'npr': <Currency.NPR: 'npr'>, 'nzd': <Currency.NZD: 'nzd'>, 'pab': <Currency.PAB: 'pab'>, 'pen': <Currency.PEN: 'pen'>, 'pgk': <Currency.PGK: 'pgk'>, 'php': <Currency.PHP: 'php'>, 'pkr': <Currency.PKR: 'pkr'>, 'pln': <Currency.PLN: 'pln'>, 'pyg': <Currency.PYG: 'pyg'>, 'qar': <Currency.QAR: 'qar'>, 'ron': <Currency.RON: 'ron'>, 'rsd': <Currency.RSD: 'rsd'>, 'rub': <Currency.RUB: 'rub'>, 'rwf': <Currency.RWF: 'rwf'>, 'sar': <Currency.SAR: 'sar'>, 'sbd': <Currency.SBD: 'sbd'>, 'scr': <Currency.SCR: 'scr'>, 'sek': <Currency.SEK: 'sek'>, 'sgd': <Currency.SGD: 'sgd'>, 'shp': <Currency.SHP: 'shp'>, 'sll': <Currency.SLL: 'sll'>, 'sos': <Currency.SOS: 'sos'>, 'srd': <Currency.SRD: 'srd'>, 'std': <Currency.STD: 'std'>, 'svc': <Currency.SVC: 'svc'>, 'szl': <Currency.SZL: 'szl'>, 'thb': <Currency.THB: 'thb'>, 'tjs': <Currency.TJS: 'tjs'>, 'top': <Currency.TOP: 'top'>, 'try': <Currency.TRY: 'try'>, 'ttd': <Currency.TTD: 'ttd'>, 'twd': <Currency.TWD: 'twd'>, 'tzs': <Currency.TZS: 'tzs'>, 'uah': <Currency.UAH: 'uah'>, 'ugx': <Currency.UGX: 'ugx'>, 'usd': <Currency.USD: 'usd'>, 'uyu': <Currency.UYU: 'uyu'>, 'uzs': <Currency.UZS: 'uzs'>, 'vef': <Currency.VEF: 'vef'>, 'vnd': <Currency.VND: 'vnd'>, 'vuv': <Currency.VUV: 'vuv'>, 'wst': <Currency.WST: 'wst'>, 'xaf': <Currency.XAF: 'xaf'>, 'xcd': <Currency.XCD: 'xcd'>, 'xof': <Currency.XOF: 'xof'>, 'xpf': <Currency.XPF: 'xpf'>, 'yer': <Currency.YER: 'yer'>, 'zar': <Currency.ZAR: 'zar'>, 'zmw': <Currency.ZMW: 'zmw'>}, '_unhashable_values_': [], '_member_type_': <class 'str'>, '_value_repr_': <slot wrapper '__repr__' of 'str' objects>, '__dict__': <attribute '__dict__' of 'Currency' objects>, '__weakref__': <attribute '__weakref__' of 'Currency' objects>, 'AED': <Currency.AED: 'aed'>, 'AFN': <Currency.AFN: 'afn'>, 'ALL': <Currency.ALL: 'all'>, 'AMD': <Currency.AMD: 'amd'>, 'ANG': <Currency.ANG: 'ang'>, 'AOA': <Currency.AOA: 'aoa'>, 'ARS': <Currency.ARS: 'ars'>, 'AUD': <Currency.AUD: 'aud'>, 'AWG': <Currency.AWG: 'awg'>, 'AZN': <Currency.AZN: 'azn'>, 'BAM': <Currency.BAM: 'bam'>, 'BBD': <Currency.BBD: 'bbd'>, 'BDT': <Currency.BDT: 'bdt'>, 'BGN': <Currency.BGN: 'bgn'>, 'BIF': <Currency.BIF: 'bif'>, 'BMD': <Currency.BMD: 'bmd'>, 'BND': <Currency.BND: 'bnd'>, 'BOB': <Currency.BOB: 'bob'>, 'BRL': <Currency.BRL: 'brl'>, 'BSD': <Currency.BSD: 'bsd'>, 'BWP': <Currency.BWP: 'bwp'>, 'BZD': <Currency.BZD: 'bzd'>, 'CAD': <Currency.CAD: 'cad'>, 'CDF': <Currency.CDF: 'cdf'>, 'CHF': <Currency.CHF: 'chf'>, 'CLP': <Currency.CLP: 'clp'>, 'CNY': <Currency.CNY: 'cny'>, 'COP': <Currency.COP: 'cop'>, 'CRC': <Currency.CRC: 'crc'>, 'CVE': <Currency.CVE: 'cve'>, 'CZK': <Currency.CZK: 'czk'>, 'DJF': <Currency.DJF: 'djf'>, 'DKK': <Currency.DKK: 'dkk'>, 'DOP': <Currency.DOP: 'dop'>, 'DZD': <Currency.DZD: 'dzd'>, 'EEK': <Currency.EEK: 'eek'>, 'EGP': <Currency.EGP: 'egp'>, 'ETB': <Currency.ETB: 'etb'>, 'EUR': <Currency.EUR: 'eur'>, 'FJD': <Currency.FJD: 'fjd'>, 'FKP': <Currency.FKP: 'fkp'>, 'GBP': <Currency.GBP: 'gbp'>, 'GEL': <Currency.GEL: 'gel'>, 'GIP': <Currency.GIP: 'gip'>, 'GMD': <Currency.GMD: 'gmd'>, 'GNF': <Currency.GNF: 'gnf'>, 'GTQ': <Currency.GTQ: 'gtq'>, 'GYD': <Currency.GYD: 'gyd'>, 'HKD': <Currency.HKD: 'hkd'>, 'HNL': <Currency.HNL: 'hnl'>, 'HRK': <Currency.HRK: 'hrk'>, 'HTG': <Currency.HTG: 'htg'>, 'HUF': <Currency.HUF: 'huf'>, 'IDR': <Currency.IDR: 'idr'>, 'ILS': <Currency.ILS: 'ils'>, 'INR': <Currency.INR: 'inr'>, 'ISK': <Currency.ISK: 'isk'>, 'JMD': <Currency.JMD: 'jmd'>, 'JPY': <Currency.JPY: 'jpy'>, 'KES': <Currency.KES: 'kes'>, 'KGS': <Currency.KGS: 'kgs'>, 'KHR': <Currency.KHR: 'khr'>, 'KMF': <Currency.KMF: 'kmf'>, 'KRW': <Currency.KRW: 'krw'>, 'KYD': <Currency.KYD: 'kyd'>, 'KZT': <Currency.KZT: 'kzt'>, 'LAK': <Currency.LAK: 'lak'>, 'LBP': <Currency.LBP: 'lbp'>, 'LKR': <Currency.LKR: 'lkr'>, 'LRD': <Currency.LRD: 'lrd'>, 'LSL': <Currency.LSL: 'lsl'>, 'LTL': <Currency.LTL: 'ltl'>, 'LVL': <Currency.LVL: 'lvl'>, 'MAD': <Currency.MAD: 'mad'>, 'MDL': <Currency.MDL: 'mdl'>, 'MGA': <Currency.MGA: 'mga'>, 'MKD': <Currency.MKD: 'mkd'>, 'MNT': <Currency.MNT: 'mnt'>, 'MOP': <Currency.MOP: 'mop'>, 'MRO': <Currency.MRO: 'mro'>, 'MUR': <Currency.MUR: 'mur'>, 'MVR': <Currency.MVR: 'mvr'>, 'MWK': <Currency.MWK: 'mwk'>, 'MXN': <Currency.MXN: 'mxn'>, 'MYR': <Currency.MYR: 'myr'>, 'MZN': <Currency.MZN: 'mzn'>, 'NAD': <Currency.NAD: 'nad'>, 'NGN': <Currency.NGN: 'ngn'>, 'NIO': <Currency.NIO: 'nio'>, 'NOK': <Currency.NOK: 'nok'>, 'NPR': <Currency.NPR: 'npr'>, 'NZD': <Currency.NZD: 'nzd'>, 'PAB': <Currency.PAB: 'pab'>, 'PEN': <Currency.PEN: 'pen'>, 'PGK': <Currency.PGK: 'pgk'>, 'PHP': <Currency.PHP: 'php'>, 'PKR': <Currency.PKR: 'pkr'>, 'PLN': <Currency.PLN: 'pln'>, 'PYG': <Currency.PYG: 'pyg'>, 'QAR': <Currency.QAR: 'qar'>, 'RON': <Currency.RON: 'ron'>, 'RSD': <Currency.RSD: 'rsd'>, 'RUB': <Currency.RUB: 'rub'>, 'RWF': <Currency.RWF: 'rwf'>, 'SAR': <Currency.SAR: 'sar'>, 'SBD': <Currency.SBD: 'sbd'>, 'SCR': <Currency.SCR: 'scr'>, 'SEK': <Currency.SEK: 'sek'>, 'SGD': <Currency.SGD: 'sgd'>, 'SHP': <Currency.SHP: 'shp'>, 'SLL': <Currency.SLL: 'sll'>, 'SOS': <Currency.SOS: 'sos'>, 'SRD': <Currency.SRD: 'srd'>, 'STD': <Currency.STD: 'std'>, 'SVC': <Currency.SVC: 'svc'>, 'SZL': <Currency.SZL: 'szl'>, 'THB': <Currency.THB: 'thb'>, 'TJS': <Currency.TJS: 'tjs'>, 'TOP': <Currency.TOP: 'top'>, 'TRY': <Currency.TRY: 'try'>, 'TTD': <Currency.TTD: 'ttd'>, 'TWD': <Currency.TWD: 'twd'>, 'TZS': <Currency.TZS: 'tzs'>, 'UAH': <Currency.UAH: 'uah'>, 'UGX': <Currency.UGX: 'ugx'>, 'USD': <Currency.USD: 'usd'>, 'UYU': <Currency.UYU: 'uyu'>, 'UZS': <Currency.UZS: 'uzs'>, 'VEF': <Currency.VEF: 'vef'>, 'VND': <Currency.VND: 'vnd'>, 'VUV': <Currency.VUV: 'vuv'>, 'WST': <Currency.WST: 'wst'>, 'XAF': <Currency.XAF: 'xaf'>, 'XCD': <Currency.XCD: 'xcd'>, 'XOF': <Currency.XOF: 'xof'>, 'XPF': <Currency.XPF: 'xpf'>, 'YER': <Currency.YER: 'yer'>, 'ZAR': <Currency.ZAR: 'zar'>, 'ZMW': <Currency.ZMW: 'zmw'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__dir__()[source]

Returns all members and all public methods

__eq__(value, /)[source]

Return self==value.

__format__(format_spec)[source]

Return a formatted version of the string as described by format_spec.

__ge__(value, /)[source]

Return self>=value.

__getattribute__(name, /)[source]

Return getattr(self, name).

__getitem__(key, /)[source]

Return self[key].

__getnewargs__()[source]
__gt__(value, /)[source]

Return self>value.

__hash__()[source]

Return hash(self).

__init__(*args, **kwds)[source]
__iter__()[source]

Implement iter(self).

__le__(value, /)[source]

Return self<=value.

__len__()[source]

Return len(self).

__lt__(value, /)[source]

Return self<value.

__mod__(value, /)[source]

Return self%value.

__module__ = 'kittycad.models.currency'[source]
__mul__(value, /)[source]

Return self*value.

__ne__(value, /)[source]

Return self!=value.

__new__(value)[source]
__reduce_ex__(proto)[source]

Helper for pickle.

__repr__()[source]

Return repr(self).

__rmod__(value, /)[source]

Return value%self.

__rmul__(value, /)[source]

Return value*self.

__sizeof__()[source]

Return the size of the string in memory, in bytes.

__str__()[source][source]

Return str(self).

Return type:

str

_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the list of values assigned

_member_map_ = {'AED': Currency.AED, 'AFN': Currency.AFN, 'ALL': Currency.ALL, 'AMD': Currency.AMD, 'ANG': Currency.ANG, 'AOA': Currency.AOA, 'ARS': Currency.ARS, 'AUD': Currency.AUD, 'AWG': Currency.AWG, 'AZN': Currency.AZN, 'BAM': Currency.BAM, 'BBD': Currency.BBD, 'BDT': Currency.BDT, 'BGN': Currency.BGN, 'BIF': Currency.BIF, 'BMD': Currency.BMD, 'BND': Currency.BND, 'BOB': Currency.BOB, 'BRL': Currency.BRL, 'BSD': Currency.BSD, 'BWP': Currency.BWP, 'BZD': Currency.BZD, 'CAD': Currency.CAD, 'CDF': Currency.CDF, 'CHF': Currency.CHF, 'CLP': Currency.CLP, 'CNY': Currency.CNY, 'COP': Currency.COP, 'CRC': Currency.CRC, 'CVE': Currency.CVE, 'CZK': Currency.CZK, 'DJF': Currency.DJF, 'DKK': Currency.DKK, 'DOP': Currency.DOP, 'DZD': Currency.DZD, 'EEK': Currency.EEK, 'EGP': Currency.EGP, 'ETB': Currency.ETB, 'EUR': Currency.EUR, 'FJD': Currency.FJD, 'FKP': Currency.FKP, 'GBP': Currency.GBP, 'GEL': Currency.GEL, 'GIP': Currency.GIP, 'GMD': Currency.GMD, 'GNF': Currency.GNF, 'GTQ': Currency.GTQ, 'GYD': Currency.GYD, 'HKD': Currency.HKD, 'HNL': Currency.HNL, 'HRK': Currency.HRK, 'HTG': Currency.HTG, 'HUF': Currency.HUF, 'IDR': Currency.IDR, 'ILS': Currency.ILS, 'INR': Currency.INR, 'ISK': Currency.ISK, 'JMD': Currency.JMD, 'JPY': Currency.JPY, 'KES': Currency.KES, 'KGS': Currency.KGS, 'KHR': Currency.KHR, 'KMF': Currency.KMF, 'KRW': Currency.KRW, 'KYD': Currency.KYD, 'KZT': Currency.KZT, 'LAK': Currency.LAK, 'LBP': Currency.LBP, 'LKR': Currency.LKR, 'LRD': Currency.LRD, 'LSL': Currency.LSL, 'LTL': Currency.LTL, 'LVL': Currency.LVL, 'MAD': Currency.MAD, 'MDL': Currency.MDL, 'MGA': Currency.MGA, 'MKD': Currency.MKD, 'MNT': Currency.MNT, 'MOP': Currency.MOP, 'MRO': Currency.MRO, 'MUR': Currency.MUR, 'MVR': Currency.MVR, 'MWK': Currency.MWK, 'MXN': Currency.MXN, 'MYR': Currency.MYR, 'MZN': Currency.MZN, 'NAD': Currency.NAD, 'NGN': Currency.NGN, 'NIO': Currency.NIO, 'NOK': Currency.NOK, 'NPR': Currency.NPR, 'NZD': Currency.NZD, 'PAB': Currency.PAB, 'PEN': Currency.PEN, 'PGK': Currency.PGK, 'PHP': Currency.PHP, 'PKR': Currency.PKR, 'PLN': Currency.PLN, 'PYG': Currency.PYG, 'QAR': Currency.QAR, 'RON': Currency.RON, 'RSD': Currency.RSD, 'RUB': Currency.RUB, 'RWF': Currency.RWF, 'SAR': Currency.SAR, 'SBD': Currency.SBD, 'SCR': Currency.SCR, 'SEK': Currency.SEK, 'SGD': Currency.SGD, 'SHP': Currency.SHP, 'SLL': Currency.SLL, 'SOS': Currency.SOS, 'SRD': Currency.SRD, 'STD': Currency.STD, 'SVC': Currency.SVC, 'SZL': Currency.SZL, 'THB': Currency.THB, 'TJS': Currency.TJS, 'TOP': Currency.TOP, 'TRY': Currency.TRY, 'TTD': Currency.TTD, 'TWD': Currency.TWD, 'TZS': Currency.TZS, 'UAH': Currency.UAH, 'UGX': Currency.UGX, 'USD': Currency.USD, 'UYU': Currency.UYU, 'UZS': Currency.UZS, 'VEF': Currency.VEF, 'VND': Currency.VND, 'VUV': Currency.VUV, 'WST': Currency.WST, 'XAF': Currency.XAF, 'XCD': Currency.XCD, 'XOF': Currency.XOF, 'XPF': Currency.XPF, 'YER': Currency.YER, 'ZAR': Currency.ZAR, 'ZMW': Currency.ZMW}[source]
_member_names_ = ['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BWP', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EEK', 'EGP', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'INR', 'ISK', 'JMD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KRW', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LTL', 'LVL', 'MAD', 'MDL', 'MGA', 'MKD', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'STD', 'SVC', 'SZL', 'THB', 'TJS', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW'][source]
_member_type_[source]

alias of str

_new_member_(**kwargs)[source]

Create and return a new object. See help(type) for accurate signature.

_unhashable_values_ = [][source]
_use_args_ = True[source]
_value2member_map_ = {'aed': Currency.AED, 'afn': Currency.AFN, 'all': Currency.ALL, 'amd': Currency.AMD, 'ang': Currency.ANG, 'aoa': Currency.AOA, 'ars': Currency.ARS, 'aud': Currency.AUD, 'awg': Currency.AWG, 'azn': Currency.AZN, 'bam': Currency.BAM, 'bbd': Currency.BBD, 'bdt': Currency.BDT, 'bgn': Currency.BGN, 'bif': Currency.BIF, 'bmd': Currency.BMD, 'bnd': Currency.BND, 'bob': Currency.BOB, 'brl': Currency.BRL, 'bsd': Currency.BSD, 'bwp': Currency.BWP, 'bzd': Currency.BZD, 'cad': Currency.CAD, 'cdf': Currency.CDF, 'chf': Currency.CHF, 'clp': Currency.CLP, 'cny': Currency.CNY, 'cop': Currency.COP, 'crc': Currency.CRC, 'cve': Currency.CVE, 'czk': Currency.CZK, 'djf': Currency.DJF, 'dkk': Currency.DKK, 'dop': Currency.DOP, 'dzd': Currency.DZD, 'eek': Currency.EEK, 'egp': Currency.EGP, 'etb': Currency.ETB, 'eur': Currency.EUR, 'fjd': Currency.FJD, 'fkp': Currency.FKP, 'gbp': Currency.GBP, 'gel': Currency.GEL, 'gip': Currency.GIP, 'gmd': Currency.GMD, 'gnf': Currency.GNF, 'gtq': Currency.GTQ, 'gyd': Currency.GYD, 'hkd': Currency.HKD, 'hnl': Currency.HNL, 'hrk': Currency.HRK, 'htg': Currency.HTG, 'huf': Currency.HUF, 'idr': Currency.IDR, 'ils': Currency.ILS, 'inr': Currency.INR, 'isk': Currency.ISK, 'jmd': Currency.JMD, 'jpy': Currency.JPY, 'kes': Currency.KES, 'kgs': Currency.KGS, 'khr': Currency.KHR, 'kmf': Currency.KMF, 'krw': Currency.KRW, 'kyd': Currency.KYD, 'kzt': Currency.KZT, 'lak': Currency.LAK, 'lbp': Currency.LBP, 'lkr': Currency.LKR, 'lrd': Currency.LRD, 'lsl': Currency.LSL, 'ltl': Currency.LTL, 'lvl': Currency.LVL, 'mad': Currency.MAD, 'mdl': Currency.MDL, 'mga': Currency.MGA, 'mkd': Currency.MKD, 'mnt': Currency.MNT, 'mop': Currency.MOP, 'mro': Currency.MRO, 'mur': Currency.MUR, 'mvr': Currency.MVR, 'mwk': Currency.MWK, 'mxn': Currency.MXN, 'myr': Currency.MYR, 'mzn': Currency.MZN, 'nad': Currency.NAD, 'ngn': Currency.NGN, 'nio': Currency.NIO, 'nok': Currency.NOK, 'npr': Currency.NPR, 'nzd': Currency.NZD, 'pab': Currency.PAB, 'pen': Currency.PEN, 'pgk': Currency.PGK, 'php': Currency.PHP, 'pkr': Currency.PKR, 'pln': Currency.PLN, 'pyg': Currency.PYG, 'qar': Currency.QAR, 'ron': Currency.RON, 'rsd': Currency.RSD, 'rub': Currency.RUB, 'rwf': Currency.RWF, 'sar': Currency.SAR, 'sbd': Currency.SBD, 'scr': Currency.SCR, 'sek': Currency.SEK, 'sgd': Currency.SGD, 'shp': Currency.SHP, 'sll': Currency.SLL, 'sos': Currency.SOS, 'srd': Currency.SRD, 'std': Currency.STD, 'svc': Currency.SVC, 'szl': Currency.SZL, 'thb': Currency.THB, 'tjs': Currency.TJS, 'top': Currency.TOP, 'try': Currency.TRY, 'ttd': Currency.TTD, 'twd': Currency.TWD, 'tzs': Currency.TZS, 'uah': Currency.UAH, 'ugx': Currency.UGX, 'usd': Currency.USD, 'uyu': Currency.UYU, 'uzs': Currency.UZS, 'vef': Currency.VEF, 'vnd': Currency.VND, 'vuv': Currency.VUV, 'wst': Currency.WST, 'xaf': Currency.XAF, 'xcd': Currency.XCD, 'xof': Currency.XOF, 'xpf': Currency.XPF, 'yer': Currency.YER, 'zar': Currency.ZAR, 'zmw': Currency.ZMW}[source]
_value_repr_()[source]

Return repr(self).

capitalize()[source]

Return a capitalized version of the string.

More specifically, make the first character have upper case and the rest lower case.

casefold()[source]

Return a version of the string suitable for caseless comparisons.

center(width, fillchar=' ', /)[source]

Return a centered string of length width.

Padding is done using the specified fill character (default is a space).

count(sub[, start[, end]]) int[source]

Return the number of non-overlapping occurrences of substring sub in string S[start:end]. Optional arguments start and end are interpreted as in slice notation.

encode(encoding='utf-8', errors='strict')[source]

Encode the string using the codec registered for encoding.

encoding

The encoding in which to encode the string.

errors

The error handling scheme to use for encoding errors. The default is ‘strict’ meaning that encoding errors raise a UnicodeEncodeError. Other possible values are ‘ignore’, ‘replace’ and ‘xmlcharrefreplace’ as well as any other name registered with codecs.register_error that can handle UnicodeEncodeErrors.

endswith(suffix[, start[, end]]) bool[source]

Return True if S ends with the specified suffix, False otherwise. With optional start, test S beginning at that position. With optional end, stop comparing S at that position. suffix can also be a tuple of strings to try.

expandtabs(tabsize=8)[source]

Return a copy where all tab characters are expanded using spaces.

If tabsize is not given, a tab size of 8 characters is assumed.

find(sub[, start[, end]]) int[source]

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation.

Return -1 on failure.

format(*args, **kwargs) str[source]

Return a formatted version of S, using substitutions from args and kwargs. The substitutions are identified by braces (‘{’ and ‘}’).

format_map(mapping) str[source]

Return a formatted version of S, using substitutions from mapping. The substitutions are identified by braces (‘{’ and ‘}’).

index(sub[, start[, end]]) int[source]

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation.

Raises ValueError when the substring is not found.

isalnum()[source]

Return True if the string is an alpha-numeric string, False otherwise.

A string is alpha-numeric if all characters in the string are alpha-numeric and there is at least one character in the string.

isalpha()[source]

Return True if the string is an alphabetic string, False otherwise.

A string is alphabetic if all characters in the string are alphabetic and there is at least one character in the string.

isascii()[source]

Return True if all characters in the string are ASCII, False otherwise.

ASCII characters have code points in the range U+0000-U+007F. Empty string is ASCII too.

isdecimal()[source]

Return True if the string is a decimal string, False otherwise.

A string is a decimal string if all characters in the string are decimal and there is at least one character in the string.

isdigit()[source]

Return True if the string is a digit string, False otherwise.

A string is a digit string if all characters in the string are digits and there is at least one character in the string.

isidentifier()[source]

Return True if the string is a valid Python identifier, False otherwise.

Call keyword.iskeyword(s) to test whether string s is a reserved identifier, such as “def” or “class”.

islower()[source]

Return True if the string is a lowercase string, False otherwise.

A string is lowercase if all cased characters in the string are lowercase and there is at least one cased character in the string.

isnumeric()[source]

Return True if the string is a numeric string, False otherwise.

A string is numeric if all characters in the string are numeric and there is at least one character in the string.

isprintable()[source]

Return True if the string is printable, False otherwise.

A string is printable if all of its characters are considered printable in repr() or if it is empty.

isspace()[source]

Return True if the string is a whitespace string, False otherwise.

A string is whitespace if all characters in the string are whitespace and there is at least one character in the string.

istitle()[source]

Return True if the string is a title-cased string, False otherwise.

In a title-cased string, upper- and title-case characters may only follow uncased characters and lowercase characters only cased ones.

isupper()[source]

Return True if the string is an uppercase string, False otherwise.

A string is uppercase if all cased characters in the string are uppercase and there is at least one cased character in the string.

join(iterable, /)[source]

Concatenate any number of strings.

The string whose method is called is inserted in between each given string. The result is returned as a new string.

Example: ‘.’.join([‘ab’, ‘pq’, ‘rs’]) -> ‘ab.pq.rs’

ljust(width, fillchar=' ', /)[source]

Return a left-justified string of length width.

Padding is done using the specified fill character (default is a space).

lower()[source]

Return a copy of the string converted to lowercase.

lstrip(chars=None, /)[source]

Return a copy of the string with leading whitespace removed.

If chars is given and not None, remove characters in chars instead.

static maketrans()[source]

Return a translation table usable for str.translate().

If there is only one argument, it must be a dictionary mapping Unicode ordinals (integers) or characters to Unicode ordinals, strings or None. Character keys will be then converted to ordinals. If there are two arguments, they must be strings of equal length, and in the resulting dictionary, each character in x will be mapped to the character at the same position in y. If there is a third argument, it must be a string, whose characters will be mapped to None in the result.

partition(sep, /)[source]

Partition the string into three parts using the given separator.

This will search for the separator in the string. If the separator is found, returns a 3-tuple containing the part before the separator, the separator itself, and the part after it.

If the separator is not found, returns a 3-tuple containing the original string and two empty strings.

removeprefix(prefix, /)[source]

Return a str with the given prefix string removed if present.

If the string starts with the prefix string, return string[len(prefix):]. Otherwise, return a copy of the original string.

removesuffix(suffix, /)[source]

Return a str with the given suffix string removed if present.

If the string ends with the suffix string and that suffix is not empty, return string[:-len(suffix)]. Otherwise, return a copy of the original string.

replace(old, new, count=-1, /)[source]

Return a copy with all occurrences of substring old replaced by new.

count

Maximum number of occurrences to replace. -1 (the default value) means replace all occurrences.

If the optional argument count is given, only the first count occurrences are replaced.

rfind(sub[, start[, end]]) int[source]

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation.

Return -1 on failure.

rindex(sub[, start[, end]]) int[source]

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation.

Raises ValueError when the substring is not found.

rjust(width, fillchar=' ', /)[source]

Return a right-justified string of length width.

Padding is done using the specified fill character (default is a space).

rpartition(sep, /)[source]

Partition the string into three parts using the given separator.

This will search for the separator in the string, starting at the end. If the separator is found, returns a 3-tuple containing the part before the separator, the separator itself, and the part after it.

If the separator is not found, returns a 3-tuple containing two empty strings and the original string.

rsplit(sep=None, maxsplit=-1)[source]

Return a list of the substrings in the string, using sep as the separator string.

sep

The separator used to split the string.

When set to None (the default value), will split on any whitespace character (including \n \r \t \f and spaces) and will discard empty strings from the result.

maxsplit

Maximum number of splits (starting from the left). -1 (the default value) means no limit.

Splitting starts at the end of the string and works to the front.

rstrip(chars=None, /)[source]

Return a copy of the string with trailing whitespace removed.

If chars is given and not None, remove characters in chars instead.

split(sep=None, maxsplit=-1)[source]

Return a list of the substrings in the string, using sep as the separator string.

sep

The separator used to split the string.

When set to None (the default value), will split on any whitespace character (including \n \r \t \f and spaces) and will discard empty strings from the result.

maxsplit

Maximum number of splits (starting from the left). -1 (the default value) means no limit.

Note, str.split() is mainly useful for data that has been intentionally delimited. With natural text that includes punctuation, consider using the regular expression module.

splitlines(keepends=False)[source]

Return a list of the lines in the string, breaking at line boundaries.

Line breaks are not included in the resulting list unless keepends is given and true.

startswith(prefix[, start[, end]]) bool[source]

Return True if S starts with the specified prefix, False otherwise. With optional start, test S beginning at that position. With optional end, stop comparing S at that position. prefix can also be a tuple of strings to try.

strip(chars=None, /)[source]

Return a copy of the string with leading and trailing whitespace removed.

If chars is given and not None, remove characters in chars instead.

swapcase()[source]

Convert uppercase characters to lowercase and lowercase characters to uppercase.

title()[source]

Return a version of the string where each word is titlecased.

More specifically, words start with uppercased characters and all remaining cased characters have lower case.

translate(table, /)[source]

Replace each character in the string using the given translation table.

table

Translation table, which must be a mapping of Unicode ordinals to Unicode ordinals, strings, or None.

The table must implement lookup/indexing via __getitem__, for instance a dictionary or list. If this operation raises LookupError, the character is left untouched. Characters mapped to None are deleted.

upper()[source]

Return a copy of the string converted to uppercase.

zfill(width, /)[source]

Pad a numeric string with zeros on the left, to fill a field of the given width.

The string is never truncated.