$npx skillfedfor your agent

uptime

Cross-platform uptime library

With conditionsPyPI SystemReleased Oct 2013373.9K downloads / moUNKNOWNSource build

Decision gist · record as of 2026-08-14

sdist only — uptime-3.0.1.tar.gz · builds from source
v3.0.1 · released 2013-10-07

Yes, if you need a simple uptime query on a supported platform and can tolerate dormant maintenance. No, if you require active support or compatibility with modern Python 3 versions—test thoroughly on your target OS first. The lack of recent updates and unclear current license status make it risky for production use without verification.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires platform-specific system calls to retrieve uptime; behavior and availability vary significantly across operating systems (Linux, macOS, Windows, BSD, Solaris, BeOS).
  • High install friction due to platform-specific system calls required; package is dormant (last release 2013-10-07, last commit 2024-06-10) with no runtime dependencies, so maintenance burden is minimal but updates are infrequent.

License · maintenance · safety

UNKNOWN (permissive) — Licensed under BSD (permissive), so commercial and private use are unrestricted; however, license_raw is marked UNKNOWN, so verify the actual license text in the repository before relying on it in a commercial context.

last release 2013-10-07 (4694 days) · last repo commit 2024-06-10 · 33 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 373,889 downloads/mo, #7,153 on PyPI

Verify before relying

pip install uptime

from uptime import uptime
print(uptime())

# Or from command line:
python -m uptime
  • Whether the package actually works on all advertised platforms (BeOS, SunOS/Solaris) given its dormant maintenance status.
  • Current Python version compatibility—description says 2.5+, but Python 2 is long deprecated; unclear if it works on modern Python 3 versions.
  • Why install_friction is marked 'high' when there are zero runtime dependencies—likely due to compiled/system-level dependencies not captured in the metadata.
Same gist for agents: .md · .json

What it is and what it does

Uptime is a lightweight library that retrieves how long the system has been running since its last boot. It provides both a Python API (the `uptime()` function) and a command-line interface, making it useful for monitoring, logging, or scripting tasks that need to know system uptime. The package is cross-platform in intent, with classifiers for Linux, macOS, Windows, BSD, Solaris, and other operating systems.

The library has no Python dependencies, but it relies on platform-specific system calls to fetch uptime data, which means behavior and reliability vary by OS. The package is dormant—last released in 2013, with minimal recent maintenance—so it may not work reliably on modern Python versions or newer operating systems without fixes.

Use it for

  • Monitor system uptime in a Python script or monitoring dashboard to track system stability.
  • Log uptime at application startup for diagnostics or audit trails.
  • Build a cross-platform system health check that includes uptime as one metric.
  • Automated testing or CI/CD pipelines that need to verify system state before running tests.
  • Command-line tool to quickly check when the system was last booted.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a simple uptime query on a supported platform and can tolerate dormant maintenance.

No, if you require active support or compatibility with modern Python 3 versions—test thoroughly on your target OS first. The lack of recent updates and unclear current license status make it risky for production use without verification.

Install

uptime on PyPI

Before you install

High install friction due to platform-specific system calls required; package is dormant (last release 2013-10-07, last commit 2024-06-10) with no runtime dependencies, so maintenance burden is minimal but updates are infrequent.

Requires platform-specific system calls to retrieve uptime; behavior and availability vary significantly across operating systems (Linux, macOS, Windows, BSD, Solaris, BeOS).

License in practice

Licensed under BSD (permissive), so commercial and private use are unrestricted; however, license_raw is marked UNKNOWN, so verify the actual license text in the repository before relying on it in a commercial context.

Quickstart

pip install uptime

from uptime import uptime
print(uptime())

# Or from command line:
python -m uptime

Verify before relying

  • Whether the package actually works on all advertised platforms (BeOS, SunOS/Solaris) given its dormant maintenance status.
  • Current Python version compatibility—description says 2.5+, but Python 2 is long deprecated; unclear if it works on modern Python 3 versions.
  • Why install_friction is marked 'high' when there are zero runtime dependencies—likely due to compiled/system-level dependencies not captured in the metadata.

Package facts

LicenseUNKNOWN permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 4,694 days since the last release
Last repo commit
First released
Downloads373,889 / month, #7,153 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseOperating System :: BeOSOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: Microsoft :: Windows :: Windows 95/98/2000Operating System :: Other OSOperating System :: POSIX :: BSDOperating System :: POSIX :: LinuxOperating System :: POSIX :: OtherOperating System :: POSIX :: SunOS/SolarisProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: System

Evidence: uptime-3.0.1.tar.gz

Tags

Capabilities
system uptime libraryget system boot timecross-platform uptimepython uptime moduletime since last rebootsystem uptime commandboot time checker
Topics
system-monitoringcross-platform

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 › “system uptime library”

  • uptimeRetrieves the system uptime (time since last boot) in a…
  • pytimeparseParses human-readable time expressions (like '2h32m', '1.2 minutes',…
  • uptime-kuma-apiA Python wrapper for the Uptime Kuma Socket.IO API that lets you…

Give your agent the search over MCP, or paste the wish link into any chat.

More System packages

filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
distro Worth it
PyPI · Python Modules · released Dec 2023

Distro provides a reliable, machine-readable API to query the Linux or BSD distribution name, version, codename, and other OS platform details, replacing Python's deprecated `platform.linux_distribution` function.

Install it if you need to detect or report the Linux/BSD distribution your code runs on.

Apache-2.0pure Python · 3.6+
417.9Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
aiofile Worth it
PyPI · Libraries · released Aug 2026

Provides asynchronous file I/O operations for asyncio programs, with automatic selection of the best available backend (io_uring, libaio, thread-based, or pure Python) depending on your system.

Apache-2.0pure Python · 3.11+
75.4Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo

See also uptime-kuma-api · uptime-kuma-api-v2 · pytimeparse · python-crontab · pyusb · inputimeout · extra-platforms · py-cpuinfo · sysv-ipc