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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9,900 | mllp.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/channel/hl7/mllp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# Django
from django import forms
# Zato
from zato.admin.web.forms import add_select, add_services, WithAuditLog
from zato.common.api import HL7
# ######################... | 3,567 | Python | .py | 44 | 77.340909 | 130 | 0.518392 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,901 | imap.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/email/imap.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2022, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from imaplib import IMAP4_SSL_PORT
# Django
from django import forms
# Zato
from zato.common.api import EMAIL
# #########################################... | 2,948 | Python | .py | 46 | 59.586957 | 130 | 0.516442 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,902 | __init__.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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.
"""
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) |
9,903 | smtp.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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 smtplib import SMTP_PORT
# Django
from django import forms
# Zato... | 1,739 | Python | .py | 29 | 56.275862 | 133 | 0.730588 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,904 | cassandra.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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
# stdlib
from operator import itemgetter
# Django
from django import forms
# Py... | 1,105 | Python | .py | 22 | 47.181818 | 116 | 0.736499 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,905 | __init__.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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.
"""
| 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) |
9,906 | memcached.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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
# Django
from django import forms
class CreateForm(forms.Form):
id = forms.C... | 1,191 | Python | .py | 20 | 56.25 | 107 | 0.749356 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,907 | __init__.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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.
"""
| 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) |
9,908 | entry.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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
# Django
from django import forms
# Zato
from zato.common.api import CACHE
from ... | 2,111 | Python | .py | 32 | 61.9375 | 130 | 0.582769 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,909 | __init__.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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
# Django
from django import forms
# Zato
from zato.common.api import CACHE
from ... | 2,549 | Python | .py | 37 | 64.783784 | 130 | 0.620552 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,910 | topic.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/pubsub/topic.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
# Django
from django import forms
# Zato
from zato.common.api import PUBSUB
from... | 2,816 | Python | .py | 44 | 58.545455 | 111 | 0.716981 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,911 | endpoint.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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.
"""
# Django
from django import forms
# Zato
from zato.admin.web.forms import add_security_select, add_select
from zato.common.api import PUBSUB, skip_endpoint_types
#... | 2,477 | Python | .py | 44 | 51 | 130 | 0.586093 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,912 | __init__.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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.
"""
# Django
from django import forms
# Zato
from zato.admin.web.forms import add_select
from zato.common.api import PUBSUB
# #########################################... | 2,747 | Python | .py | 42 | 60.52381 | 130 | 0.604306 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,913 | subscription.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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.
"""
# Django
from django import forms
# Zato
from zato.common.api import CONNECTION, PUBSUB, skip_endpoint_types, URL_TYPE
from zato.admin.web.forms import add_http_soa... | 5,839 | Python | .py | 86 | 62.255814 | 130 | 0.664743 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,914 | es.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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
# Django
from django import forms
# Zato
from zato.common.api import SEARCH
cla... | 1,125 | Python | .py | 21 | 50.142857 | 114 | 0.729262 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,915 | solr.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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
# Django
from django import forms
# Zato
from zato.common.api import SEARCH
cla... | 1,328 | Python | .py | 24 | 51.375 | 121 | 0.726291 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,916 | __init__.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/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) |
9,917 | __init__.py | zatosource_zato/code/zato-web-admin/src/zato/admin/web/forms/groups/__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.
"""
# Django
from django import forms
# ################################################################################################################################... | 827 | Python | .py | 16 | 49.125 | 130 | 0.369077 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,918 | mode-python.js | zatosource_zato/code/zato-web-admin/src/zato/admin/static/ace-builds/src/mode-python.js | define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var PythonHighlightRules = function(... | 15,694 | Python | .py | 472 | 22.834746 | 197 | 0.457915 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,919 | tippy.css | zatosource_zato/code/zato-web-admin/src/zato/admin/static/css/tippy.css | .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placeme... | 21,327 | Python | .py | 2 | 10,662.5 | 17,993 | 0.793763 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,920 | tippy.js | zatosource_zato/code/zato-web-admin/src/zato/admin/static/tippy/tippy.js | /**
* https://unpkg.com/tippy.js@6.3.7/dist/tippy-bundle.umd.min.js - MIT License
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],e):(t=t||self).tippy=e(t.Popper)}(this,(function(t){"use... | 25,805 | Python | .py | 5 | 5,159.4 | 25,667 | 0.698515 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,921 | message_publish.py | zatosource_zato/code/zato-web-admin/src/zato/admin/static/brython/zato/message_publish.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.
"""
# Brython
from browser import document as doc
# Zato
from zato.common.json_internal import loads
# ################################################################... | 1,424 | Python | .py | 29 | 44.551724 | 130 | 0.496387 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,922 | subscription.py | zatosource_zato/code/zato-web-admin/src/zato/admin/static/brython/zato/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.
"""
# ################################################################################################################################
row_prefix = 'endpoint_row_id_'
... | 451 | Python | .py | 8 | 54.75 | 130 | 0.280822 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,923 | __init__.py | zatosource_zato/code/patches/passlib/utils/__init__.py | """passlib.utils -- helpers for writing password hashes"""
#=============================================================================
# imports
#=============================================================================
from passlib.utils.compat import JYTHON
# core
from binascii import b2a_base64, a2b_base64, E... | 36,864 | Python | .py | 894 | 34.231544 | 134 | 0.608433 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,924 | __init__.py | zatosource_zato/code/patches/butler/__init__.py | import warnings
__version__ = "0.9111"
__license__ = "BSD"
__contact__ = "atmb4u at gmail dot com"
class Butler(object):
def __init__(self, obj):
"""
Initiates with the list or dict object obj
"""
self.obj = obj
def __getitem__(self, path):
"""
Grab values ins... | 6,735 | Python | .py | 185 | 26.367568 | 162 | 0.454559 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,925 | geventserver.py | zatosource_zato/code/patches/ws4py/server/geventserver.py | # -*- coding: utf-8 -*-
__doc__ = """
WSGI entities to support WebSocket from within gevent.
Its usage is rather simple:
.. code-block: python
from gevent import monkey; monkey.patch_all()
from ws4py.websocket import EchoWebSocket
from ws4py.server.geventserver import WSGIServer
from ws4py.server.wsg... | 3,639 | Python | .py | 91 | 31.923077 | 97 | 0.655966 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,926 | core.py | zatosource_zato/code/patches/pg8000/core.py | from datetime import (
timedelta as Timedelta, datetime as Datetime, date, time)
from warnings import warn
import socket
from struct import pack
from hashlib import md5
from decimal import Decimal
from collections import deque, defaultdict
from itertools import count, islice
from uuid import UUID
from copy import d... | 84,100 | Python | .py | 1,971 | 32.157788 | 79 | 0.580056 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,927 | models.py | zatosource_zato/code/patches/requests/models.py | # -*- coding: utf-8 -*-
"""
requests.models
~~~~~~~~~~~~~~~
This module contains the primary objects that power Requests.
"""
import datetime
import sys
# Import encoding now, to avoid implicit import later.
# Implicit import within threads may cause LookupError when standard library is in a ZIP,
# such as in Embed... | 34,416 | Python | .py | 774 | 33.910853 | 119 | 0.598171 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,928 | sessions.py | zatosource_zato/code/patches/requests/sessions.py | # -*- coding: utf-8 -*-
"""
requests.session
~~~~~~~~~~~~~~~~
This module provides a Session object to manage and persist settings across
requests (cookies, auth, proxies).
"""
import os
import sys
import time
from datetime import timedelta
from collections import OrderedDict
from .auth import _basic_auth_str
from .... | 30,417 | Python | .py | 621 | 38.966184 | 106 | 0.632707 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,929 | HTTPNtlmAuthHandler.py | zatosource_zato/code/patches/ntlm/HTTPNtlmAuthHandler.py | # This library is free software: you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation, either
# version 3 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful... | 7,060 | Python | .py | 138 | 42.333333 | 147 | 0.649036 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,930 | topic.py | zatosource_zato/code/patches/pykafka/topic.py | """
Author: Keith Bourgoin, Emmett Butler
"""
__license__ = """
Copyright 2015 Parse.ly, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless ... | 12,310 | Python | .py | 241 | 41.726141 | 94 | 0.669854 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,931 | static.py | zatosource_zato/code/patches/django/views/static.py | """
Views and functions for serving static files. These are only to be used
during development, and SHOULD NOT be used in a production setting.
"""
import mimetypes
import posixpath
from pathlib import Path
from django.http import FileResponse, Http404, HttpResponse, HttpResponseNotModified
from django.template import... | 4,554 | Python | .py | 121 | 31.38843 | 95 | 0.651632 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,932 | boundfield.py | zatosource_zato/code/patches/django/forms/boundfield.py | import re
from django.core.exceptions import ValidationError
from django.forms.utils import pretty_name
from django.forms.widgets import MultiWidget, Textarea, TextInput
from django.utils.functional import cached_property
from django.utils.html import format_html, html_safe
from django.utils.translation import gettext... | 12,258 | Python | .py | 300 | 31.036667 | 86 | 0.600453 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,933 | pg8000.py | zatosource_zato/code/patches/sqlalchemy/dialects/postgresql/pg8000.py | # postgresql/pg8000.py
# Copyright (C) 2005-2020 the SQLAlchemy authors and contributors <see AUTHORS
# file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
r"""
.. dialect:: postgresql+pg8000
:name: pg8000
:dbapi: pg8000
:co... | 9,879 | Python | .py | 255 | 29.921569 | 95 | 0.618294 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,934 | setup.py | zatosource_zato/code/zato-agent/setup.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# flake8: noqa
from setuptools import setup, find_packages
version = '3.2'
setup(
name = 'zato-agent',
version = version,
author = 'Zato Source ... | 534 | Python | .py | 19 | 23.789474 | 64 | 0.616601 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,935 | __init__.py | zatosource_zato/code/zato-agent/src/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 154 | Python | .py | 5 | 29.4 | 64 | 0.687075 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,936 | __init__.py | zatosource_zato/code/zato-agent/src/zato/__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 pkgutil import extend_path
__path__ = extend_path(__path__, __name__) # type: list[str]
__import__('pkg_resources').declare_namespace(__name__)
| 306 | Python | .py | 8 | 36.75 | 64 | 0.676871 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,937 | __init__.py | zatosource_zato/code/zato-agent/src/zato/agent/__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 pkgutil import extend_path
__path__ = extend_path(__path__, __name__) # type: list[str]
| 248 | Python | .py | 7 | 34 | 64 | 0.676471 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,938 | client.py | zatosource_zato/code/zato-agent/src/zato/agent/load_balancer/client.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.py23_.spring_ import ServerProxy, SSLClient
class LoadBa... | 416 | Python | .py | 12 | 32.5 | 82 | 0.773869 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,939 | config.py | zatosource_zato/code/zato-agent/src/zato/agent/load_balancer/config.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
from string import punctuation
# PyParsing
from pyparsing import Or, Word, Literal, nums, alphanums, alphas, restOfLine
# Zato
from zato.co... | 8,252 | Python | .py | 142 | 49.084507 | 130 | 0.56308 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,940 | haproxy_stats.py | zatosource_zato/code/zato-agent/src/zato/agent/load_balancer/haproxy_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 logging
import socket
from io import StringIO
from time import time
from traceback import format_exc
# Python 2/3 compatibility
from builtins import... | 1,953 | Python | .py | 47 | 34.085106 | 130 | 0.484656 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,941 | main.py | zatosource_zato/code/zato-agent/src/zato/agent/load_balancer/main.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, sys
# ConcurrentLogHandler - updates stlidb's logging config... | 1,233 | Python | .py | 30 | 37.733333 | 101 | 0.728188 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,942 | server.py | zatosource_zato/code/zato-agent/src/zato/agent/load_balancer/server.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
import logging.config
import os
import ssl
from collections import Counter
from datetime import datetime
from http.client import OK
from trac... | 21,355 | Python | .py | 382 | 46.442408 | 130 | 0.49161 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,943 | setup.py | zatosource_zato/code/zato-sso/setup.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# flake8: noqa
from setuptools import setup, find_packages
version = '3.2'
setup(
name = 'zato-sso',
version = version,
author = 'Zato Source s.... | 532 | Python | .py | 19 | 23.684211 | 64 | 0.615079 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,944 | __init__.py | zatosource_zato/code/zato-sso/test/__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) |
9,945 | test_password_reset.py | zatosource_zato/code/zato-sso/test/zato/test_password_reset.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from unittest import main
# Zato
from base import BaseTest
from zato.common.crypto.api import CryptoManager
from zato.common.odb.model import SSOPasswordRe... | 3,848 | Python | .py | 78 | 41.987179 | 130 | 0.417312 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,946 | test_user.py | zatosource_zato/code/zato-sso/test/zato/test_user.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from datetime import datetime
from unittest import main
# Zato
from base import BaseTest
from zato.common.test.config import TestConfig
from zato.sso impor... | 29,024 | Python | .py | 594 | 39.47138 | 130 | 0.483379 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,947 | test_session_attr_exists.py | zatosource_zato/code/zato-sso/test/zato/test_session_attr_exists.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 unittest import main
# Zato
from base import BaseTest
# #########... | 1,863 | Python | .py | 37 | 44.054054 | 130 | 0.344199 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,948 | test_login_totp.py | zatosource_zato/code/zato-sso/test/zato/test_login_totp.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from unittest import main
# Zato
from base import BaseTest
from zato.common.api import SEC_DEF_TYPE
from zato.common.crypto.totp_ import TOTPManager
from z... | 3,430 | Python | .py | 64 | 46.609375 | 130 | 0.409404 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,949 | test_user_attr_delete.py | zatosource_zato/code/zato-sso/test/zato/test_user_attr_delete.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 unittest import main
# Zato
from base import BaseTest
# #########... | 1,950 | Python | .py | 41 | 40.780488 | 130 | 0.338795 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,950 | test_user_attr_update.py | zatosource_zato/code/zato-sso/test/zato/test_user_attr_update.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 unittest import main
# Zato
from base import BaseTest
from zato.ss... | 5,888 | Python | .py | 142 | 32.06338 | 130 | 0.427418 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,951 | test_session.py | zatosource_zato/code/zato-sso/test/zato/test_session.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from datetime import datetime
from unittest import main
# ciso8601
try:... | 7,565 | Python | .py | 161 | 38.31677 | 130 | 0.462723 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,952 | test_user_attr_create.py | zatosource_zato/code/zato-sso/test/zato/test_user_attr_create.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 unittest import main
# Zato
from base import BaseTest
from zato.ss... | 8,920 | Python | .py | 197 | 35.766497 | 130 | 0.45052 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,953 | test_session_list.py | zatosource_zato/code/zato-sso/test/zato/test_session_list.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 unittest import main
# Zato
from base import BaseTest
from zato.ss... | 1,751 | Python | .py | 33 | 47.939394 | 130 | 0.347826 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,954 | __init__.py | zatosource_zato/code/zato-sso/test/zato/__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) |
9,955 | test_command_line.py | zatosource_zato/code/zato-sso/test/zato/test_command_line.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from unittest import main
# Zato
from base import BaseTest
from zato.common.util.cli import CommandLineServiceInvoker
# ##################################... | 1,435 | Python | .py | 27 | 49.148148 | 130 | 0.296774 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,956 | base.py | zatosource_zato/code/zato-sso/test/zato/base.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import logging
from datetime import datetime
from itertools import count
# Bunch
# ciso8601
try:
from zato.common.util.api import parse_datetime
excep... | 8,991 | Python | .py | 158 | 49.329114 | 130 | 0.425165 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,957 | test_user_attr_names.py | zatosource_zato/code/zato-sso/test/zato/test_user_attr_names.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 unittest import main
# Zato
from base import BaseTest
# #########... | 1,916 | Python | .py | 39 | 42.846154 | 130 | 0.344809 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,958 | test_session_attr_get.py | zatosource_zato/code/zato-sso/test/zato/test_session_attr_get.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 unittest import main
# ciso8601
try:
from zato.common.util.api... | 2,288 | Python | .py | 48 | 41.375 | 130 | 0.416292 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,959 | test_session_attr_create.py | zatosource_zato/code/zato-sso/test/zato/test_session_attr_create.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 unittest import main
# Zato
from base import BaseTest
# #########... | 1,617 | Python | .py | 31 | 46.83871 | 130 | 0.312341 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,960 | test_user_attr_exists.py | zatosource_zato/code/zato-sso/test/zato/test_user_attr_exists.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 unittest import main
# Zato
from base import BaseTest
# #########... | 1,893 | Python | .py | 39 | 42.153846 | 130 | 0.336057 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,961 | test_linked_auth.py | zatosource_zato/code/zato-sso/test/zato/test_linked_auth.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 unittest import main
# Zato
from base import BaseTest
from zato.co... | 2,061 | Python | .py | 42 | 42.97619 | 130 | 0.373313 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,962 | test_user_attr_get.py | zatosource_zato/code/zato-sso/test/zato/test_user_attr_get.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 unittest import main
# ciso8601
try:
from zato.common.util.api... | 2,208 | Python | .py | 47 | 40.829787 | 130 | 0.405973 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,963 | test_session_attr_delete.py | zatosource_zato/code/zato-sso/test/zato/test_session_attr_delete.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 unittest import main
# Zato
from base import BaseTest
# #########... | 2,239 | Python | .py | 47 | 40.212766 | 130 | 0.373045 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,964 | test_session_attr_names.py | zatosource_zato/code/zato-sso/test/zato/test_session_attr_names.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 unittest import main
# Zato
from base import BaseTest
# #########... | 2,041 | Python | .py | 41 | 43.170732 | 130 | 0.36226 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,965 | test_session_attr_update.py | zatosource_zato/code/zato-sso/test/zato/test_session_attr_update.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 unittest import main
# Zato
from base import BaseTest
# #########... | 1,999 | Python | .py | 41 | 41.902439 | 130 | 0.352214 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,966 | __init__.py | zatosource_zato/code/zato-sso/src/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
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) |
9,967 | __init__.py | zatosource_zato/code/zato-sso/src/zato/__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 pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)
| 287 | Python | .py | 8 | 34.375 | 64 | 0.683636 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,968 | totp_.py | zatosource_zato/code/zato-sso/src/zato/sso/totp_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from datetime import datetime
from logging import getLogger
# Zato
from zato.common.audit import audit_pii
from zato.common.crypto.totp_ import TOTPManager... | 7,068 | Python | .py | 139 | 42.28777 | 130 | 0.464586 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,969 | util.py | zatosource_zato/code/zato-sso/src/zato/sso/util.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from datetime import datetime, timedelta
from logging import getLogger
from uuid import uuid4
# Base32 Crockford
from base32... | 21,403 | Python | .py | 367 | 50.877384 | 130 | 0.519845 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,970 | user.py | zatosource_zato/code/zato-sso/src/zato/sso/user.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from copy import deepcopy
from datetime import datetime, timedelta
from logging import getLogger
from traceback import format... | 74,080 | Python | .py | 1,256 | 47.725318 | 130 | 0.543765 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,971 | attr.py | zatosource_zato/code/zato-sso/src/zato/sso/attr.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from datetime im... | 29,298 | Python | .py | 515 | 46.899029 | 130 | 0.546255 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,972 | api.py | zatosource_zato/code/zato-sso/src/zato/sso/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.
"""
# Zato
from zato.sso import const, status_code, ValidationError
from zato.sso.password_reset import PasswordResetAPI
from zato.sso.user import Forbidden, User, UserA... | 3,708 | Python | .py | 77 | 42.61039 | 130 | 0.50346 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,973 | password_reset.py | zatosource_zato/code/zato-sso/src/zato/sso/password_reset.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from dataclasses import dataclass
from datetime import datetime, timedelta
from logging import getLogger
# Bunch
from bunch ... | 19,759 | Python | .py | 377 | 42.103448 | 130 | 0.518511 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,974 | __init__.py | zatosource_zato/code/zato-sso/src/zato/sso/__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.
"""
# ################################################################################################################################
# ################################... | 10,810 | Python | .py | 226 | 41.10177 | 130 | 0.41191 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,975 | user_search.py | zatosource_zato/code/zato-sso/src/zato/sso/user_search.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
# SQALchemy
from sqlalchemy import asc, desc
from sqlalchemy.sql import and_ as s... | 12,179 | Python | .py | 234 | 42.944444 | 130 | 0.520101 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,976 | model.py | zatosource_zato/code/zato-sso/src/zato/sso/model.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2021, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from dataclasses import dataclass
# Zato
from zato.common.marshal_.api import Model
from zato.common.typing_ import strnone
# ############################... | 2,289 | Python | .py | 48 | 43.458333 | 130 | 0.363881 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,977 | common.py | zatosource_zato/code/zato-sso/src/zato/sso/common.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from datetime import datetime
# ipaddress
from ipaddress import ip_address
# Zato
from zato.common.api import GENERIC
from zato.common.ext.dataclasses imp... | 7,672 | Python | .py | 160 | 42.2875 | 130 | 0.418384 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,978 | session.py | zatosource_zato/code/zato-sso/src/zato/sso/session.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2023, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
from contextlib import closing
from datetime import datetime, timedelta
from hashlib import sha256
from logging import getLogger
from traceback import forma... | 33,579 | Python | .py | 568 | 48.373239 | 142 | 0.544921 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,979 | __init__.py | zatosource_zato/code/zato-sso/src/zato/sso/odb/__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.
"""
| 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) |
9,980 | query.py | zatosource_zato/code/zato-sso/src/zato/sso/odb/query.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
# Bunch
from bunch import bunchify
# SQLAlchemy
from sqlalchemy import or_
# Zato
from zato.common.api import GENERIC
from ... | 10,567 | Python | .py | 206 | 45.946602 | 130 | 0.472809 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,981 | setup.py | zatosource_zato/code/zato-hl7/setup.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2019, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# flake8: noqa
from setuptools import find_packages, setup
from setuptools import setup, find_packages
version = '3.2'
setup(
name = 'zato-hl7',
versio... | 576 | Python | .py | 20 | 24.65 | 64 | 0.634369 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,982 | __init__.py | zatosource_zato/code/zato-hl7/test/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 148 | Python | .py | 5 | 28.2 | 64 | 0.687943 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,983 | __init__.py | zatosource_zato/code/zato-hl7/test/zato/__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) |
9,984 | test_parser.py | zatosource_zato/code/zato-hl7/test/zato/hl7/test_parser.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 unittest import TestCase
# Zato
from zato.common.api import HL7
from zato.common.test.hl7_ import test_data
from zato.hl7.parser import get_payload_from_req... | 1,801 | Python | .py | 43 | 35.534884 | 130 | 0.437931 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,985 | __init__.py | zatosource_zato/code/zato-hl7/test/zato/hl7/__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) |
9,986 | __init__.py | zatosource_zato/code/zato-hl7/src/__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) |
9,987 | __init__.py | zatosource_zato/code/zato-hl7/src/zato/__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.
"""
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)
| 281 | Python | .py | 8 | 33.625 | 64 | 0.684015 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,988 | __init__.py | zatosource_zato/code/zato-hl7/src/zato/hl7/__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.
"""
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)
| 281 | Python | .py | 8 | 33.625 | 64 | 0.684015 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,989 | parser.py | zatosource_zato/code/zato-hl7/src/zato/hl7/parser.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
# hl7apy
from hl7apy.parser import parse_message as hl7apy_parse_message
# Zato
from zato.common.... | 3,481 | Python | .py | 67 | 48.134328 | 130 | 0.387268 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,990 | common.py | zatosource_zato/code/zato-hl7/src/zato/hl7/common.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 HL7
# ################################################################################################################################
... | 841 | Python | .py | 13 | 63.230769 | 130 | 0.270073 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,991 | client.py | zatosource_zato/code/zato-hl7/src/zato/hl7/mllp/client.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# stdlib
import socket
from logging import getLogger
from traceback import format_exc
# Zato
from zato.common.util.api import new_cid
from zato.common.util.tcp import par... | 5,874 | Python | .py | 123 | 39.739837 | 130 | 0.434303 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,992 | api.py | zatosource_zato/code/zato-hl7/src/zato/hl7/mllp/api.py | # -*- coding: utf-8 -*-
"""
Copyright (C) Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 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) |
9,993 | __init__.py | zatosource_zato/code/zato-hl7/src/zato/hl7/mllp/__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) |
9,994 | server.py | zatosource_zato/code/zato-hl7/src/zato/hl7/mllp/server.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 DEBUG, getLevelName, getLogger
from socket import timeout as SocketTimeoutException
from time import sleep
from traceback import format_exc
#... | 32,285 | Python | .py | 583 | 43.111492 | 132 | 0.476893 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,995 | setup.py | zatosource_zato/code/zato-testing/setup.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2020, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
# flake8: noqa
from setuptools import setup, find_packages
version = '3.2'
setup(
name = 'zato-testing',
version = version,
author = 'Zato Sourc... | 536 | Python | .py | 19 | 23.894737 | 64 | 0.61811 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,996 | __init__.py | zatosource_zato/code/zato-testing/src/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2020, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
| 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) |
9,997 | __init__.py | zatosource_zato/code/zato-testing/src/zato/__init__.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2020, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)
| 287 | Python | .py | 8 | 34.375 | 64 | 0.683636 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,998 | vault_.py | zatosource_zato/code/zato-testing/src/zato/testing/vault_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2020, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# ###############################################################################... | 501 | Python | .py | 8 | 61.125 | 130 | 0.341513 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |
9,999 | requests_.py | zatosource_zato/code/zato-testing/src/zato/testing/requests_.py | # -*- coding: utf-8 -*-
"""
Copyright (C) 2020, Zato Source s.r.o. https://zato.io
Licensed under AGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Bunch
from bunch import bunchify
# Zato
from zato.url_dispatcher import Matche... | 3,299 | Python | .py | 59 | 49.559322 | 130 | 0.307836 | zatosource/zato | 1,096 | 239 | 0 | AGPL-3.0 | 9/5/2024, 5:10:54 PM (Europe/Amsterdam) |