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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

winfspy-0.7.2-cp37-cp37m-win_amd64.whl (82.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

winfspy-0.7.2-cp36-cp36m-win_amd64.whl (82.8 kB view details)

Uploaded CPython 3.6m Windows x86-64

winfspy-0.7.2-cp36-cp36m-win32.whl (76.7 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: winfspy-0.7.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 82.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.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.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4b9f5fe6e37a6fe52cbd570053b28f6cf3df329dde28ed65518826092eb58b7a
MD5 5540060007fd0eea0f7ea1999fb147cf
BLAKE2b-256 e937f958152238ceaa4db54a0ce26e1a9fd78127bb40c09fcb46f5ac664dc7c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.2-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.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 36b31d192a57920a09821a0451b1c9e15bc60513a0d12441e0ab4e73f2ca441a
MD5 36f1c1bf8c05035efcc3496efd5d7eab
BLAKE2b-256 588b66ea1f5feab9c6176833df94486cfbf79c19b386519a4731254528b231a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 82.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.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.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 aca1b7aa333f21a69fe24d516f7adaaaacbeeccc2b653cf18342790a66d57ede
MD5 9825cdeb894a245dd940f2a34abbde9b
BLAKE2b-256 33bd60d22300f5e1171e762c5e039f173337e30efbfd35f1db399830c3dfdcba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.7.2-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.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 e7d2e007733640f498e4cb2b3a89c2f523f7ccf61bbfa05512043589d9e3ea9c
MD5 96c7f47be73b479cc6bf66591aa41c12
BLAKE2b-256 a4e4c8fb0fc8d197d49313b2e5219b1f0b3c0f8e4111e4f3bc00302ab3e083ce

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.7.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c68819d7437163720f8a5dfe5c449ff36e09abddc0a47048f438d198890bf97e
MD5 e233370f57040838d1ac7ddf5ea74489
BLAKE2b-256 53ce32b752cd0b453639ab9f79d81406eac73ce3d76cbd3b5db4dc113d2e087a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.7.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 0d978610af8e955f95ce70ceefd0d4bf5b051eedbe466df62c8883342a0c7a53
MD5 e33f31a1438fc01abb3a5cb7b245290b
BLAKE2b-256 5d0e50e3826244c668a6cefffbbb6856870943d3e3d858e512a600e90af46133

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