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

https://github.com/artefactual-labs/pygfried

Siegfried as a Python extension
https://github.com/artefactual-labs/pygfried

code4lib digital-preservation format-identification pronom python siegfried

Last synced: about 1 year ago
JSON representation

Siegfried as a Python extension

Awesome Lists containing this project

README

          

[![PyPI version](https://badge.fury.io/py/pygfried.svg)](https://badge.fury.io/py/pygfried)

# Pygfried

CPython extension of [siegfried], a signature-based file format identification
tool written in Go.

No animals were harmed in the making of this extension.

## Usage

```
$ pip install pygfried
$ python -q
>>> import pygfried
>>> pygfried.version()
'1.9.1'
>>> pygfried.identify("/bin/ls")
'fmt/690'
```

[siegfried]: https://www.itforarchivists.com/siegfried