Skip to main content

A package to parse the index file of a git repository

Project description

GitIndexFileParser

A package to parse the index file of a git repository.

Installation

Install the package with pip

pip install git_index_parser

Usage

from git_index_parser import GitIndexParser

index_file = GitIndexParser.parse_file(path_to_file='.git/index')

for entry in index_file.get_entries():
    print(entry.name.split)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_index_parser-1.0.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

git_index_parser-1.0.0-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page