Skip to content

pytz 2026.1.post1

Version history | Download JSON

  • PyPI https://pypi.org/project/pytz/

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 0
        "Any" : 0
        "Untyped" : 82
    • 0.0% coverage
    • 0.0% coverage (strict)
    • 82 typable
      • 0 typed
      • 82 untyped
      • 0 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 8
        "classes" : 58
        "other" : 12
    • 3 functions (+0 overloads)
      • 5 parameters
    • 12 classes
      • 30 methods (+0 overloads)
        • 28 parameters
      • 0 properties
    • 6 modules
      • 12 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
pytz 0.0% 0.0% 28 0
pytz.exceptions 0.0% 0.0% 0 0
pytz.lazy 0.0% 0.0% 11 0
pytz.reference 0.0% 0.0% 37 0
pytz.tzfile 0.0% 0.0% 5 0
pytz.tzinfo 0.0% 0.0% 1 0

Incomplete Annotations

pytz (28 missing, 0 any)

Symbol Typable Typed Any
func timezone 2 0 0
attr country_timezones 1 0 0
attr all_timezones_set 1 0 0
func FixedOffset 3 0 0
attr country_names 1 0 0
attr all_timezones 1 0 0
attr common_timezones_set 1 0 0
attr utc 1 0 0
meth UTC.fromutc 2 0 0
meth UTC.utcoffset 2 0 0
meth UTC.tzname 2 0 0
meth UTC.dst 2 0 0
meth UTC.reduce 1 0 0
meth UTC.localize 3 0 0
meth UTC.normalize 3 0 0
meth UTC.repr 1 0 0
meth UTC.str 1 0 0

pytz.lazy (11 missing, 0 any)

Symbol Typable Typed Any
meth LazyList.new 2 0 0
meth LazyDict.getitem 2 0 0
meth LazyDict.contains 2 0 0
meth LazyDict.iter 1 0 0
meth LazyDict.len 1 0 0
meth LazyDict.keys 1 0 0
meth LazySet.new 2 0 0

pytz.reference (37 missing, 0 any)

Symbol Typable Typed Any
attr Eastern 1 0 0
meth FixedOffset.init 3 0 0
meth FixedOffset.utcoffset 2 0 0
meth FixedOffset.tzname 2 0 0
meth FixedOffset.dst 2 0 0
attr Mountain 1 0 0
attr Pacific 1 0 0
meth USTimeZone.init 5 0 0
meth USTimeZone.repr 1 0 0
meth USTimeZone.tzname 2 0 0
meth USTimeZone.utcoffset 2 0 0
meth USTimeZone.dst 2 0 0
attr USTimeZone.stdoffset 1 0 0
attr USTimeZone.reprname 1 0 0
attr USTimeZone.stdname 1 0 0
attr USTimeZone.dstname 1 0 0
attr Central 1 0 0
meth LocalTimezone.utcoffset 2 0 0
meth LocalTimezone.dst 2 0 0
meth LocalTimezone.tzname 2 0 0
meth LocalTimezone._isdst 2 0 0

pytz.tzfile (5 missing, 0 any)

Symbol Typable Typed Any
attr tz 1 0 0
func build_tzinfo 3 0 0
attr base 1 0 0

pytz.tzinfo (1 missing, 0 any)

Symbol Typable Typed Any
meth BaseTzInfo.str 1 0 0

Type-Ignore Comments

No type-ignore comments.