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

Uploaded CPython 3.8 Windows x86-64

winfspy-0.8.0-cp38-cp38-win32.whl (85.0 kB view details)

Uploaded CPython 3.8 Windows x86

winfspy-0.8.0-cp37-cp37m-win_amd64.whl (94.0 kB view details)

Uploaded CPython 3.7m Windows x86-64

winfspy-0.8.0-cp37-cp37m-win32.whl (84.9 kB view details)

Uploaded CPython 3.7m Windows x86

winfspy-0.8.0-cp36-cp36m-win_amd64.whl (93.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

winfspy-0.8.0-cp36-cp36m-win32.whl (84.9 kB view details)

Uploaded CPython 3.6m Windows x86

File details

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

File metadata

  • Download URL: winfspy-0.8.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 94.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for winfspy-0.8.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b5aec9a1e33ffeb733ce696dc1ed64f3dce75085d94ed5cbb6587ef1b0155533
MD5 0c3b2dba521ff2e889c69d849dd459ff
BLAKE2b-256 c7da5063b179dece06753f3a279a208fb86b0e4feaf76a947ea097ad01e684e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfspy-0.8.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 85.0 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for winfspy-0.8.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 644773eb21f6ee654b8cb164afe42682bca59239765223d57e528bae226d37c7
MD5 9c78ad876a53cf8d3607cece1609ca4a
BLAKE2b-256 1bfa65bd8e27b18718db43380e4b6296e71f6c8bcb4caa60d90ed92ca395ca21

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.8.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 96273b8876932fcc27774cd7579b1684d21306d5120ad33b45c67424a0f4c514
MD5 82694e6aa9f65ffc67800b53613f78f1
BLAKE2b-256 d6eb1a9a4d906fe927cc2e9e28a4af925cd58e9232f4fb65636d7faa1ffebbcc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.8.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 f6d597c321cd30029d778c61e8a2896f28e45df80f75f1bb8a17cf4f91d1ff3d
MD5 b8e23e6b68a9c2b41ed6b75ea4b62fdd
BLAKE2b-256 2a4be936e3f3ecdec9b501344afe7d4206153c25096e9974474d1cfd9dfce03f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.8.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 7ac5e37fd5e8ed32cd0c404f0bf79444ba6b65c817074aba90de2b5a814ecbf5
MD5 c5761cb0442f67fef1e27b260c080a88
BLAKE2b-256 152c71601dd253d399a49da69d93c724c63e04b682ad166e5dbc6787bcf6de5a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for winfspy-0.8.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 7365c6e441988ecef9d53770039a92458d8639e0a0e6c9a3121f55fbd3d726ef
MD5 d345a42d6e17c0bfd4276b0bdb369ae3
BLAKE2b-256 593a5a8ca2dfe3ed9b6216fe9deb107d863ff884253dcc70d96fa39aae84e4e1

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