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

Uploaded CPython 3.8 Windows x86-64

winfspy-0.7.4-cp38-cp38-win32.whl (82.9 kB view details)

Uploaded CPython 3.8 Windows x86

winfspy-0.7.4-cp37-cp37m-win_amd64.whl (91.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

winfspy-0.7.4-cp37-cp37m-win32.whl (82.8 kB view details)

Uploaded CPython 3.7m Windows x86

winfspy-0.7.4-cp36-cp36m-win_amd64.whl (91.8 kB view details)

Uploaded CPython 3.6m Windows x86-64

winfspy-0.7.4-cp36-cp36m-win32.whl (82.8 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: winfspy-0.7.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 91.9 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.43.0 CPython/3.8.0

File hashes

Hashes for winfspy-0.7.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5f7377294e8107babf49e2629634048ff32c3a83a527ce8d06c1124e64b9caf1
MD5 850a501e259fe404d3dbf67233c08abc
BLAKE2b-256 8de874a4bdc3ae1ad4c1d699c7fd7ae73385dbcdde449998730820247fb957bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.4-cp38-cp38-win32.whl
  • Upload date:
  • Size: 82.9 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.43.0 CPython/3.8.0

File hashes

Hashes for winfspy-0.7.4-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 9b8318938aadc5a78f05ef4287a55247abd96bb38857426e7fe04d2d6bf874bd
MD5 0c135528ec515953a9318e43cceba589
BLAKE2b-256 0353dc4eb22677d68f34ce09e4889523486e9ce07e9d0622b6c5618c87978755

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.7.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 43ed791645add8a540ce2c753114e5cd9f19e9e247bdb8c16a522439509fc759
MD5 9900725ae147cc37df8b9c2f75a36034
BLAKE2b-256 e5b91233d8053d231b58c836071620df1aefa509a23dd84471f0480b44a49057

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.7.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 852a64ed9bed8ebedc423e48d2c241fb336083ce2d471bd6f27bc1a7e43d7e82
MD5 b8338dd8ae509c03b1ef0f37faa86105
BLAKE2b-256 c9de5156e871d81816b438e99afd5018ebd6e793166a4946b40d89bb155b7adc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 91.8 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.43.0 CPython/3.6.8

File hashes

Hashes for winfspy-0.7.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 15187bbfa0cdf15be9abbb6a1bbae0a7422a6a60658ef1f924213a742f5ddc19
MD5 27376283faa6ce2eeccc73807f504a59
BLAKE2b-256 f328922316609e076f8d0dca8ee8312dea547ff124aaa626afa6b97398839de1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.4-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 82.8 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.43.0 CPython/3.6.8

File hashes

Hashes for winfspy-0.7.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 bdce350ef7b03a4d4110599d59bcc140510174f3e9b31b4ddc5ce188c0202d9b
MD5 5319804e6e47aa325dc73c18996340c4
BLAKE2b-256 387bfd133f647ceebfe66cbcb587805be99aa22c0cced446bea5be412be15b55

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