gemfileparser2
Parse Ruby Gemfile, .gemspec and Cocoapod .podspec files using Python.
Decision gist · record as of 2026-08-14
Yes, if you need to parse Ruby dependency files from Python and accept dormant maintenance. The package is lightweight (no runtime deps), dual-licensed flexibly, and stable enough for production use. However, verify that it handles your target Ruby syntax versions and that dormancy (last release August 2024, last commit September 2024) does not signal abandonment risk for your use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.7
- Low friction install with no runtime dependencies.
- Maintenance is dormant—last release was 2024-08-21 and last commit 2024-09-16, but the repository is not archived and the package is marked Production/Stable.
License · maintenance · safety
GPL-3.0-or-later OR MIT (copyleft) — Dual-licensed under GPL-3.0-or-later or MIT at your choice. The license is copyleft; derivative works should respect the GPL-3+ license, though MIT is available as an alternative.
last release 2024-08-21 (723 days) · last repo commit 2024-09-16 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 123,024 downloads/mo, #11,925 on PyPI
Alternatives
Verify before relying
from gemfileparser2 import GemfileParser
parser = GemfileParser('Gemfile', 'project_name')
deps = parser.parse()
for group, dependencies in deps.items():
for dep in dependencies:
print(dep.name, dep.requirement)- Whether the fork remains actively maintained or if dormancy signals end-of-life risk
- Compatibility with recent Ruby versions and Gemfile syntax changes
- Performance characteristics on large or complex Gemfiles
What it is and what it does
gemfileparser2 is a Python library that reads and parses Ruby dependency manifests—Gemfiles, .gemspec files, and Cocoapod .podspec files—extracting structured dependency information. It returns a dictionary keyed by dependency group (development, runtime, etc.), with each dependency represented as an object containing name, version requirement, source URL, parent gem, and group membership. The package has no external runtime dependencies, making it lightweight to integrate into Python tooling that needs to analyze Ruby project metadata.
This is a maintained fork of an inactive upstream project. It targets developers building dependency analysis tools, supply-chain auditing systems, or polyglot build orchestration that must understand Ruby project structure from a Python environment. The library supports current Python versions (3.7+) and is classified as Production/Stable, though the repository shows dormant maintenance—no releases since August 2024.
Use it for
- Audit Ruby project dependencies as part of a Python-based supply-chain security scanner
- Extract gem versions from Gemfiles to populate a dependency inventory or bill-of-materials
- Build a polyglot dependency resolver that handles both Python and Ruby projects
- Parse .podspec files to analyze Cocoapod dependencies in a unified Python workflow
- Validate Gemfile syntax and dependency structure in CI/CD pipelines written in Python
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to parse Ruby dependency files from Python and accept dormant maintenance.
The package is lightweight (no runtime deps), dual-licensed flexibly, and stable enough for production use. However, verify that it handles your target Ruby syntax versions and that dormancy (last release August 2024, last commit September 2024) does not signal abandonment risk for your use case.
Install
gemfileparser2 on PyPI
Before you install
Low friction install with no runtime dependencies. Maintenance is dormant—last release was 2024-08-21 and last commit 2024-09-16, but the repository is not archived and the package is marked Production/Stable.
Requires Python >= 3.7
License in practice
Dual-licensed under GPL-3.0-or-later or MIT at your choice. The license is copyleft; derivative works should respect the GPL-3+ license, though MIT is available as an alternative.
Quickstart
from gemfileparser2 import GemfileParser
parser = GemfileParser('Gemfile', 'project_name')
deps = parser.parse()
for group, dependencies in deps.items():
for dep in dependencies:
print(dep.name, dep.requirement)
Verify before relying
- Whether the fork remains actively maintained or if dormancy signals end-of-life risk
- Compatibility with recent Ruby versions and Gemfile syntax changes
- Performance characteristics on large or complex Gemfiles
Package facts
| License | GPL-3.0-or-later OR MIT copyleft |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 723 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 123,024 / month, #11,925 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software DevelopmentTopic :: Utilities |
Evidence: gemfileparser2-0.9.4-py3-none-any.whl
Tags
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 › “parse ruby gemfile python”
- gemfileparser2Parses Ruby Gemfiles, .gemspec files, and Cocoapod .podspec files…
- tree-sitter-rubyProvides a Ruby language grammar for tree-sitter, enabling…
- PlimPlim translates a concise Ruby-inspired template syntax into HTML and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also depgather · tree-sitter-ruby · identify · python-gflags · pathspec · greeneye_monitor · verspec · tls-parser · pysbd · requirements-parser