Git Product home page Git Product logo

pygfried's Introduction

PyPI version

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'

pygfried's People

Contributors

sevein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pygfried's Issues

Installation failure (Windows)

Hi,

I ran into an installation failure when trying to do a pip install in Windows. The messages from the cmd terminal are below. Any advice?

pip install pygfried
Collecting pygfried
  Using cached pygfried-0.2.0.tar.gz (168 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: pygfried
  Building wheel for pygfried (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_ext
      $ GOPATH='C:\Users\----\AppData\Local\Temp\1\tmpdbqnsh53' go get -d
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pygfried
  Running setup.py clean for pygfried
Failed to build pygfried
Installing collected packages: pygfried
  Running setup.py install for pygfried ... error
  error: subprocess-exited-with-error

  × Running setup.py install for pygfried did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running install
      running build
      running build_ext
      $ GOPATH='C:\Users\----\AppData\Local\Temp\1\tmpy_311sv5' go get -d
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pygfried

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.