An open API service indexing awesome lists of open source software.

https://github.com/jelly/python-buildinfo

A small library to parse .BUILDINFO files
https://github.com/jelly/python-buildinfo

archlinux buildinfo python

Last synced: 7 months ago
JSON representation

A small library to parse .BUILDINFO files

Awesome Lists containing this project

README

          

# python-buildinfo

A simple Python BUILDINFO parsing library.

## Dependencies

* parse

## Usage

The buildinfo module exposes one function called `parse_buildinfo` which
returns a tuple containing parsed data and possible errors.

```
foo = """buildinfo = /build
buildenv = !distcc
buildenv = color
"""
data, errors = parse_buildinfo(buildinfo)
print(data)
```