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

Uploaded CPython 3.8 Windows x86-64

winfspy-0.7.3-cp38-cp38-win32.whl (82.0 kB view details)

Uploaded CPython 3.8 Windows x86

winfspy-0.7.3-cp37-cp37m-win_amd64.whl (90.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

winfspy-0.7.3-cp37-cp37m-win32.whl (81.9 kB view details)

Uploaded CPython 3.7m Windows x86

winfspy-0.7.3-cp36-cp36m-win_amd64.whl (90.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

winfspy-0.7.3-cp36-cp36m-win32.whl (81.9 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: winfspy-0.7.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 91.0 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.42.1 CPython/3.8.0

File hashes

Hashes for winfspy-0.7.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 fc8239b786f5fa90b1cd69f6afc34180b55b2c059a8df2ffea9b2736ef4baed0
MD5 9a02d0eb2f646ef73dafee3f0b7a9425
BLAKE2b-256 cc42c83c6ba612ae9cd2587475993cd82547b49611c17109d8702a57670e1098

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.3-cp38-cp38-win32.whl
  • Upload date:
  • Size: 82.0 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.42.1 CPython/3.8.0

File hashes

Hashes for winfspy-0.7.3-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 070d10ff195cbc303dd5a8d4605d7bcbb051585be97b4caecbda0eee5e3cba98
MD5 6e31a21fdd7956ed6545b5dff195f578
BLAKE2b-256 e345eafbc12a8ce91e540c6a3181834ee192f52f32228e103c69586775add660

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 90.9 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.42.1 CPython/3.7.5

File hashes

Hashes for winfspy-0.7.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 34e301394d7ab9fee88f18c70a85559fb3bb2ee95e59513d4bc334223ef5b79e
MD5 73797c80922b65618b1bee5f742372ba
BLAKE2b-256 05ac8c4de63c24333263afe06ee206b9fac529b638f0cc0fa5cd9600cce6d1c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.3-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 81.9 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.42.1 CPython/3.7.5

File hashes

Hashes for winfspy-0.7.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 ef3f6764398703d0e1cd4ea0f761724de55bd721ec0c5554b793285d99603305
MD5 dd162973916ff65d27c2d40194af92d8
BLAKE2b-256 7bcb2ea91e68debd7932d4893d7f002ea18f79f7c161aaa6b39df54389f29881

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 90.9 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.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.8

File hashes

Hashes for winfspy-0.7.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 04f8d758a10cd9b4ec9fb54f0cd00ae8dcfd490191ec0629b492b8838a0dbb84
MD5 f30b4d9de4ad29715a0b6862eefc2594
BLAKE2b-256 bdad9782e23ca3730f5b9a91ba6f9624e52d0599a69150086299978aa6d5d006

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.3-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 81.9 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.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.8

File hashes

Hashes for winfspy-0.7.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 727e4c06befa481327eb3271f6f837194ee89c124351ccdb4a2526f44c31f4b1
MD5 86457bce29030eff0b1ff2e0042377db
BLAKE2b-256 891c612c3a246d9af515830b4c959c611ba7be03b1165a0a52c313085710c881

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