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,000 | __init__.py | zatosource_zato/code/zato-testing/src/zato/testing/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2020, 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 os
from unittest import TestCase
# Bunch
from bunch import bunch... | 9,563 | Python | .py | 181 | 46.243094 | 130 | 0.475434 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,001 | service.py | zatosource_zato/code/zato-testing/src/zato/testing/service.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2020, 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
# ###############################################################################... | 899 | Python | .py | 15 | 57.066667 | 130 | 0.289954 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,002 | pre_uninstall.py | zatosource_zato/code/util/pre_uninstall.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
import os
# ################################################################################################################################... | 4,530 | Python | .py | 77 | 51.415584 | 130 | 0.420457 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,003 | check_tcp_ports.py | zatosource_zato/code/util/check_tcp_ports.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.util.api import wait_until_port_free
# #####################################################################################################... | 2,667 | Python | .py | 55 | 42.945455 | 130 | 0.369314 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,004 | post_install.py | zatosource_zato/code/util/post_install.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
import os
import sys
from glob import glob
from pathlib import Path
from platform import system as platform_system
from shutil import copy as... | 20,431 | Python | .py | 361 | 48.218837 | 130 | 0.430904 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,005 | zato_environment.py | zatosource_zato/code/util/zato_environment.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 glob
import logging
import os
import platform
import sys
from distutils.dir_util import copy_tree
from pathlib import Path
from subprocess import che... | 27,421 | Python | .py | 535 | 41.985047 | 130 | 0.465102 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,006 | setup.py | zatosource_zato/code/zato-server/setup.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.
"""
# flake8: noqa
from setuptools import setup, find_packages
version = '3.2'
setup(
name = 'zato-server',
version = version,
author = 'Zato Source... | 535 | Python | .py | 19 | 23.842105 | 64 | 0.617357 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,007 | store.py | zatosource_zato/code/zato-server/store.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 weakref
from copy import deepcopy
from logging import getLogger
f... | 5,220 | Python | .py | 127 | 32.015748 | 130 | 0.589109 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,008 | __init__.py | zatosource_zato/code/zato-server/test/__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,009 | test_sio_eval.py | zatosource_zato/code/zato-server/test/zato/test_sio_eval.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 copy import deepcopy
from unittest import main
# Zato
from zato.common.test import BaseSIOTestCase
from zato.common.test.apispec_ import CyMyService
... | 2,947 | Python | .py | 67 | 37.179104 | 130 | 0.499475 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,010 | __init__.py | zatosource_zato/code/zato-server/test/zato/__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,011 | test_all.py | zatosource_zato/code/zato-server/test/zato/pattern/test_all.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 unittest import main, TestCase
# Faker
from faker import Faker
# gevent
from gevent import sleep
from gevent.lock import RLock
# Zato
from zato.comm... | 12,538 | Python | .py | 236 | 44.95339 | 130 | 0.507494 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,012 | test_google.py | zatosource_zato/code/zato-server/test/zato/connection/test_google.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 json import loads
from unittest import main, TestCase
# Zato
from zato.common.util.open_ import open_r
from zato.server.connection.google im... | 2,851 | Python | .py | 52 | 48.826923 | 130 | 0.405542 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,013 | test_email_imap.py | zatosource_zato/code/zato-server/test/zato/connection/test_email_imap.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 operator import itemgetter
from unittest import main, TestCase
# Bunch
from bunch import bunchify
# Zato
from zato.common.api import EMAIL
... | 12,905 | Python | .py | 268 | 39.764925 | 130 | 0.498445 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,014 | test_facade.py | zatosource_zato/code/zato-server/test/zato/connection/test_facade.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.
"""
# Must come first
from gevent.monkey import patch_all
_ = patch_all()
# stdlib
import os
import logging
from unittest import main, TestCase
# #####################... | 2,565 | Python | .py | 42 | 57.595238 | 130 | 0.261286 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,015 | __init__.py | zatosource_zato/code/zato-server/test/zato/connection/__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,016 | test_def_kafka.py | zatosource_zato/code/zato-server/test/zato/connection/test_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.
"""
# Must come first
from gevent.monkey import patch_all
_ = patch_all()
# stdlib
import logging
import os
from unittest import main, TestCase
# Bunch
from bunch impo... | 4,641 | Python | .py | 89 | 45.966292 | 130 | 0.339898 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,017 | test_outconn_ldap.py | zatosource_zato/code/zato-server/test/zato/connection/test_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 os
from unittest import main, TestCase
# Bunch
from bunch import bunchify
# Zato
from zato.server.generic.api.outconn_ldap import LDAPClient
# ###... | 4,216 | Python | .py | 83 | 43.036145 | 130 | 0.362817 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,018 | test_zato_kvdb_list.py | zatosource_zato/code/zato-server/test/zato/kvdb/test_zato_kvdb_list.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 unittest import main, TestCase
# Zato
from zato.common.test import rand_int, rand_string
from zato.server.connection.kvdb.api import ObjectCtx, ListRe... | 5,860 | Python | .py | 150 | 31.06 | 130 | 0.417213 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,019 | test_zato_kvdb_number.py | zatosource_zato/code/zato-server/test/zato/kvdb/test_zato_kvdb_number.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 time import sleep
from unittest import main, TestCase
# dateutil
from dateutil.parser import parse as dt_parse
# Zato
f... | 7,395 | Python | .py | 144 | 43.909722 | 130 | 0.473046 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,020 | test_zato_kvdb_core.py | zatosource_zato/code/zato-server/test/zato/kvdb/test_zato_kvdb_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 unittest import main, TestCase
# Zato
from zato.common.test import rand_string
from zato.server.connection.kvdb.api import ObjectCtx, ListRepo
from za... | 6,167 | Python | .py | 147 | 33.843537 | 130 | 0.476758 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,021 | test_docstring_service.py | zatosource_zato/code/zato-server/test/zato/apispec/test_docstring_service.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 unittest import main, TestCase
# Zato
from zato.common.test.apispec_ import service_name, sio_config
from zato.common.api import APISPEC
from zato.ser... | 9,449 | Python | .py | 181 | 41.98895 | 280 | 0.500761 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,022 | test_dataclass_open_api.py | zatosource_zato/code/zato-server/test/zato/apispec/test_dataclass_open_api.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 unittest import main
# Zato
from zato.common.test.apispec_ import run_common_apispec_assertions, service_name, sio_config
fr... | 2,986 | Python | .py | 57 | 46.368421 | 130 | 0.462676 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,023 | __init__.py | zatosource_zato/code/zato-server/test/zato/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,024 | test_commands.py | zatosource_zato/code/zato-server/test/zato/commands_/test_commands.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 unittest import main
# Zato
from zato.common.test import CommandLineServiceTestCase
# ###############################################################... | 1,356 | Python | .py | 23 | 55.695652 | 130 | 0.287661 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,025 | __init__.py | zatosource_zato/code/zato-server/test/zato/commands_/__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,026 | test_outconn_connect.py | zatosource_zato/code/zato-server/test/zato/wsx/test_outconn_connect.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.
"""
# This needs to run as soon as possible
from gevent.monkey import patch_all
_ = patch_all()
# stdlib
from unittest import main
from uuid import uuid4
# Zato
from z... | 4,212 | Python | .py | 72 | 49.513889 | 130 | 0.482599 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,027 | test_outconn_reconnect.py | zatosource_zato/code/zato-server/test/zato/wsx/test_outconn_reconnect.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 logging import basicConfig, getLogger, WARN
from tempfile import gettempdir
from traceback import format_exc
from unittest import main
# gev... | 6,583 | Python | .py | 129 | 44.596899 | 130 | 0.451492 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,028 | test_outconn_pubsub.py | zatosource_zato/code/zato-server/test/zato/wsx/test_outconn_pubsub.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.
"""
# This needs to run as soon as possible
from gevent.monkey import patch_all
_ = patch_all()
# stdlib
from unittest import main
# Zato
from zato.common.api import G... | 5,636 | Python | .py | 96 | 52.28125 | 130 | 0.373159 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,029 | __init__.py | zatosource_zato/code/zato-server/test/zato/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,030 | test_all.py | zatosource_zato/code/zato-server/test/zato/server_rpc/test_all.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 contextlib import closing
from dataclasses import dataclass
from unittest import main, TestCase
from uuid import uuid4
# Zato
from zato.comm... | 19,279 | Python | .py | 338 | 48.497041 | 130 | 0.55902 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,031 | test_trigger_notify_pub_sub_tasks.py | zatosource_zato/code/zato-server/test/zato/pubsub/test_trigger_notify_pub_sub_tasks.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.
"""
# Run gevent patches first
from gevent.monkey import patch_all
patch_all()
# stdlib
from unittest import TestCase
# Zato
from zato.common.api import PUBSUB
from za... | 7,773 | Python | .py | 174 | 35.425287 | 130 | 0.446713 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,032 | __init__.py | zatosource_zato/code/zato-server/test/zato/pubsub/__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,033 | test_publish.py | zatosource_zato/code/zato-server/test/zato/pubsub/test_publish.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 copy import deepcopy
from datetime import datetime, timezone
from json import loads
from tempfile import gettempdir
from unittest import main... | 7,571 | Python | .py | 135 | 49.133333 | 130 | 0.523764 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,034 | test_pubapi_services.py | zatosource_zato/code/zato-server/test/zato/pubsub/test_pubapi_services.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 unittest import main
# Zato
from zato.common.test import CommandLineServiceTestCase
# ###############################################################... | 1,465 | Python | .py | 24 | 57.541667 | 130 | 0.320504 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,035 | test_pubapi_rest.py | zatosource_zato/code/zato-server/test/zato/pubsub/test_pubapi_rest.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 time import sleep
# Zato
from zato.common.pubsub import prefix_sk
from zato.common.test.config import TestConfig
from za... | 7,376 | Python | .py | 130 | 49.569231 | 130 | 0.483575 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,036 | test_publisher_ctx.py | zatosource_zato/code/zato-server/test/zato/pubsub/publisher/test_publisher_ctx.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 unittest import TestCase
# Zato
from zato.common.test.pubsub.publisher import PublisherTestData
from zato.common.typing_ import cast_
from zato.server... | 5,496 | Python | .py | 96 | 49.510417 | 130 | 0.462012 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,037 | test_publisher_message.py | zatosource_zato/code/zato-server/test/zato/pubsub/publisher/test_publisher_message.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 copy import deepcopy
from unittest import TestCase
# Zato
from zato.common.test.pubsub.publisher import PublisherTestData
from zato.common.api import ... | 7,426 | Python | .py | 141 | 44.87234 | 130 | 0.523251 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,038 | __init__.py | zatosource_zato/code/zato-server/test/zato/pubsub/publisher/__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,039 | test_service_stat_client.py | zatosource_zato/code/zato-server/test/zato/stats/test_service_stat_client.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 unittest import main, TestCase
# Zato
from zato.common.test import rand_int, rand_string
from zato.common.events.client import Client as EventsClient
... | 10,265 | Python | .py | 232 | 35.655172 | 130 | 0.430567 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,040 | __init__.py | zatosource_zato/code/zato-server/test/zato/stats/__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,041 | test_database.py | zatosource_zato/code/zato-server/test/zato/stats/test_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 logging
import os
from datetime import datetime
from tempfile import gettempdir
from time import sleep
from unittest import main, TestCase
# dateuti... | 35,346 | Python | .py | 640 | 46.403125 | 130 | 0.576608 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,042 | test_invoke_dataclasses.py | zatosource_zato/code/zato-server/test/zato/rest/test_invoke_dataclasses.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 unittest import main
# Zato
from zato.common.test.rest_client import RESTClientTestCase
# ###########################################################... | 3,614 | Python | .py | 71 | 43.535211 | 130 | 0.391465 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,043 | test_invoke_service.py | zatosource_zato/code/zato-server/test/zato/rest/test_invoke_service.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 unittest import main
# Zato
from zato.common.api import ZATO_OK
from zato.common.test.rest_client import RESTClientTestCase
# #######################... | 2,440 | Python | .py | 43 | 52.139535 | 130 | 0.368797 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,044 | __init__.py | zatosource_zato/code/zato-server/test/zato/hl7/__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,045 | __init__.py | zatosource_zato/code/zato-server/test/zato/hl7/fhir_/__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,046 | test_hl7_fhir_read.py | zatosource_zato/code/zato-server/test/zato/hl7/fhir_/test_hl7_fhir_read.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.
"""
# Monkey-patch first
from gevent import monkey
monkey.patch_all()
# stdlib
import logging
import os
from time import sleep
from unittest import main, TestCase
# Bu... | 6,349 | Python | .py | 113 | 49.362832 | 130 | 0.507104 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,047 | test_ftp.py | zatosource_zato/code/zato-server/test/zato/file_transfer/test_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
import logging
import os
from unittest import main, TestCase
from uuid import uuid4
# pyfilesystem
from fs.ftpfs import FTPFS
# pyftpdlib
from pyftpdlib.log imp... | 4,174 | Python | .py | 84 | 41.154762 | 130 | 0.471777 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,048 | __init__.py | zatosource_zato/code/zato-server/test/zato/file_transfer/__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,049 | __init__.py | zatosource_zato/code/zato-server/src/__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,050 | __init__.py | zatosource_zato/code/zato-server/src/zato/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2010 Dariusz Suchojad <dsuch at zato.io>
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)
| 287 | Python | .py | 8 | 34.375 | 64 | 0.698182 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,051 | startup_callable.py | zatosource_zato/code/zato-server/src/zato/server/startup_callable.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 importlib import import_module
from logging import getLogger
from t... | 3,154 | Python | .py | 64 | 41.28125 | 130 | 0.454723 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,052 | config.py | zatosource_zato/code/zato-server/src/zato/server/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 copy import deepcopy
from logging import getLogger
from threading import RLock
# Paste
from paste.util.multidict import MultiDict
# Bunch
from zato.b... | 17,365 | Python | .py | 339 | 40.784661 | 130 | 0.448883 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,053 | live_browser.py | zatosource_zato/code/zato-server/src/zato/server/live_browser.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
# gevent
from gevent import spawn
# SQL... | 4,104 | Python | .py | 81 | 44.641975 | 130 | 0.570211 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,054 | jwt_.py | zatosource_zato/code/zato-server/src/zato/server/jwt_.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 uuid
from contextlib import closing
from datetime import datetime... | 5,298 | Python | .py | 108 | 41.092593 | 130 | 0.465049 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,055 | rbac_.py | zatosource_zato/code/zato-server/src/zato/server/rbac_.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
# simple-rbac
from rbac.acl import Regist... | 8,801 | Python | .py | 165 | 44.806061 | 130 | 0.52804 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,056 | sso.py | zatosource_zato/code/zato-server/src/zato/server/sso.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.common.api import RATE_L... | 4,038 | Python | .py | 68 | 48.779412 | 130 | 0.468695 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,057 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/__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,058 | query.py | zatosource_zato/code/zato-server/src/zato/server/query.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.store import Base... | 1,264 | Python | .py | 31 | 34.580645 | 105 | 0.673203 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,059 | store.py | zatosource_zato/code/zato-server/src/zato/server/store.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 weakref
from copy import deepcopy
from logging import getLogger
f... | 5,220 | Python | .py | 127 | 32.015748 | 130 | 0.589109 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,060 | main.py | zatosource_zato/code/zato-server/src/zato/server/main.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.
"""
# Monkey-patching modules individually can be about 20% faster,
# or, in absolute terms, instead of 275 ms it may take 220 ms.
from gevent.monkey import patch_builti... | 24,879 | Python | .py | 479 | 45.039666 | 132 | 0.615952 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,061 | jwt_cache.py | zatosource_zato/code/zato-server/src/zato/server/jwt_cache.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 datetime
from contextlib import closing
from logging import getLo... | 4,077 | Python | .py | 80 | 42.725 | 130 | 0.402223 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,062 | commands.py | zatosource_zato/code/zato-server/src/zato/server/commands.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
from datetime import datetime
from inspect import isclass
from logging import getLogger
# gevent
from gevent import spawn... | 14,779 | Python | .py | 302 | 40.178808 | 130 | 0.482617 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,063 | api.py | zatosource_zato/code/zato-server/src/zato/server/pattern/api.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.
"""
# Import all patterns into one place
from zato.server.pattern.base import FanOut, ParallelExec
from zato.server.pattern.invoke_retry import InvokeRetry
# For flake... | 392 | Python | .py | 12 | 31.25 | 64 | 0.786667 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,064 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/pattern/__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,065 | base.py | zatosource_zato/code/zato-server/src/zato/server/pattern/base.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
# Zato
from zato.common import CHANNEL
from zato.common.util import spawn_greenlet
from zato.se... | 9,988 | Python | .py | 174 | 44.885057 | 130 | 0.482073 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,066 | model.py | zatosource_zato/code/zato-server/src/zato/server/pattern/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 datetime import datetime
from typing import List as list_, Optional as optional
# Zato
from zato.common.ext.dataclasses import dataclass
# ##########... | 2,416 | Python | .py | 52 | 43.365385 | 130 | 0.323267 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,067 | invoke_retry.py | zatosource_zato/code/zato-server/src/zato/server/pattern/invoke_retry.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
# gevent
from gevent import sleep
# Zato
from zato.common.exc... | 9,976 | Python | .py | 163 | 51.165644 | 130 | 0.440496 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,068 | queue.py | zatosource_zato/code/zato-server/src/zato/server/connection/queue.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 datetime import datetime, timedelta
from time import sleep
from traceback import format_exc
# gevent
import gevent
from ... | 20,562 | Python | .py | 384 | 42.820313 | 130 | 0.472716 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,069 | sftp.py | zatosource_zato/code/zato-server/src/zato/server/connection/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.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# pylint: disable=attribute-defined-outside-init
# stdlib
from datetime import date, d... | 25,909 | Python | .py | 464 | 47.476293 | 130 | 0.446055 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,070 | cassandra.py | zatosource_zato/code/zato-server/src/zato/server/connection/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
# stdlib
from logging import getLogger
# Cassandra
from cassandra.auth import Pl... | 3,099 | Python | .py | 58 | 48.310345 | 130 | 0.503313 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,071 | sap.py | zatosource_zato/code/zato-server/src/zato/server/connection/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 logging import getLogger
from traceback import format_exc
# Zato
f... | 2,102 | Python | .py | 41 | 45.292683 | 130 | 0.550611 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,072 | pool_wrapper.py | zatosource_zato/code/zato-server/src/zato/server/connection/pool_wrapper.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.distlock import PassThrough as PassThroughLock
# ##########################################################... | 4,734 | Python | .py | 82 | 50.878049 | 130 | 0.35247 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,073 | confluence_.py | zatosource_zato/code/zato-server/src/zato/server/connection/confluence_.py | # -*- coding: utf-8 -*-
# atlassian-python-api
from atlassian import Confluence as AtlassianConfluenceClient
# ################################################################################################################################
# ############################################################################... | 2,465 | Python | .py | 50 | 41.96 | 130 | 0.376353 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,074 | vault.py | zatosource_zato/code/zato-server/src/zato/server/connection/vault.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 basicConfig, getLogger, INFO
from traceback import f... | 9,255 | Python | .py | 183 | 43.737705 | 130 | 0.504329 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,075 | salesforce.py | zatosource_zato/code/zato-server/src/zato/server/connection/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 json import dumps
# requests
from requests import get as request_get, post as requests_post
# #######################################################... | 7,368 | Python | .py | 174 | 34.258621 | 130 | 0.395801 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,076 | odoo.py | zatosource_zato/code/zato-server/src/zato/server/connection/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
# stdlib
from logging import getLogger
from traceback import format_exc
# gevent... | 2,603 | Python | .py | 60 | 36.766667 | 130 | 0.561459 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,077 | wrapper.py | zatosource_zato/code/zato-server/src/zato/server/connection/wrapper.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 traceback import format_exc
# gevent... | 5,177 | Python | .py | 104 | 42.788462 | 130 | 0.425109 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,078 | cache.py | zatosource_zato/code/zato-server/src/zato/server/connection/cache.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 b64encode
from logging import getLogger
from traceback import format_exc
# gevent
from gevent import sleep, spawn
from gevent.lock impor... | 53,829 | Python | .py | 915 | 49.949727 | 130 | 0.506685 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,079 | jira_.py | zatosource_zato/code/zato-server/src/zato/server/connection/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.
"""
# atlassian-python-api
from atlassian import Jira as AtlassianJiraClient
# #########################################################################################... | 4,584 | Python | .py | 100 | 37.87 | 130 | 0.429854 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,080 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/__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
# stdlib
import logging
from copy import deepcopy
from traceback import format_ex... | 10,901 | Python | .py | 217 | 40.119816 | 130 | 0.573394 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,081 | google.py | zatosource_zato/code/zato-server/src/zato/server/connection/google.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
from pathlib import Path
# google-api-client
from googleapiclient import discovery
from googleapiclient.http import... | 11,678 | Python | .py | 199 | 48.733668 | 130 | 0.516564 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,082 | ftp.py | zatosource_zato/code/zato-server/src/zato/server/connection/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
import logging
from copy import deepcopy
from threading import RLock
fro... | 6,319 | Python | .py | 116 | 46.025862 | 130 | 0.38796 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,083 | amqp_.py | zatosource_zato/code/zato-server/src/zato/server/connection/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.
"""
# pylint: disable=attribute-defined-outside-init
# stdlib
from datetime import datetime, timedelta
from logging import getLogger
from socket import error as socket_... | 27,474 | Python | .py | 478 | 46.987448 | 130 | 0.50324 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,084 | facade.py | zatosource_zato/code/zato-server/src/zato/server/connection/facade.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 datetime import datetime, timedelta, timezone
# Arrow
from arrow import Arrow
# datetutil
from dateutil.parser import parse as dt_parse
fro... | 13,532 | Python | .py | 261 | 43.64751 | 130 | 0.432646 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,085 | email.py | zatosource_zato/code/zato-server/src/zato/server/connection/email.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
from contextlib import contextmanager
from io import BytesIO
from logging import getLogger, INFO
from mimetypes import guess... | 17,949 | Python | .py | 332 | 46.156627 | 130 | 0.427991 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,086 | stats.py | zatosource_zato/code/zato-server/src/zato/server/connection/stats.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
# gevent
from gevent.lock import RLock
# Zato
from zato.common.events.client import Client as EventsClient
from zato.common.... | 4,973 | Python | .py | 89 | 48.651685 | 130 | 0.387423 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,087 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/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
# ###############################################################################... | 832 | Python | .py | 16 | 48.6875 | 130 | 0.363073 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,088 | twilio.py | zatosource_zato/code/zato-server/src/zato/server/connection/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 logging import getLogger
# Twilio
from twilio.rest import Client a... | 2,145 | Python | .py | 41 | 47.682927 | 130 | 0.474365 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,089 | microsoft_365.py | zatosource_zato/code/zato-server/src/zato/server/connection/cloud/microsoft_365.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
# ###########################################################################################################################... | 2,998 | Python | .py | 50 | 54.38 | 130 | 0.333561 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,090 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/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,091 | s3.py | zatosource_zato/code/zato-server/src/zato/server/connection/cloud/aws/s3.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
# Boto
from boto.s3.bucket import Bucket
from boto.s3.connection import NoHostProvided, S3Connection
from boto.s3.key import Key
#... | 3,769 | Python | .py | 60 | 57.016667 | 130 | 0.502304 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,092 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/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,093 | msg.py | zatosource_zato/code/zato-server/src/zato/server/connection/web_socket/msg.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 datetime import datetime
from http.client import BAD_REQUEST, FORBIDDEN, NOT_FOUND, OK
from json import dumps
from logging import getLogger
from traceb... | 8,280 | Python | .py | 165 | 42.466667 | 130 | 0.470048 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,094 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/web_socket/__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.
"""
# ################################################################################################################################
# ######################################... | 85,525 | Python | .py | 1,510 | 45.671523 | 131 | 0.510634 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,095 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/__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
# stdlib
from copy import deepcopy
from datetime import datetime
from logging imp... | 18,240 | Python | .py | 320 | 47.975 | 130 | 0.445955 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,096 | ipc.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/subprocess_/ipc.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, timedelta
from http.client import NOT_ACCEPTABLE, SERVICE_UNAVAILABLE
from logging import getLogger
from traceback import for... | 11,161 | Python | .py | 204 | 46.387255 | 130 | 0.491235 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,097 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/subprocess_/__init__.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.
"""
| 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,098 | base.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/subprocess_/base.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 logging
import os
import signal
import sys
from functools import wraps
from http.client import BAD_REQUEST, FORBIDDEN, INTERNAL_SERVER_ERROR, NOT_ACC... | 27,715 | Python | .py | 557 | 39.879713 | 130 | 0.477097 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,099 | ibm_mq.py | zatosource_zato/code/zato-server/src/zato/server/connection/connector/subprocess_/impl/ibm_mq.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.
"""
"""
Copyright 2006-2008 SpringSource (http://springsource.com), All Rights Res... | 17,657 | Python | .py | 300 | 47.43 | 130 | 0.476094 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |