diff --git a/python/helpers/profiler/_prof_imports.py b/python/helpers/profiler/_prof_imports.py index dfcf42701ac4..7d7f91d9c84d 100644 --- a/python/helpers/profiler/_prof_imports.py +++ b/python/helpers/profiler/_prof_imports.py @@ -9,12 +9,12 @@ try: except AttributeError: pass #Not all versions have sys.version_info -import thriftpy -profiler = thriftpy.load(os.path.join(os.path.dirname(os.path.realpath(__file__)), "profiler.thrift"), module_name="profiler_thrift") +import _jetbrains_thriftpy +profiler = _jetbrains_thriftpy.load(os.path.join(os.path.dirname(os.path.realpath(__file__)), "profiler.thrift"), module_name="profiler_thrift") -from thriftpy.protocol.binary import TBinaryProtocolFactory -from thriftpy.transport import TMemoryBuffer +from _jetbrains_thriftpy.protocol.binary import TBinaryProtocolFactory +from _jetbrains_thriftpy.transport import TMemoryBuffer # noinspection PyUnresolvedReferences from profiler_thrift import ProfilerRequest, ProfilerResponse, Stats, FuncStat, Function, TreeStats, CallTreeStat diff --git a/python/helpers/pydev/pydev_console/thrift_communication.py b/python/helpers/pydev/pydev_console/thrift_communication.py index d9d90b5387b2..61173d218499 100644 --- a/python/helpers/pydev/pydev_console/thrift_communication.py +++ b/python/helpers/pydev/pydev_console/thrift_communication.py @@ -1,6 +1,6 @@ import os -import thriftpy +import _jetbrains_thriftpy # dynamically import console.thrift classes into `console_thrift` module -console_thrift = thriftpy.load(os.path.join(os.path.dirname(os.path.realpath(__file__)), "console.thrift"), module_name="console_thrift") +console_thrift = _jetbrains_thriftpy.load(os.path.join(os.path.dirname(os.path.realpath(__file__)), "console.thrift"), module_name="console_thrift") diff --git a/python/helpers/pydev/pydev_console/thrift_rpc.py b/python/helpers/pydev/pydev_console/thrift_rpc.py index bba4e8e915fe..9d59cae63c1f 100644 --- a/python/helpers/pydev/pydev_console/thrift_rpc.py +++ b/python/helpers/pydev/pydev_console/thrift_rpc.py @@ -2,9 +2,9 @@ import socket import threading from pydev_console.thrift_transport import TSyncClient, open_transports_as_client, _create_client_server_transports -from thriftpy.protocol import TBinaryProtocolFactory -from thriftpy.server import TThreadedServer -from thriftpy.thrift import TProcessor +from _jetbrains_thriftpy.protocol import TBinaryProtocolFactory +from _jetbrains_thriftpy.server import TThreadedServer +from _jetbrains_thriftpy.thrift import TProcessor def make_rpc_client(client_service, host, port, proto_factory=TBinaryProtocolFactory()): diff --git a/python/helpers/pydev/pydev_console/thrift_transport.py b/python/helpers/pydev/pydev_console/thrift_transport.py index 0a1468eb5ef0..0aca87225f62 100644 --- a/python/helpers/pydev/pydev_console/thrift_transport.py +++ b/python/helpers/pydev/pydev_console/thrift_transport.py @@ -4,8 +4,8 @@ import sys import threading from pydev_console.io import PipeIO -from thriftpy.thrift import TClient -from thriftpy.transport import TTransportBase, readall +from _jetbrains_thriftpy.thrift import TClient +from _jetbrains_thriftpy.transport import TTransportBase, readall REQUEST = 0 RESPONSE = 1 diff --git a/python/helpers/third_party/thriftpy/ply/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_ply/__init__.py similarity index 100% rename from python/helpers/third_party/thriftpy/ply/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_ply/__init__.py diff --git a/python/helpers/third_party/thriftpy/ply/cpp.py b/python/helpers/third_party/thriftpy/_jetbrains_ply/cpp.py similarity index 99% rename from python/helpers/third_party/thriftpy/ply/cpp.py rename to python/helpers/third_party/thriftpy/_jetbrains_ply/cpp.py index 2f6a0300de79..afa07ef22c0b 100644 --- a/python/helpers/third_party/thriftpy/ply/cpp.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_ply/cpp.py @@ -881,7 +881,7 @@ class Preprocessor(object): return None if __name__ == '__main__': - import ply.lex as lex + import _jetbrains_ply.lex as lex lexer = lex.lex() # Run a preprocessor diff --git a/python/helpers/third_party/thriftpy/ply/ctokens.py b/python/helpers/third_party/thriftpy/_jetbrains_ply/ctokens.py similarity index 100% rename from python/helpers/third_party/thriftpy/ply/ctokens.py rename to python/helpers/third_party/thriftpy/_jetbrains_ply/ctokens.py diff --git a/python/helpers/third_party/thriftpy/ply/lex.py b/python/helpers/third_party/thriftpy/_jetbrains_ply/lex.py similarity index 100% rename from python/helpers/third_party/thriftpy/ply/lex.py rename to python/helpers/third_party/thriftpy/_jetbrains_ply/lex.py diff --git a/python/helpers/third_party/thriftpy/ply/yacc.py b/python/helpers/third_party/thriftpy/_jetbrains_ply/yacc.py similarity index 100% rename from python/helpers/third_party/thriftpy/ply/yacc.py rename to python/helpers/third_party/thriftpy/_jetbrains_ply/yacc.py diff --git a/python/helpers/third_party/thriftpy/ply/ygen.py b/python/helpers/third_party/thriftpy/_jetbrains_ply/ygen.py similarity index 100% rename from python/helpers/third_party/thriftpy/ply/ygen.py rename to python/helpers/third_party/thriftpy/_jetbrains_ply/ygen.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/__init__.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/__init__.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/_compat.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/_compat.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/_compat.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/_compat.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/contrib/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/contrib/__init__.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/contrib/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/contrib/__init__.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/contrib/tracking/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/contrib/tracking/__init__.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/contrib/tracking/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/contrib/tracking/__init__.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/contrib/tracking/tracker.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/contrib/tracking/tracker.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/contrib/tracking/tracker.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/contrib/tracking/tracker.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/contrib/tracking/tracking.thrift b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/contrib/tracking/tracking.thrift similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/contrib/tracking/tracking.thrift rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/contrib/tracking/tracking.thrift diff --git a/python/helpers/third_party/thriftpy/thriftpy/hook.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/hook.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/hook.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/hook.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/parser/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/__init__.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/parser/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/__init__.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/parser/exc.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/exc.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/parser/exc.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/exc.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/parser/lexer.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/lexer.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/parser/lexer.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/lexer.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/parser/parser.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/parser.py similarity index 99% rename from python/helpers/third_party/thriftpy/thriftpy/parser/parser.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/parser.py index f93c3058bb94..add15e26567a 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/parser/parser.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/parser/parser.py @@ -11,7 +11,7 @@ import collections import os import sys import types -from ply import lex, yacc +from _jetbrains_ply import lex, yacc from .lexer import * # noqa from .exc import ThriftParserError, ThriftGrammerError from ..thrift import gen_init, TType, TPayload, TException diff --git a/python/helpers/third_party/thriftpy/thriftpy/protocol/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/__init__.py similarity index 95% rename from python/helpers/third_party/thriftpy/thriftpy/protocol/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/__init__.py index 0e802194568a..5abd4738f06d 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/protocol/__init__.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/__init__.py @@ -7,7 +7,7 @@ from .json import TJSONProtocol, TJSONProtocolFactory from .compact import TCompactProtocol, TCompactProtocolFactory from .multiplex import TMultiplexedProtocol, TMultiplexedProtocolFactory -from thriftpy._compat import PYPY, CYTHON +from _jetbrains_thriftpy._compat import PYPY, CYTHON if not PYPY: # enable cython binary by default for CPython. if CYTHON: diff --git a/python/helpers/third_party/thriftpy/thriftpy/protocol/binary.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/binary.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/protocol/binary.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/binary.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/protocol/compact.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/compact.py similarity index 99% rename from python/helpers/third_party/thriftpy/thriftpy/protocol/compact.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/compact.py index 9f49e05a18ea..d4fcd0eda26f 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/protocol/compact.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/compact.py @@ -9,7 +9,7 @@ from .exc import TProtocolException from ..thrift import TException from ..thrift import TType -from thriftpy._compat import PY3 +from _jetbrains_thriftpy._compat import PY3 CLEAR = 0 FIELD_WRITE = 1 diff --git a/python/helpers/third_party/thriftpy/thriftpy/protocol/cybin/cybin.pyx b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/cybin/cybin.pyx similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/protocol/cybin/cybin.pyx rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/cybin/cybin.pyx diff --git a/python/helpers/third_party/thriftpy/thriftpy/protocol/cybin/endian_port.h b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/cybin/endian_port.h similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/protocol/cybin/endian_port.h rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/cybin/endian_port.h diff --git a/python/helpers/third_party/thriftpy/thriftpy/protocol/exc.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/exc.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/protocol/exc.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/exc.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/protocol/json.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/json.py similarity index 99% rename from python/helpers/third_party/thriftpy/thriftpy/protocol/json.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/json.py index c3dea4ae495d..046520c08333 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/protocol/json.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/json.py @@ -5,7 +5,7 @@ from __future__ import absolute_import import json import struct -from thriftpy.thrift import TType +from _jetbrains_thriftpy.thrift import TType from .exc import TProtocolException diff --git a/python/helpers/third_party/thriftpy/thriftpy/protocol/multiplex.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/multiplex.py similarity index 93% rename from python/helpers/third_party/thriftpy/thriftpy/protocol/multiplex.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/multiplex.py index 58b573cb2662..85fff4e32320 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/protocol/multiplex.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/protocol/multiplex.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from thriftpy.thrift import TMultiplexedProcessor, TMessageType +from _jetbrains_thriftpy.thrift import TMultiplexedProcessor, TMessageType class TMultiplexedProtocol(object): diff --git a/python/helpers/third_party/thriftpy/thriftpy/rpc.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/rpc.py similarity index 92% rename from python/helpers/third_party/thriftpy/thriftpy/rpc.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/rpc.py index d229e896e9de..8d1e5fd86752 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/rpc.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/rpc.py @@ -5,10 +5,10 @@ from __future__ import absolute_import import contextlib import warnings -from thriftpy.protocol import TBinaryProtocolFactory -from thriftpy.server import TThreadedServer -from thriftpy.thrift import TProcessor, TClient -from thriftpy.transport import ( +from _jetbrains_thriftpy.protocol import TBinaryProtocolFactory +from _jetbrains_thriftpy.server import TThreadedServer +from _jetbrains_thriftpy.thrift import TProcessor, TClient +from _jetbrains_thriftpy.transport import ( TBufferedTransportFactory, TServerSocket, TSocket, diff --git a/python/helpers/third_party/thriftpy/thriftpy/server.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/server.py similarity index 96% rename from python/helpers/third_party/thriftpy/thriftpy/server.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/server.py index 446e4a29279b..74b922b7c2aa 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/server.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/server.py @@ -5,8 +5,8 @@ from __future__ import absolute_import import logging import threading -from thriftpy.protocol import TBinaryProtocolFactory -from thriftpy.transport import ( +from _jetbrains_thriftpy.protocol import TBinaryProtocolFactory +from _jetbrains_thriftpy.transport import ( TBufferedTransportFactory, TTransportException ) diff --git a/python/helpers/third_party/thriftpy/thriftpy/thrift.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/thrift.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/thrift.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/thrift.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/tornado.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/tornado.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/tornado.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/tornado.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/__init__.py similarity index 98% rename from python/helpers/third_party/thriftpy/thriftpy/transport/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/__init__.py index 4de43098aa62..20f9f320e2d0 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/transport/__init__.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/__init__.py @@ -2,7 +2,7 @@ from __future__ import absolute_import -from thriftpy._compat import CYTHON +from _jetbrains_thriftpy._compat import CYTHON from ..thrift import TType, TException diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/_ssl.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/_ssl.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/transport/_ssl.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/_ssl.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/buffered/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/buffered/__init__.py similarity index 97% rename from python/helpers/third_party/thriftpy/thriftpy/transport/buffered/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/buffered/__init__.py index f53904ca5df2..8e5e3cee23d6 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/transport/buffered/__init__.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/buffered/__init__.py @@ -4,7 +4,7 @@ from __future__ import absolute_import from io import BytesIO -from thriftpy._compat import CYTHON +from _jetbrains_thriftpy._compat import CYTHON from .. import TTransportBase diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/buffered/cybuffered.pyx b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/buffered/cybuffered.pyx similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/transport/buffered/cybuffered.pyx rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/buffered/cybuffered.pyx diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/cybase.pxd b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/cybase.pxd similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/transport/cybase.pxd rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/cybase.pxd diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/cybase.pyx b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/cybase.pyx similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/transport/cybase.pyx rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/cybase.pyx diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/framed/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/framed/__init__.py similarity index 97% rename from python/helpers/third_party/thriftpy/thriftpy/transport/framed/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/framed/__init__.py index cf42e111e400..91800b0e1851 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/transport/framed/__init__.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/framed/__init__.py @@ -5,7 +5,7 @@ from __future__ import absolute_import import struct from io import BytesIO -from thriftpy._compat import CYTHON +from _jetbrains_thriftpy._compat import CYTHON from .. import TTransportBase, readall from ..buffered import TBufferedTransport diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/framed/cyframed.pyx b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/framed/cyframed.pyx similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/transport/framed/cyframed.pyx rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/framed/cyframed.pyx diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/memory/__init__.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/memory/__init__.py similarity index 96% rename from python/helpers/third_party/thriftpy/thriftpy/transport/memory/__init__.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/memory/__init__.py index 7e83fba51de1..58065b584c19 100644 --- a/python/helpers/third_party/thriftpy/thriftpy/transport/memory/__init__.py +++ b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/memory/__init__.py @@ -4,7 +4,7 @@ from __future__ import absolute_import from io import BytesIO -from thriftpy._compat import CYTHON +from _jetbrains_thriftpy._compat import CYTHON from .. import TTransportBase diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/memory/cymemory.pyx b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/memory/cymemory.pyx similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/transport/memory/cymemory.pyx rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/memory/cymemory.pyx diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/socket.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/socket.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/transport/socket.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/socket.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/transport/sslsocket.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/sslsocket.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/transport/sslsocket.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/transport/sslsocket.py diff --git a/python/helpers/third_party/thriftpy/thriftpy/utils.py b/python/helpers/third_party/thriftpy/_jetbrains_thriftpy/utils.py similarity index 100% rename from python/helpers/third_party/thriftpy/thriftpy/utils.py rename to python/helpers/third_party/thriftpy/_jetbrains_thriftpy/utils.py