$npx skillfedfor your agent

statistics

A Python 2.* port of 3.4 Statistics Module

SkipPyPI MathematicsReleased Oct 2014212.1K downloads / moApache License 2.0Source build

Decision gist · record as of 2026-08-14

sdist only — statistics-1.0.3.5.tar.gz · builds from source
v1.0.3.5 · released 2014-10-16

No. This package is abandoned (last updated 2014-10-16) and targets Python 2.6 and 2.7. Install only if you are maintaining legacy code on those versions that cannot be upgraded; otherwise, use Python 3's built-in statistics module.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 2.6 or 2.7; modern Python versions include statistics in the standard library.
  • High install friction due to abandonment: last release was 2014-10-16 and maintenance status is abandoned.
  • No updates in over 4320 days.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), so commercial and private use are permitted without restriction.

last release 2014-10-16 (4320 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 212,074 downloads/mo, #9,466 on PyPI

Verify before relying

pip install statistics

import statistics
data = [1, 2, 3, 4, 5]
mean_value = statistics.mean(data)
median_value = statistics.median(data)
  • Whether Python 2 environments where this package runs remain viable for production use.
  • Whether the 3to2 conversion process introduced any numerical accuracy or edge-case handling differences from the official Python 3.4 statistics module.
  • Current compatibility with Python 2.6 and 2.7 on modern systems.
Same gist for agents: .md · .json

What it is and what it does

This package is a backport of Python 3.4's statistics module to Python 2.x, created by converting the official CPython implementation using the 3to2 tool. It provides functions for calculating basic descriptive statistics—mean, median, mode, standard deviation, and variance—on numeric data.

The package was last released on 2014-10-16 and is no longer maintained. With a maintenance status of abandoned and no updates in 4320 days, this backport is effectively obsolete. Installing it serves no practical purpose for new code.

Use it for

  • Legacy Python 2.6 or 2.7 codebases that need basic statistical calculations and cannot be upgraded.
  • Educational projects demonstrating how to port standard library modules between Python versions using automated tools.
  • Historical reference for understanding how the official statistics module was adapted for older Python versions.

Worth the install?

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

Skip

No.

This package is abandoned (last updated 2014-10-16) and targets Python 2.6 and 2.7. Install only if you are maintaining legacy code on those versions that cannot be upgraded; otherwise, use Python 3's built-in statistics module.

Install

statistics on PyPI

Before you install

High install friction due to abandonment: last release was 2014-10-16 and maintenance status is abandoned. No updates in over 4320 days.

Requires Python 2.6 or 2.7; modern Python versions include statistics in the standard library.

License in practice

Licensed under Apache License 2.0 (permissive), so commercial and private use are permitted without restriction.

Quickstart

pip install statistics

import statistics
data = [1, 2, 3, 4, 5]
mean_value = statistics.mean(data)
median_value = statistics.median(data)

Verify before relying

  • Whether Python 2 environments where this package runs remain viable for production use.
  • Whether the 3to2 conversion process introduced any numerical accuracy or edge-case handling differences from the official Python 3.4 statistics module.
  • Current compatibility with Python 2.6 and 2.7 on modern systems.

Package facts

LicenseApache License 2.0 permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 4,320 days since the last release
First released
Downloads212,074 / month, #9,466 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 :: DevelopersProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7

Evidence: statistics-1.0.3.5.tar.gz

Tags

Capabilities
python 2 statistics functionsmean median mode calculationstatistical analysis python 2standard deviation variancemathematical statistics librarystatistics module backport
Topics
python-2-onlyabandoned
PyPI keywords
statistics

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 › “python 2 statistics functions”

  • statisticsProvides basic mathematical statistics functions (mean, median, mode,…
  • sqlean.pyA drop-in replacement for Python's sqlite3 module that bundles sqlean…
  • cody-specialProvides high-precision implementations of error functions (erf,…

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

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also runstats · rasterstats · pytensor-distributions · stockstats · backports.ssl · powerlaw · uncertainties · lovely-numpy · momentchi2 · statsmodels