Module Expr Str Assign NameStore Str Assign NameStore Str Import alias Import alias Assign NameStore Str Assign NameStore Num Assign NameStore BinOpPow Num Num Assign NameStore Num ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body TryExcept body Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore AttributeLoad Call NameLoad Str attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Lambda arguments args NameParam defaults NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type AttributeLoad NameLoad attr body Pass TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Return NameLoad orelse If CompareIn NameLoad NameLoad body Raise Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num NameLoad NameLoad orelse Raise Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Raise Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num If BoolOpAnd CompareGt NameLoad Num UnaryOpNot NameLoad body Raise Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad body Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad body Assign TupleStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr NameLoad ListLoad Str ListLoad Str NameLoad handlers ExceptHandler type NameLoad name TupleStore NameStore NameStore NameStore body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad body Expr Str Assert Call NameLoad NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad ListLoad Str ListLoad Str Str Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore Str TryExcept body Return Call AttributeLoad NameLoad attr NameLoad ListLoad Str ListLoad Str Str handlers ExceptHandler type NameLoad name TupleStore NameStore NameStore NameStore body If CompareEq NameLoad Str body Return NameLoad orelse If CompareEq NameLoad Str body Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str ListLoad Str handlers ExceptHandler type NameLoad body Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad ListLoad Str Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr BinOpMod Str NameLoad ListLoad Str ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Return SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr keyword ListLoad Str Str Str
N/A N/A beanstalkc - A beanstalkd Client Library for Python N/A __license__ 
Copyright (C) 2008-2014 Andreas Bolka

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 N/A __version__ 0.4.0 N/A logging N/A socket N/A DEFAULT_HOST localhost N/A DEFAULT_PORT 11300 N/A DEFAULT_PRIORITY N/A 2 31 N/A DEFAULT_TTR 120 BeanstalkcException N/A Exception N/A N/A N/A UnexpectedResponse N/A BeanstalkcException N/A N/A N/A CommandFailed N/A BeanstalkcException N/A N/A N/A DeadlineSoon N/A BeanstalkcException N/A N/A N/A SocketError N/A BeanstalkcException N/A wrap N/A N/A wrapped_function N/A args kwargs N/A N/A N/A N/A N/A wrapped_function args kwargs N/A N/A N/A N/A socket error N/A err N/A N/A N/A SocketError err N/A staticmethod N/A Connection N/A object N/A __init__ N/A N/A self host port parse_yaml connect_timeout N/A DEFAULT_HOST DEFAULT_PORT True N/A N/A socket getdefaulttimeout N/A N/A N/A parse_yaml True N/A N/A N/A N/A parse_yaml N/A N/A __import__ yaml load N/A N/A N/A ImportError N/A N/A N/A N/A logging error Failed to load PyYAML, will not parse YAML N/A parse_yaml False N/A N/A self _connect_timeout connect_timeout N/A N/A self _parse_yaml N/A parse_yaml N/A N/A N/A x N/A x N/A N/A self host host N/A N/A self port port N/A N/A N/A self connect N/A connect N/A N/A self N/A N/A N/A Connect to beanstalkd server. N/A N/A self _socket N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A N/A self _socket settimeout N/A self _connect_timeout N/A N/A N/A SocketError wrap N/A N/A self _socket connect N/A N/A self host N/A self port N/A N/A N/A N/A self _socket settimeout None N/A N/A self _socket_file N/A N/A N/A self _socket makefile rb N/A close N/A N/A self N/A N/A N/A Close connection to server. N/A N/A N/A N/A N/A N/A self _socket sendall quit
 N/A N/A N/A N/A socket error N/A N/A N/A N/A N/A N/A N/A N/A self _socket close N/A N/A N/A N/A socket error N/A N/A N/A reconnect N/A N/A self N/A N/A N/A Re-connect to server. N/A N/A N/A self close N/A N/A N/A self connect N/A _interact N/A N/A self command expected_ok expected_err N/A N/A N/A N/A N/A N/A SocketError wrap N/A N/A self _socket sendall command N/A N/A status results N/A N/A self _read_response N/A N/A status expected_ok N/A N/A results N/A N/A N/A status expected_err N/A N/A N/A CommandFailed N/A N/A N/A command split N/A 0 status results N/A N/A N/A UnexpectedResponse N/A N/A N/A command split N/A 0 status results N/A _read_response N/A N/A self N/A N/A N/A line N/A N/A SocketError wrap N/A N/A self _socket_file readline N/A N/A line N/A N/A N/A SocketError N/A response N/A N/A line split N/A N/A N/A response N/A 0 N/A response N/A 1 N/A _read_body N/A N/A self size N/A N/A N/A body N/A N/A SocketError wrap N/A N/A self _socket_file read size N/A N/A N/A SocketError wrap N/A N/A self _socket_file read 2 N/A N/A N/A size 0 N/A body N/A N/A N/A SocketError N/A body N/A _interact_value N/A N/A self command expected_ok expected_err N/A N/A N/A N/A N/A N/A N/A self _interact command expected_ok expected_err N/A 0 N/A _interact_job N/A N/A self command expected_ok expected_err reserved N/A True N/A N/A N/A jid size N/A N/A self _interact command expected_ok expected_err N/A body N/A N/A self _read_body N/A int size N/A N/A Job self N/A int jid body reserved N/A _interact_yaml N/A N/A self command expected_ok expected_err N/A N/A N/A N/A N/A size N/A N/A self _interact command expected_ok expected_err N/A body N/A N/A self _read_body N/A int size N/A N/A N/A self _parse_yaml body N/A _interact_peek N/A N/A self command N/A N/A N/A N/A N/A N/A N/A self _interact_job command N/A FOUND N/A NOT_FOUND False N/A N/A N/A CommandFailed N/A N/A _ _status _results N/A N/A None N/A put N/A N/A self body priority delay ttr N/A DEFAULT_PRIORITY 0 DEFAULT_TTR N/A N/A Put a job into the current tube. Returns job id. N/A N/A isinstance body str Job body must be a str instance N/A jid N/A N/A self _interact_value N/A put %d %d %d %d
%s
 N/A priority delay ttr N/A len body body N/A INSERTED N/A JOB_TOO_BIG BURIED DRAINING N/A N/A int jid N/A reserve N/A N/A self timeout N/A None N/A N/A Reserve a job from one of the watched tubes, with optional timeout
        in seconds. Returns a Job object, or None if the request times out. N/A N/A timeout None N/A N/A command N/A reserve-with-timeout %d
 timeout N/A N/A command reserve
 N/A N/A N/A N/A N/A self _interact_job command N/A RESERVED N/A DEADLINE_SOON TIMED_OUT N/A N/A N/A CommandFailed N/A N/A _ status results N/A N/A N/A status TIMED_OUT N/A N/A None N/A N/A N/A status DEADLINE_SOON N/A N/A N/A DeadlineSoon results N/A kick N/A N/A self bound N/A 1 N/A N/A Kick at most bound jobs into the ready queue. N/A N/A int N/A N/A self _interact_value N/A kick %d
 bound N/A KICKED N/A kick_job N/A N/A self jid N/A N/A N/A Kick a specific job into the ready queue. N/A N/A N/A self _interact N/A kick-job %d
 jid N/A KICKED N/A NOT_FOUND N/A peek N/A N/A self jid N/A N/A N/A Peek at a job. Returns a Job, or None. N/A N/A N/A self _interact_peek N/A peek %d
 jid N/A peek_ready N/A N/A self N/A N/A N/A Peek at next ready job. Returns a Job, or None. N/A N/A N/A self _interact_peek peek-ready
 N/A peek_delayed N/A N/A self N/A N/A N/A Peek at next delayed job. Returns a Job, or None. N/A N/A N/A self _interact_peek peek-delayed
 N/A peek_buried N/A N/A self N/A N/A N/A Peek at next buried job. Returns a Job, or None. N/A N/A N/A self _interact_peek peek-buried
 N/A tubes N/A N/A self N/A N/A N/A Return a list of all existing tubes. N/A N/A N/A self _interact_yaml list-tubes
 N/A OK N/A using N/A N/A self N/A N/A N/A Return the tube currently being used. N/A N/A N/A self _interact_value list-tube-used
 N/A USING N/A use N/A N/A self name N/A N/A N/A Use a given tube. N/A N/A N/A self _interact_value N/A use %s
 name N/A USING N/A watching N/A N/A self N/A N/A N/A Return a list of all tubes being watched. N/A N/A N/A self _interact_yaml list-tubes-watched
 N/A OK N/A watch N/A N/A self name N/A N/A N/A Watch a given tube. N/A N/A int N/A N/A self _interact_value N/A watch %s
 name N/A WATCHING N/A ignore N/A N/A self name N/A N/A N/A Stop watching a given tube. N/A N/A N/A N/A int N/A N/A self _interact_value N/A ignore %s
 name N/A WATCHING N/A NOT_IGNORED N/A N/A N/A CommandFailed N/A N/A 1 N/A stats N/A N/A self N/A N/A N/A Return a dict of beanstalkd statistics. N/A N/A N/A self _interact_yaml stats
 N/A OK N/A stats_tube N/A N/A self name N/A N/A N/A Return a dict of stats about a given tube. N/A N/A N/A self _interact_yaml N/A stats-tube %s
 name N/A OK N/A NOT_FOUND N/A pause_tube N/A N/A self name delay N/A N/A N/A Pause a tube for a given delay time, in seconds. N/A N/A N/A self _interact N/A pause-tube %s %d
 N/A name delay N/A PAUSED N/A NOT_FOUND N/A delete N/A N/A self jid N/A N/A N/A Delete a job, by job id. N/A N/A N/A self _interact N/A delete %d
 jid N/A DELETED N/A NOT_FOUND N/A release N/A N/A self jid priority delay N/A DEFAULT_PRIORITY 0 N/A N/A Release a reserved job back into the ready queue. N/A N/A N/A self _interact N/A release %d %d %d
 N/A jid priority delay N/A RELEASED BURIED N/A NOT_FOUND N/A bury N/A N/A self jid priority N/A DEFAULT_PRIORITY N/A N/A Bury a job, by job id. N/A N/A N/A self _interact N/A bury %d %d
 N/A jid priority N/A BURIED N/A NOT_FOUND N/A touch N/A N/A self jid N/A N/A N/A Touch a job, by job id, requesting more time to work on a reserved
        job before it expires. N/A N/A N/A self _interact N/A touch %d
 jid N/A TOUCHED N/A NOT_FOUND N/A stats_job N/A N/A self jid N/A N/A N/A Return a dict of stats about a job, by job id. N/A N/A N/A self _interact_yaml N/A stats-job %d
 jid N/A OK N/A NOT_FOUND N/A N/A Job N/A object N/A __init__ N/A N/A self conn jid body reserved N/A True N/A N/A N/A self conn conn N/A N/A self jid jid N/A N/A self body body N/A N/A self reserved reserved N/A _priority N/A N/A self N/A N/A N/A stats N/A N/A self stats N/A N/A isinstance stats dict N/A N/A N/A stats N/A pri N/A DEFAULT_PRIORITY N/A delete N/A N/A self N/A N/A N/A Delete this job. N/A N/A N/A N/A self conn delete N/A self jid N/A N/A self reserved False N/A release N/A N/A self priority delay N/A None 0 N/A N/A Release this job back into the ready queue. N/A N/A self reserved N/A N/A N/A N/A N/A self conn release N/A self jid N/A priority N/A N/A self _priority delay N/A N/A self reserved False N/A bury N/A N/A self priority N/A None N/A N/A Bury this job. N/A N/A self reserved N/A N/A N/A N/A N/A self conn bury N/A self jid N/A priority N/A N/A self _priority N/A N/A self reserved False N/A kick N/A N/A self N/A N/A N/A Kick this job alive. N/A N/A N/A N/A self conn kick_job N/A self jid N/A touch N/A N/A self N/A N/A N/A Touch this reserved job, requesting more time to work on it before
        it expires. N/A N/A self reserved N/A N/A N/A N/A N/A self conn touch N/A self jid N/A stats N/A N/A self N/A N/A N/A Return a dict of stats about this job. N/A N/A N/A N/A self conn stats_job N/A self jid N/A N/A N/A N/A __name__ __main__ N/A N/A nose N/A N/A N/A nose main argv N/A nosetests -c .nose.cfg