{ "info": { "author": "Ionel Cristian M\u0103rie\u0219", "author_email": "contact@ionelmc.ro", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities" ], "description": "========\nsignalfd\n========\n\n.. list-table::\n :stub-columns: 1\n\n * - docs\n - |docs|\n * - tests\n - | |travis| |requires|\n | |coveralls| |codecov|\n * - package\n - |version| |downloads| |wheel| |supported-versions| |supported-implementations|\n\n.. |docs| image:: https://readthedocs.org/projects/python-signalfd/badge/?style=flat\n :target: https://readthedocs.org/projects/python-signalfd\n :alt: Documentation Status\n\n.. |travis| image:: https://travis-ci.org/ionelmc/python-signalfd.svg?branch=master\n :alt: Travis-CI Build Status\n :target: https://travis-ci.org/ionelmc/python-signalfd\n\n.. |requires| image:: https://requires.io/github/ionelmc/python-signalfd/requirements.svg?branch=master\n :alt: Requirements Status\n :target: https://requires.io/github/ionelmc/python-signalfd/requirements/?branch=master\n\n.. |coveralls| image:: https://coveralls.io/repos/ionelmc/python-signalfd/badge.svg?branch=master&service=github\n :alt: Coverage Status\n :target: https://coveralls.io/r/ionelmc/python-signalfd\n\n.. |codecov| image:: https://codecov.io/github/ionelmc/python-signalfd/coverage.svg?branch=master\n :alt: Coverage Status\n :target: https://codecov.io/github/ionelmc/python-signalfd\n\n.. |version| image:: https://img.shields.io/pypi/v/signalfd.svg?style=flat\n :alt: PyPI Package latest release\n :target: https://pypi.python.org/pypi/signalfd\n\n.. |downloads| image:: https://img.shields.io/pypi/dm/signalfd.svg?style=flat\n :alt: PyPI Package monthly downloads\n :target: https://pypi.python.org/pypi/signalfd\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/signalfd.svg?style=flat\n :alt: PyPI Wheel\n :target: https://pypi.python.org/pypi/signalfd\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/signalfd.svg?style=flat\n :alt: Supported versions\n :target: https://pypi.python.org/pypi/signalfd\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/signalfd.svg?style=flat\n :alt: Supported imlementations\n :target: https://pypi.python.org/pypi/signalfd\n\nCFFI bindings for signalfd. Interface is mostly the same as https://pypi.python.org/pypi/python-signalfd\n\n* Free software: BSD license\n\nInstallation\n============\n\n::\n\n pip install signalfd\n\nUsage\n=====\n\n.. sourcecode:: python\n\n import signalfd\n\n fd = signalfd.signalfd(-1, [signal.SIGUSR1], signalfd.SFD_CLOEXEC)\n try:\n signalfd.sigprocmask(signalfd.SIG_BLOCK, [signal.SIGUSR1])\n\n while True:\n si = signalfd.read_siginfo(fd)\n print(si.ssi_signo)\n finally:\n os.close(fd)\n\n\nDocumentation\n=============\n\nhttps://python-signalfd.readthedocs.org/\n\nDevelopment\n===========\n\nTo run the all tests run::\n\n tox\n\n\nChangelog\n=========\n\n0.4.0 (2015-08-25)\n------------------\n\n* Corrected return value for sigprocmask.\n\n0.3.0 (2015-08-24)\n------------------\n\n* Corrected error handling in signalfd and sigprocmask wrappers.\n\n0.2.0 (2015-08-24)\n------------------\n\n* Changed ``read_siginfo`` so it raises IOError in case is used with a file object and ``.readinto()`` would return ``None``\n (not enough data available).\n\n0.1.0 (2015-08-23)\n-----------------------------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ionelmc/python-signalfd", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "signalfd", "package_url": "https://pypi.org/project/signalfd/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/signalfd/", "project_urls": { "Homepage": "https://github.com/ionelmc/python-signalfd" }, "release_url": "https://pypi.org/project/signalfd/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "CFFI bindings for signalfd.", "version": "0.4.0" }, "last_serial": 1692167, "releases": { "0": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "6a6420577f573754ad923e39d153e1e8", "sha256": "e57cc4b2d54ceeaa12d28f936d9bd9d514ce353e27f3bcd9c424d2fd1d449fec" }, "downloads": -1, "filename": "signalfd-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6a6420577f573754ad923e39d153e1e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10428, "upload_time": "2015-08-24T01:20:14", "url": "https://files.pythonhosted.org/packages/92/11/0536be6a18e12d23ef695d439446e91cc97afb3bc5ada6c249a6b4a7e2fb/signalfd-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "dcca9e66f5adc920dfc118af5b6d4e4e", "sha256": "9c64c7adbf08666fabf10cb9d3b043d616a46acf49573ebf1b7a8f7867281cc3" }, "downloads": -1, "filename": "signalfd-0.2.0.tar.gz", "has_sig": false, "md5_digest": "dcca9e66f5adc920dfc118af5b6d4e4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10669, "upload_time": "2015-08-24T11:29:43", "url": "https://files.pythonhosted.org/packages/16/e6/e55a500eae88f505e978eb6213d32df605e4ad2b9818295567df074fe302/signalfd-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "066cb0e1027e9f045d5f3dd87a236510", "sha256": "44fa147aac24bd635b90cfd10d5a4954521fb945dea6ccaab65e905bf2de8080" }, "downloads": -1, "filename": "signalfd-0.3.0.tar.gz", "has_sig": false, "md5_digest": "066cb0e1027e9f045d5f3dd87a236510", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10904, "upload_time": "2015-08-24T17:12:42", "url": "https://files.pythonhosted.org/packages/93/a3/80c836be15dc6963f9f6e260b81ec2e839b82dd25f69c64c674c56d55e40/signalfd-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "0cad4be460a1b720e55b8d9ecbcaea88", "sha256": "8cbaf677cb288a637d43e09fc966abd923b488ee70958e51e5833c30b5622edf" }, "downloads": -1, "filename": "signalfd-0.4.0.tar.gz", "has_sig": false, "md5_digest": "0cad4be460a1b720e55b8d9ecbcaea88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11152, "upload_time": "2015-08-24T23:48:48", "url": "https://files.pythonhosted.org/packages/1c/0d/d7c5661a30c59231480ca48d41cd3916b5dc7db052fd696c85a688d4fb49/signalfd-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0cad4be460a1b720e55b8d9ecbcaea88", "sha256": "8cbaf677cb288a637d43e09fc966abd923b488ee70958e51e5833c30b5622edf" }, "downloads": -1, "filename": "signalfd-0.4.0.tar.gz", "has_sig": false, "md5_digest": "0cad4be460a1b720e55b8d9ecbcaea88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11152, "upload_time": "2015-08-24T23:48:48", "url": "https://files.pythonhosted.org/packages/1c/0d/d7c5661a30c59231480ca48d41cd3916b5dc7db052fd696c85a688d4fb49/signalfd-0.4.0.tar.gz" } ] }