argparse

CLI arguments parser. Native port of python's argparse.

npm says / week

npm says 365,599,084

real installs / week

≈ 366M

high confidence

noise under 1% of npm's count, so filtering barely changes it.

Most used major version: 2, not the latest one, with 65% of last week's downloads above the crawler floor. Most used single version: 2.0.1.

Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count. Snapshot from the daily build of Nov 27, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live from the npm API.

How many people use argparse?

npm counted 365,599,084 downloads of argparse in the last 7 days. Nobody can count people exactly, npm included: it does not record who downloaded what. After removing mirror spikes and crawlers, about 366M look like real installs. At this scale most of them come from CI, builds and other packages that depend on argparse, so the number of people behind them is far smaller.

Is argparse still maintained?

Most likely yes, going by its releases. The latest version, 3.0.4, came out on Oct 24, 2026. The last 12 months saw 5 stable releases, typically 26 days apart. It was first published on May 16, 2012. npm lists 1 maintainer.

Is argparse still used?

Downloads with publish spikes removed are up 42% over 3 months and up 168% over 11 months. For scale, the median of the 582 packages we track, which lean towards today's most downloaded, is up 184% over 11 months, so this one is behind that. Last week, 65% of downloads above the crawler floor were on major version 2, not the latest one; the most used single version was 2.0.1, with 65%. Weekdays get 1.9× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Crawlers account for about 679 downloads a week, roughly 19 per version.

Monthly downloads of argparse

The busiest month was Oct 2026, with about 47,469,080 downloads a day once publish spikes are removed; the quietest was Dec 2025 (the holiday season), with about 16,993,904.

monthnpm downloadspublish spikes removedreal installsvs month before
Oct 2026 1,329,134,226 0 1.33B up 11%
Sep 2026 1,283,373,762 0 1.28B up 18%
Aug 2026 1,121,714,308 0 1.12B about flat
Jul 2026 1,074,593,331 0 1.07B about flat
Jun 2026 990,851,224 0 991M up 11%
May 2026 920,285,937 0 920M about flat
Apr 2026 854,708,820 0 855M up 10%
Mar 2026 805,296,003 0 805M up 17%
Feb 2026 622,213,222 0 622M up 18%
Jan 2026 582,507,672 0 582M–583M up 11%
Dec 2025 526,811,025 0 527M —

Whole months through Oct 31, 2026. Publish spikes are found day by day and summed per month. Real installs apply this week's crawler share to each month's downloads (the upper end also keeps the removed spikes), so they follow npm's curve rather than measure it. The change compares spike-free downloads per day.

Where do the downloads of argparse come from?

Probably mostly through other packages. Each package below requires the one above it, and their weekly downloads on the matching versions line up within about 30%. This is an inference from download counts, not something npm records.

  1. argparse 2.0.1 366M a week
  2. js-yaml 4.3.2 388M a week

Past js-yaml the trail splits or we can't follow it. They still count as real installs, but the projects behind them may never have chosen argparse directly. How a package ends up like this.

How the estimate works

  1. Cut the spike every new version gets from mirrors and scanners in its first days.
  2. Subtract the crawler floor: the flat count crawlers download from every version each week.
  3. Show what is left as a range, with a confidence level. It still includes CI and dependency installs, so it is not a count of people.

Read the methodology