Skip to main content

A fcntl solution for Windows Operating System

Project description

A fcntl solution for Windows Operating System created to handle ModuleNotFoundError issues. This package replicates fcntl functionality for Windows, addressing compatibility issues where Unix-specific modules are required but not available.

How to Use

This package can be used as a replacement for fcntl in Python modules that need cross-platform file control. Import winfcntl when running on Windows and fcntl on Unix-based systems.

Usage for Library Developers

Library developers can check the operating system using os.name or platform.system() to decide whether to import winfcntl (for Windows) or fcntl (for Unix-based systems). The function names and interfaces are designed to be compatible with fcntl.

Changelog

Version 1.0.1

  • Fixed a small mistake disabling other programs from using the Fcntl class.

Version 1.0.0

  • Initial release.

Acknowledgments

Thank you to Kiamehr Eskandari for developing this package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

winfcntl-1.1.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

winfcntl-1.1.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file winfcntl-1.1.4.tar.gz.

File metadata

  • Download URL: winfcntl-1.1.4.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for winfcntl-1.1.4.tar.gz
Algorithm Hash digest
SHA256 6a3fd0d14d3c18d0ce4fe1a94d1dfb0c79ee4025fcf4c83009b49fc102dccda6
MD5 571b2893bf14dd9bec4281200121a89a
BLAKE2b-256 1617ace1ef132f55200245779895e6d23c36ab9d23ff0e4e290c0f7d88211dab

See more details on using hashes here.

File details

Details for the file winfcntl-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: winfcntl-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for winfcntl-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 72ad7fd267e320e879b8dd14028d14b8be45f4e7ebb9d186f29a840ee6c5a635
MD5 9aff384a805f34f3bc89fe56916e99a9
BLAKE2b-256 0107b5242f66fc9104334a532536e2bf9a092bd8ef1dae2367ac49602fb52796

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