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.0.7.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

winfcntl-1.0.7-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for winfcntl-1.0.7.tar.gz
Algorithm Hash digest
SHA256 cb3cef63cf688c181cdac7203046856472048b482a85def5b3dae948121945d3
MD5 2818dfe0b0a0a2c46642418951316d5c
BLAKE2b-256 8997367ae2fb71794b13ffe4853a3f04a7e4bd13ee36f6dfbd10002e6670d756

See more details on using hashes here.

File details

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

File metadata

  • Download URL: winfcntl-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 33af2405f0a811549024a3918363b7c663aee573cb5324ad354713561fd5c005
MD5 f69dd27a002321903dc5e8ed4c6a0f17
BLAKE2b-256 e80dd87a739266c957e81b80de2b4bd526974e34de1fb2ad8dab5941d0d3573f

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