awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
arrow-py avatar

arrow-py/arrow

0
View on GitHub↗
9,046 stars·757 forks·Python·Apache-2.0·6 vuesarrow.readthedocs.io↗

Arrow

Arrow est une bibliothèque Python de gestion des dates et heures qui simplifie la création et la manipulation de timestamps en encapsulant la bibliothèque standard de Python. C'est un outil efficace pour gérer les objets date, les décalages horaires et effectuer des calculs de dates relatives.

La bibliothèque se distingue par sa capacité à « humaniser » les timestamps en descriptions textuelles naturelles dans plusieurs langues, et à convertir des phrases temporelles lisibles par l'homme en objets date précis. Elle intègre également un parseur spécialisé pour convertir les chaînes ISO 8601 et les formats de texte personnalisés.

Ses fonctionnalités incluent l'arithmétique temporelle pour le décalage de dates, la génération de plages pour calculer des durées, et l'arrondi aux unités de temps. Elle gère aussi les fuseaux horaires mondiaux, les transitions d'heure d'été, ainsi que la traduction localisée pour le formatage international des dates.

Features

  • Date and Time Libraries - Provides a simplified Python library for parsing, validating, manipulating, and formatting date and time values.
  • Standard Library Wrappers - Provides a simplified interface that wraps the Python standard library datetime module to improve ergonomics.
  • Relative Date Generations - Enables the creation of date objects using relative offsets like days, weeks, or months.
  • Date Object Creators - Instantiates date and time objects from common input standards such as ISO 8601.
  • Date String Parsers - Automatically converts ISO 8601 strings or custom text into native date objects.
  • Temporal Arithmetic - Provides functions for adding or subtracting time increments from timestamps while accounting for calendar variations.
  • Natural Language Formatters - Translates timestamps and time intervals into colloquial, natural language phrases based on locale.
  • Relative Time Humanization - Translates timestamps into localized, human-readable relative time descriptions like 'two hours ago'.
  • Natural Language Time Parsers - Parses human-readable time phrases and relative strings back into precise date objects using rule-based patterns.
  • ISO 8601 Parsers - Implements specialized parsing to convert ISO 8601 compliant date-time strings into Python date objects.
  • Temporal Natural Language Parsing - Provides utilities to parse human-readable date and time strings into structured temporal objects.
  • Timezone Management - Provides comprehensive logic for managing global timezone offsets and daylight savings transitions.
  • Timezone Conversions - Changes the timezone of a timestamp and handles corresponding offset conversions for different geographic regions.
  • Chronological Comparisons - Provides logic for determining chronological relationships to check if one timestamp occurs before or after another.
  • Relative Offset Management - Shifts dates and times forward or backward using relative offsets for units ranging from microseconds to years.
  • Date Manipulation Utilities - Provides tools for performing arithmetic and transformations to adjust timestamps by specified durations.
  • Bidirectional Parsing - Transforms date objects into strings and parses strings back into date objects using automated rules.
  • Calendar Date Calculations - Calculates date shifts by adding or subtracting calendar units while accounting for varying month and year lengths.
  • Temporal Offset Calculations - Performs calculations of time intervals and relative offsets such as hours, days, or weeks.
  • Temporal Rounding - Provides utilities to align timestamps to the nearest floor or ceiling boundary based on specific time units.
  • Token-Based Templates - Generates formatted strings from date objects using custom token patterns and built-in templates.
  • Locale Mappings - Uses lookup tables and mapping logic to translate temporal components into language-specific equivalents for globalized output.
  • Timestamp Generators - Generates date and time objects from simplified input options and current system time.
  • Date Formatting Utilities - Offers utilities for formatting date and time values into human-readable strings via customizable patterns.
  • Date Localizations - Adapts date representations and names to specific global locales and languages.
  • Temporal String Interpolation - Transforms date objects into human-readable strings using customized alphanumeric tokens and predefined mappings.
  • Temporal Span Calculators - Calculates time spans, ranges, floors, and ceilings for frames ranging from microseconds to years.
  • Date Range Iterators - Generates programmatic sequences of date objects between two points in time using a specified interval.
  • Temporal Translation Mappings - Uses external mapping files to swap date and time components with language-specific equivalents.
  • Interpolation Tokens - Translates custom alphanumeric tokens into date and time components for flexible string generation.
  • Internationalized Date Formatting - Adapts date and time strings to specific languages and locales for user-facing displays.
  • Data Manipulation Libraries - Enhanced work with dates and times.
  • Date And Time - Human-friendly date and time manipulation.

Historique des stars

Graphique de l'historique des stars pour arrow-py/arrowGraphique de l'historique des stars pour arrow-py/arrow

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait arrow-py/arrow ?

Arrow est une bibliothèque Python de gestion des dates et heures qui simplifie la création et la manipulation de timestamps en encapsulant la bibliothèque standard de Python. C'est un outil efficace pour gérer les objets date, les décalages horaires et effectuer des calculs de dates relatives.

Quelles sont les fonctionnalités principales de arrow-py/arrow ?

Les fonctionnalités principales de arrow-py/arrow sont : Date and Time Libraries, Standard Library Wrappers, Relative Date Generations, Date Object Creators, Date String Parsers, Temporal Arithmetic, Natural Language Formatters, Relative Time Humanization.

Quelles sont les alternatives open-source à arrow-py/arrow ?

Les alternatives open-source à arrow-py/arrow incluent : sdispater/pendulum — Pendulum is a Python date and time library that provides a simplified interface for date arithmetic, ISO parsing,… dromara/carbon — Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic… python-pendulum/pendulum — Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with… spencermountain/spacetime — Spacetime is a JavaScript timezone library and date manipulation framework designed for parsing, formatting, and… malcommac/swiftdate — SwiftDate is a date manipulation library for the Swift programming language. It provides a toolkit for parsing,… formkit/tempo — Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and…

Alternatives open source à Arrow

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Arrow.
  • sdispater/pendulumAvatar de sdispater

    sdispater/pendulum

    6,668Voir sur 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
    Voir sur GitHub↗6,668
  • dromara/carbonAvatar de dromara

    dromara/carbon

    5,221Voir sur GitHub↗

    Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic interface to simplify temporal data handling and improve the readability of date and time manipulations. The library is distinguished by its support for multi-calendar date conversion, allowing transformations between Gregorian, Chinese Lunar, Persian, and Hebrew calendar systems. It also includes a localized temporal framework that uses ISO 639-1 codes to format dates and relative time differences across multiple language locales. Additional capabilities cover global time zone man

    Go
    Voir sur GitHub↗5,221
  • python-pendulum/pendulumAvatar de python-pendulum

    python-pendulum/pendulum

    6,668Voir sur GitHub↗

    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 automati

    Python
    Voir sur GitHub↗6,668
  • spencermountain/spacetimeAvatar de spencermountain

    spencermountain/spacetime

    4,109Voir sur GitHub↗

    Spacetime is a JavaScript timezone library and date manipulation framework designed for parsing, formatting, and managing dates across global timezones. It provides an internationalization tool for localizing date components and includes static type definitions for TypeScript environments to ensure type checking and autocompletion. The project features a plugin system for custom date logic, allowing the injection of specialized methods and behaviors into date objects. This extensibility enables the implementation of project-specific time requirements through prototype-based method extensions.

    JavaScriptdate-formattingdaylight-savingstime-formatting
    Voir sur GitHub↗4,109
  • Voir les 30 alternatives à Arrow→