diff --git a/_docs_/.buildinfo b/_docs_/.buildinfo deleted file mode 100644 index d0987a4..0000000 --- a/_docs_/.buildinfo +++ /dev/null @@ -1,4 +0,0 @@ -# Sphinx build info version 1 -# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. -config: da6d529f641e04786f2df1c033391b0b -tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_docs_/_downloads/6f90f976fdbe3f1817d2ddd7ac6481ea/unittest.pdf b/_docs_/_downloads/6f90f976fdbe3f1817d2ddd7ac6481ea/unittest.pdf deleted file mode 100644 index e69de29..0000000 diff --git a/_docs_/_sources/index.rst.txt b/_docs_/_sources/helpers.rst.txt similarity index 100% rename from _docs_/_sources/index.rst.txt rename to _docs_/_sources/helpers.rst.txt diff --git a/_docs_/genindex.html b/_docs_/genindex.html index 6259dd6..8b84f46 100644 --- a/_docs_/genindex.html +++ b/_docs_/genindex.html @@ -77,9 +77,6 @@
  • index
  • -
  • - modules |
  • Python logo
  • Python »
  • @@ -125,193 +122,8 @@

    Index

    - A - | C - | D - | E - | H - | I - | M - | P - | Q - | R - | S
    -

    A

    - - -
    - -

    C

    - - - -
    - -

    D

    - - - -
    - -

    E

    - - -
    - -

    H

    - - -
      -
    • - helpers - -
    • -
    - -

    I

    - - - -
    - -

    M

    - - - -
    - -

    P

    - - -
    - -

    Q

    - - -
    - -

    R

    - - - -
    - -

    S

    - - -
    -
    @@ -340,9 +152,6 @@
  • index
  • -
  • - modules |
  • Python logo
  • Python »
  • diff --git a/_docs_/py-modindex.html b/_docs_/helpers.html similarity index 86% rename from _docs_/py-modindex.html rename to _docs_/helpers.html index 4180756..f9c9fc9 100644 --- a/_docs_/py-modindex.html +++ b/_docs_/helpers.html @@ -3,8 +3,9 @@ - - Python Module Index — helpers documentation + + + helpers package — helpers documentation @@ -16,19 +17,12 @@ - - + - - - -
    @@ -64,6 +58,13 @@ +
    +

    This Page

    + +
  • index
  • -
  • - modules |
  • Python logo
  • Python »
  • @@ -98,7 +96,7 @@ helpers documentation »
  • - +
  • @@ -128,23 +126,9 @@
    - -

    Python Module Index

    - -
    - h -
    - - - - - - - -
     
    - h
    - helpers -
    +
    +

    helpers package

    +
    @@ -153,6 +137,13 @@
  • index
  • -
  • - modules |
  • Python logo
  • Python »
  • @@ -187,7 +175,7 @@ helpers documentation »
  • - +
  • diff --git a/_docs_/index.html b/_docs_/index.html deleted file mode 100644 index 378253e..0000000 --- a/_docs_/index.html +++ /dev/null @@ -1,934 +0,0 @@ - - - - - - - - helpers package — helpers documentation - - - - - - - - - - - - - - - - - - - -
    - - - -
    - - - -
    -
    -
    -
    - -
    -

    helpers package

    -
    -

    helpers (Helpers)

    -

    Author:

    - -

    Description:

    -
    -

    This module supports functions and classes which don’t have an own Module (yet).

    -
    -

    Submodules:

    - -

    Unittest:

    -
    -

    See also the unittest documentation.

    -
    -

    Module Documentation:

    -
    -
    -
    -class helpers.continues_statistic(mean=None, min_val=None, max_val=None, quantifier=0)
    -

    Bases: dict

    -

    This class stores a statistic for a stream of values. The statistic includes: mean, min, max, quantifier.

    -
    -

    Note

    -

    You can use the mathematic operators “+, +=” to add a value to the statistic.

    -
    -
    -
    Parameters:
    -
      -
    • mean (numeric) – The mean start value, the start value or None.

    • -
    • min_val (numeric) – The min start value or None

    • -
    • max_val (numeric) – The max start value or None

    • -
    • quantifier (int) – The quantifier start value or 0

    • -
    -
    -
    -
    -

    Note

    -

    You are able to initialise this class in the following ways:

    -
      -
    • Without arguments to get an empty instance

    • -
    • With one single value to get an starting instance

    • -
    • With mean, min_val, max_val, quantifier to initialise an existing statistic

    • -
    -
    -

    Example:

    -
    import sys
    -sys.path.append('../..')
    -
    -import helpers
    -
    -
    -cs = helpers.continues_statistic()
    -for val in (1, 3, 5, 4):
    -    cs += helpers.continues_statistic(val)
    -    print(cs)
    -
    -
    -

    Will result to the following output:

    -
    mean=1, min=1, max=1, quantifier=1
    -mean=2.0, min=1, max=3, quantifier=2
    -mean=3.0, min=1, max=5, quantifier=3
    -mean=3.25, min=1, max=5, quantifier=4
    -
    -
    -
    -
    -property max
    -

    The current max value.

    -
    - -
    -
    -property mean
    -

    The current mean value.

    -
    - -
    -
    -property min
    -

    The current min value.

    -
    - -
    -
    -pop()
    -

    This pops out the current statistic data and returns these as an instance of helpers.continues_statistic.

    -
    -
    Returns:
    -

    The current statistic or None, if no value is available.

    -
    -
    Return type:
    -

    helpers.continues_statistic or None

    -
    -
    -
    - -
    -
    -property quantifier
    -

    The current quantifier (number of values for continues statistic).

    -
    - -
    - -
    -
    -class helpers.continues_statistic_multivalue(*args, **kwargs)
    -

    Bases: dict

    -

    This class stores multiple statistics of stream values. The statistic of each value is stored as helpers.continues_statistic.

    -
    -

    Note

    -

    You can use the mathematic operators “+, +=” to add instances.

    -
    -
    -

    Note

    -

    You are able to initialise this class in the following ways:

    - -
    -

    Example:

    -
    import sys
    -sys.path.append('../..')
    -
    -import helpers
    -
    -
    -csm = helpers.continues_statistic_multivalue()
    -print(csm, '\n--------------------------------------------------------------')
    -csm += helpers.continues_statistic_multivalue(a={'mean': 3.1, 'min_val': 1, 'max_val': 3.5, 'quantifier': 305})
    -print(csm, '\n--------------------------------------------------------------')
    -csm += helpers.continues_statistic_multivalue(a=4.31, b={'mean': 17.1, 'min_val': 13.1, 'max_val': 19.3, 'quantifier': 27})
    -print(csm, '\n--------------------------------------------------------------')
    -print(helpers.continues_statistic_multivalue(dict(csm)), '\n--------------------------------------------------------------')
    -print('pop out b:', csm.pop('b'), '\n--------------------------------------------------------------')
    -print('pop out b:', csm.pop('b'), '\n--------------------------------------------------------------')
    -print(csm, '\n--------------------------------------------------------------')
    -print('pop out all:\n%s' % csm.pop(), '\n--------------------------------------------------------------')
    -print('pop out all:\n%s' % csm.pop(), '\n--------------------------------------------------------------')
    -print(csm, '\n--------------------------------------------------------------')
    -
    -
    -

    Will result to the following output:

    -
    - 
    ---------------------------------------------------------------
    -a: mean=3.1, min=1, max=3.5, quantifier=305 
    ---------------------------------------------------------------
    -b: mean=17.1, min=13.1, max=19.3, quantifier=27
    -a: mean=3.103954248366013, min=1, max=4.31, quantifier=306 
    ---------------------------------------------------------------
    -b: mean=17.1, min=13.1, max=19.3, quantifier=27
    -a: mean=3.103954248366013, min=1, max=4.31, quantifier=306 
    ---------------------------------------------------------------
    -pop out b: mean=17.1, min=13.1, max=19.3, quantifier=27 
    ---------------------------------------------------------------
    -pop out b: mean=None, min=None, max=None, quantifier=0 
    ---------------------------------------------------------------
    -b: mean=None, min=None, max=None, quantifier=0
    -a: mean=3.103954248366013, min=1, max=4.31, quantifier=306 
    ---------------------------------------------------------------
    -pop out all:
    -b: mean=None, min=None, max=None, quantifier=0
    -a: mean=3.103954248366013, min=1, max=4.31, quantifier=306 
    ---------------------------------------------------------------
    -pop out all:
    -- 
    ---------------------------------------------------------------
    -- 
    ---------------------------------------------------------------
    -
    -
    -
    -
    -pop(key=None)
    -

    This pops out the current statistic data for a given key and returns these as an instance of helpers.continues_statistic.

    -

    If no key is given it pops out the current statistic data and returns these as an instance of helpers.continues_statistic_multiple.

    -
    -
    Parameters:
    -

    key (str or NoneType) – The key to get data for

    -
    -
    Returns:
    -

    The current statistic or None, if no value is available.

    -
    -
    Return type:
    -

    helpers.continues_statistic or None

    -
    -
    -
    - -
    - -
    -
    -class helpers.direct_socket_base(max_len=None, virtual_rate_bps=None)
    -

    Bases: object

    -

    This is the base class for other classes in this module.

    -
    -
    -DEFAULT_CHANNEL_NAME = 'all_others'
    -
    - -
    -
    -IS_CLIENT = False
    -
    - -
    -
    -disconnect()
    -

    Method to disconnect client and server.

    -
    - -
    -
    -init_channel_name(channel_name=None)
    -

    With this Method, the channel name for logging can be changed.

    -
    -
    Parameters:
    -

    channel_name (str) – The name for the logging channel

    -
    -
    -
    - -
    -
    -is_connected()
    -

    With this Method the connection status can be identified.

    -
    -
    Returns:
    -

    True, if a connection is established, otherwise False.

    -
    -
    Return type:
    -

    bool

    -
    -
    -
    - -
    -
    -receive(timeout=1.0, num=None)
    -

    This method returns received data.

    -
    -
    Parameters:
    -
      -
    • timeout (float) – The timeout for receiving data (at least after the timeout the method returns data or None).

    • -
    • num (int or None) – the number of bytes to receive (use None to get all available data).

    • -
    -
    -
    Returns:
    -

    The received data.

    -
    -
    Return type:
    -

    bytes

    -
    -
    -
    - -
    -
    -register_callback(callback)
    -

    This method stores the callback which is executed, if data is available. You need to execute receive() of this instance -given as first argument.

    -
    -
    Parameters:
    -

    callback – The callback which will be executed, when data is available.

    -
    -
    -
    - -
    -
    -register_connect_callback(callback)
    -

    This method stores the callback which is executed, if a connection is established.

    -
    -
    Parameters:
    -

    callback – The callback which will be executed, when a connection is established.

    -
    -
    -
    - -
    -
    -register_disconnect_callback(callback)
    -

    This method stores the callback which is executed, after the connection is lost.

    -
    -
    Parameters:
    -

    callback – The callback which will be executed, after the connection is lost.

    -
    -
    -
    - -
    -
    -send(data, timeout=1.0)
    -

    This method sends data via the initiated communication channel.

    -
    -
    Parameters:
    -
      -
    • data (bytes) – The data to be send over the communication channel.

    • -
    • timeout (float) – The timeout for sending data (e.g. time to establish new connection).

    • -
    -
    -
    Returns:
    -

    True if data had been sent, otherwise False.

    -
    -
    Return type:
    -

    bool

    -
    -
    -
    - -
    - -
    -
    -class helpers.direct_socket_client(max_len=None, virtual_rate_bps=None)
    -

    Bases: direct_socket_base

    -

    Class to create a direct client socket. See also parent helpers.direct_socket_base.

    -

    Example:

    -
    import sys                  # nopep8
    -sys.path.append('../..')    # nopep8
    -
    -import report
    -import helpers
    -
    -
    -def mirror_callback(sock):
    -    sock.send(sock.receive())
    -
    -
    -report.default_logging_config()
    -s = helpers.direct_socket_server(virtual_rate_bps=5)
    -s.init_channel_name('example_server')
    -s.register_callback(mirror_callback)
    -c = helpers.direct_socket_client(max_len=2, virtual_rate_bps=5)
    -c.init_channel_name('example_client')
    -c.connect(s)
    -c.send(b'abc')
    -print('The Client received: %s' % repr(c.receive()))
    -
    -
    -

    Will result to the following output:

    -
       DEBUG - helpers.all_others - comm-server: Cleaning up receive-buffer
    -    INFO - helpers.all_others - comm-server: Waiting for incomming connection
    -   DEBUG - helpers.all_others - comm-client: Cleaning up receive-buffer
    -    INFO - helpers.example_client - comm-client: Connection established...
    -   DEBUG - helpers.example_client - comm-client: Cleaning up receive-buffer
    -    INFO - helpers.example_server - comm-server: Connection established...
    -   DEBUG - helpers.example_server - comm-server: Cleaning up receive-buffer
    -    INFO - helpers.example_client - comm-client: TX -> (2): 61 62
    -    INFO - helpers.example_server - comm-server: RX <- (2): 61 62
    -    INFO - helpers.example_client - comm-client: TX -> (1): 63
    -    INFO - helpers.example_server - comm-server: TX -> (2): 61 62
    -    INFO - helpers.example_server - comm-server: RX <- (1): 63
    -    INFO - helpers.example_client - comm-client: RX <- (2): 61 62
    -    INFO - helpers.example_server - comm-server: TX -> (1): 63
    -The Client received: b'ab'
    -
    -
    -
    -
    -IS_CLIENT = True
    -
    - -
    -
    -connect(remote_socket)
    -

    Method to create a connection between this client and a helpers.direct_socket_server instance.

    -
    -
    Parameters:
    -

    remote_socket (helpers.direct_socket_server) – The remote socket to connect to.

    -
    -
    -
    - -
    -
    -reconnect()
    -

    Method to do a reconnect.

    -
    -

    Note

    -

    The remote_socket of the prefious connect() call will be used.

    -
    -
    - -
    - -
    -
    -class helpers.direct_socket_server(*args, **kwargs)
    -

    Bases: direct_socket_base

    -

    Class to create a direct server socket. See also parent helpers.direct_socket_base.

    -

    Example:

    -
    import sys                  # nopep8
    -sys.path.append('../..')    # nopep8
    -
    -import report
    -import helpers
    -
    -
    -def mirror_callback(sock):
    -    sock.send(sock.receive())
    -
    -
    -report.default_logging_config()
    -s = helpers.direct_socket_server(virtual_rate_bps=5)
    -s.init_channel_name('example_server')
    -s.register_callback(mirror_callback)
    -c = helpers.direct_socket_client(max_len=2, virtual_rate_bps=5)
    -c.init_channel_name('example_client')
    -c.connect(s)
    -c.send(b'abc')
    -print('The Client received: %s' % repr(c.receive()))
    -
    -
    -

    Will result to the following output:

    -
       DEBUG - helpers.all_others - comm-server: Cleaning up receive-buffer
    -    INFO - helpers.all_others - comm-server: Waiting for incomming connection
    -   DEBUG - helpers.all_others - comm-client: Cleaning up receive-buffer
    -    INFO - helpers.example_client - comm-client: Connection established...
    -   DEBUG - helpers.example_client - comm-client: Cleaning up receive-buffer
    -    INFO - helpers.example_server - comm-server: Connection established...
    -   DEBUG - helpers.example_server - comm-server: Cleaning up receive-buffer
    -    INFO - helpers.example_client - comm-client: TX -> (2): 61 62
    -    INFO - helpers.example_server - comm-server: RX <- (2): 61 62
    -    INFO - helpers.example_client - comm-client: TX -> (1): 63
    -    INFO - helpers.example_server - comm-server: TX -> (2): 61 62
    -    INFO - helpers.example_server - comm-server: RX <- (1): 63
    -    INFO - helpers.example_client - comm-client: RX <- (2): 61 62
    -    INFO - helpers.example_server - comm-server: TX -> (1): 63
    -The Client received: b'ab'
    -
    -
    -
    -
    -IS_CLIENT = False
    -
    - -
    - -
    -
    -class helpers.direct_socket_stp_base(*args, **kwargs)
    -

    Bases: direct_socket_base

    -
    -
    -IS_CLIENT = False
    -
    - -
    -
    -receive(timeout=1)
    -

    This method returns one received messages via the initiated communication channel.

    -
    -
    Parameters:
    -

    timeout (float) – The timeout for receiving data (at least after the timeout the method returns data or None).

    -
    -
    Returns:
    -

    The received data.

    -
    -
    Return type:
    -

    bytes

    -
    -
    -
    - -
    - -
    -
    -class helpers.direct_socket_stp_client(*args, **kwargs)
    -

    Bases: direct_socket_stp_base

    -
    -
    -IS_CLIENT = True
    -
    - -
    -
    -connect(remote_socket)
    -

    Method to create a connection between this client and a helpers.direct_socket_server instance.

    -
    -
    Parameters:
    -

    remote_socket (helpers.direct_socket_server) – The remote socket to connect to.

    -
    -
    -
    - -
    -
    -reconnect()
    -

    Method to do a reconnect.

    -
    -

    Note

    -

    The remote_socket of the prefious connect() call will be used.

    -
    -
    - -
    - -
    -
    -class helpers.direct_socket_stp_server(*args, **kwargs)
    -

    Bases: direct_socket_stp_base

    -
    -
    -IS_CLIENT = False
    -
    - -
    - -
    -
    -class helpers.ringbuffer(*args, **kwargs)
    -

    Bases: list

    -

    Class for a list with a limited number of elements.

    -
    -

    Note

    -

    On adding Objects, the list will be reduced to the maximum length by deleting entries starting from index 0.

    -
    -

    Example:

    -
    import sys
    -sys.path.append('../..')
    -
    -import helpers
    -
    -
    -rb = helpers.ringbuffer(length=5)
    -print(rb, '\n--------------------------------------------------------------')
    -rb.append(0)
    -print(rb, '\n--------------------------------------------------------------')
    -rb.extend((1,2,3,4,5,6))
    -print(rb, '\n--------------------------------------------------------------')
    -rb.append(17)
    -print(rb, '\n--------------------------------------------------------------')
    -
    -
    -

    Will result to the following output:

    -
    [] 
    ---------------------------------------------------------------
    -[0] 
    ---------------------------------------------------------------
    -[2, 3, 4, 5, 6] 
    ---------------------------------------------------------------
    -[3, 4, 5, 6, 17] 
    ---------------------------------------------------------------
    -
    -
    -
    -
    -append(obj)
    -

    Append object to the end of the list.

    -
    - -
    -
    -extend(iterable)
    -

    Extend list by appending elements from the iterable.

    -
    - -
    - -
    - - -
    -
    -
    -
    - -
    -
    - - - - - \ No newline at end of file diff --git a/_docs_/objects.inv b/_docs_/objects.inv index 48851df..e740d31 100644 Binary files a/_docs_/objects.inv and b/_docs_/objects.inv differ diff --git a/_docs_/search.html b/_docs_/search.html index 711fc24..d9cb1ef 100644 --- a/_docs_/search.html +++ b/_docs_/search.html @@ -67,9 +67,6 @@
  • index
  • -
  • - modules |
  • Python logo
  • Python »
  • @@ -144,9 +141,6 @@
  • index
  • -
  • - modules |
  • Python logo
  • Python »
  • diff --git a/_docs_/searchindex.js b/_docs_/searchindex.js index 6580642..40bcc88 100644 --- a/_docs_/searchindex.js +++ b/_docs_/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles":{"1. Copyright and Related Rights.":[[3,"copyright-and-related-rights"],[10,"copyright-and-related-rights"]],"2. Waiver.":[[3,"waiver"],[10,"waiver"]],"3. Public License Fallback.":[[3,"public-license-fallback"],[10,"public-license-fallback"]],"4. Limitations and Disclaimers.":[[3,"limitations-and-disclaimers"],[10,"limitations-and-disclaimers"]],"CC0 1.0 Universal licence":[[3,"cc0-1-0-universal-licence"],[10,"cc0-1-0-universal-licence"]],"Licence":[[3,null],[10,null]],"License for Sphinx":[[4,null],[11,null]],"Statement of Purpose":[[3,"statement-of-purpose"],[10,"statement-of-purpose"]],"The MIT License (MIT)":[[2,null],[9,null]],"Zero-Clause BSD Licence":[[3,"zero-clause-bsd-licence"],[10,"zero-clause-bsd-licence"]],"helpers (Helpers)":[[0,"helpers-helpers"]],"helpers package":[[0,null]]},"docnames":["index","venv/lib/python3.13/site-packages/alabaster-1.0.0.dist-info/LICENSE","venv/lib/python3.13/site-packages/imagesize-1.4.1.dist-info/LICENSE","venv/lib/python3.13/site-packages/roman_numerals_py-3.1.0.dist-info/licenses/LICENCE","venv/lib/python3.13/site-packages/sphinx-8.2.3.dist-info/licenses/LICENSE","venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base","venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/class","venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module","venv/lib64/python3.13/site-packages/alabaster-1.0.0.dist-info/LICENSE","venv/lib64/python3.13/site-packages/imagesize-1.4.1.dist-info/LICENSE","venv/lib64/python3.13/site-packages/roman_numerals_py-3.1.0.dist-info/licenses/LICENCE","venv/lib64/python3.13/site-packages/sphinx-8.2.3.dist-info/licenses/LICENSE","venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base","venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/class","venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module"],"envversion":{"sphinx":65,"sphinx.domains.c":3,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":9,"sphinx.domains.index":1,"sphinx.domains.javascript":3,"sphinx.domains.math":2,"sphinx.domains.python":4,"sphinx.domains.rst":2,"sphinx.domains.std":2},"filenames":["index.rst","venv/lib/python3.13/site-packages/alabaster-1.0.0.dist-info/LICENSE.rst","venv/lib/python3.13/site-packages/imagesize-1.4.1.dist-info/LICENSE.rst","venv/lib/python3.13/site-packages/roman_numerals_py-3.1.0.dist-info/licenses/LICENCE.rst","venv/lib/python3.13/site-packages/sphinx-8.2.3.dist-info/licenses/LICENSE.rst","venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst","venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst","venv/lib/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst","venv/lib64/python3.13/site-packages/alabaster-1.0.0.dist-info/LICENSE.rst","venv/lib64/python3.13/site-packages/imagesize-1.4.1.dist-info/LICENSE.rst","venv/lib64/python3.13/site-packages/roman_numerals_py-3.1.0.dist-info/licenses/LICENCE.rst","venv/lib64/python3.13/site-packages/sphinx-8.2.3.dist-info/licenses/LICENSE.rst","venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/base.rst","venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/class.rst","venv/lib64/python3.13/site-packages/sphinx/ext/autosummary/templates/autosummary/module.rst"],"indexentries":{},"objects":{"":[[0,0,0,"-","helpers"]],"helpers":[[0,1,1,"","continues_statistic"],[0,1,1,"","continues_statistic_multivalue"],[0,1,1,"","direct_socket_base"],[0,1,1,"","direct_socket_client"],[0,1,1,"","direct_socket_server"],[0,1,1,"","direct_socket_stp_base"],[0,1,1,"","direct_socket_stp_client"],[0,1,1,"","direct_socket_stp_server"],[0,1,1,"","ringbuffer"]],"helpers.continues_statistic":[[0,2,1,"","max"],[0,2,1,"","mean"],[0,2,1,"","min"],[0,3,1,"","pop"],[0,2,1,"","quantifier"]],"helpers.continues_statistic_multivalue":[[0,3,1,"","pop"]],"helpers.direct_socket_base":[[0,4,1,"","DEFAULT_CHANNEL_NAME"],[0,4,1,"","IS_CLIENT"],[0,3,1,"","disconnect"],[0,3,1,"","init_channel_name"],[0,3,1,"","is_connected"],[0,3,1,"","receive"],[0,3,1,"","register_callback"],[0,3,1,"","register_connect_callback"],[0,3,1,"","register_disconnect_callback"],[0,3,1,"","send"]],"helpers.direct_socket_client":[[0,4,1,"","IS_CLIENT"],[0,3,1,"","connect"],[0,3,1,"","reconnect"]],"helpers.direct_socket_server":[[0,4,1,"","IS_CLIENT"]],"helpers.direct_socket_stp_base":[[0,4,1,"","IS_CLIENT"],[0,3,1,"","receive"]],"helpers.direct_socket_stp_client":[[0,4,1,"","IS_CLIENT"],[0,3,1,"","connect"],[0,3,1,"","reconnect"]],"helpers.direct_socket_stp_server":[[0,4,1,"","IS_CLIENT"]],"helpers.ringbuffer":[[0,3,1,"","append"],[0,3,1,"","extend"]]},"objnames":{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","property","Python property"],"3":["py","method","Python method"],"4":["py","attribute","Python attribute"]},"objtypes":{"0":"py:module","1":"py:class","2":"py:property","3":"py:method","4":"py:attribute"},"terms":{"":[0,3,10],"0":0,"1":0,"103954248366013":0,"11":[3,10],"13":0,"17":0,"19":0,"1996":[3,10],"2":0,"2007":[4,11],"2010":[1,8],"2011":[1,8],"2016":[2,9],"2020":[1,8],"2024":[3,10],"2025":[4,11],"25":0,"27":0,"3":0,"305":0,"306":0,"31":0,"4":0,"5":0,"6":0,"61":0,"62":0,"63":0,"9":[3,10],"96":[3,10],"A":[1,2,3,4,8,9,10,11],"AND":[1,2,3,4,8,9,10,11],"AS":[1,2,3,4,8,9,10,11],"BE":[1,2,3,4,8,9,10,11],"BUT":[1,2,4,8,9,11],"BY":[1,4,8,11],"FOR":[1,2,3,4,8,9,10,11],"For":[3,10],"IF":[1,4,8,11],"IN":[1,2,3,4,8,9,10,11],"If":0,"In":[3,10],"NO":[1,2,3,4,8,9,10,11],"NOT":[1,2,4,8,9,11],"No":[3,10],"OF":[1,2,3,4,8,9,10,11],"ON":[1,4,8,11],"OR":[1,2,3,4,8,9,10,11],"On":0,"SUCH":[1,4,8,11],"THE":[1,2,3,4,8,9,10,11],"TO":[1,2,3,4,8,9,10,11],"The":[0,1,3,8,10],"These":[3,10],"To":[3,10],"WITH":[2,3,9,10],"Will":0,"With":0,"ab":0,"abandon":[3,10],"abc":0,"abl":0,"abov":[1,2,4,8,9,11],"absenc":[3,10],"account":[3,10],"accuraci":[3,10],"acknowledg":[3,10],"action":[2,3,9,10],"ad":0,"adam":[3,10],"adapt":[3,10],"add":0,"addit":[3,10],"advertis":[3,10],"advis":[1,4,8,11],"affect":[3,10],"affirm":[3,10],"after":0,"against":[3,10],"alder":0,"all":[0,2,3,4,9,10,11],"all_oth":0,"also":0,"amend":[3,10],"an":[0,2,3,9,10],"ani":[1,2,3,4,8,9,10,11],"append":0,"appli":[3,10],"applic":[3,10],"ar":[0,1,3,4,8,10,11],"arg":0,"argument":0,"aris":[1,2,3,4,8,9,10,11],"armin":[1,8],"assert":[3,10],"associ":[2,3,9,10],"author":[0,2,3,4,9,10,11],"authorship":[3,10],"automat":[3,10],"avail":[0,3,10],"b":0,"base":[0,1,3,8,10],"been":0,"below":[3,4,10,11],"benefit":[3,10],"between":0,"binari":[1,4,8,11],"block":[7,14],"bool":0,"bsd":[4,11],"buffer":0,"build":[3,10],"busi":[1,4,8,11],"byte":0,"c":[0,1,3,4,8,10,11],"call":0,"callback":0,"can":[0,3,10],"cancel":[3,10],"case":[3,10],"caus":[1,3,4,8,10,11],"certain":[3,10],"chang":0,"channel":0,"channel_nam":0,"charg":[2,9],"claim":[2,3,9,10],"class":0,"claus":[4,11],"clean":0,"clear":[3,10],"client":0,"code":[1,4,8,11],"comm":0,"commerci":[3,10],"common":[3,10],"commun":[0,3,10],"compens":[3,10],"competit":[3,10],"concern":[3,10],"condit":[1,2,4,8,9,11],"confer":[3,10],"connect":[0,2,3,9,10],"consent":[3,10],"consequenti":[1,3,4,8,10,11],"consider":[3,10],"contempl":[3,10],"continu":0,"continues_statist":0,"continues_statistic_multipl":0,"continues_statistic_multivalu":0,"contract":[1,2,3,4,8,9,10,11],"contrari":[3,10],"contravent":[3,10],"contribut":[3,10],"contributor":[1,4,8,11],"copi":[2,3,9,10],"copyright":[1,2,4,8,9,11],"correspond":[3,10],"council":[3,10],"creat":0,"creativ":[3,10],"creator":[3,10],"csm":0,"cultur":[3,10],"current":[0,3,10],"damag":[1,2,3,4,8,9,10,11],"data":[0,1,3,4,8,10,11],"databas":[3,10],"date":[3,10],"de":0,"deal":[2,9],"debug":0,"deem":[3,10],"def":0,"default_channel_nam":0,"default_logging_config":0,"defect":[3,10],"defin":[3,10],"delet":0,"depict":[3,10],"deriv":[1,8],"descript":0,"detriment":[3,10],"dict":0,"direct":[0,1,3,4,8,10,11],"direct_socket_bas":0,"direct_socket_cli":0,"direct_socket_serv":0,"direct_socket_stp_bas":0,"direct_socket_stp_cli":0,"direct_socket_stp_serv":0,"dirk":0,"disclaim":[1,4,8,11],"disconnect":0,"discover":[3,10],"displai":[3,10],"disrupt":[3,10],"dissemin":[3,10],"distribut":[1,2,3,4,8,9,10,11],"do":[0,2,9],"document":[0,1,2,3,4,8,9,10,11],"don":0,"durat":[3,10],"duti":[3,10],"e":0,"each":[0,3,10],"ec":[3,10],"effect":[3,10],"effort":[3,10],"either":[3,10],"elect":[3,10],"element":0,"empti":0,"end":0,"endblock":[7,14],"endfor":[7,14],"endif":[7,14],"endors":[1,8],"enjoy":[3,10],"entri":0,"equit":[3,10],"equival":[0,3,10],"error":[3,10],"escap":[5,6,7,12,13,14],"establish":0,"european":[3,10],"even":[1,4,8,11],"event":[1,2,3,4,8,9,10,11],"exampl":0,"example_cli":0,"example_serv":0,"exclus":[3,10],"execut":0,"exemplari":[1,4,8,11],"exercis":[3,10],"exist":[0,3,10],"expect":[3,10],"express":[1,2,3,4,8,9,10,11],"extend":0,"extens":[3,10],"extent":[3,10],"extract":[3,10],"fals":0,"fear":[3,10],"fee":[3,10],"file":[2,4,9,11],"first":0,"fit":[1,2,3,4,8,9,10,11],"float":0,"follow":[0,1,2,3,4,8,9,10,11],"forcier":[1,8],"form":[1,3,4,8,10,11],"free":[2,3,9,10],"freeli":[3,10],"from":[0,1,2,3,8,9,10],"fulli":[3,10],"fullnam":[5,6,7,12,13,14],"function":0,"furnish":[2,9],"further":[3,10],"futur":[3,10],"g":0,"gain":[3,10],"get":0,"given":0,"good":[1,4,8,11],"grant":[2,3,9,10],"greater":[3,10],"greatest":[3,10],"ha":[3,10],"had":0,"have":0,"he":[3,10],"heir":[3,10],"held":[3,10],"her":[3,10],"herebi":[2,3,9,10],"hi":[3,10],"holder":[1,2,4,8,9,11],"howev":[1,4,8,11],"i":[0,1,2,3,4,8,9,10,11],"ideal":[3,10],"identifi":0,"ii":[3,10],"iii":[3,10],"imag":[3,10],"implement":[3,10],"impli":[1,2,3,4,8,9,10,11],"import":0,"incident":[1,4,8,11],"includ":[0,1,2,3,4,8,9,10,11],"incom":0,"incorpor":[3,10],"index":0,"indic":[4,11],"indirect":[1,3,4,8,10,11],"ineffect":[3,10],"info":0,"infring":[3,10],"init_channel_nam":0,"initi":0,"initialis":0,"instanc":0,"int":0,"intend":[3,10],"interrupt":[1,4,8,11],"invalid":[3,10],"irrevoc":[3,10],"is_client":0,"is_connect":0,"item":[7,14],"iter":0,"its":[3,10],"iv":[3,10],"jeff":[1,8],"judg":[3,10],"jurisdict":[3,10],"kei":0,"kenneth":[1,8],"keword":0,"kind":[2,3,9,10],"knowledg":[3,10],"known":[3,10],"kwarg":0,"larg":[3,10],"latent":[3,10],"later":[3,10],"law":[3,10],"least":0,"legal":[3,10],"length":0,"liabil":[1,2,4,8,9,11],"liabl":[1,2,3,4,8,9,10,11],"licenc":[4,11],"like":[3,10],"limit":[0,1,2,4,8,9,11],"list":[0,1,4,8,11],"log":0,"loss":[1,3,4,8,10,11],"lost":0,"made":[3,10],"mai":[1,3,8,10],"make":[3,10],"march":[3,10],"materi":[1,4,8,11],"mathemat":0,"max":0,"max_len":0,"max_val":0,"maximum":[0,3,10],"mean":[0,3,10],"medium":[3,10],"member":[3,10],"merchant":[1,2,3,4,8,9,10,11],"merg":[2,9],"messag":0,"met":[1,4,8,11],"method":0,"min":0,"min_val":0,"mirror_callback":0,"mockeri":0,"modif":[1,4,8,11],"modifi":[2,3,9,10],"modul":[0,7,14],"moral":[3,10],"most":[3,10],"motiv":[3,10],"mount":0,"multipl":0,"must":[1,4,8,11],"n":0,"name":[0,1,8],"nation":[3,10],"necessari":[3,10],"need":0,"neglig":[1,3,4,8,10,11],"neighbor":[3,10],"new":0,"non":[3,10],"none":0,"nonetyp":0,"noninfring":[2,9],"nopep8":0,"notic":[1,2,4,8,9,11],"now":[3,10],"num":0,"number":[0,3,10],"numer":0,"obj":0,"object":0,"oblig":[3,10],"obtain":[2,3,9,10],"offer":[3,10],"one":0,"oper":0,"origin":[1,3,8,10],"other":[0,1,2,3,4,8,9,10,11],"otherwis":[0,1,2,3,4,8,9,10,11],"out":[0,1,2,3,4,8,9,10,11],"output":0,"over":0,"overtli":[3,10],"own":0,"owner":[1,3,8,10],"paragraph":[3,10],"paramet":0,"parent":0,"parliament":[3,10],"part":[3,10],"parti":[3,10],"partial":[3,10],"particular":[1,2,3,4,8,9,10,11],"pass":0,"patent":[3,10],"path":0,"perform":[3,10],"perman":[3,10],"permiss":[1,2,3,8,9,10],"permit":[1,2,3,4,8,9,10,11],"person":[2,3,9,10],"pertain":[3,10],"pop":0,"portion":[2,9],"possibl":[1,3,4,8,10,11],"prefiou":0,"present":[3,10],"preserv":[3,10],"print":0,"prior":[1,8],"privaci":[3,10],"procur":[1,4,8,11],"product":[1,3,8,10],"profit":[1,3,4,8,10,11],"project":[3,4,10,11],"promot":[1,3,8,10],"properti":0,"protect":[3,10],"provid":[1,2,3,4,8,9,10,11],"publicli":[3,10],"publish":[2,9],"purpos":[1,2,4,8,9,11],"quantifi":0,"quiet":[3,10],"rb":0,"reason":[3,10],"receiv":0,"reconnect":0,"redistribut":[1,3,4,8,10,11],"reduc":0,"regard":[3,10],"register_callback":0,"register_connect_callback":0,"register_disconnect_callback":0,"reitz":[1,8],"reliabl":[3,10],"relinquish":[3,10],"remain":[3,10],"remaind":[3,10],"remot":0,"remote_socket":0,"report":0,"repr":0,"represent":[3,10],"reproduc":[1,3,4,8,10,11],"reput":[3,10],"requir":[3,10],"resciss":[3,10],"reserv":[1,4,8,11],"respect":[3,10],"respons":[3,10],"restrict":[2,9],"result":[0,3,10],"retain":[1,3,4,8,10,11],"return":0,"reus":[3,10],"revoc":[3,10],"right":[1,2,4,8,9,11],"ringbuff":0,"ronach":[1,8],"royalti":[3,10],"rubric":[7,14],"rx":0,"scientif":[3,10],"see":[0,4,11],"sell":[2,9],"send":0,"sent":0,"server":0,"servic":[1,4,8,11],"shall":[1,2,3,4,8,9,10,11],"she":[3,10],"shibukawa":[2,9],"should":[3,10],"similar":[3,10],"singl":0,"so":[2,3,9,10],"sock":0,"socket":0,"softwar":[1,2,3,4,8,9,10,11],"some":[1,8],"sourc":[1,4,8,11],"special":[1,3,4,8,10,11],"specif":[1,8],"start":0,"statist":0,"statu":0,"statutori":[3,10],"store":0,"str":0,"stream":0,"strict":[1,4,8,11],"subject":[2,3,9,10],"sublicens":[2,3,9,10],"submodul":0,"subsequ":[3,10],"substanti":[2,9],"substitut":[1,4,8,11],"successor":[3,10],"sudo":0,"support":0,"surrend":[3,10],"sy":0,"t":0,"take":[3,10],"team":[4,11],"term":[3,10],"termin":[3,10],"territori":[3,10],"theme":[1,8],"theori":[1,4,8,11],"thereof":[3,10],"thi":[0,1,2,3,4,8,9,10,11],"those":[3,10],"through":[3,10],"throughout":[3,10],"time":[0,3,10],"timeout":0,"titl":[3,10],"tort":[1,2,4,8,9,11],"tortiou":[3,10],"trademark":[3,10],"transfer":[3,10],"translat":[3,10],"treati":[3,10],"true":0,"turner":[3,10],"two":[4,11],"tx":0,"type":0,"uncondit":[3,10],"uncondition":[3,10],"under":[3,4,10,11],"underlin":[5,6,7,12,13,14],"understand":[3,10],"unfair":[3,10],"unittest":0,"unknown":[3,10],"unless":[4,11],"up":0,"upon":[3,10],"us":[0,1,2,3,4,8,9,10,11],"val":0,"valu":0,"version":[3,10],"via":0,"virtual_rate_bp":0,"voluntarili":[3,10],"wa":[3,10],"wai":[0,1,4,8,11],"wait":0,"waiv":[3,10],"warranti":[1,2,3,4,8,9,10,11],"well":[3,10],"whatsoev":[3,10],"when":0,"whether":[1,2,3,4,8,9,10,11],"which":0,"whom":[2,9],"wish":[3,10],"without":[0,1,2,3,4,8,9,10,11],"work":[1,3,8,10],"world":[3,10],"worldwid":[3,10],"written":[1,8],"yet":0,"yoshiki":[2,9],"you":0},"titles":["helpers package","<no title>","The MIT License (MIT)","Licence","License for Sphinx","<no title>","<no title>","<no title>","<no title>","The MIT License (MIT)","Licence","License for Sphinx","<no title>","<no title>","<no title>"],"titleterms":{"0":[3,10],"1":[3,10],"2":[3,10],"3":[3,10],"4":[3,10],"The":[2,9],"bsd":[3,10],"cc0":[3,10],"claus":[3,10],"copyright":[3,10],"disclaim":[3,10],"fallback":[3,10],"helper":0,"licenc":[3,10],"licens":[2,3,4,9,10,11],"limit":[3,10],"mit":[2,9],"packag":0,"public":[3,10],"purpos":[3,10],"relat":[3,10],"right":[3,10],"sphinx":[4,11],"statement":[3,10],"univers":[3,10],"waiver":[3,10],"zero":[3,10]}}) \ No newline at end of file +Search.setIndex({"alltitles":{"helpers package":[[0,null]]},"docnames":["helpers"],"envversion":{"sphinx":65,"sphinx.domains.c":3,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":9,"sphinx.domains.index":1,"sphinx.domains.javascript":3,"sphinx.domains.math":2,"sphinx.domains.python":4,"sphinx.domains.rst":2,"sphinx.domains.std":2},"filenames":["helpers.rst"],"indexentries":{},"objects":{},"objnames":{},"objtypes":{},"terms":{},"titles":["helpers package"],"titleterms":{"helper":0,"packag":0}}) \ No newline at end of file