Skip to main content

Pure-Python bindings to glibc (based on ctypes)

Project description

https://badge.fury.io/py/glibc.png https://travis-ci.org/zyga/python-glibc.png?branch=master https://pypip.in/d/glibc/badge.png

Features

  • Free software: LGPLv3 license

  • Supports dup(2), dup2(2), dup3(2), epoll_create(2), epoll_create1(2), epoll_ctl(2), epoll_ctl(2), epoll_pwait(2), epoll_wait(2), pipe(2), pipe2(2), sigaddset(3), sigdelset(3), sigemptyset(3), sigfillset(3), sigismember(3), signalfd(2), sigprocmask(2) and all the associated data types and constants.

  • Supported on python 2.7+ and python 3.2+ and pypy

  • All other useful glibc features are in scope (patches welcome!)

  • from glibc import ... – direct access to glibc functions and types via lazy imports, fast startup, low memory overhead, efficient calls to glibc

  • Declarative code, easy to verify for correctness, easy to add more types, functions and constants.

  • Translates error codes according to documentation (manual pages) of each supported function. Raises OSError with appropriate values and a customized, easy-to-understand error message.

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

glibc-0.3.tar.gz (74.6 kB view details)

Uploaded Source

Built Distribution

glibc-0.3-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file glibc-0.3.tar.gz.

File metadata

  • Download URL: glibc-0.3.tar.gz
  • Upload date:
  • Size: 74.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for glibc-0.3.tar.gz
Algorithm Hash digest
SHA256 29854dbf7e49c4eea2fc8fa9b59efdddd4fafbbe2790568819ab4cfe773445ec
MD5 3875d2373792d94c8d7c38559c10a2bf
BLAKE2b-256 955c0171e45282098de608c6569e428d39bdb4ae9c83d4438e413b874662b62b

See more details on using hashes here.

File details

Details for the file glibc-0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for glibc-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f31ade3df45ad2cb88e91c570f6e2c108a6553b72a2e05e6f39b9bf9382cbe80
MD5 876bd493dc6d4921876ee8419f435044
BLAKE2b-256 a5bb72890820df2a474cb030b08757b6204da061ee71f6cdced96406389dcee2

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