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
- Host: GitHub
- URL: https://github.com/artefactual-labs/pygfried
- Owner: artefactual-labs
- License: apache-2.0
- Created: 2021-12-28T09:36:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-16T11:15:06.000Z (over 1 year ago)
- Last Synced: 2025-04-30T04:19:39.716Z (about 1 year ago)
- Topics: code4lib, digital-preservation, format-identification, pronom, python, siegfried
- Language: Go
- Homepage:
- Size: 185 KB
- Stars: 7
- Watchers: 10
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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