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,600 | olddict.py | zatosource_zato/code/zato-common/src/zato/common/py23_/past/types/olddict.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.
"""
# ################################################################################################################################
# ################################... | 4,531 | Python | .py | 100 | 41.38 | 130 | 0.58754 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,601 | basestring.py | zatosource_zato/code/zato-common/src/zato/common/py23_/past/types/basestring.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.
"""
# ################################################################################################################################
# ################################... | 2,538 | Python | .py | 52 | 46.423077 | 130 | 0.60195 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,602 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/py23_/past/types/__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.
"""
# ################################################################################################################################
# ################################... | 2,671 | Python | .py | 52 | 49.019231 | 130 | 0.591939 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,603 | oldstr.py | zatosource_zato/code/zato-common/src/zato/common/py23_/past/types/oldstr.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.
"""
# ################################################################################################################################
# ################################... | 6,124 | Python | .py | 140 | 39.057143 | 130 | 0.55578 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,604 | noniterators.py | zatosource_zato/code/zato-common/src/zato/common/py23_/past/builtins/noniterators.py | # -*- coding: utf-8 -*-
from __future__ import division, absolute_import, print_function
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# #################################################################################################... | 11,198 | Python | .py | 274 | 33.244526 | 130 | 0.47176 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,605 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/py23_/past/builtins/__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.
"""
# ################################################################################################################################
# ################################... | 3,667 | Python | .py | 83 | 40.036145 | 130 | 0.606802 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,606 | misc.py | zatosource_zato/code/zato-common/src/zato/common/py23_/past/builtins/misc.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ##########################################################################################################################... | 4,376 | Python | .py | 102 | 37.245098 | 130 | 0.588651 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,607 | api.py | zatosource_zato/code/zato-common/src/zato/common/marshal_/api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from dataclasses import asdict, _FIELDS, make_dataclass, MISSING, _PARAMS # type: ignore
from http.client import BAD_REQUEST
from inspect import isclass
fro... | 27,591 | Python | .py | 503 | 43.709742 | 130 | 0.483394 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,608 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/marshal_/__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,609 | model.py | zatosource_zato/code/zato-common/src/zato/common/marshal_/model.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.
"""
class BaseModel:
""" This is a base class for actual models.
"""
| 228 | Python | .py | 8 | 26.125 | 64 | 0.672811 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,610 | simpleio.py | zatosource_zato/code/zato-common/src/zato/common/marshal_/simpleio.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
from traceback import format_exc
# orjson
from orjson import loads
# Zato
from zato.common import DATA_FORMAT
from zato.common.mar... | 4,475 | Python | .py | 87 | 44.252874 | 130 | 0.428408 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,611 | _dataclasses.py | zatosource_zato/code/zato-common/src/zato/common/ext/_dataclasses.py |
"""
This module is a vendor copy of the dataclasses package from https://pypi.org/project/dataclasses/
The original license is:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR US... | 57,009 | Python | .py | 1,170 | 40.498291 | 98 | 0.609624 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,612 | configobj_.py | zatosource_zato/code/zato-common/src/zato/common/ext/configobj_.py | """
This module is a modified vendor copy of the configobj package from https://pypi.org/project/configobj/
Copyright (c):
2003-2010, Michael Foord
2014, Eli Courtwright, Rob Dennis
All rights reserved.
E-mails :
fuzzyman AT voidspace DOT org DOT uk
eli AT courtwright DOT org
rdennis AT gmail DOT com
Redistribution a... | 94,193 | Python | .py | 2,188 | 30.805759 | 131 | 0.545113 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,613 | typing_extensions.py | zatosource_zato/code/zato-common/src/zato/common/ext/typing_extensions.py | """
This module is a vendor copy of the typing-extensions package from https://pypi.org/project/typing-extensions/
The original license is:
A. HISTORY OF THE SOFTWARE
==========================
Python was created in the early 1990s by Guido van Rossum at Stichting
Mathematisch Centrum (CWI, see http://www.cwi.nl) in... | 99,348 | Python | .py | 2,073 | 36.509407 | 110 | 0.584408 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,614 | dataclasses.py | zatosource_zato/code/zato-common/src/zato/common/ext/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.
"""
# flake8: noqa
# Be explicit about which import error we want to catch
try:
import dataclasses
# Python 3.6
except ImportError:
from zato.common.ext._datac... | 501 | Python | .py | 17 | 26.941176 | 64 | 0.732218 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,615 | validate_.py | zatosource_zato/code/zato-common/src/zato/common/ext/validate_.py | """
This module is a modified vendor copy of the configobj package from https://pypi.org/project/configobj/
# validate.py
# A Validator object
# Copyright (C) 2005-2014:
# (name) : (email)
# Michael Foord: fuzzyman AT voidspace DOT org DOT uk
# Mark Andrews: mark AT la-la DOT com
# Nicola Larosa: nico AT tekNico DOT n... | 48,293 | Python | .py | 1,263 | 31.111639 | 104 | 0.581939 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,616 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/__init__.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated d... | 4,245 | Python | .py | 89 | 44.292135 | 119 | 0.72128 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,617 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/utils/__init__.py | """
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... | 23,233 | Python | .py | 636 | 29.47956 | 119 | 0.624276 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,618 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/standard_library/__init__.py | from __future__ import absolute_import, division, print_function
"""
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining... | 29,229 | Python | .py | 704 | 34.039773 | 119 | 0.628883 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,619 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/moves/__init__.py | """
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... | 1,449 | Python | .py | 26 | 54.346154 | 119 | 0.810868 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,620 | error.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/moves/urllib/error.py | """
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... | 1,724 | Python | .py | 31 | 53.16129 | 119 | 0.801663 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,621 | robotparser.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/moves/urllib/robotparser.py | """
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... | 1,408 | Python | .py | 26 | 52.461538 | 119 | 0.80814 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,622 | response.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/moves/urllib/response.py | """
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... | 1,571 | Python | .py | 30 | 47.7 | 119 | 0.763518 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,623 | request.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/moves/urllib/request.py | """
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... | 4,741 | Python | .py | 106 | 32.40566 | 119 | 0.472421 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,624 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/moves/urllib/__init__.py | """
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... | 1,339 | Python | .py | 23 | 56.782609 | 119 | 0.81145 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,625 | parse.py | zatosource_zato/code/zato-common/src/zato/common/ext/future/moves/urllib/parse.py | """
This module is a modified vendor copy of the python-future package from https://github.com/PythonCharmers/python-future
Copyright (c) 2013-2019 Python Charmers Pty Ltd, Australia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... | 2,290 | Python | .py | 43 | 46.372093 | 119 | 0.717605 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,626 | messages.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/messages.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 3,459 | Python | .py | 79 | 35.683544 | 95 | 0.622726 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,627 | imbox.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/imbox.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 6,743 | Python | .py | 106 | 57.311321 | 130 | 0.472471 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,628 | imap.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/imap.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the 'Sof... | 3,377 | Python | .py | 55 | 56.636364 | 130 | 0.502876 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,629 | utils.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/utils.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 1,789 | Python | .py | 32 | 53.1875 | 95 | 0.766896 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,630 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/__init__.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 1,277 | Python | .py | 22 | 56.681818 | 95 | 0.801123 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,631 | query.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/query.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 1,707 | Python | .py | 33 | 47.363636 | 95 | 0.739627 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,632 | parser.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/parser.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 10,222 | Python | .py | 228 | 35.311404 | 115 | 0.615857 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,633 | version.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/version.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 1,265 | Python | .py | 22 | 56.181818 | 95 | 0.794498 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,634 | gmail.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/vendors/gmail.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 2,583 | Python | .py | 52 | 42.634615 | 100 | 0.661104 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,635 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/vendors/__init__.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 1,616 | Python | .py | 27 | 58 | 106 | 0.793409 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,636 | helpers.py | zatosource_zato/code/zato-common/src/zato/common/ext/imbox/vendors/helpers.py | # -*- coding: utf-8 -*-
"""
This module is a modified vendor copy of the Imbox package from https://pypi.org/project/imbox/
The MIT License (MIT)
Copyright (c) 2013 Martin Rusev
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Sof... | 1,434 | Python | .py | 25 | 55.44 | 95 | 0.78174 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,637 | parsing.py | zatosource_zato/code/zato-common/src/zato/common/kvdb/parsing.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
# ###############################################################################... | 2,216 | Python | .py | 32 | 66.875 | 130 | 0.381676 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,638 | api.py | zatosource_zato/code/zato-common/src/zato/common/kvdb/api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# stdlib
from importlib import im... | 9,540 | Python | .py | 174 | 45.701149 | 130 | 0.418817 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,639 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/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.
"""
| 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,640 | ping.py | zatosource_zato/code/zato-common/src/zato/common/odb/ping.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
# ###############################################################################... | 1,680 | Python | .py | 31 | 47.129032 | 130 | 0.428222 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,641 | const.py | zatosource_zato/code/zato-common/src/zato/common/odb/const.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
WMQ_DEFAULT_PRIORITY = 5
| 174 | Python | .py | 6 | 27.5 | 64 | 0.70303 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,642 | api.py | zatosource_zato/code/zato-common/src/zato/common/odb/api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
from contextlib import closing
from copy import deepcopy
from datetime import datetime
from io import StringIO
from logging import DEBUG, get... | 66,853 | Python | .py | 1,123 | 50.103295 | 130 | 0.455366 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,643 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/odb/__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
# ###############################################################################... | 4,093 | Python | .py | 102 | 31.598039 | 130 | 0.512251 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,644 | testing.py | zatosource_zato/code/zato-common/src/zato/common/odb/testing.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
import logging
# Zato
from zato.common.api import UNITTEST
# #########... | 1,975 | Python | .py | 46 | 37.913043 | 130 | 0.431197 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,645 | post_process.py | zatosource_zato/code/zato-common/src/zato/common/odb/post_process.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Zato
from zato.common.api import PUBSUB
from zato.common.odb.model import PubSu... | 2,679 | Python | .py | 49 | 47.306122 | 130 | 0.423372 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,646 | rate_limiting.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/rate_limiting.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Zato
from zato.common.odb.model import RateLimitState
# ######################... | 1,350 | Python | .py | 24 | 52.208333 | 130 | 0.512528 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,647 | generic.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/generic.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 datetime import datetime
from logging import getLogger
# SQLAlchemy
from sqlalchemy import and_, delete, exists, insert, update
# Zato
from zato.comm... | 12,244 | Python | .py | 230 | 45.73913 | 130 | 0.432847 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,648 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2024, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
from functools import wraps
# Bunch
from bunch import bunchify
# SQLAlchemy
from sqlalchemy import and_, func, not_, or_
from sqlalchemy.or... | 69,099 | Python | .py | 1,521 | 38.777778 | 134 | 0.58355 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,649 | cleanup.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/cleanup.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 operator
from logging import getLogger
# SQLAlchemy
from sqlalchemy import and_, delete, func, or_, select
# Zato
from zato.common.odb.model import... | 9,492 | Python | .py | 187 | 45.213904 | 130 | 0.460184 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,650 | common.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/common.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Zato
from zato.common.api import CONNECTION
from zato.common.odb.model import HTTPSOAP, PubSubTopic
# SQLAlchemy
from sqlalchemy import and_, select
# ##########... | 7,570 | Python | .py | 159 | 43.396226 | 130 | 0.455483 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,651 | publish.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/pubsub/publish.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
# SQLAlchemy
from sqlalchemy.exc import IntegrityError
# Zato
from zato.common.api import PUB... | 20,967 | Python | .py | 362 | 47.10221 | 130 | 0.517356 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,652 | queue.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/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.
"""
# SQLAlchemy
from sqlalchemy import func, update
# Zato
from zato.common.api import PUBSUB
from zato.common.odb.model import PubSubEndpointEnqueuedMessage, PubSubMe... | 6,827 | Python | .py | 138 | 44.072464 | 130 | 0.479285 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,653 | subscribe.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/pubsub/subscribe.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.
"""
# SQLAlchemy
from sqlalchemy import and_, exists, insert, update
from sqlalchemy.sql import expression as expr
# Zato
from zato.common.odb.model import PubSubEndpoi... | 8,854 | Python | .py | 186 | 41.397849 | 130 | 0.572057 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,654 | topic.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/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.
"""
# SQLAlchemy
from sqlalchemy import and_, func, select
from sqlalchemy.sql.expression import false as sa_false
# Zato
from zato.common.odb.model import PubSubMessag... | 4,416 | Python | .py | 85 | 46.482353 | 130 | 0.441375 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,655 | endpoint.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/pubsub/endpoint.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.
"""
# SQLAlchemy
from sqlalchemy import func
# Zato
from zato.common.api import PUBSUB
from zato.common.odb.model import Cluster, PubSubEndpoint, PubSubSubscription
fro... | 3,464 | Python | .py | 71 | 44.056338 | 130 | 0.45231 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,656 | subscription.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/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.
"""
# SQLAlchemy
from sqlalchemy import func
# Zato
from zato.common.api import PUBSUB
from zato.common.odb.model import Cluster, HTTPSOAP, PubSubTopic, PubSubEndpoint,... | 8,780 | Python | .py | 182 | 42.258242 | 130 | 0.541866 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,657 | delivery.py | zatosource_zato/code/zato-common/src/zato/common/odb/query/pubsub/delivery.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from logging import getLogger
from traceback import format_exc
# SQLAlchemy
from sqlalchemy import update
from sqlalchemy.exc import IntegrityError
# Zato... | 10,610 | Python | .py | 220 | 42.368182 | 135 | 0.56128 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,658 | sso.py | zatosource_zato/code/zato-common/src/zato/common/odb/model/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
# SQLAlchemy
from sqlalchemy import Boolean, Column, DateTime, false as sa_false,... | 13,838 | Python | .py | 239 | 52.577406 | 130 | 0.641604 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,659 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/odb/model/__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 datetime import datetime
from ftplib import FTP_PORT
# SQLAlchemy
from sqlalchemy import BigInteger, Boolean, Column, DateTime, Enum, false as sa_fals... | 138,510 | Python | .py | 2,311 | 53.942449 | 143 | 0.621579 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,660 | base.py | zatosource_zato/code/zato-common/src/zato/common/odb/model/base.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# dictalchemy
from dictalchemy import make_class_dictable
# SQLAlchemy
from sqla... | 2,303 | Python | .py | 43 | 49.186047 | 130 | 0.377619 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,661 | client.py | zatosource_zato/code/zato-common/src/zato/common/events/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
import socket
from datetime import datetime
from logging import getLogger
# gevent
from gevent import sleep
from gevent.lock import RLock
# orjson
from or... | 7,486 | Python | .py | 146 | 42.753425 | 130 | 0.385808 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,662 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/events/__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,663 | common.py | zatosource_zato/code/zato-common/src/zato/common/events/common.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 typing import Optional as optional
# Zato
from zato.common.typing_ import dataclass
# ###############################################################... | 2,594 | Python | .py | 56 | 42.375 | 130 | 0.313569 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,664 | limiter.py | zatosource_zato/code/zato-common/src/zato/common/rate_limiting/limiter.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
# gevent
from gevent.lock import RLock
# netaddr
from netaddr impor... | 17,203 | Python | .py | 298 | 48.704698 | 130 | 0.468984 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,665 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/rate_limiting/__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 logging import getLogger
# gevent
from gevent.lock import RLock
# netaddr
from netaddr import IPNetwork
# SQLAlchemy
... | 15,594 | Python | .py | 262 | 50.259542 | 130 | 0.474475 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,666 | common.py | zatosource_zato/code/zato-common/src/zato/common/rate_limiting/common.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# ################################################################################################################################
# ################################... | 2,905 | Python | .py | 55 | 48.527273 | 130 | 0.27006 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,667 | http_.py | zatosource_zato/code/zato-common/src/zato/common/util/http_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import copy
from cgi import FieldStorage
from collections.abc import Mapping
from io import BytesIO
from urllib.parse import parse_qsl, quote, urlencode
# ... | 16,456 | Python | .py | 382 | 34.879581 | 130 | 0.567211 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,668 | json_.py | zatosource_zato/code/zato-common/src/zato/common/util/json_.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.
"""
# pysimdjson
try:
from simdjson import Parser as SIMDJSONParser # type: ignore
except ImportError:
has_simdjson = False
else:
has_simdjson = True
# ####... | 1,422 | Python | .py | 28 | 48.071429 | 130 | 0.322511 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,669 | wmq.py | zatosource_zato/code/zato-common/src/zato/common/util/wmq.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from binascii import unhexlify
# ######################################... | 822 | Python | .py | 15 | 52.266667 | 130 | 0.4925 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,670 | python_.py | zatosource_zato/code/zato-common/src/zato/common/util/python_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import importlib
import sys
import traceback
from dataclasses import dataclass
from importlib.util import module_from_spec, spec_from_file_location
from log... | 7,379 | Python | .py | 141 | 46.865248 | 130 | 0.466453 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,671 | hot_deploy_.py | zatosource_zato/code/zato-common/src/zato/common/util/hot_deploy_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from logging import getLogger
from pathlib import Path
# Zato
from zato.common.api import HotDeploy
from zato.common.hot_deploy_ import HotDeployProject, p... | 5,313 | Python | .py | 96 | 47.197917 | 130 | 0.464375 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,672 | tcp.py | zatosource_zato/code/zato-common/src/zato/common/util/tcp.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 errno
from datetime import datetime, timedelta
from logging import getLogger
from socket import timeout as SocketTimeoutException
from time import sl... | 11,382 | Python | .py | 235 | 41.859574 | 130 | 0.474207 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,673 | config.py | zatosource_zato/code/zato-common/src/zato/common/util/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
import os
from logging import getLogger
from pathlib import Path
from traceback import format_exc
from urllib.parse import parse_qsl, urlparse, urlunparse
... | 17,571 | Python | .py | 339 | 44.976401 | 130 | 0.488973 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,674 | hook.py | zatosource_zato/code/zato-common/src/zato/common/util/hook.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.common.util.api import is_func_overridden
# #######################################################################################################... | 2,580 | Python | .py | 45 | 49.533333 | 130 | 0.475963 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,675 | open_.py | zatosource_zato/code/zato-common/src/zato/common/util/open_.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.
"""
# ################################################################################################################################
# Default encoding used with all ... | 1,843 | Python | .py | 27 | 65.740741 | 130 | 0.288494 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,676 | exception.py | zatosource_zato/code/zato-common/src/zato/common/util/exception.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 traceback import TracebackException
# Zato
from zato.common.version import get_version
# ##############################... | 2,834 | Python | .py | 68 | 37.279412 | 130 | 0.460695 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,677 | event.py | zatosource_zato/code/zato-common/src/zato/common/util/event.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 collections import deque
from datetime import datetime
from itertoo... | 2,754 | Python | .py | 58 | 41.741379 | 130 | 0.438085 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,678 | file_transfer.py | zatosource_zato/code/zato-common/src/zato/common/util/file_transfer.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import os
# Zato
from zato.common.util.platform_ import is_non_windows
# #################################################################################... | 2,974 | Python | .py | 60 | 44.45 | 130 | 0.414964 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,679 | expiring_dict.py | zatosource_zato/code/zato-common/src/zato/common/util/expiring_dict.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.
"""
"""
### Original license ###
Copyright (c) 2019 David Parker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... | 5,747 | Python | .py | 104 | 49.298077 | 130 | 0.435303 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,680 | search.py | zatosource_zato/code/zato-common/src/zato/common/util/search.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.
"""
# ################################################################################################################################
# ################################... | 4,951 | Python | .py | 90 | 47.177778 | 130 | 0.389855 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,681 | posix_ipc_.py | zatosource_zato/code/zato-common/src/zato/common/util/posix_ipc_.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, timedelta
from logging import getLogger
from mmap import mmap
from time import sleep
from traceback import format_exc
try:
... | 10,796 | Python | .py | 200 | 45.5 | 130 | 0.41578 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,682 | cli.py | zatosource_zato/code/zato-common/src/zato/common/util/cli.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
import select
import sys
# gevent
from gevent import sleep
# ######################################################################... | 11,132 | Python | .py | 210 | 45.904762 | 130 | 0.425434 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,683 | api.py | zatosource_zato/code/zato-common/src/zato/common/util/api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import ast
import copy
import errno
import gc
import importlib.util
import inspect
import linecache
import logging
import os
import random
import re
import ... | 81,942 | Python | .py | 1,628 | 43.850123 | 130 | 0.504476 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,684 | time_.py | zatosource_zato/code/zato-common/src/zato/common/util/time_.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, timezone
from time import time
import logging
# Arrow
import arrow
# tzlocal
from tzlocal import get_localzone
... | 9,168 | Python | .py | 153 | 54.222222 | 130 | 0.384212 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,685 | url_dispatcher.py | zatosource_zato/code/zato-common/src/zato/common/util/url_dispatcher.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 HTTP_S... | 1,960 | Python | .py | 35 | 52.514286 | 130 | 0.518363 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,686 | auth.py | zatosource_zato/code/zato-common/src/zato/common/util/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 logging import getLogger
from base64 import b64decode
# Python 2/3 compatibility
from zato.common.py23_.past.builtins import unicode
from six import P... | 9,341 | Python | .py | 168 | 50.535714 | 130 | 0.468099 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,687 | cache.py | zatosource_zato/code/zato-common/src/zato/common/util/cache.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
# Requests
from requests import Session as RequestsSession
# Zato
from zato.common.api... | 7,482 | Python | .py | 152 | 41.125 | 130 | 0.445253 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,688 | __init__.py | zatosource_zato/code/zato-common/src/zato/common/util/__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.
"""
# Imported for backward compatibility
from zato.common.util.api import * # noqa: F401
# Imported here in addition to zato.common.util.api for backward compatibility.
from... | 417 | Python | .py | 11 | 36.454545 | 79 | 0.780549 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,689 | scheduler.py | zatosource_zato/code/zato-common/src/zato/common/util/scheduler.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from copy import deepcopy
from datetime import datetime
from json import dumps
from logging import getLogger
from time import... | 10,163 | Python | .py | 190 | 44.210526 | 130 | 0.483939 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,690 | kvdb.py | zatosource_zato/code/zato-common/src/zato/common/util/kvdb.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.
"""
# ################################################################################################################################
def has_redis_sentinels(config):
... | 504 | Python | .py | 9 | 54 | 130 | 0.334694 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,691 | wsx.py | zatosource_zato/code/zato-common/src/zato/common/util/wsx.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 dumps
from logging import getLogger
from tempfile import gettempdir
# Zato
from zato.common.api import WEB_SOCKET
from zato.comm... | 5,481 | Python | .py | 94 | 51.223404 | 130 | 0.454273 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,692 | env.py | zatosource_zato/code/zato-common/src/zato/common/util/env.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.
"""
# ################################################################################################################################
# ################################... | 3,564 | Python | .py | 72 | 39.930556 | 130 | 0.414571 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,693 | import_.py | zatosource_zato/code/zato-common/src/zato/common/util/import_.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 importlib import import_module
# ###########################################################################################################################... | 902 | Python | .py | 17 | 50.529412 | 130 | 0.274175 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,694 | eval_.py | zatosource_zato/code/zato-common/src/zato/common/util/eval_.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
# ###############################################################################... | 1,483 | Python | .py | 36 | 35.111111 | 130 | 0.498607 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,695 | logging_.py | zatosource_zato/code/zato-common/src/zato/common/util/logging_.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 logging import Formatter
# Zato
from zato.common.util.platform_ import is_posix
# #########################################################... | 10,353 | Python | .py | 301 | 26.887043 | 182 | 0.526384 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,696 | proc.py | zatosource_zato/code/zato-common/src/zato/common/util/proc.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 os
import sys
from logging import getLogger
from tempfile import ... | 7,069 | Python | .py | 141 | 43.751773 | 130 | 0.502981 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,697 | platform_.py | zatosource_zato/code/zato-common/src/zato/common/util/platform_.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 platform import platform as platform_platform, system as platform_system
system_result = platform_system().lower()
platform_result = platform_platform... | 894 | Python | .py | 29 | 29.448276 | 77 | 0.717799 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,698 | stats.py | zatosource_zato/code/zato-common/src/zato/common/util/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
import math
from datetime import timedelta
from operator import itemgetter
# Humanize
from humanize import precisedelta
# Zato
from zato.common.api import... | 8,109 | Python | .py | 171 | 39.660819 | 130 | 0.477152 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
10,699 | pubsub.py | zatosource_zato/code/zato-common/src/zato/common/util/pubsub.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from operator import itemgetter
# Zato
from zato.common.api import PUBSUB
from zato.common.exception import BadRequest
from zato.common.odb.query import pu... | 9,373 | Python | .py | 180 | 46.483333 | 130 | 0.515264 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |