maya
Datetimes for Humans.
Decision gist · record as of 2026-08-14
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—verify compatibility with your Python version and check whether its dependencies have introduced breaking changes before adopting it in new projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with low friction; the package is stable and production-ready but dormant, with the last release in January 2019 and no updates since then despite an active repository.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for most commercial and open-source projects.
last release 2019-01-06 (2777 days) · last repo commit 2024-07-19 · 3,411 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 175,051 downloads/mo, #10,272 on PyPI
Alternatives
Verify before relying
import maya
# Parse natural language
tomorrow = maya.when('tomorrow')
print(tomorrow.slang_time()) # '23 hours from now'
# Parse scraped datetime string
scraped = '2016-12-16 18:23:45.423992+00:00'
dt = maya.parse(scraped).datetime(to_timezone='US/Eastern', naive=True)
print(dt) # datetime.datetime(2016, 12, 16, 13, 23, 45, 423992)- Whether the package remains compatible with modern Python versions beyond 3.6, given the 2019 release date.
- Performance characteristics when parsing large volumes of datetime strings or handling complex timezone calculations.
- Whether pendulum, dateparser, and other runtime dependencies have introduced breaking changes since Maya's last release.
What it is and 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.
The 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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—verify compatibility with your Python version and check whether its dependencies have introduced breaking changes before adopting it in new projects.
Install
maya on PyPI
Before you install
Installation is straightforward with low friction; the package is stable and production-ready but dormant, with the last release in January 2019 and no updates since then despite an active repository.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for most commercial and open-source projects.
Quickstart
import maya
# Parse natural language
tomorrow = maya.when('tomorrow')
print(tomorrow.slang_time()) # '23 hours from now'
# Parse scraped datetime string
scraped = '2016-12-16 18:23:45.423992+00:00'
dt = maya.parse(scraped).datetime(to_timezone='US/Eastern', naive=True)
print(dt) # datetime.datetime(2016, 12, 16, 13, 23, 45, 423992)
Verify before relying
- Whether the package remains compatible with modern Python versions beyond 3.6, given the 2019 release date.
- Performance characteristics when parsing large volumes of datetime strings or handling complex timezone calculations.
- Whether pendulum, dateparser, and other runtime dependencies have introduced breaking changes since Maya's last release.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packageshumanizepytzdateparsertzlocalpendulumsnaptime |
| Maintenance | Dormant 2,777 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 175,051 / month, #10,272 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: ImplementationProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: maya-0.6.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “human-friendly datetime parsing”
- mayaMaya provides a human-friendly API for parsing, formatting, and…
- deloreanDelorean simplifies Python datetime manipulation by wrapping the…
- agoConverts datetime, timedelta, and timestamp objects into…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also arrow · parsedatetime · pendulum · delorean · aniso8601 · DateTime · iso8601 · metomi-isodatetime · times · dateformat