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,100 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/subprocess_/impl/__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,101 | outconn_sftp.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/subprocess_/impl/outconn_sftp.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from datetime import datetime
from tempfile import NamedTemporaryFile
fr... | 12,672 | Python | .py | 243 | 43.444444 | 130 | 0.483824 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,102 | container.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/subprocess_/impl/events/container.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 datetime import datetime
from logging import getLogger
from traceback import format_exc
# Zato
from zato.common.events.common import Action
from zato.... | 7,929 | Python | .py | 135 | 50.037037 | 130 | 0.402844 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,103 | database.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/subprocess_/impl/events/database.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
import os
from datetime import datetime, timedelta
from typing import Optional as optional
# Humanize
from humanize import intcomma as int_to_comma
# Zato... | 16,918 | Python | .py | 337 | 42.608309 | 130 | 0.50137 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,104 | channel.py | zatosource_zato/code/zato-server/src/zato/server/connection/http_soap/channel.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
from gzip import GzipFile
from hashlib import sha256
from http.client import BAD_REQUEST, FORBIDDEN, INTERNAL_S... | 41,583 | Python | .py | 730 | 44.49863 | 130 | 0.539907 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,105 | url_data.py | zatosource_zato/code/zato-server/src/zato/server/connection/http_soap/url_data.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 base64 import b64encode
from operator import itemgetter
from threading import RLock
from traceback import format_exc
from uuid import uu... | 49,240 | Python | .py | 872 | 46.170872 | 131 | 0.546794 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,106 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/http_soap/__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
# Zato
from zato.common import exception
# Backward compatibility - in 3.0 these... | 677 | Python | .py | 17 | 38.470588 | 96 | 0.819572 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,107 | outgoing.py | zatosource_zato/code/zato-server/src/zato/server/connection/http_soap/outgoing.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
from copy import deepcopy
from datetime import datetime
from http.client import OK
from io import StringIO
from logging import DEBUG, getLogger
fr... | 36,951 | Python | .py | 678 | 44.390855 | 158 | 0.505144 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,108 | object_.py | zatosource_zato/code/zato-server/src/zato/server/connection/kvdb/object_.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
# Zato
from zato.server.connection.kvdb.core import BaseRepo
# #############################################################... | 3,702 | Python | .py | 63 | 52.714286 | 130 | 0.289787 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,109 | api.py | zatosource_zato/code/zato-server/src/zato/server/connection/kvdb/api.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.connection.kvdb.core import ObjectCtx, KVDB
from zato.server.connection.kvdb.list_ import ListRepo
from zato.server.connection.kvdb.number im... | 470 | Python | .py | 15 | 30.066667 | 66 | 0.784922 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,110 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/kvdb/__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.
"""
| 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,111 | number.py | zatosource_zato/code/zato-server/src/zato/server/connection/kvdb/number.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 sys
from datetime import datetime
from logging import getLogger
from operator import add as op_add, gt as op_gt, lt as op_lt, sub as op_sub
# Zato
f... | 9,169 | Python | .py | 165 | 47.606061 | 130 | 0.433717 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,112 | core.py | zatosource_zato/code/zato-server/src/zato/server/connection/kvdb/core.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 logging import getLogger
# gevent
from gevent.lock import RLock
# orjson
from orjson import dumps as json_dumps
# Zato
from zato.common.ap... | 14,657 | Python | .py | 258 | 49.503876 | 130 | 0.360442 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,113 | list_.py | zatosource_zato/code/zato-server/src/zato/server/connection/kvdb/list_.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
# gevent
from gevent.lock import RLock
# Zato
from zato.common.util.search import SearchResults
from zato.server.connection.... | 4,220 | Python | .py | 74 | 50.689189 | 130 | 0.33982 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,114 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/zmq_/__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,115 | outgoing.py | zatosource_zato/code/zato-server/src/zato/server/connection/zmq_/outgoing.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
import logging
# Zato
from zato.common.api import NO_DEFAULT_VALUE
from... | 3,008 | Python | .py | 51 | 54.588235 | 130 | 0.316076 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,116 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/jms_wmq/__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,117 | outgoing.py | zatosource_zato/code/zato-server/src/zato/server/connection/jms_wmq/outgoing.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 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.exception import ConnectorClosedException, IBMMQException
# ##... | 2,648 | Python | .py | 50 | 44.68 | 130 | 0.427188 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,118 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/jms_wmq/jms/__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.
"""
# JMS constants
DELIVERY_MODE_NON_PERSISTENT = 1
DELIVERY_MODE_PERSISTENT = 2
RECEIVE_TIMEOUT_INDEFINITE_WAIT = 0
RECEIVE_TIMEOUT_NO_WAIT = -1
DEFAULT_DELIVERY_MO... | 987 | Python | .py | 27 | 32.851852 | 77 | 0.729758 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,119 | core.py | zatosource_zato/code/zato-server/src/zato/server/connection/jms_wmq/jms/core.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.
"""
"""
Copyright 2006-2008 SpringSource (http://springsource.com), All Rights Reserved
Licensed under the Apache License, Version 2.0 (the "License");
you may... | 9,902 | Python | .py | 182 | 47.016484 | 130 | 0.523775 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,120 | connection.py | zatosource_zato/code/zato-server/src/zato/server/connection/jms_wmq/jms/connection.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# pylint: disable=attribute-defined-outside-init
"""
Copyright 2006-2008 Spri... | 37,786 | Python | .py | 735 | 40.668027 | 130 | 0.550492 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,121 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/server/__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,122 | config.py | zatosource_zato/code/zato-server/src/zato/server/connection/server/rpc/config.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 logging import getLogger
# Zato
from zato.common.ext.dataclasses import dataclass
from zato.common.odb.query import ser... | 8,021 | Python | .py | 137 | 51.437956 | 130 | 0.466369 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,123 | api.py | zatosource_zato/code/zato-server/src/zato/server/connection/server/rpc/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.
"""
# stdlib
from logging import getLogger
# Zato
from zato.common.ext.dataclasses import dataclass
from zato.common.typing_ import cast_, list_field
from zato.server.c... | 6,839 | Python | .py | 115 | 52.217391 | 130 | 0.490955 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,124 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/server/rpc/__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,125 | invoker.py | zatosource_zato/code/zato-server/src/zato/server/connection/server/rpc/invoker.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
# Requests
from requests import get as requests_get
# Zato
from zato.client import AnyServiceInvoker
from zato.common.ext.da... | 8,897 | Python | .py | 146 | 54.712329 | 130 | 0.43954 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,126 | es.py | zatosource_zato/code/zato-server/src/zato/server/connection/search/es.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
# elasticsearch
from elasticsearch.client import Elasticsearch
# Zato
from zato.... | 729 | Python | .py | 18 | 37.555556 | 119 | 0.759943 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,127 | solr.py | zatosource_zato/code/zato-server/src/zato/server/connection/search/solr.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 logging import getLogger
# pysolr
try:
from pysolr import Solr... | 1,216 | Python | .py | 37 | 28.594595 | 86 | 0.709262 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,128 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/search/__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
class SearchAPI:
def __init__(self, es, solr):
self.es = es
s... | 336 | Python | .py | 10 | 30.2 | 82 | 0.677019 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,129 | sftp.py | zatosource_zato/code/zato-server/src/zato/server/connection/file_client/sftp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from functools import wraps
from logging import getLogger
# Zato
from zato.server.connection.file_client.base import BaseFileClient, PathAccessException
# #####... | 4,715 | Python | .py | 90 | 46.322222 | 130 | 0.30377 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,130 | api.py | zatosource_zato/code/zato-server/src/zato/server/connection/file_client/api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from .ftp import FTPFileClient
# For pyflakes
FTPFileClient = FTPFileClient
| 233 | Python | .py | 9 | 24.444444 | 64 | 0.745455 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,131 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/file_client/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 148 | Python | .py | 5 | 28.2 | 64 | 0.687943 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,132 | ftp.py | zatosource_zato/code/zato-server/src/zato/server/connection/file_client/ftp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 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 .base import BaseFileClient
# ########################################################################################... | 7,258 | Python | .py | 145 | 42.834483 | 130 | 0.320562 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,133 | base.py | zatosource_zato/code/zato-server/src/zato/server/connection/file_client/base.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from operator import itemgetter
# ###############################################################################################################################... | 2,774 | Python | .py | 48 | 52.145833 | 130 | 0.492786 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,134 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/generic/__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.
"""
# Zato
from zato.common.api import GENERIC
from zato.common.odb.model import GenericConn as ModelGenericConn
from zato.common.util.api import get_sa_model_columns
#... | 795 | Python | .py | 16 | 48.25 | 130 | 0.515544 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,135 | connection.py | zatosource_zato/code/zato-server/src/zato/server/generic/connection.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.
"""
# Bunch
from bunch import bunchify
# Zato
from zato.common.api import GENERIC
from zato.common.json_internal import dumps, loads
from zato.server.generic import att... | 3,653 | Python | .py | 91 | 31.43956 | 130 | 0.443879 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,136 | channel_sftp.py | zatosource_zato/code/zato-server/src/zato/server/generic/impl/channel_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.
"""
# stdlib
import logging
import os
# Bunch
from bunch import bunchify
# sh
import sh
# Zato
from zato.common.model import SFTPChannel as SFTPChannelModel
# ######... | 5,119 | Python | .py | 108 | 41 | 130 | 0.412641 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,137 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/generic/impl/__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,138 | def_kafka.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/def_kafka.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
# PyKafka
try:
from pykafka import KafkaClient, SslConfig # type: ignore
except ImportEr... | 5,131 | Python | .py | 100 | 42.03 | 130 | 0.383877 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,139 | channel_file_transfer.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/channel_file_transfer.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 logging import getLogger
# Zato
from zato.server.connection.wrappe... | 2,391 | Python | .py | 42 | 51.52381 | 130 | 0.371134 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,140 | cloud_confluence.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/cloud_confluence.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.typing_ import cast_
from zato.server.connection.confluence_ import ... | 3,402 | Python | .py | 58 | 53.086207 | 130 | 0.31628 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,141 | channel_hl7_mllp.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/channel_hl7_mllp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 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 logging import getLogger
# Bunch
from bunch import bunchify
# Zato
from... | 4,308 | Python | .py | 74 | 50.027027 | 130 | 0.415436 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,142 | cloud_microsoft_365.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/cloud_microsoft_365.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.typing_ import cast_
from zato.server.connection.cloud.microsoft_365... | 2,638 | Python | .py | 44 | 55.227273 | 130 | 0.337471 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,143 | outconn_hl7_mllp.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn_hl7_mllp.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.hl7.mllp.client import HL7MLLPClient
from zato.server.connection.queue impo... | 2,233 | Python | .py | 41 | 49.585366 | 130 | 0.349104 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,144 | cloud_jira.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/cloud_jira.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 logging import getLogger
from traceback import format_exc
# Zato
from zato.common.typing_ import cast_
from zato.server.connection.jira_ import JiraCl... | 3,546 | Python | .py | 62 | 51.596774 | 130 | 0.326307 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,145 | outconn_mongodb.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn_mongodb.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 logging import getLogger
from uuid import uuid4
# Bunch
from bunch... | 5,323 | Python | .py | 92 | 46.804348 | 134 | 0.492311 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,146 | cloud_salesforce.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/cloud_salesforce.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.typing_ import cast_
from zato.server.connection.salesforce import S... | 3,124 | Python | .py | 52 | 55 | 130 | 0.327982 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,147 | cloud_dropbox.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/cloud_dropbox.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 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 logging import getLogger
# Dropbox
from dropbox import create_session, D... | 3,218 | Python | .py | 59 | 46.949153 | 130 | 0.422463 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,148 | outconn_hl7_fhir.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn_hl7_fhir.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 b64encode
from logging import getLogger
from traceback import format_exc
# FHIR-py
from fhirpy import SyncFHIRClient
# Zato
from zato.c... | 5,993 | Python | .py | 106 | 50 | 130 | 0.387064 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,149 | outconn_im_telegram.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn_im_telegram.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 http.client import OK
from logging import getLogger
from traceback ... | 4,787 | Python | .py | 90 | 46.355556 | 130 | 0.390249 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,150 | outconn_im_slack.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn_im_slack.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 logging import getLogger
# Slack
from slackclient import SlackClie... | 2,579 | Python | .py | 49 | 46.265306 | 130 | 0.374551 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,151 | outconn_ldap.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn_ldap.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 ssl
from codecs import encode
from logging import getLogger
from traceback import format_exc
from uuid import uuid4
# ldap3
from ldap3 import Connec... | 10,369 | Python | .py | 205 | 41.731707 | 130 | 0.432815 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,152 | client_zato.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn/wsx/client_zato.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 logging import getLogger
from threading import current_thread
from traceback import format_exc
# gevent
from gevent import sleep
# Zato
from zato.com... | 9,307 | Python | .py | 159 | 50.54717 | 130 | 0.437892 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,153 | base.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn/wsx/base.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 json import loads
from logging import getLogger
from traceback import format_exc
# gevent
from gevent import sleep as _gevent_sleep
# Zato
from zato.... | 21,866 | Python | .py | 362 | 49.558011 | 130 | 0.498362 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,154 | client_generic.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn/wsx/client_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.
"""
# stdlib
from logging import getLogger
from traceback import format_exc
# gevent
from gevent import sleep
# Zato
from zato.common.api import ZATO_NONE
from zato.co... | 8,539 | Python | .py | 158 | 46.759494 | 130 | 0.415226 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,155 | common.py | zatosource_zato/code/zato-server/src/zato/server/generic/api/outconn/wsx/common.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 logging import getLogger
# Zato
from zato.common.api import WEB_SOCKET
# ############################################################################... | 5,634 | Python | .py | 90 | 57.877778 | 130 | 0.337148 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,156 | outbox.py | zatosource_zato/code/zato-server/src/zato/server/ext/outbox.py |
# This module is a fork of Outbox from https://github.com/nhoad/outbox/
"""
Copyright (c) 2012-2014, Nathan Hoad
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must ret... | 10,091 | Python | .py | 207 | 40.062802 | 755 | 0.554039 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,157 | pidfile.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/pidfile.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under LGPLv3, see LICENSE.txt for terms and conditions.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 3,609 | Python | .py | 98 | 28.346939 | 80 | 0.608883 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,158 | _compat.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/_compat.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 10,877 | Python | .py | 277 | 31.259928 | 99 | 0.632438 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,159 | errors.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/errors.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 2,155 | Python | .py | 45 | 45.666667 | 69 | 0.768496 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,160 | arbiter.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/arbiter.py | # -*- coding: utf-8 -*-
from __future__ import print_function
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009... | 22,412 | Python | .py | 591 | 27.142132 | 127 | 0.564568 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,161 | util.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/util.py | # -*- coding: utf-8 -*-
from __future__ import print_function
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009... | 18,201 | Python | .py | 492 | 29.006098 | 124 | 0.610805 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,162 | config.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/config.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 55,586 | Python | .py | 1,590 | 28.065409 | 106 | 0.625735 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,163 | glogging.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/glogging.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 17,295 | Python | .py | 436 | 28.456422 | 91 | 0.543038 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,164 | argparse_compat.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/argparse_compat.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 89,152 | Python | .py | 1,971 | 33.526636 | 89 | 0.577854 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,165 | selectors.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/selectors.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 20,393 | Python | .py | 507 | 29.426036 | 80 | 0.583 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,166 | reloader.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/reloader.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 5,083 | Python | .py | 127 | 31.007874 | 88 | 0.627898 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,167 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/__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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 1,388 | Python | .py | 29 | 46.62069 | 65 | 0.797337 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,168 | debug.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/debug.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 3,466 | Python | .py | 81 | 34.62963 | 77 | 0.636553 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,169 | sock.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/sock.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 7,421 | Python | .py | 191 | 30.544503 | 74 | 0.623502 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,170 | six.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/six.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
200... | 28,446 | Python | .py | 654 | 37.137615 | 98 | 0.660458 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,171 | systemd.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/systemd.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 2,598 | Python | .py | 56 | 42.821429 | 80 | 0.754163 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,172 | message.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/http/message.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 14,190 | Python | .py | 332 | 32.26506 | 95 | 0.597968 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,173 | errors.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/http/errors.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 4,086 | Python | .py | 103 | 34.864078 | 81 | 0.69352 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,174 | _sendfile.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/http/_sendfile.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 3,453 | Python | .py | 81 | 36.037037 | 78 | 0.674814 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,175 | body.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/http/body.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 9,325 | Python | .py | 256 | 26.671875 | 85 | 0.569716 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,176 | unreader.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/http/unreader.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 3,263 | Python | .py | 86 | 31.116279 | 72 | 0.658629 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,177 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/http/__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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 1,545 | Python | .py | 31 | 48.548387 | 66 | 0.797342 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,178 | wsgi.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/http/wsgi.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 13,971 | Python | .py | 345 | 31.202899 | 94 | 0.607277 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,179 | parser.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/http/parser.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 2,555 | Python | .py | 61 | 36.590164 | 79 | 0.714806 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,180 | statsd.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/instrument/statsd.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 5,702 | Python | .py | 128 | 36.9375 | 97 | 0.642934 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,181 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/instrument/__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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 1,363 | Python | .py | 28 | 47.428571 | 65 | 0.798193 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,182 | ggevent.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/workers/ggevent.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 8,886 | Python | .py | 218 | 31.720183 | 103 | 0.634061 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,183 | base_async.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/workers/base_async.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 6,297 | Python | .py | 144 | 32.034722 | 102 | 0.598402 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,184 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/workers/__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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 1,623 | Python | .py | 34 | 46.147059 | 70 | 0.793801 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,185 | base.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/workers/base.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 11,177 | Python | .py | 259 | 33.455598 | 110 | 0.622952 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,186 | workertmp.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/workers/workertmp.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 3,934 | Python | .py | 87 | 39.850575 | 130 | 0.545954 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,187 | wsgiapp.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/app/wsgiapp.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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 3,170 | Python | .py | 73 | 37.506849 | 95 | 0.696812 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,188 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/app/__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.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009-2015 (c) Paul J. Davis <paul.joseph.da... | 1,363 | Python | .py | 28 | 47.428571 | 65 | 0.798193 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,189 | base.py | zatosource_zato/code/zato-server/src/zato/server/ext/zunicorn/app/base.py | # -*- coding: utf-8 -*-
from __future__ import print_function
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
"""
BELOW IS THE ORIGINAL LICENSE ON WHICH THIS SOFTWARE IS BASED.
2009-2018 (c) Benoît Chesneau <benoitc@e-engura.org>
2009... | 7,977 | Python | .py | 208 | 29.25 | 96 | 0.613731 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,190 | utf8validator.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/utf8validator.py | # coding=utf-8
# flake8: noqa
###############################################################################
##
## Copyright 2011 Tavendo GmbH
##
## Note:
##
## This code is a Python implementation of the algorithm
##
## "Flexible and Economical UTF-8 Decoder"
##
## by Bjoern Hoehrmann
##
## bjoe... | 4,775 | Python | .py | 103 | 39.737864 | 95 | 0.590724 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,191 | streaming.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/streaming.py | # -*- coding: utf-8 -*-
# flake8: noqa
import struct
from struct import unpack
from zato.server.ext.ws4py.utf8validator import Utf8Validator
from zato.server.ext.ws4py.messaging import TextMessage, BinaryMessage, CloseControlMessage,\
PingControlMessage, PongControlMessage
from zato.server.ext.ws4py.framing impo... | 13,185 | Python | .py | 271 | 32.273063 | 124 | 0.538677 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,192 | async_websocket.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/async_websocket.py | # -*- coding: utf-8 -*-
# flake8: noqa
__doc__ = """
WebSocket implementation that relies on two new Python
features:
* asyncio to provide the high-level interface above transports
* yield from to delegate to the reading stream whenever more
bytes are required
You can use these implementations in that context
and ... | 4,015 | Python | .py | 111 | 28.153153 | 88 | 0.637252 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,193 | exc.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/exc.py | # -*- coding: utf-8 -*-
# flake8: noqa
__all__ = ['WebSocketException', 'FrameTooLargeException', 'ProtocolException',
'UnsupportedFrameTypeException', 'TextFrameEncodingException',
'UnsupportedFrameTypeException', 'TextFrameEncodingException',
'StreamClosed', 'HandshakeError', 'Invali... | 838 | Python | .py | 18 | 41.833333 | 79 | 0.776543 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,194 | manager.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/manager.py | # -*- coding: utf-8 -*-
# flake8: noqa
__doc__ = """
The manager module provides a selected classes to
handle websocket's execution.
Initially the rationale was to:
- Externalize the way the CherryPy server had been setup
as its websocket management was too tightly coupled with
the plugin implementation.
- Offer... | 10,479 | Python | .py | 292 | 26.373288 | 101 | 0.594568 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,195 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/__init__.py | # -*- coding: utf-8 -*-
# flake8: noqa
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disc... | 2,732 | Python | .py | 61 | 41.377049 | 90 | 0.735338 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,196 | websocket.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/websocket.py | # -*- coding: utf-8 -*-
# flake8: noqa
import logging
import socket
import time
import threading
from json import dumps
from types import GeneratorType
try:
from OpenSSL.SSL import Error as pyOpenSSLError
except ImportError:
class pyOpenSSLError(Exception):
pass
from zato.common.api import GENERIC, W... | 18,882 | Python | .py | 465 | 30.795699 | 114 | 0.61704 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,197 | compat.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/compat.py | # -*- coding: utf-8 -*-
# flake8: noqa
__doc__ = """
This compatibility module is inspired by the one found
in CherryPy. It provides a common entry point for the various
functions and types that are used with ws4py but which
differ from Python 2.x to Python 3.x
There are likely better ways for some of them so feel
fr... | 1,123 | Python | .py | 39 | 24.282051 | 61 | 0.689302 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,198 | framing.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/framing.py | # -*- coding: utf-8 -*-
# flake8: noqa
from struct import pack, unpack
from zato.server.ext.ws4py.exc import FrameTooLargeException, ProtocolException
from zato.server.ext.ws4py.compat import py3k, ord, range
# Frame opcodes defined in the spec.
OPCODE_CONTINUATION = 0x0
OPCODE_TEXT = 0x1
OPCODE_BINARY = 0x2
OPCODE_... | 10,201 | Python | .py | 237 | 31.455696 | 96 | 0.468265 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,199 | messaging.py | zatosource_zato/code/zato-server/src/zato/server/ext/ws4py/messaging.py | # -*- coding: utf-8 -*-
# flake8: noqa
import os
import struct
from zato.server.ext.ws4py.framing import Frame, OPCODE_CONTINUATION, OPCODE_TEXT, \
OPCODE_BINARY, OPCODE_CLOSE, OPCODE_PING, OPCODE_PONG
from zato.server.ext.ws4py.compat import unicode, py3k
__all__ = ['Message', 'TextMessage', 'BinaryMessage', '... | 5,214 | Python | .py | 137 | 29.562044 | 84 | 0.609954 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |