Skip to main content

CFFI bindings for WinFSP

Project description

Appveyor CI Status https://codecov.io/gh/Scille/winfspy/branch/master/graph/badge.svg Pypi Status Code style: black

Bindings for WinFSP version 1.4 and onward.

Winfspy consists of three important modules:

  • winfspy: expose the WinFSP API

  • winfspy.memfs: a memory file system based on winfspy

  • winfspy.tests.winfsp_tests: a test suite for black box testing

  • winfspy.tests.winfstest: a lighter test suite for black box testing

Requirements and installation

WinFSP version 1.4 or higher has to be installed separately.

Then install winfspy using pip:

$ pip install winfspy

WinFSP python API

Usage:

from winfspy import (
    FileSystem,
    BaseFileSystemOperations,
    enable_debug_log,
    FILE_ATTRIBUTE,
    CREATE_FILE_CREATE_OPTIONS,
    NTStatusObjectNameNotFound,
    NTStatusDirectoryNotEmpty,
    NTStatusNotADirectory,
    NTStatusObjectNameCollision,
    NTStatusAccessDenied,
    NTStatusEndOfFile,
)

Winfspy memory file system

Usage:

# Run the memory fs as X: drive in verbose mode
$ python -m winfspy.memfs X: -v

# More information
$ python -m winfspy.memfs

Winfsp-tests test suite

This test suite integrates the external test suite of winfsp-tests.

Usage:

# Install winfspy with the test dependencies
$ pip install winfspy[test]

# Run the winfstest test suite on an existing X: drive
$ python winfspy.tests.winfsp_tests --file-system-path X:

# More information about pytest
$ python winfspy.tests.winfsp_tests -h

Winfstest test suite

This test suite is taken from secfs.test.winfstest. It is basic yet useful to test common use cases.

Usage:

# Install winfspy with the test dependencies
$ pip install winfspy[test]

# Run the winfstest test suite on an existing X: drive
$ python winfspy.tests.winfstest --file-system-path X:

# More information about pytest
$ python winfspy.tests.winfstest -h

License

Free software: BSD

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

winfspy-0.8.1-cp38-cp38-win_amd64.whl (94.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

winfspy-0.8.1-cp38-cp38-win32.whl (85.7 kB view details)

Uploaded CPython 3.8 Windows x86

winfspy-0.8.1-cp37-cp37m-win_amd64.whl (94.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

winfspy-0.8.1-cp37-cp37m-win32.whl (85.6 kB view details)

Uploaded CPython 3.7m Windows x86

winfspy-0.8.1-cp36-cp36m-win_amd64.whl (94.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

winfspy-0.8.1-cp36-cp36m-win32.whl (85.6 kB view details)

Uploaded CPython 3.6m Windows x86

File details

Details for the file winfspy-0.8.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 94.7 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for winfspy-0.8.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 848e785540a6bcf9de92ed9ad114067d5d3afa54b7efa9f493d779002eb1fb1d
MD5 1f697d4916897202c76484f9032188ea
BLAKE2b-256 ab359f3918f29ca85c663da29b7bdd54ced8601b2b28cd07d932e2232d666d37

See more details on using hashes here.

File details

Details for the file winfspy-0.8.1-cp38-cp38-win32.whl.

File metadata

  • Download URL: winfspy-0.8.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 85.7 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for winfspy-0.8.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 2e1d4cff8a0b28f2e347ad907c1ea7ebbfa0689225677bbfa7775983da472291
MD5 656ecd5e27d8c22cf8d9ba21f79d9c74
BLAKE2b-256 afa880b3cf4dc6c8c7d00c7d2248d7b0cfc04648e65dfacbe747859cf7d378a9

See more details on using hashes here.

File details

Details for the file winfspy-0.8.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 94.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

File hashes

Hashes for winfspy-0.8.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 0538376dfb06fc3a0f22a29d0e30b1487ad7c56412fc9f8378faeec5d90db5ae
MD5 be6960f2ae5e17276f8203750ed19f9f
BLAKE2b-256 ed88b362f483094e335b59e3cb53f476d8e574d09e87f622312dabc71905b306

See more details on using hashes here.

File details

Details for the file winfspy-0.8.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: winfspy-0.8.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 85.6 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

File hashes

Hashes for winfspy-0.8.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 024eb68ed7e96b108f3eefcb537cfd530c058698b1638593e85c5b6c34e3769d
MD5 447bd05dfd4b61139149a1b39b2c2518
BLAKE2b-256 aab0b6182f2071f31d73022283cc7edbe8ae483eb6f36b118b568538d5d45ebc

See more details on using hashes here.

File details

Details for the file winfspy-0.8.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: winfspy-0.8.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 94.6 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for winfspy-0.8.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a6904ccd7bc451d1770483082f65ed4cfa60939ae6f1531bb9c940155148d6e7
MD5 cfb924c02a765cec5569098907c29ec7
BLAKE2b-256 5ed554ac6dcc67e26654290f05d76bb532dd39689117e4098a16911215bc8113

See more details on using hashes here.

File details

Details for the file winfspy-0.8.1-cp36-cp36m-win32.whl.

File metadata

  • Download URL: winfspy-0.8.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 85.6 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for winfspy-0.8.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 99413a6a5ea64212971e5de89b5e9be3a20b78b728c36f733d29d1989321aac1
MD5 bcc6f52eb88e2efa5f9f78229e0fa3a9
BLAKE2b-256 3a9af317d3c39c6595572fcc22749499dc9a331f0fec215b17e7bd8e88c163bd

See more details on using hashes here.

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