-
python-ConcurrentLogHandler-0.9.1-1.lbn13.noarch
Overview
This module provides an additional log handler for Python's standard logging package (PEP 282). This handler will write log events to log file which is rotated when the log file reaches a certain size. Multiple processes can safely write to the same log file concurrently.
Details
The ConcurrentRotatingFileHandler class is a drop-in replacement for Python's standard log handler RotatingFileHandler. This module uses file locking so that multiple processes can concurrently log to a single file without dropping or clobbering log events. This module provides a file rotation scheme like with RotatingFileHanler. Extra care is taken to ensure that logs can be safely rotated before the rotation process is started. (This module works around the file rename issue with RotatingFileHandler on Windows, where a rotation failure means that all subsequent log events are dropped).
This module attempts to preserve log records at all cost. This means that log files will grow larger than the specified maximum (rotation) size. So if disk space is tight, you may want to stick with RotatingFileHandler, which will strictly adhere to the maximum file size.
If you have multiple instances of a script (or multiple scripts) all running at the same time and writing to the same log file, then all of the scripts should be using ConcurrentRotatingFileHandler. You should not attempt to mix and match RotatingFileHandler and ConcurrentRotatingFileHandler.
This package bundles portalocker to deal with file locking. Please be aware that portalocker only supports Unix (posix) an NT platforms at this time, and therefore this package only supports those platforms as well.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-GnuPGInterface-0.3.2-6.fc12.noarch
GnuPGInterface is a Python module to interface with GnuPG. It
concentrates on interacting with GnuPG via filehandles, providing
access to control GnuPG via versatile and extensible means.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-IPy-0.70-1.fc13.noarch
IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks
in a fashion similar to perl's Net::IP and friends. The IP class allows
a comfortable parsing and handling for most notations in use for IPv4
and IPv6 Addresses and Networks.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-MythTV-0.26.0-9.lbn13.armv6hl
Provides a python-based interface to interacting with MythTV.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-MythTV-0.26.0-9.lbn13.noarch
Provides a python-based interface to interacting with MythTV.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-Pillow-2.4.0-1.lbn13.armv6hl
Pillow is the "friendly" PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-TurboMail-3.0-1.fc12.noarch
TurboMail is a multi-threaded mail delivery subsystem and MIME message
generation framework for Python. TurboMail uses built-in Python modules for SMTP
communication and MIME e-mail creation, but greatly simplifies these tasks by
performing the grunt-work for you.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-amqp-1.0.6-1.lbn13.noarch
This is a fork of amqplib which was originally written by Barry Pederson. It is maintained by the Celery project, and used by kombu as a pure python alternative when librabbitmq is not available.
This library should be API compatible with librabbitmq.
Differences from amqplib
*
Supports draining events from multiple channels (Connection.drain_events)
*
Support for timeouts
*
Channels are restored after channel error, instead of having to close the connection.
*
Support for heartbeats
o Connection.heartbeat_tick(rate=2) must called at regular intervals (half of the heartbeat value if rate is 2).
o Or some other scheme by using Connection.send_heartbeat.
*
Supports RabbitMQ extensions:
o
Consumer Cancel Notifications
+ by default a cancel results in ChannelError being raised
+ but not if a on_cancel callback is passed to basic_consume.
o
Publisher confirms
+ Channel.confirm_select() enables publisher confirms.
+ Channel.events['basic_ack'].append(my_callback) adds a callback to be called when a message is confirmed. This callback is then called with the signature (delivery_tag, multiple).
o
Exchange-to-exchange bindings: exchange_bind / exchange_unbind.
+ Channel.confirm_select() enables publisher confirms.
+ Channel.events['basic_ack'].append(my_callback) adds a callback to be called when a message is confirmed. This callback is then called with the signature (delivery_tag, multiple).
*
Support for basic_return
*
Uses AMQP 0-9-1 instead of 0-8.
o Channel.access_request and ticket arguments to methods removed.
o Supports the arguments argument to basic_consume.
o internal argument to exchange_declare removed.
o auto_delete argument to exchange_declare deprecated
o insist argument to Connection removed.
o Channel.alerts has been removed.
o Support for Channel.basic_recover_async.
o Channel.basic_recover deprecated.
*
Exceptions renamed to have idiomatic names:
o AMQPException -> AMQPError
o AMQPConnectionException -> ConnectionError``
o AMQPChannelException -> ChannelError``
o Connection.known_hosts removed.
o Connection no longer supports redirects.
o exchange argument to queue_bind can now be empty to use the "default exchange".
*
Adds Connection.is_alive that tries to detect whether the connection can still be used.
*
Adds Connection.connection_errors and .channel_errors, a list of recoverable errors.
*
Exposes the underlying socket as Connection.sock.
*
Adds Channel.no_ack_consumers to keep track of consumer tags that set the no_ack flag.
*
Slightly better at error recovery
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-amqplib-1.0.2-3.lbn13.noarch
Client library for AMQP (Advanced Message Queuing Protocol)
Supports the 0-8 AMQP spec, and has been tested with RabbitMQ
and Python's 2.4, 2.5, and 2.6.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13
-
python-argparse-1.1-1.fc13.noarch
The argparse module is an optparse-inspired command line parser that
improves on optparse by:
* handling both optional and positional arguments
* supporting parsers that dispatch to sub-parsers
* producing more informative usage messages
* supporting actions that consume any number of command-line args
* allowing types and actions to be specified with simple callables
instead of hacking class attributes like STORE_ACTIONS or CHECK_METHODS
as well as including a number of other more minor improvements on the
optparse API.
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 13