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.winfstest: a 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

Winfstest test suite

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

Uploaded CPython 3.8 Windows x86-64

winfspy-0.7.1-cp38-cp38-win32.whl (76.8 kB view details)

Uploaded CPython 3.8 Windows x86

winfspy-0.7.1-cp37-cp37m-win_amd64.whl (82.7 kB view details)

Uploaded CPython 3.7m Windows x86-64

winfspy-0.7.1-cp37-cp37m-win32.whl (76.7 kB view details)

Uploaded CPython 3.7m Windows x86

File details

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

File metadata

  • Download URL: winfspy-0.7.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 82.8 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.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for winfspy-0.7.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c8ea68be58d0e7f6fbaccb081991930990803a7adb015617f18debf53a660624
MD5 1ae5800b097ce67055a9d959b4875843
BLAKE2b-256 09f55861a7e6af17164457bb7f95ca0da797d41781408ff8969c0fe5e051c6dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 76.8 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.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for winfspy-0.7.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 c7a9cf369cee667146400333727d02cd079f887bd69e4dead0c3631160946aa7
MD5 fa97070d61ca45d4e27a051cbef5bc26
BLAKE2b-256 820827240fc79377c95aa83062e20c0c65135c33d0894c1a87216b8c22aa9d74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 82.7 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.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for winfspy-0.7.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 67a25ae90fa34e861abfeb7194162d51d35c77ad991d7b73775d9ce8d495e217
MD5 9ed57fad27f587b37914c1f28f011985
BLAKE2b-256 20090fbde2fad23d396f2fa59bfeab7ffa4d8e8d476a409715d3f232d2e553db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 76.7 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.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for winfspy-0.7.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 760a3a5496511f996c407e34b3255237bb8e8e6996ad1505f798ab73725bc74a
MD5 d98d4968553904922234ceb59e130072
BLAKE2b-256 2cea15b8fb9cd99aea314ef315185c3f53331a855e98f3a077bed3fbe8423d1a

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