GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • For Vendors
  • Help
  • Create
  • Join
  • Login
  • Business Software
  • Open Source Software
  • SourceForge Podcast
  • Resources
  • Articles
  • Case Studies
  • Blog
  • Create
  • Join

This view

  • Original page
  • New address

GeezerVison is showing sourceforge.net — pytz

pytz is a Python library that brings the IANA/Olson timezone database into the Python runtime, enabling accurate, cross-platform timezone calculations for all the world’s timezones. It addresses a major limitation of Python’s built-in datetime.tzinfo by providing consistent support for daylight-saving transitions, historical offset changes, and ambiguous times (such as the end of DST). With pytz, developers can convert naïve datetime objects into timezone-aware ones, shift between timezones, and safely perform arithmetic across DST boundaries with methods like localize() and normalize(). Although Python 3.9 and newer include better built-in timezone support (via zoneinfo and external packages like tzdata), pytz remains widely used—especially in legacy codebases or in environments where backward compatibility matters.

Features

  • Full implementation of the IANA/Olson timezone database in Python
  • Methods to localize naïve datetimes and to normalize timezone transitions (especially around DST)
  • Lists of supported timezones (all_timezones, common_timezones) and country-to-timezones mappings
  • Works across a broad range of Python versions, including legacy 2.x and early 3.x versions
  • MIT-licensed, well-tested and mature library designed for production use
  • Clear API for timezone conversion, offset handling, and safe arithmetic in timezone-aware contexts

Project Samples

pytz Screenshot 1

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow pytz

pytz Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pytz!

Additional Project Details

Programming Language

C

Related Categories

C Libraries

Registered

2025-11-11
Similar Business Software
  • SurveyJS
    SurveyJS
    SurveyJS is an embeddable, self-hosted, white-label form builder for teams building custom forms, surveys, questionnaires, and other data collection tools inside web applications. It runs entirely on the client and is fully compatible with all modern JavaScript frameworks, including React,...
    See Software for SurveyJS
  • Mobiscroll
    Mobiscroll
    Mobiscroll is a commercial UI component library for scheduling and planning interfaces. It ships four views — Calendar, Scheduler with a time grid, Timeline and Agenda — plus date and time pickers and form components, as native builds for React, Angular, Vue, JavaScript and jQuery. It handles...
    See Software for Mobiscroll
  • Moment.js
    Moment.js
    A JavaScript date library for parsing, validating, manipulating, and formatting dates. Moment was designed to work both in the browser and in Node.js. All code should work in both of these environments, and all unit tests are run in both of these environments. Moment.js has been successfully...
    See Software for Moment.js
  • Webix
    Webix
    JavaScript UI library and framework for speeding up web development. JS Framework for cross-platform web Apps development 102 UI widgets and feature-rich CSS / HTML5 JavaScript controls. Save at least 3000+ development hours by using ready-made widgets and UI controls. Develop Web UI 30% faster....
    See Software for Webix
  • DHTMLX
    DHTMLX
    DHTMLX is a JavaScript UI library that provides a set of highly customizable and flexible components for building modern and responsive web applications. The library includes more than 30 UI components, such as Gantt, Scheduler, Kanban, diagrams, charts, grids, spreadsheets, calendars, trees,...
    See Software for DHTMLX
  • Dexie
    Dexie
    Dexie.js is a minimalistic and bulletproof IndexedDB wrapper library designed to simplify client-side storage. At only ~29k minified and gzipped, it offers a concise API that addresses the complexities of native IndexedDB, such as ambivalent error handling, poor queries, lack of reactivity, and...
    See Software for Dexie
Report inappropriate content
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.