awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateOpen-source alternativesSelf-hosted softwareBlogHartă site
ProiectDespreHow we rankPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
python-pendulum avatar

python-pendulum/pendulum

0
View on GitHub↗
6,668 stele·429 fork-uri·Python·MIT·2 vizualizăripendulum.eustace.io↗

Pendulum

Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with native timezone awareness. It extends the native Python datetime class to maintain compatibility while providing a specialized engine for date arithmetic and timezone management.

The library features a dedicated ISO 8601 and RFC 3339 parser that converts standardized strings into date objects without requiring manual format strings. It also includes a relative time generator for producing natural language descriptions of time differences and a timezone management tool that automatically handles daylight savings transitions.

Additional capabilities cover temporal data arithmetic, such as measuring complex intervals and iterating through date ranges. The library provides tools for localized date rendering, calendar boundary snapping, and system time mocking to simulate time travel for software testing.

Features

  • Date and Time Libraries - Implements a comprehensive suite for creating, manipulating, and formatting date and time objects with timezone awareness.
  • Daylight Savings Normalizations - Automatically handles daylight savings transitions and normalizes dates across DST boundaries.
  • String-to-Datetime Parsing - Features a dedicated parser that converts ISO 8601 and RFC 3339 strings into timezone-aware objects.
  • Date Arithmetic Logic - Provides computational tools for adding or subtracting specific durations of time from date instances.
  • Arithmetic Engines - Ships a specialized engine for date arithmetic, including adding durations and iterating through ranges.
  • Date String Parsers - Provides specialized utilities for automatically converting ISO 8601 and RFC 3339 strings into native date objects.
  • Temporal Arithmetic - Performs precise additions and subtractions of time units and calculates complex intervals between dates.
  • Date Formatting Utilities - Converts date objects into human-readable strings using standard ISO formats or custom token systems.
  • DateTime Libraries - Provides a comprehensive Python library for timezone-aware date and time manipulation.
  • Date Difference Calculators - Computes the duration between two date instances and expresses the result in units like hours or days.
  • Relative Time Humanization - Produces natural language descriptions of time differences, such as '2 hours ago' or '1 month from now'.
  • Temporal Interval Measurements - The library measures the distance between two points in time using complex units like years and months.
  • ISO 8601 Parsers - Includes specialized parsers for converting ISO 8601 and RFC 3339 standardized strings into programmable objects.
  • Timezone Management - Provides advanced logic for managing geographic timezones and handling wall-clock shifts across different regions.
  • Temporal - Produces a series of timestamps by iteratively adding fixed durations between two boundary points.
  • Chronological Comparisons - Determines if one date occurs before, after, or at the same time as another using comparison operators.
  • Date Component Extractors - Retrieves specific time components such as day of year or UTC offset as integers or floats.
  • Date Component Modifiers - Creates new date instances by updating specific components like year or month without mutating the original object.
  • Standard Format Recognizers - Outputs dates in predefined industry formats including Atom, Cookie, RSS, and various RFC specifications.
  • Date Sequence Generators - Generates programmatic sequences of dates between two points using fixed intervals for time-series analysis.
  • Temporal Boundary Normalization - Snaps a date to the start or end of a specific calendar period, such as the beginning of a week or month.
  • Date String Formatters - Renders dates into human-readable strings using specific language locales for names and phrases.
  • Date Difference Phrases - Produces natural language descriptions of time differences, such as '2 hours ago', with locale support.
  • Immutable Data Patterns - Implements an immutable object pattern for date instances to prevent unintended side effects during arithmetic.
  • Date-Time Format Strings - Uses a mapping of custom tokens and locale-specific strings to translate date attributes into human-readable text.
  • System Clock Mocks - Intercepts system clock calls to return predefined timestamps for consistent results during automated testing.
  • Virtual Time Testing - Provides utilities to decouple the application from the system clock for deterministic time-sensitive testing.
  • Relative Time Formatting - The library converts time differences into human-readable strings or localized words for improved user presentation.
  • System Clock Mocking - The library manipulates the perceived current time by shifting to absolute or relative points in the future or past.
  • Date And Time - Simplified datetime handling and arithmetic.

Istoric stele

Graficul istoricului de stele pentru python-pendulum/pendulumGraficul istoricului de stele pentru python-pendulum/pendulum

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Pendulum

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Pendulum.
  • sdispater/pendulumAvatar sdispater

    sdispater/pendulum

    6,668Vezi pe GitHub↗

    Pendulum is a Python date and time library that provides a simplified interface for date arithmetic, ISO parsing, localization, and timezone management. It serves as a replacement for the standard library datetime module, extending existing classes to maintain compatibility while offering a more intuitive management interface. The library distinguishes itself through a natural language date formatter that translates time differences into localized strings and a dedicated ISO 8601 date parser. It also includes tools for time-dependent logic testing, allowing the system clock to be mocked or fi

    Python
    Vezi pe GitHub↗6,668
  • formkit/tempoAvatar formkit

    formkit/tempo

    2,581Vezi pe GitHub↗

    Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and calculating dates and times. It serves as a date arithmetic engine, a locale-aware formatter, and a timezone offset manager for native JavaScript date objects. The library includes a dedicated ISO 8601 date parser for validating and converting standardized strings into date objects. It handles geographic normalization through IANA timezone offset management and utilizes the native Internationalization API for region-specific date formatting. The project covers a broad range of date and

    TypeScriptdatedate-formattingdatetime
    Vezi pe GitHub↗2,581
  • arrow-py/arrowAvatar arrow-py

    arrow-py/arrow

    9,046Vezi pe GitHub↗

    Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps by wrapping the Python standard library. It serves as a tool for managing date objects, handling timezone offsets, and performing relative date calculations. The library is distinguished by its ability to humanize timestamps into natural language relative descriptions across multiple locales and parse human-readable time phrases back into precise date objects. It also features a specialized parser for converting ISO 8601 strings and custom formatted text into date objects. Br

    Python
    Vezi pe GitHub↗9,046
  • tc39/proposal-temporalAvatar tc39

    tc39/proposal-temporal

    3,701Vezi pe GitHub↗

    This project is a proposal for a new immutable date and time API in JavaScript. It serves as a precision time-tracking library and a multi-calendar date engine designed to replace the legacy Date object. The system is distinguished by its support for multiple calendar systems beyond the ISO standard and its use of IANA-based time zone resolution. It provides a framework for managing daylight saving transitions and UTC offsets while maintaining nanosecond precision for global timestamps. The API covers broad functional areas including complex date and time arithmetic, locale-aware formatting,

    HTML
    Vezi pe GitHub↗3,701
Vezi toate cele 30 alternative pentru Pendulum→

Frequently asked questions

What does python-pendulum/pendulum do?

Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with native timezone awareness. It extends the native Python datetime class to maintain compatibility while providing a specialized engine for date arithmetic and timezone management.

What are the main features of python-pendulum/pendulum?

The main features of python-pendulum/pendulum are: Date and Time Libraries, Daylight Savings Normalizations, String-to-Datetime Parsing, Date Arithmetic Logic, Arithmetic Engines, Date String Parsers, Temporal Arithmetic, Date Formatting Utilities.

What are some open-source alternatives to python-pendulum/pendulum?

Open-source alternatives to python-pendulum/pendulum include: sdispater/pendulum — Pendulum is a Python date and time library that provides a simplified interface for date arithmetic, ISO parsing,… formkit/tempo — Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and… arrow-py/arrow — Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps… tc39/proposal-temporal — This project is a proposal for a new immutable date and time API in JavaScript. It serves as a precision time-tracking… malcommac/swiftdate — SwiftDate is a date manipulation library for the Swift programming language. It provides a toolkit for parsing,… dromara/carbon — Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic…