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,300 | xpath.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/message/xpath.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,301 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/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.util.sql import get_instance_by_id, get_instance_by_name
from zato.server.service.internal import AdminService
# ###########################... | 1,119 | Python | .py | 17 | 62.823529 | 130 | 0.381868 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,302 | connection.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/generic/connection.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from copy import deepcopy
from datetime import datetime
from traceback import format_exc
from uuid import uuid4
# Zato
from ... | 22,986 | Python | .py | 429 | 43.825175 | 130 | 0.485789 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,303 | rest_wrapper.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/generic/rest_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 contextlib import closing
from json import dumps
# Zato
from zato.common.api import CONNECTION, URL_TYPE
from zato.common.broker_message import OUTGOI... | 8,773 | Python | .py | 164 | 45.853659 | 130 | 0.407932 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,304 | aws.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/aws.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
from uui... | 6,226 | Python | .py | 136 | 34.691176 | 110 | 0.611001 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,305 | ntlm.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/ntlm.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from traceback import format_exc
from uuid import uuid4
# Zato
from zato.common.api import SEC_DEF_TYPE
from zato.common.bro... | 8,175 | Python | .py | 156 | 42.121795 | 130 | 0.464451 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,306 | oauth.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/oauth.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from traceback import format_exc
from uuid import uuid4
# Zato
from zato.common.api import SEC_DEF_TYPE
from zato.common.bro... | 9,363 | Python | .py | 172 | 43.819767 | 130 | 0.48737 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,307 | basic_auth.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/basic_auth.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from traceback import format_exc
from uuid import uuid4
# Zato
from zato.common.api import SEC_DEF_TYPE
from zato.common.bro... | 10,060 | Python | .py | 180 | 45.433333 | 130 | 0.509872 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,308 | apikey.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/apikey.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from traceback import format_exc
from uuid import uuid4
# Zato
from zato.common.api import SEC_DEF_TYPE
from zato.common.bro... | 10,054 | Python | .py | 180 | 45.633333 | 130 | 0.508756 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,309 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
# Zato
from zato.common.api import SEC_DEF_TYPE
from zato.common.const import ServiceConst
from zato.common.odb import query... | 5,290 | Python | .py | 91 | 48.67033 | 130 | 0.463947 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,310 | wss.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/wss.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,311 | jwt.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/jwt.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 http.client import BAD_REQUEST
from traceback import format_exc
from uuid import uuid4
# Cryptography
from cryptography... | 12,490 | Python | .py | 232 | 43.818966 | 130 | 0.485234 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,312 | xpath.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/xpath.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
from uui... | 7,334 | Python | .py | 156 | 35.852564 | 120 | 0.61532 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,313 | policy.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/vault/policy.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,314 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/vault/__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,315 | connection.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/vault/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.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from uuid import uuid4
# SQLAlchemy
from... | 2,870 | Python | .py | 58 | 46.448276 | 130 | 0.514337 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,316 | role.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/rbac/role.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
# Python 2/3 compatibility
from six impo... | 3,859 | Python | .py | 77 | 45.714286 | 130 | 0.465582 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,317 | role_permission.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/rbac/role_permission.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
# Python 2/3 compatibility
from six impo... | 5,494 | Python | .py | 102 | 48.294118 | 130 | 0.523569 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,318 | client_role.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/rbac/client_role.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
# Python 2/3 compatibility
from six impo... | 5,766 | Python | .py | 106 | 48.90566 | 130 | 0.535943 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,319 | permission.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/rbac/permission.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common... | 2,471 | Python | .py | 50 | 47.02 | 130 | 0.441851 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,320 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/rbac/__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 . import client_role, permission, role, role_permission
# So pyflake... | 383 | Python | .py | 13 | 28.076923 | 82 | 0.769863 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,321 | channel.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/tls/channel.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.
"""
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common.api import SEC_DEF_TYPE
from zato.common.broker_message import SECURITY
from zato.c... | 2,807 | Python | .py | 53 | 50.207547 | 130 | 0.514819 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,322 | ca_cert.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/tls/ca_cert.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common... | 3,335 | Python | .py | 62 | 50.951613 | 130 | 0.484755 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,323 | key_cert.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/tls/key_cert.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Python 2/3 compatibility
from zato.common.py23_.past.builtins import unicode
fr... | 4,069 | Python | .py | 74 | 51.540541 | 130 | 0.498739 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,324 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/security/tls/__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,325 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/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
| 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,326 | amqp_.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/connector/amqp_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Zato
from zato.server.service import Service
# ###############################... | 1,186 | Python | .py | 22 | 49.590909 | 130 | 0.535931 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,327 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/kvdb/__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 logging import DEBUG, getLogger
from traceback import format_exc
#... | 4,908 | Python | .py | 95 | 41.726316 | 130 | 0.532636 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,328 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/kvdb/data_dict/__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.
"""
# Python 2/3 compatibility
from zato.common.py23_.past.builtins import unicode
from zato.common.ext.future.utils import iteritems
# Zato
from zato.common.api import... | 3,255 | Python | .py | 68 | 37.970588 | 102 | 0.600567 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,329 | impexp.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/kvdb/data_dict/impexp.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 bz2
from base64 import b64decode
# Python 2/3 compatibility
from zato.common.ext.future.utils import iteritems, iterkeys
from zato.common.py23_.past... | 2,342 | Python | .py | 52 | 36.596154 | 116 | 0.649053 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,330 | dictionary.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/kvdb/data_dict/dictionary.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 re
# Python 2/3 compatibility
from zato.common.py23_.past.builtins import unicode
# Zato
from zato.common.api import KVDB
from zato.common.exceptio... | 8,408 | Python | .py | 178 | 37.848315 | 123 | 0.625428 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,331 | translation.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/kvdb/data_dict/translation.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 hashlib import sha1, sha256
# Python 2/3 compatibility
from zato.common.py23_.past.builtins import unicode
# Zato
from zato.common.api import KVDB
fr... | 8,346 | Python | .py | 169 | 40.597633 | 146 | 0.635436 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,332 | file_transfer.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/file_transfer.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 zato.common.api import FILE_TRANSFER
from zato.common.util.file_transfer import parse_extra_into_list
from zato.server.service import Service
# ##############... | 1,528 | Python | .py | 27 | 51.888889 | 130 | 0.394896 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,333 | json_rpc.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/json_rpc.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from traceback import format_exc
# Bunch
from bunch import bunchify
# Zato
from zato.common.api import CONNECTION, JSON_RPC, URL_TYPE
from zato.common. ex... | 10,631 | Python | .py | 179 | 51.134078 | 130 | 0.462959 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,334 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/__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,335 | jms_wmq.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/jms_wmq.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from base64 import b64decode
from binascii import unhexlify
from contextlib import closing
from traceback import format_exc
# Arrow
from arrow import get a... | 10,723 | Python | .py | 219 | 37.757991 | 130 | 0.552705 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,336 | amqp_.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/amqp_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from traceback import format_exc
# Zato
from zato.common.broker_message import CHANNEL
from zato.common.exception import Ser... | 8,809 | Python | .py | 181 | 36.381215 | 130 | 0.531873 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,337 | zmq.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/zmq.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from traceback import format_exc
# Zato
... | 10,381 | Python | .py | 204 | 39 | 130 | 0.536067 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,338 | client.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/web_socket/client.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 random import randint
from traceback import format_exc
# ciso8601
try:
from zato.common.util.api import parse_datet... | 7,145 | Python | .py | 137 | 43.532847 | 130 | 0.554934 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,339 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/web_socket/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from json import dumps
from logging import getLogger
from traceback import format_exc
# Python 2/3 compatibility
from six im... | 17,187 | Python | .py | 299 | 50.143813 | 130 | 0.533874 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,340 | subscription.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/web_socket/subscription.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
# Zato
from zato.common.api import WEB_S... | 3,874 | Python | .py | 77 | 42.142857 | 130 | 0.553879 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,341 | cleanup.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/channel/web_socket/cleanup.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from datetime import datetime, timedelta
... | 12,876 | Python | .py | 208 | 51.375 | 130 | 0.531602 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,342 | imap.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/email/imap.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from time import time
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common.api import EMAIL as ... | 5,331 | Python | .py | 101 | 47.346535 | 130 | 0.50289 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,343 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/email/__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.
"""
| 157 | Python | .py | 5 | 30 | 64 | 0.673333 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,344 | smtp.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/email/smtp.py | # -# -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from time import time
# Python 2/3 co... | 4,535 | Python | .py | 88 | 46.613636 | 130 | 0.492455 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,345 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/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.
"""
# stdlib
from io import StringIO
from itertools import chain
from json import dumps
import os
# Bunch
from bunch import bunchify
# Zato
from zato.server.apispec.sp... | 15,350 | Python | .py | 319 | 38.661442 | 130 | 0.520558 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,346 | cassandra.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/query/cassandra.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common... | 1,958 | Python | .py | 41 | 45.97561 | 130 | 0.472909 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,347 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/query/__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,348 | ide.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/service/ide.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 os
from dataclasses import dataclass
from datetime import datetime, timedelta
from operator import itemgetter
from pathlib import Path
from time impo... | 32,239 | Python | .py | 567 | 46.4903 | 130 | 0.501748 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,349 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/service/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import os
from base64 import b64decode, b64encode
from contextlib import closing
from operator import attrgetter
from traceback import format_exc
from uuid ... | 41,093 | Python | .py | 729 | 46.224966 | 132 | 0.516915 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,350 | memcached.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cache/memcached.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common... | 3,163 | Python | .py | 62 | 47.548387 | 130 | 0.500975 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,351 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cache/__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.odb.model import Cache
# ###################################################################################################################... | 1,015 | Python | .py | 19 | 47.631579 | 130 | 0.493428 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,352 | entry.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cache/builtin/entry.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
# Arrow
from arrow import get as arrow_get
# Bunch
from bunch import bunchify
#... | 10,951 | Python | .py | 209 | 43.086124 | 130 | 0.514685 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,353 | pubapi.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cache/builtin/pubapi.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 datetime import datetime
# Python 2/3 compatibility
from zato.comm... | 10,755 | Python | .py | 228 | 40.074561 | 130 | 0.549952 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,354 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/cache/builtin/__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
# dictalchemy
from dictalchemy.utils import asdict
# Python 2/3 compatibility
fr... | 5,613 | Python | .py | 104 | 48.461538 | 130 | 0.532895 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,355 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/hot_deploy/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import os
import shutil
from contextlib import closing
from dataclasses import dataclass
from datetime import datetime
from errno import ENOENT
from json im... | 18,361 | Python | .py | 310 | 49.148387 | 130 | 0.526416 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,356 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/ide_deploy/__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 traceback import format_exc
# Zato
from zato.common.api import DAT... | 1,938 | Python | .py | 41 | 39.878049 | 126 | 0.678855 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,357 | publish.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/publish.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 zato.server.service import AsIs, Int, List
from zato.server.service.internal import AdminService
# ###########################################################... | 2,390 | Python | .py | 37 | 58.27027 | 130 | 0.431624 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,358 | queue.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/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 contextlib import closing
# Zato
from zato.common.api import PUBSUB
from zato.common.odb.query.pubsub.queue import acknowledge_delivery, get_messages,... | 5,416 | Python | .py | 93 | 48.870968 | 130 | 0.481768 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,359 | message.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/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 contextlib import closing
from copy import deepcopy
# Bunch
from bunch import Bunch
# SQLAlchemy
from sqlalchemy import and_, exists
# Zato
from zat... | 21,946 | Python | .py | 370 | 49.927027 | 130 | 0.535104 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,360 | hook.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/hook.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 contextlib import closing
# Zato
from zato.common.api import PUBSUB
from zato.common.util.api import is_class_pubsub_hook
from zato.common.odb.model i... | 3,505 | Python | .py | 67 | 45.447761 | 130 | 0.539655 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,361 | pubapi.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/pubapi.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
from traceback import format_exc
# Zato
from zato.common.api import CHANNEL, ContentType, CONTENT_TYPE, PUBSUB, ZATO_NONE
from zato.... | 18,332 | Python | .py | 320 | 47.884375 | 130 | 0.51783 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,362 | topic.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/topic.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 dataclasses import dataclass
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common.broker_m... | 26,101 | Python | .py | 416 | 55.074519 | 130 | 0.476174 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,363 | search.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/search.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.api import SEARCH
from zato.common.util.search import SearchResults
from zato.common.util.time_ import datetime_from_ms
from zato.server.serv... | 2,679 | Python | .py | 40 | 60.9 | 130 | 0.441692 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,364 | endpoint.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/endpoint.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from copy import deepcopy
from json import loads
# SQLAlchemy
from sqlalchemy import delete
# Zato
from zato.common.api imp... | 48,687 | Python | .py | 825 | 49.33697 | 130 | 0.513064 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,365 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from logging import getLogger
from traceback import format_exc
# Zato
from zato.common.api import PUBSUB
from zato.common.ex... | 18,987 | Python | .py | 305 | 51.57377 | 133 | 0.538929 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,366 | migrate.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/migrate.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Zato
from zato.server.service.internal import AdminService, AdminSIO
# #######... | 4,461 | Python | .py | 74 | 52.013514 | 130 | 0.588856 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,367 | subscription.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/subscription.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 logging import getLogger
# Bunch
from bunch import Bunch
# SQLAlchemy
from sqlalchemy import update
# Zato
... | 38,245 | Python | .py | 682 | 44.831378 | 130 | 0.543041 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,368 | delivery.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/delivery.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.api import PUBSUB
from zato.common.broker_message import PUBSUB as BROKER_MSG_PUBSUB
from zato.common.exception import BadRequest
from zato.c... | 11,248 | Python | .py | 194 | 49.536082 | 130 | 0.535201 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,369 | sync.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/task/sync.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 datetime import datetime
from operator import itemgetter
# Zato
fr... | 8,816 | Python | .py | 165 | 45.327273 | 130 | 0.550389 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,370 | delivery_server.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/task/delivery_server.py | # -*- coding: utf-8 -*-
# This file will be removed in a future release of Zato.
| 82 | Python | .py | 2 | 39.5 | 56 | 0.670886 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,371 | main.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/task/main.py | # -*- coding: utf-8 -*-
# This file will be removed in a future release of Zato.
| 82 | Python | .py | 2 | 39.5 | 56 | 0.670886 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,372 | message.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/task/delivery/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.
"""
# stdlib
from operator import itemgetter
# Bunch
from bunch import Bunch
# Zato
from zato.common.util.time_ import datetime_from_ms
from zato.server.service im... | 5,099 | Python | .py | 89 | 46.955056 | 130 | 0.469171 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,373 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/task/delivery/__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.
"""
# stdlib
from operator import itemgetter
# Zato
from zato.common.util.time_ import datetime_from_ms
from zato.server.service import AsIs, Int
from zato.server.servi... | 5,935 | Python | .py | 99 | 48.757576 | 132 | 0.463406 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,374 | server.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/pubsub/task/delivery/server.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 contextlib import closing
# Bunch
from bunch import bunchify
# Zato
from zato.common.odb.model import PubSubSubscription, Server, WebSocketClient, We... | 8,083 | Python | .py | 151 | 43.576159 | 130 | 0.527605 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,375 | trends.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/stats/trends.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.service.internal import AdminService
class GetTrends(AdminService):
def handle(self):
pass
| 283 | Python | .py | 10 | 25.7 | 64 | 0.724907 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,376 | summary.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/stats/summary.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.server.service.internal import AdminService
# #####################################################################################################... | 1,461 | Python | .py | 36 | 37.555556 | 130 | 0.492898 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,377 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/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.
"""
# Zato
from zato.server.service.internal import AdminService
# #####################################################################################################... | 1,255 | Python | .py | 30 | 38.9 | 130 | 0.437655 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,378 | es.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/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
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common... | 1,739 | Python | .py | 38 | 43.947368 | 130 | 0.492289 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,379 | solr.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/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
# Python 2/3 compatibility
from six import add_metaclass
# Zato
from zato.common... | 2,198 | Python | .py | 47 | 44.510638 | 130 | 0.443715 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,380 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/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
| 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,381 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/groups/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from json import dumps
from operator import itemgetter
# Zato
from zato.common.api import CONNECTION, Groups
from zato.common.broker_message import Groups ... | 11,761 | Python | .py | 224 | 43.040179 | 130 | 0.462512 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,382 | ctx.py | zatosource_zato/code/zato-server/src/zato/server/service/internal/groups/ctx.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.server.groups.ctx import SecurityGroupsCtxBuilder
from zato.server.service import Service
# #######################################################... | 914 | Python | .py | 18 | 47.055556 | 130 | 0.396843 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,383 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/service/reqresp/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
from copy import deepcopy
# Bunch
from bunch import Bunch, bunchify
# lxml
from lxml.etree import _Element as EtreeElement
from lxml.object... | 15,801 | Python | .py | 318 | 43.323899 | 130 | 0.443188 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,384 | sync.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/sync.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.
"""
# pylint: disable=unused-import, unused-variable
# stdlib
import logging
from traceback import format_exc
# gevent
from gevent import sleep
from gevent.lock import... | 25,552 | Python | .py | 454 | 44.180617 | 130 | 0.491403 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,385 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# pylint: disable=unused-import, redefined-builtin, unused-variable
# stdlib
import logging
import os
from contextlib import closing
from io import StringIO
from op... | 83,730 | Python | .py | 1,361 | 51.187362 | 130 | 0.463957 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,386 | model.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/model.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.
"""
# pylint: disable=unused-import, redefined-builtin, unused-variable
# stdlib
import logging
from dataclasses import dataclass, field as dc_field
from datetime impor... | 21,471 | Python | .py | 406 | 46.325123 | 130 | 0.450315 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,387 | publisher.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/publisher.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 contextlib import closing
from dataclasses import dataclass
from logging import DEBUG, getLogger
from operator import itemgetter
from traceback import ... | 39,107 | Python | .py | 705 | 44.21844 | 130 | 0.549032 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,388 | hook.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/core/hook.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.
"""
# pylint: disable=unused-import, redefined-builtin, unused-variable
# stdlib
import logging
# gevent
from zato.common.api import PUBSUB
from zato.common.util.hook ... | 4,439 | Python | .py | 71 | 55.690141 | 130 | 0.453017 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,389 | pubapi.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/core/pubapi.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
from inspect import isclass
# Zato
from zato.common.api import PUBSUB
from zato.common.exception import Forbidden
from zato.common.pubsub im... | 23,857 | Python | .py | 432 | 45.280093 | 130 | 0.50045 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,390 | topic.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/core/topic.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.
"""
# pylint: disable=unused-import, redefined-builtin, unused-variable
# stdlib
import logging
# gevent
from zato.common.typing_ import cast_
from zato.server.pubsub.... | 5,969 | Python | .py | 102 | 51.754902 | 130 | 0.395229 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,391 | trigger.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/core/trigger.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.
"""
# pylint: disable=unused-import, redefined-builtin, unused-variable
# stdlib
import logging
from traceback import format_exc
# gevent
from gevent import sleep, spa... | 10,112 | Python | .py | 159 | 46.987421 | 130 | 0.475098 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,392 | sql.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/core/sql.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 contextlib import closing
# Zato
from zato.common.odb.query.pubsub.delivery import \
confirm_pubsub_msg_delivered as _confirm_pubsub_msg_deliv... | 4,565 | Python | .py | 88 | 44.977273 | 130 | 0.412438 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,393 | endpoint.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/core/endpoint.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.api import PUBSUB
from zato.common.typing_ import cast_
from zato.common.util.api import wait_for_dict_key
from zato.server.pubsub.model impo... | 10,340 | Python | .py | 188 | 46.170213 | 130 | 0.418187 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,394 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/core/__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,395 | message.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/delivery/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 logging import getLogger
# Zato
from zato.common.api import GENERIC, PUBSUB
from zato.common.json_internal import json_loads
from zato.common.pubsub i... | 10,127 | Python | .py | 187 | 46.304813 | 130 | 0.472247 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,396 | tool.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/delivery/tool.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 logging import getLogger
from traceback import format_exc
from typing import cast, Iterable as iterable_
# gevent
from geven... | 27,510 | Python | .py | 442 | 51.624434 | 130 | 0.495063 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,397 | __init__.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/delivery/__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,398 | task.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/delivery/task.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.
"""
# pylint: disable=unused-import, unused-variable
# stdlib
from logging import getLogger
from threading import current_thread
from traceback import format_exc, forma... | 34,945 | Python | .py | 565 | 50.20354 | 130 | 0.523337 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,399 | _sorted_list.py | zatosource_zato/code/zato-server/src/zato/server/pubsub/delivery/_sorted_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.
"""
# pyright: reportUnknownArgumentType=false, reportUnknownVariableType=false
# stdlib
from bisect import bisect_left
from logging import getLogger
from typing import... | 3,002 | Python | .py | 48 | 57.125 | 130 | 0.366053 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |