{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"}],"enrichment":{"capability":"Maya provides a human-friendly API for parsing, formatting, and manipulating datetimes with automatic timezone handling, supporting natural language input like 'tomorrow' and output in ISO 8601, RFC 2822, and RFC 3339 formats.","skillfed_tags":["datetime-parsing","timezone-handling","web-scraping"],"use_cases":["Parse scraped datetime strings from websites and normalize them to a consistent timezone for storage or comparison.","Generate human-readable time deltas ('an hour ago', 'tomorrow') for user-facing interfaces without manual formatting.","Perform calendar calculations on events with start and end times, comparing overlaps or generating time intervals.","Convert between multiple datetime formats (ISO 8601, RFC 2822, RFC 3339) for API responses or data interchange.","Handle timezone-aware datetime arithmetic that produces identical results across systems with different locale settings."],"what_it_does":"Maya is a datetime library built around the practical headaches of parsing and manipulating dates from websites and calendar events. It wraps timezone-aware datetime handling with a human-centric API, letting you parse natural language like 'tomorrow' or '2011-02-07', convert between ISO 8601, RFC 2822, and RFC 3339 formats, and perform timezone algebra that behaves identically across all machines regardless of system locale.\n\nThe library includes a MayaDT class for individual timestamps and a MayaInterval class for time ranges, supporting operations like adding days, snapping to calendar boundaries, and generating human-readable output ('23 hours from now'). It depends on humanize, pytz, dateparser, tzlocal, pendulum, and snaptime to handle the complexity of timezone conversions, locale-aware formatting, and flexible date parsing.","worth_installing":"Yes, if you are working with web scraping or calendar events and need reliable timezone handling and natural language parsing. The package is stable and production-ready, but be aware it has been dormant since January 2019 with no recent updates\u2014verify compatibility with your Python version and check whether its dependencies have introduced breaking changes before adopting it in new projects."},"id":"maya","links":{"html":"https://skillfed.io/packages/maya","md":"https://skillfed.io/packages/maya.md","pypi":"https://pypi.org/project/maya/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2019-01-06","license_spdx":null,"license_treatment":"permissive","name":"maya","python_support":"unspecified","summary":"Datetimes for Humans."},"popularity":{"monthly_downloads":175051,"position":10272,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.1"}
