/usr/lib/python2.7/dist-packages/cotyledon-1.6.8.egg-info/PKG-INFO is in python-cotyledon 1.6.8-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | Metadata-Version: 1.1
Name: cotyledon
Version: 1.6.8
Summary: Cotyledon provides a framework for defining long-running services.
Home-page: https://github.com/sileht/cotyledon
Author: Mehdi Abaakouk
Author-email: sileht@sileht.net
License: UNKNOWN
Description-Content-Type: UNKNOWN
Description: ===============================
Cotyledon
===============================
.. image:: https://img.shields.io/pypi/v/cotyledon.svg
:target: https://pypi.python.org/pypi/cotyledon/
:alt: Latest Version
.. image:: https://img.shields.io/pypi/dm/cotyledon.svg
:target: https://pypi.python.org/pypi/cotyledon/
:alt: Downloads
.. image:: https://travis-ci.org/sileht/cotyledon.png?branch=master
:target: https://travis-ci.org/sileht/cotyledon
.. image:: https://tea-ci.org/api/badges/sileht/cotyledon/status.svg
:target: https://tea-ci.org/sileht/cotyledon
Cotyledon provides a framework for defining long-running services.
It provides handling of Unix signals, spawning of workers, supervision of
children processes, daemon reloading, sd-notify, rate limiting for worker
spawning, and more.
* Free software: Apache license
* Documentation: http://cotyledon.readthedocs.org/
* Source: https://github.com/sileht/cotyledon
* Bugs: https://github.com/sileht/cotyledon/issues
Why Cotyledon
-------------
This library is mainly used in OpenStack Telemetry projects, in replacement of
*oslo.service*. However, as *oslo.service* depends on *eventlet*, a different
library was needed for project that do not need it. When an application do not
monkeypatch the Python standard library anymore, greenlets do not in timely
fashion. That made other libraries such as `Tooz
<http://docs.openstack.org/developer/tooz/>`_ or `oslo.messaging
<http://docs.openstack.org/developer/oslo.messaging/>`_ to fail with e.g. their
heartbeat systems. Also, processes would not exist as expected due to
greenpipes never being processed.
*oslo.service* is actually written on top of eventlet to provide two main
features:
* periodic tasks
* workers processes management
The first feature was replaced by another library called `futurist
<http://docs.openstack.org/developer/futurist/>`_ and the second feature is
superseded by *Cotyledon*.
Unlike *oslo.service*, **Cotyledon** have:
* The same code path when workers=1 and workers>=2
* Reload API (on SIGHUP) hooks work in case of you don't want to restarting children
* A separated API for children process termination and for master process termination
* Seatbelt to ensure only one service workers manager run at a time.
* Is signal concurrency safe.
* Support non posix platform, because it's built on top of multiprocessing module
instead of os.fork
* Provide functional testing
And doesn't:
* facilitate the creation of wsgi application (sockets sharing between parent
and children process). Because too many wsgi webserver already exists.
*oslo.service* being impossible to fix and bringing an heavy dependency on
eventlet, **Cotyledon** appeared.
Platform: UNKNOWN
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
|