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.7.5-cp38-cp38-win_amd64.whl (92.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

winfspy-0.7.5-cp38-cp38-win32.whl (83.3 kB view details)

Uploaded CPython 3.8 Windows x86

winfspy-0.7.5-cp37-cp37m-win_amd64.whl (92.2 kB view details)

Uploaded CPython 3.7m Windows x86-64

winfspy-0.7.5-cp37-cp37m-win32.whl (83.2 kB view details)

Uploaded CPython 3.7m Windows x86

winfspy-0.7.5-cp36-cp36m-win_amd64.whl (92.2 kB view details)

Uploaded CPython 3.6m Windows x86-64

winfspy-0.7.5-cp36-cp36m-win32.whl (83.2 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: winfspy-0.7.5-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 92.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for winfspy-0.7.5-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8caaf7dbe9743a9732ef557323dad1b70d2a7afa3b3f8668826cefc042d9dfa1
MD5 2fab41b5c2f45d91d4bcbf64e00fe990
BLAKE2b-256 e48bfbad7776a35752177338c238fc676c18db0c742d2dcc57a4adff84e3a08d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.5-cp38-cp38-win32.whl
  • Upload date:
  • Size: 83.3 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for winfspy-0.7.5-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 c937b945c29ef3c29e0a1822ce5f94975f18574bcc881dac55d1df7e8376b5db
MD5 d3bc12de8a97d511a5c1d199d8b87237
BLAKE2b-256 628d9e4cc752bb03170cee146de6b95a7e747a8ace696d23f11e482c4e659393

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.7.5-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e6a5705c5763b5bb1fface09aeb4d3bc256cb7463078d1d1eee0203d9c933b6f
MD5 72bf5985521351856ca581fcdf7f1a8a
BLAKE2b-256 4745335f21b662e509bf99a52cc2530a249dacbe6adecbb01bfcef7c937d6249

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.7.5-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 4212f9588cee8d0f209c57125c088ad5dfdc468a72458c4b71c4eb422617a26f
MD5 dc1427494742f02985f86ae801c28a54
BLAKE2b-256 eab6a35b72b28a992229841747e607e09604d528b95b9d47408874a261578975

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.7.5-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c104ef7d5d320b21e35f4b91a8ad486003f9bcb664a09be3a753d8221dd890cb
MD5 f965df3313823cb4dad0e6d2a7b12615
BLAKE2b-256 9d593171b3906e668a4bc6b246b67cfbeb500f1089d937a883104a9b11546c74

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.7.5-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 4e614df9882f8be7d499ff8cad0a49844e28ab19e5e71c5e0561831b74aa26fd
MD5 25ebf32bd903bf24481cd688531e91ee
BLAKE2b-256 680f0caead7128bbf357eeab07410e27ad3b226f88e859c8a35b7c00e04f2914

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