openpyxl.styles.numbers module

class openpyxl.styles.numbers.NumberFormat(numFmtId=None, formatCode=None)[source]

Bases: Serialisable

formatCode

Values must be of type <class ‘str’>

numFmtId

Values must be of type <class ‘int’>

class openpyxl.styles.numbers.NumberFormatDescriptor(*args, **kw)[source]

Bases: String

class openpyxl.styles.numbers.NumberFormatList(count=None, numFmt=())[source]

Bases: Serialisable

property count
numFmt

A sequence (list or tuple) that may only contain objects of the declared type

openpyxl.styles.numbers.builtin_format_code(index)[source]

Return one of the standard format codes by index.

openpyxl.styles.numbers.builtin_format_id(fmt)[source]

Return the id of a standard style.

openpyxl.styles.numbers.is_builtin(fmt)[source]
openpyxl.styles.numbers.is_date_format(fmt)[source]
openpyxl.styles.numbers.is_datetime(fmt)[source]

Return date, time or datetime

openpyxl.styles.numbers.is_timedelta_format(fmt)[source]