$npx skillfedfor your agent

epiweeks

Epidemiological weeks calculation based on CDC and ISO week numbering systems

Worth itPyPI Scientific/EngineeringReleased Jan 2026187.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — epiweeks-2.4.0-py3-none-any.whl
v2.4.0 · released 2026-01-07 · Python >=3.10

Yes. Active maintenance, zero dependencies, permissive license, production-stable status, and validated accuracy against CDC data make this a reliable choice for any epidemiological or public health application that needs precise week calculations. The low install friction and broad Python version support (3.10–3.14) add to its appeal.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction: pure Python wheel with zero runtime dependencies and active maintenance.
  • Last commit 2026-08-06, production-stable status, supports Python 3.10 through 3.14.

License · maintenance · safety

MIT (permissive) — MIT license (permissive): you may use, modify, and distribute this package freely in commercial and private projects, with minimal restrictions.

last release 2026-01-07 (219 days) · last repo commit 2026-08-06 · 20 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 187,718 downloads/mo, #9,959 on PyPI

Verify before relying

from epiweeks import Week, Year

week = Week(2019, 1)
print(week.enddate())
# 2019-01-05

for week in Year(2019).iterweeks():
    print(week.enddate())
  • Whether CDC reference validation covers all edge cases or only specific year ranges
  • Performance characteristics when iterating large numbers of weeks or years
Same gist for agents: .md · .json

What it is and what it does

EpiWeeks is a Python package for calculating epidemiological weeks according to two standards: the US CDC's MMWR (Morbidity and Mortality Weekly Report) system and the ISO week numbering system. It provides week-to-date conversions, date-to-week lookups, and iteration over weeks within a year, all validated against CDC reference data. The package is designed for disease surveillance, public health reporting, and epidemiological research where precise week boundaries matter.

The package offers a clean API with Week and Year objects that support comparison, arithmetic (addition and subtraction), and containment checks. It includes full type annotations, comprehensive input validation, and zero runtime dependencies, making it straightforward to integrate into public health applications or data pipelines.

Use it for

  • Generate CDC MMWR week boundaries for disease surveillance reports and epidemiological data aggregation.
  • Convert between calendar dates and epidemiological week numbers for public health data analysis.
  • Iterate over all weeks in a year to populate surveillance dashboards or export weekly summaries.
  • Validate and normalize week-based data from multiple public health sources using a single standard.
  • Build time-series analyses aligned to epidemiological weeks rather than calendar months or ISO weeks.

Worth the install?

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

Worth it

Yes.

Active maintenance, zero dependencies, permissive license, production-stable status, and validated accuracy against CDC data make this a reliable choice for any epidemiological or public health application that needs precise week calculations. The low install friction and broad Python version support (3.10–3.14) add to its appeal.

Install

epiweeks on PyPI

Before you install

Low friction: pure Python wheel with zero runtime dependencies and active maintenance. Last commit 2026-08-06, production-stable status, supports Python 3.10 through 3.14.

Requires Python 3.10 or later.

License in practice

MIT license (permissive): you may use, modify, and distribute this package freely in commercial and private projects, with minimal restrictions.

Quickstart

from epiweeks import Week, Year

week = Week(2019, 1)
print(week.enddate())
# 2019-01-05

for week in Year(2019).iterweeks():
    print(week.enddate())

Verify before relying

  • Whether CDC reference validation covers all edge cases or only specific year ranges
  • Performance characteristics when iterating large numbers of weeks or years

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 219 days since the last release
Last repo commit
First released
Downloads187,718 / month, #9,959 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 :: DevelopersIntended Audience :: Healthcare IndustryIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: UtilitiesTyping :: Typed

Evidence: epiweeks-2.4.0-py3-none-any.whl

Tags

Capabilities
epidemiological week calculationCDC MMWR week numberingISO week calculationdisease surveillance weekspublic health week datesepiweek calendarweek start end dates
Topics
epidemiologypublic-healthcalendar
PyPI keywords
calendarcdcepidemiologyepiweekisommwrpublic healthsurveillance

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 › “epidemiological week calculation”

  • epiweeksCalculates epidemiological weeks using US CDC (MMWR) and ISO week…
  • iso-week-dateParses and manipulates ISO Week date strings in YYYY-WNN and…
  • isoweekProvides a Week class representing ISO 8601 weeks (Monday–Sunday)…

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

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also isoweek · iso-week-date · convertdate · datedelta · simple-icd-10-cm · workadays · jdcal · ummalqura · suntimes · hijridate