$npx skillfedfor your agent

glob2

Version of the glob module that can capture patterns and supports recursive wildcards

SkipPyPI LibrariesReleased Jun 20191.1M downloads / moBSDSource build

Decision gist · record as of 2026-08-14

sdist only — glob2-0.7.tar.gz · builds from source
v0.7 · released 2019-06-10

No. The package is abandoned with no maintenance since 2021 and last tested on Python 3.3. Modern Python versions (3.10+) have incorporated recursive glob support natively via pathlib and the standard glob module. High install friction and lack of active maintenance make this a poor choice for new projects; use the standard library instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Package is source-only (tar.gz); requires a build environment and may need compilation depending on your Python setup.
  • High install friction due to source-only distribution.
  • Package is abandoned as of 2021 with no maintenance activity for several years, though the repository remains public and the last commit is from 2021-08-01.

License · maintenance · safety

BSD (permissive) — BSD license is permissive; you may use, modify, and distribute this package with minimal restrictions.

last release 2019-06-10 (2622 days) · last repo commit 2021-08-01 · 125 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,106,650 downloads/mo, #4,364 on PyPI

Verify before relying

import glob2

# Recursive glob
header_files = glob2.glob('src/**/*.h')

# Glob with pattern capture
for filename, (version,) in glob2.iglob('./binaries/project-*.zip', with_matches=True):
    print(version)
  • Whether the package works reliably with modern Python versions beyond 3.3 (last tested version mentioned in description).
  • Whether the abandoned status and lack of maintenance since 2021 poses compatibility risks with current Python releases.
Same gist for agents: .md · .json

What it is and what it does

glob2 is an extended version of Python's standard glob module that adds three main capabilities: the ability to capture matched text from glob patterns and return them alongside filenames, recursive ** wildcard syntax for matching across directory trees, and support for custom virtual filesystem implementations. It was based on Python 3.3.1's glob code and is compatible with both Python 2 and 3.

The package has no runtime dependencies and is designed as a drop-in enhancement to the standard library. However, it is distributed as source code only and has been abandoned since 2021, with the last release in 2019. While the repository remains public, there has been no maintenance activity for several years, which may affect compatibility with modern Python versions.

Use it for

  • Find all files matching a pattern recursively across nested directories using ** syntax.
  • Extract version numbers or other captured groups from filenames while globbing.
  • Implement custom globbing logic over virtual or remote filesystems by subclassing Globber.
  • Migrate code from bash globstar patterns to Python with compatible ** recursive syntax.

Worth the install?

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

Skip

No.

The package is abandoned with no maintenance since 2021 and last tested on Python 3.3. Modern Python versions (3.10+) have incorporated recursive glob support natively via pathlib and the standard glob module. High install friction and lack of active maintenance make this a poor choice for new projects; use the standard library instead.

Install

glob2 on PyPI

Before you install

High install friction due to source-only distribution. Package is abandoned as of 2021 with no maintenance activity for several years, though the repository remains public and the last commit is from 2021-08-01.

Package is source-only (tar.gz); requires a build environment and may need compilation depending on your Python setup.

License in practice

BSD license is permissive; you may use, modify, and distribute this package with minimal restrictions.

Quickstart

import glob2

# Recursive glob
header_files = glob2.glob('src/**/*.h')

# Glob with pattern capture
for filename, (version,) in glob2.iglob('./binaries/project-*.zip', with_matches=True):
    print(version)

Verify before relying

  • Whether the package works reliably with modern Python versions beyond 3.3 (last tested version mentioned in description).
  • Whether the abandoned status and lack of maintenance since 2021 poses compatibility risks with current Python releases.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 2,622 days since the last release
Last repo commit
First released
Downloads1,106,650 / month, #4,364 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries

Evidence: glob2-0.7.tar.gz

Tags

Capabilities
recursive glob pattern matchingglob with capture groupspython glob ** wildcardvirtual filesystem globbingextended glob moduleglob pattern extraction
Topics
abandonedlegacy-glob

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 › “recursive glob pattern matching”

  • glob2glob2 extends Python's built-in glob module with recursive **…
  • wcmatchwcmatch provides enhanced file pattern matching and globbing with…
  • scantreeRecursively scans directories with flexible filtering, wildcard…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also wcmatch · globmatch · scantree · formic2 · gitmatch · pathtools · dpath · ignore-python · mkdocs-exclude · path.py