Skip to main content

Python bindings for Cygwin's C API

Project description

Python and Cython wrappers for Cygwin’s C API.

Installation

pip install PyCygwin

Naturally, this is only installable in Cygwin-provided Python (i.e. where sys.platform == 'cygwin').

Usage

The initial version (v0.1) does not provide a complete cover for the API. It only supports three useful functions:

  • cygwin.cygpath – this provides a (partial) equivalent to the cygpath system utility, supporting the most useful functionality thereof (that is, converting Cygwin paths to native Windows paths and vice-versa).

  • cygwin.winpid_to_pid – converts the native Windows PID of a process to its PID in Cygwin (if it is a Cygwin process).

  • cygwin.pid_to_winpid – likewise, converts the PID of a Cygwin process to its native Windows PID.

Full API documentation can be found at http://pycygwin.readthedocs.io.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

PyCygwin-0.1.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file PyCygwin-0.1.tar.gz.

File metadata

  • Download URL: PyCygwin-0.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyCygwin-0.1.tar.gz
Algorithm Hash digest
SHA256 45a5e295590c469a49b2804bfdb89059e942d768ad3b813f484d7b5bff48d226
MD5 12c30c847b144282178bc546d4e2cbcd
BLAKE2b-256 915d811f0656501bad32456b3c52ffcaddc085084aad6b9f4feb6e1605e3a49a

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