id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10,200 | tornadoclient.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/client/tornadoclient.py | # -*- coding: utf-8 -*-
# flake8: noqa
import ssl
from tornado import iostream, escape
from zato.server.ext.ws4py.client import WebSocketBaseClient
from zato.server.ext.ws4py.exc import HandshakeError
__all__ = ['TornadoWebSocketClient']
class TornadoWebSocketClient(WebSocketBaseClient):
def __init__(self, url,... | 5,102 | Python | .py | 124 | 30.645161 | 105 | 0.588592 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,201 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/client/__init__.py | # -*- coding: utf-8 -*-
# flake8: noqa
import os
import socket
import ssl
from base64 import b64encode
from hashlib import sha1
from logging import getLogger
from zato.common.api import NotGiven
from zato.server.ext.ws4py import WS_KEY, WS_VERSION
from zato.server.ext.ws4py.exc import HandshakeError
from zato.server.e... | 13,421 | Python | .py | 302 | 33.215232 | 130 | 0.555104 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,202 | geventclient.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/client/geventclient.py | # -*- coding: utf-8 -*-
# flake8: noqa
import copy
import gevent
from gevent import Greenlet
from gevent.queue import Queue
from zato.server.ext.ws4py.client import WebSocketBaseClient
__all__ = ['WebSocketClient']
class WebSocketClient(WebSocketBaseClient):
def __init__(self, server, url, protocols=None, exten... | 2,880 | Python | .py | 80 | 26.6625 | 100 | 0.597197 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,203 | threadedclient.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/client/threadedclient.py | # -*- coding: utf-8 -*-
# flake8: noqa
import threading
from zato.server.ext.ws4py.client import WebSocketBaseClient
__all__ = ['WebSocketClient']
class WebSocketClient(WebSocketBaseClient):
def __init__(self, server, url, protocols=None, extensions=None, heartbeat_freq=None,
ssl_options=None, headers=No... | 3,066 | Python | .py | 82 | 27.060976 | 94 | 0.558556 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,204 | wsgiutils.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/server/wsgiutils.py | # -*- coding: utf-8 -*-
# flake8: noqa
__doc__ = """
This module provides a WSGI application suitable
for a WSGI server such as gevent or wsgiref for instance.
:pep:`333` couldn't foresee a protocol such as
WebSockets but luckily the way the initial
protocol upgrade was designed means that we can
fit the handshake in ... | 6,123 | Python | .py | 137 | 36.19708 | 89 | 0.648767 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,205 | wsgirefserver.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/server/wsgirefserver.py | # -*- coding: utf-8 -*-
# flake8: noqa
__doc__ = """
Add WebSocket support to the built-in WSGI server
provided by the :py:mod:`wsgiref`. This is clearly not
meant to be a production server so please consider this
only for testing purpose.
Mostly, this module overrides bits and pieces of
the built-in classes so that i... | 5,102 | Python | .py | 127 | 32.456693 | 98 | 0.671648 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,206 | cherrypyserver.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/server/cherrypyserver.py | # -*- coding: utf-8 -*-
# flake8: noqa
__doc__ = """
WebSocket within CherryPy is a tricky bit since CherryPy is
a threaded server which would choke quickly if each thread
of the server were kept attached to a long living connection
that WebSocket expects.
In order to work around this constraint, we take some advantag... | 14,495 | Python | .py | 324 | 34.302469 | 129 | 0.610344 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,207 | geventserver.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/server/geventserver.py | # -*- coding: utf-8 -*-
# flake8: noqa
__doc__ = """
WSGI entities to support WebSocket from within gevent.
Its usage is rather simple:
.. code-block: python
from gevent import monkey; monkey.patch_all()
from zato.server.ext.ws4py.websocket import EchoWebSocket
from zato.server.ext.ws4py.server.geventser... | 3,776 | Python | .py | 92 | 33.054348 | 97 | 0.661379 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,208 | tulipserver.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/server/tulipserver.py | # -*- coding: utf-8 -*-
# flake8: noqa
import base64
from hashlib import sha1
from email.parser import BytesHeaderParser
import io
import asyncio
from zato.server.ext.ws4py import WS_KEY, WS_VERSION
from zato.server.ext.ws4py.exc import HandshakeError
from zato.server.ext.ws4py.websocket import WebSocket
LF = b'\n'
... | 7,747 | Python | .py | 192 | 30.59375 | 113 | 0.60569 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,209 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/apispec/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,210 | model.py | zatosource_zato/code/zato-server/src/zato/server/apispec/model.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from dataclasses import dataclass, field, Field, MISSING
from inspect import isclass
from logging import getLogger
from operator import attrgetter
# Bunch
... | 12,146 | Python | .py | 239 | 43.606695 | 130 | 0.422094 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,211 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/apispec/parser/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,212 | service.py | zatosource_zato/code/zato-server/src/zato/server/apispec/parser/service.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.marshal_.api import extract_model_class, is_list
from zato.common.marshal_.api import Model
from zato.common.marshal_.simpleio import DataCla... | 6,920 | Python | .py | 123 | 47.674797 | 130 | 0.463566 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,213 | docstring.py | zatosource_zato/code/zato-server/src/zato/server/apispec/parser/docstring.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# dataclasses
from dataclasses import dataclass
# docformatter
from docformatter import format_docstring
# markdown
from markdown import markdown
# Zato
from zato... | 17,944 | Python | .py | 335 | 42.841791 | 130 | 0.514867 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,214 | openapi.py | zatosource_zato/code/zato-server/src/zato/server/apispec/spec/openapi.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from logging import getLogger
# Bunch
from bunch import Bunch, bunchify
# Parse
from parse import parse
# PyYAML
from yaml import dump as yaml_dump, Dump... | 15,340 | Python | .py | 277 | 42.974729 | 130 | 0.465575 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,215 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/apispec/spec/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,216 | wsdl.py | zatosource_zato/code/zato-server/src/zato/server/apispec/spec/wsdl.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,217 | core.py | zatosource_zato/code/zato-server/src/zato/server/apispec/spec/core.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from fnmatch import fnmatch
# Zato
from zato.server.apispec.parser.service import ServiceInfo
# ##########################################################... | 4,150 | Python | .py | 80 | 43.5125 | 130 | 0.422668 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,218 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/base/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,219 | config.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/config.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from logging import getLogger
# Zato
from zato.bunch import Bunch
from zato.common.api import AuditLog, RATE_LIMIT
from zato... | 28,715 | Python | .py | 494 | 48.267206 | 130 | 0.54856 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,220 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
import os
from copy import deepcopy
from datetime import datetime, timedelta
from logging import DEBUG, INFO, WARN
from pathlib import Path
f... | 89,199 | Python | .py | 1,512 | 48.85582 | 130 | 0.551619 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,221 | http.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/http.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from datetime import datetime
from logging import getLogger, INFO
from traceback import format_exc
# pytz
from pytz import UTC
# tzlocal
from tzlocal impo... | 7,235 | Python | .py | 139 | 41.654676 | 130 | 0.469396 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,222 | api.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/subprocess_/api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 1,520 | Python | .py | 25 | 56.56 | 130 | 0.302826 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,223 | ibm_mq.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/subprocess_/ibm_mq.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from binascii import unhexlify
from http.client import RemoteDisconnected
# Requests
from requests.exceptions import ConnectionError
# urllib3
from urllib... | 4,519 | Python | .py | 75 | 54.893333 | 130 | 0.435531 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,224 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/subprocess_/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 238 | Python | .py | 6 | 38.166667 | 82 | 0.729258 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,225 | zato_events.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/subprocess_/zato_events.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from logging import getLogger
# Zato
from zato.server.connection.connector.subprocess_.ipc import SubprocessIPC
# ########################################... | 3,108 | Python | .py | 52 | 53.846154 | 130 | 0.382916 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,226 | ftp.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/subprocess_/ftp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Zato
from zato.common.api import IPC
from zato.common.broker_message import CHA... | 2,535 | Python | .py | 41 | 57.731707 | 130 | 0.376566 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,227 | outconn_sftp.py | zatosource_zato/code/zato-server/src/zato/server/base/parallel/subprocess_/outconn_sftp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Zato
from zato.common.api import IPC
from zato.common.broker_message import OUT... | 2,600 | Python | .py | 42 | 57.785714 | 130 | 0.387948 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,228 | wmq.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/wmq.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.base.worker.common import WorkerImpl
# #####################################################################################################... | 2,302 | Python | .py | 38 | 56.342105 | 130 | 0.471815 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,229 | sms_twilio.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/sms_twilio.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.base.worker.common import WorkerImpl
# #####################################################################################################... | 2,102 | Python | .py | 40 | 47.4 | 130 | 0.358887 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,230 | file_transfer.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/file_transfer.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Bunch
from bunch import bunchify
# Zato
from zato.common.api import FILE_TRANSFER
from zato.common.typing_ import cast_
from zato.common.util.file_transfer import... | 7,491 | Python | .py | 133 | 48.639098 | 130 | 0.464906 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,231 | cache_builtin.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/cache_builtin.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from base64 import b64decode
# Zato
from zato.common.api import CACHE
from zato.server.base.worker.common import WorkerImpl
# Python 2/3 compatibility
fro... | 12,634 | Python | .py | 250 | 41.62 | 130 | 0.536597 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,232 | cache_memcached.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/cache_memcached.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.base.worker.common import WorkerImpl
# #####################################################################################################... | 1,965 | Python | .py | 36 | 50.138889 | 130 | 0.300469 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,233 | sso.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/sso.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.api import RATE_LIMIT
from zato.server.base.worker.common import WorkerImpl
# ##############################################################... | 3,126 | Python | .py | 54 | 51.62963 | 130 | 0.362565 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,234 | generic.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/generic.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Bunch
from bunch import Bunch
# Zato
from zato.common.api import GENERIC as COMMON_GENERIC, LDAP, ZATO_NONE
from zato.common.broker_message import GENERIC as GENE... | 15,075 | Python | .py | 264 | 48.189394 | 130 | 0.484369 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,235 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# pylint: disable=too-many-public-methods
# stdlib
import logging
import inspect
import os
import sys
from copy import deepcopy
from datetime import datetime
from e... | 124,795 | Python | .py | 2,047 | 51.590132 | 130 | 0.543206 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,236 | groups.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/groups.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.api import Groups
from zato.server.base.worker.common import WorkerImpl
# ##################################################################... | 2,983 | Python | .py | 51 | 51.921569 | 130 | 0.388393 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,237 | amqp_.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/amqp_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from logging import getLogger
from traceback import format_exc
# Zato
from zato.common.model.amqp_ import AMQPConnectorConfig
from zato.common.util.api imp... | 8,112 | Python | .py | 158 | 43.734177 | 130 | 0.419848 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,238 | common.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/common.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 1,776 | Python | .py | 28 | 59.964286 | 130 | 0.347326 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,239 | web_socket.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/web_socket.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Bunch
from bunch import bunchify
# Zato
from zato.common.util.api import start_connectors, wait_for_dict_key
from zato.server.base.worker.common import WorkerImpl... | 5,141 | Python | .py | 94 | 47.553191 | 130 | 0.432842 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,240 | pubsub.py | zatosource_zato/code/zato-server/src/zato/server/base/worker/pubsub.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.pubsub import MSG_PREFIX as PUBSUB_MSG_PREFIX
from zato.server.base.worker.common import WorkerImpl
# ######################################... | 5,834 | Python | .py | 109 | 47.183486 | 130 | 0.372167 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,241 | meta.py | zatosource_zato/code/zato-server/src/zato/server/service/meta.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from inspect import getmodule, isclass
from itertools import chain
from json import dumps
from logging import getLogger
from ... | 25,484 | Python | .py | 478 | 39.694561 | 130 | 0.503136 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,242 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
from datetime import datetime, timedelta
from http.client import BAD_REQUEST, METHOD_NOT_ALLOWED
from inspect import isclass
from json import... | 68,383 | Python | .py | 1,317 | 42.679575 | 130 | 0.547781 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,243 | adapter.py | zatosource_zato/code/zato-server/src/zato/server/service/adapter.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from copy import deepcopy
from uuid import uuid4
# Zato
from zato.commo... | 4,542 | Python | .py | 86 | 43.930233 | 130 | 0.612088 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,244 | store.py | zatosource_zato/code/zato-server/src/zato/server/service/store.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import importlib
import inspect
import logging
import os
import sys
from dataclasses import dataclass
from datetime import datetime
from functools import to... | 81,915 | Python | .py | 1,460 | 44.577397 | 130 | 0.512845 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,245 | http_soap.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/http_soap.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from traceback import format_exc
# Paste
from paste.util.converters import asbool
# Zato
from zato.common.api import CONNEC... | 42,868 | Python | .py | 741 | 44.906883 | 130 | 0.545381 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,246 | kv_data.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/kv_data.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from datetime import datetime
# Zato
fro... | 1,223 | Python | .py | 26 | 41.076923 | 130 | 0.51936 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,247 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
from contextlib import closing
from copy import deepcopy
from json import loads
from traceback import format_exc
# Python 2/3 compatibility
... | 12,645 | Python | .py | 226 | 45.929204 | 130 | 0.492295 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,248 | scheduler.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/scheduler.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from traceback import format_exc
# ciso8601
try:
from zato.common.util.api import parse_datetime
except ImportError:
... | 20,221 | Python | .py | 376 | 45.521277 | 130 | 0.477706 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,249 | audit_log.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/audit_log.py | # -*- coding: utf-8 -*-
# stdlib
from operator import itemgetter
# Zato
from zato.server.service import AsIs, Int
from zato.server.service.internal import AdminService
# ################################################################################################################################
# ################... | 2,327 | Python | .py | 37 | 55.081081 | 130 | 0.362357 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,250 | updates.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/updates.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from errno import ENETUNREACH
from http.client import OK
from traceback import format_exc
# Bunch
from bunch import bunchify
# gevent
from gevent import s... | 3,894 | Python | .py | 79 | 43.126582 | 130 | 0.509648 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,251 | helpers.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/helpers.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import os
from dataclasses import dataclass
from datetime import datetime
from io import StringIO
from json import dumps, loads
from logging import DEBUG, g... | 45,648 | Python | .py | 855 | 43.956725 | 130 | 0.432329 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,252 | server.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/server.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
# Pytho... | 5,775 | Python | .py | 119 | 38.806723 | 130 | 0.517254 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,253 | pickup.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pickup.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import csv
import os
from pathlib import PurePath
from time import sleep
from traceback import format_exc
# Bunch
from bunch import Bunch
# Zato
from zato... | 14,089 | Python | .py | 248 | 48.870968 | 130 | 0.42827 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,254 | info.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/info.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from base64 import b64decode
from contextlib import closing
# Zato
from zato.client import AnyServiceInvoker
from zato.common.api import INFO_FORMAT, MISC,... | 4,640 | Python | .py | 75 | 53.053333 | 130 | 0.521481 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,255 | crypto.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/crypto.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Zato
from zato.server.service import Integer, Service
# ######################... | 2,697 | Python | .py | 55 | 44.2 | 130 | 0.440335 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,256 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sms/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 238 | Python | .py | 6 | 38.166667 | 82 | 0.729258 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,257 | twilio.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sms/twilio.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
# Python 2/3 compatibility
from six impo... | 4,110 | Python | .py | 79 | 48.113924 | 130 | 0.487878 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,258 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cloud/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 238 | Python | .py | 6 | 38.166667 | 82 | 0.729258 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,259 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cloud/openstack/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 238 | Python | .py | 6 | 38.166667 | 82 | 0.729258 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,260 | swift.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cloud/openstack/swift.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.service.internal import AdminService
class GetList(AdminService):
def handle(self):
self.response.payload = '[]'
class Create(A... | 417 | Python | .py | 16 | 23.125 | 64 | 0.728426 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,261 | s3.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cloud/aws/s3.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
# Zato
... | 6,126 | Python | .py | 131 | 34.954198 | 125 | 0.588186 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,262 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cloud/aws/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 238 | Python | .py | 6 | 38.166667 | 82 | 0.729258 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,263 | redis.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/redis.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import os
# Zato
from zato.common.util.config import get_config_object, update_config_file
from zato.server.service import AsIs, Bool, Int, SIOElem
from za... | 7,192 | Python | .py | 125 | 50.312 | 130 | 0.456438 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,264 | sftp.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/sftp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
# Zato
from zato.common.broker_message i... | 1,863 | Python | .py | 34 | 49.970588 | 130 | 0.506322 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,265 | sap.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/sap.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from time import time
from uuid import uu... | 4,232 | Python | .py | 83 | 46.698795 | 130 | 0.49344 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,266 | sql.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/sql.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from operator import itemgetter
from traceback import format_exc
from uuid import uuid4
# Python 2/3 compatibility
from zato... | 12,036 | Python | .py | 248 | 37.157258 | 127 | 0.60689 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,267 | odoo.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/odoo.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Python 2/3 compatibility
from six import add_metaclass
# stdlib
from contextli... | 4,268 | Python | .py | 83 | 47.13253 | 130 | 0.496869 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,268 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,269 | ftp.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/ftp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
# Zato
... | 10,170 | Python | .py | 190 | 43.742105 | 130 | 0.469314 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,270 | jms_wmq.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/jms_wmq.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
# Zato
... | 9,163 | Python | .py | 180 | 40.177778 | 130 | 0.520824 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,271 | amqp_.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/amqp_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
# Zato
... | 9,570 | Python | .py | 185 | 40.497297 | 130 | 0.543399 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,272 | zmq.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/outgoing/zmq.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
# Zato
... | 6,553 | Python | .py | 133 | 38.082707 | 130 | 0.535966 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,273 | session_attr.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/session_attr.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.service.internal.sso.attr import _Attr, _AttrExists, _AttrNames
# ##########################################################################... | 958 | Python | .py | 17 | 54.058824 | 130 | 0.322234 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,274 | user.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/user.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from traceback import format_exc
from uuid import uuid4
# dateutil
from dateutil.parser import parser as DateTimeParser
# Python 2/3 compatibility
from za... | 25,602 | Python | .py | 427 | 51.358314 | 130 | 0.473524 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,275 | user_attr.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/user_attr.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.service.internal.sso.attr import _Attr, _AttrExists, _AttrNames
# ##########################################################################... | 940 | Python | .py | 17 | 53 | 130 | 0.308872 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,276 | attr.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/attr.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from traceback import format_exc
from uuid import uuid4
# Zato
from zato.server.service import AsIs, Bool, Int, Opaque
from zato.server.service.internal.ss... | 8,440 | Python | .py | 160 | 43.33125 | 130 | 0.467767 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,277 | password_reset.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/password_reset.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from datetime import datetime, timedelta
from traceback import format_exc
# Zato
from zato.common.util.api import spawn_gree... | 7,850 | Python | .py | 137 | 48.087591 | 130 | 0.486835 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,278 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from copy import deepcopy
from http.client import FORBIDDEN
from traceback import format_exc
# Zato
from zato.common.api import NO_REMOTE_ADDRESS
from zato... | 13,658 | Python | .py | 240 | 47.845833 | 130 | 0.545107 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,279 | cleanup.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/cleanup.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from datetime import datetime
from traceback import format_exc
# gevent
from gevent import sleep
# Zato
from zato.common.od... | 2,758 | Python | .py | 58 | 37.810345 | 130 | 0.453866 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,280 | session.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/session.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from uuid import uuid4
# Zato
from zato.common.api import GENERIC
from ... | 5,006 | Python | .py | 84 | 52.5 | 130 | 0.533538 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,281 | signup.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/sso/signup.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from uuid import uuid4
# regexp
import r... | 8,359 | Python | .py | 136 | 51.838235 | 130 | 0.569455 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,282 | sync.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/common/sync.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from dataclasses import dataclass
# Zato
from zato.common.broker_message import Common as BrokerMessageCommon
from zato.server.service import Model, Servic... | 2,722 | Python | .py | 52 | 46.961538 | 130 | 0.416226 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,283 | delete.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/common/delete.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from copy import deepcopy
from dataclasses import dataclass
# gevent
from gevent import sleep
# SQLAlchemy
from sqlalchemy ... | 17,419 | Python | .py | 326 | 44.51227 | 130 | 0.486182 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,284 | create.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/common/create.py | # -*- coding: utf-8 -*-
# stdlib
from dataclasses import dataclass
# Zato
from zato.common.api import CommonObject, PUBSUB
from zato.common.exception import BadRequest
from zato.common.typing_ import any_, anylist, anylistnone, intlistnone, intnone, strdict, strlistnone, strnone
from zato.server.service import Model,... | 9,923 | Python | .py | 189 | 43.026455 | 130 | 0.485203 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,285 | import_.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/common/import_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from copy import deepcopy
from dataclasses import dataclass
from json import dumps
# SQLAlchemy
from sqlalchemy import inser... | 22,773 | Python | .py | 385 | 47.950649 | 130 | 0.486442 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,286 | cassandra.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/definition/cassandra.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common... | 2,466 | Python | .py | 50 | 46.32 | 130 | 0.527963 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,287 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/definition/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,288 | jms_wmq.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/definition/jms_wmq.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from datetime import datetime
from traceb... | 11,452 | Python | .py | 209 | 43.91866 | 130 | 0.563064 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,289 | amqp_.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/definition/amqp_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from uuid import uuid4
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common.broker_message impo... | 4,433 | Python | .py | 82 | 49.95122 | 130 | 0.509954 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,290 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pattern/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,291 | invoke_retry.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pattern/invoke_retry.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# pylint: disable=attribute-defined-outside-init
# Arrow
from arrow import utcno... | 3,979 | Python | .py | 77 | 43.077922 | 130 | 0.510446 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,292 | sql.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/notif/sql.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# pylint: disable=attribute-defined-outside-init
# stdlib
from contextlib import... | 5,396 | Python | .py | 104 | 45.288462 | 130 | 0.506466 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,293 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/notif/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# pylint: disable=attribute-defined-outside-init
# Bunch
from bunch import bunch... | 4,186 | Python | .py | 78 | 46.115385 | 130 | 0.597253 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,294 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/notif/cloud/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 238 | Python | .py | 6 | 38.166667 | 82 | 0.729258 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,295 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/notif/cloud/openstack/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 238 | Python | .py | 6 | 38.166667 | 82 | 0.729258 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,296 | swift.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/notif/cloud/openstack/swift.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.service.internal import AdminService
class GetList(AdminService):
def handle(self):
self.response.payload = '[]'
class _CreateE... | 503 | Python | .py | 20 | 22.1 | 64 | 0.738397 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,297 | json_pointer.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/message/json_pointer.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,298 | namespace.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/message/namespace.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
# Zato
... | 5,323 | Python | .py | 118 | 33.669492 | 104 | 0.601778 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,299 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/message/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |