neotime
Nanosecond resolution temporal types
What it is and what it does
Neotime is a temporal data library that extends the standard library's datetime module with nanosecond-precision classes for Duration, Date, Time, and DateTime. It draws design inspiration from ISO-8601 and aims to provide a similar API surface to datetime but with finer time resolution.
The package is abandoned as of 2018-12-04 with no recent maintenance or updates. It was built for Python 2.7 and 3.4–3.7, making it unsuitable for modern Python environments without verification of compatibility. No runtime dependencies are required, but the high install friction and lack of active support mean it is a risky choice for new projects.
Use it for:
- Working with temporal data in legacy systems or projects locked to Python 2.7 or early Python 3 versions.
- Prototyping or learning about nanosecond-precision time handling in a datetime-like API.
- Historical code maintenance where neotime is already a dependency and cannot be easily replaced.
- Applications requiring ISO-8601 inspired temporal type design.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Neotime provides temporal data classes (Duration, Date, Time, DateTime) with nanosecond precision, similar to the standard library's datetime module but with finer granularity.
No. The package is abandoned (last release 2018-12-04) and targets obsolete Python versions (2.7, 3.4–3.7). Modern Python users should use the standard library's datetime module or actively maintained alternatives. Install only if you are maintaining legacy code that already depends on it.
Install
neotime on PyPI
pip
pip install neotimeuv
uv add neotimepoetry
poetry add neotimeInstalling neotime
Before you install
Installation friction is high; the package is abandoned (last release 2018-12-04, no activity for 2810 days). It targets Python 2.7 and 3.4–3.7, making it incompatible with modern Python versions. No active maintenance or support.
License in practice
Licensed under Apache License, Version 2.0 (permissive), so commercial and private use are unrestricted, but the abandoned status means no ongoing legal or security updates.
Quickstart
pip install --pre neotime
from neotime import DateTime, Duration
dt = DateTime(2018, 12, 4, 12, 0, 0, 0)
duration = Duration(days=1)
Package targets Python 2.7 and 3.4–3.7; compatibility with modern Python versions is unverified. No active maintenance.
Verify before relying
- Whether neotime actually works on Python versions beyond 3.7 despite classifier claims.
- Whether nanosecond precision is truly achieved or if it is a design goal not yet implemented.
- Real-world performance characteristics compared to datetime for high-frequency temporal operations.
Package facts
| License | Apache License, Version 2.0 (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,810 days since the last release |
| First released | |
| Downloads | 269,708/month — #8,251 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: neotime-1.7.4.tar.gz
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
nanotimeNanotime provides a 64-bit UNIX timestamp type…
permissive · top 15,000 on PyPI
hightimeHightime provides drop-in replacements for…
permissive · top 15,000 on PyPI
isodateParses and formats ISO 8601 date, time,…
permissive · top 1,000 on PyPI
aniso8601Parses ISO 8601 date, time, datetime, duration,…
permissive · top 5,000 on PyPI
durationpyConverts between Python's `datetime.timedelta`…
permissive · top 1,000 on PyPI
cftimeConverts between calendar dates and numeric…
permissive · top 5,000 on PyPI
isodurationParses and manipulates ISO 8601 duration…
permissive · top 1,000 on PyPI
wheneverWhenever provides type-safe, DST-aware datetime…
permissive · top 5,000 on PyPI
pytimeparseParses human-readable time expressions (like…
permissive · top 1,000 on PyPI