├── .github └── workflows │ ├── cloud_code_scan.yml │ └── unittest.yml ├── .gitignore ├── HISTORY.md ├── LICENSE ├── MANIFEST.in ├── README.en.md ├── README.md ├── anthunder ├── __init__.py ├── client │ ├── __init__.py │ ├── aio_client.py │ ├── base.py │ └── client.py ├── command │ ├── __init__.py │ ├── fail_response.py │ └── heartbeat.py ├── discovery │ ├── __init__.py │ ├── local.py │ └── mosn │ │ └── __init__.py ├── exceptions.py ├── helpers │ ├── __init__.py │ ├── immutable_dict.py │ ├── request_id.py │ └── singleton.py ├── listener │ ├── __init__.py │ ├── aio_listener.py │ ├── base_listener.py │ └── sock_listener.py ├── model │ ├── __init__.py │ ├── request.py │ └── service.py └── protocol │ ├── __init__.py │ ├── _package_base.py │ ├── _request_pkg.py │ ├── _response_pkg.py │ ├── _rpc_trace_context.py │ ├── _sofa_header.py │ ├── constants.py │ └── exceptions.py ├── install-protobuf.sh ├── mysockpool ├── __init__.py ├── _wait.py ├── connection.py ├── connection_pool.py ├── exceptions.py ├── origin-license.txt ├── pool_manager.py ├── recently_used_container.py └── utils.py ├── mytracer ├── __init__.py ├── _rpc_id.py ├── _trace_id.py ├── helpers.py ├── span.py ├── span_context.py └── tracer.py ├── performance_aio.py ├── requirements.txt ├── setup.cfg ├── setup.py ├── sync_call_demo.py └── tests ├── __init__.py ├── mysockpool_test ├── __init__.py └── test_poolman.py ├── mytracer_test ├── __init__.py ├── test_helpers.py ├── test_trace_id.py └── test_tracer.py ├── proto ├── ComplexServicePbRequest.proto ├── ComplexServicePbResult.proto ├── SampleServicePbRequest.proto ├── SampleServicePbResult.proto ├── SubServicePbRequest.proto ├── SubServicePbResult.proto ├── __init__.py └── python │ ├── SampleService.py │ └── __init__.py ├── test_aio_listener_client.py ├── test_bolt_package.py ├── test_helpers.py └── test_mesh_client.py /.github/workflows/cloud_code_scan.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/.github/workflows/cloud_code_scan.yml -------------------------------------------------------------------------------- /.github/workflows/unittest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/.github/workflows/unittest.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/.gitignore -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/HISTORY.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/README.en.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/README.md -------------------------------------------------------------------------------- /anthunder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/__init__.py -------------------------------------------------------------------------------- /anthunder/client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/client/__init__.py -------------------------------------------------------------------------------- /anthunder/client/aio_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/client/aio_client.py -------------------------------------------------------------------------------- /anthunder/client/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/client/base.py -------------------------------------------------------------------------------- /anthunder/client/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/client/client.py -------------------------------------------------------------------------------- /anthunder/command/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/command/__init__.py -------------------------------------------------------------------------------- /anthunder/command/fail_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/command/fail_response.py -------------------------------------------------------------------------------- /anthunder/command/heartbeat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/command/heartbeat.py -------------------------------------------------------------------------------- /anthunder/discovery/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/discovery/__init__.py -------------------------------------------------------------------------------- /anthunder/discovery/local.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/discovery/local.py -------------------------------------------------------------------------------- /anthunder/discovery/mosn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/discovery/mosn/__init__.py -------------------------------------------------------------------------------- /anthunder/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/exceptions.py -------------------------------------------------------------------------------- /anthunder/helpers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/helpers/__init__.py -------------------------------------------------------------------------------- /anthunder/helpers/immutable_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/helpers/immutable_dict.py -------------------------------------------------------------------------------- /anthunder/helpers/request_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/helpers/request_id.py -------------------------------------------------------------------------------- /anthunder/helpers/singleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/helpers/singleton.py -------------------------------------------------------------------------------- /anthunder/listener/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/listener/__init__.py -------------------------------------------------------------------------------- /anthunder/listener/aio_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/listener/aio_listener.py -------------------------------------------------------------------------------- /anthunder/listener/base_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/listener/base_listener.py -------------------------------------------------------------------------------- /anthunder/listener/sock_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/listener/sock_listener.py -------------------------------------------------------------------------------- /anthunder/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/model/__init__.py -------------------------------------------------------------------------------- /anthunder/model/request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/model/request.py -------------------------------------------------------------------------------- /anthunder/model/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/model/service.py -------------------------------------------------------------------------------- /anthunder/protocol/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/protocol/__init__.py -------------------------------------------------------------------------------- /anthunder/protocol/_package_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/protocol/_package_base.py -------------------------------------------------------------------------------- /anthunder/protocol/_request_pkg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/protocol/_request_pkg.py -------------------------------------------------------------------------------- /anthunder/protocol/_response_pkg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/protocol/_response_pkg.py -------------------------------------------------------------------------------- /anthunder/protocol/_rpc_trace_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/protocol/_rpc_trace_context.py -------------------------------------------------------------------------------- /anthunder/protocol/_sofa_header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/protocol/_sofa_header.py -------------------------------------------------------------------------------- /anthunder/protocol/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/protocol/constants.py -------------------------------------------------------------------------------- /anthunder/protocol/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/anthunder/protocol/exceptions.py -------------------------------------------------------------------------------- /install-protobuf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/install-protobuf.sh -------------------------------------------------------------------------------- /mysockpool/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/__init__.py -------------------------------------------------------------------------------- /mysockpool/_wait.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/_wait.py -------------------------------------------------------------------------------- /mysockpool/connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/connection.py -------------------------------------------------------------------------------- /mysockpool/connection_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/connection_pool.py -------------------------------------------------------------------------------- /mysockpool/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/exceptions.py -------------------------------------------------------------------------------- /mysockpool/origin-license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/origin-license.txt -------------------------------------------------------------------------------- /mysockpool/pool_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/pool_manager.py -------------------------------------------------------------------------------- /mysockpool/recently_used_container.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/recently_used_container.py -------------------------------------------------------------------------------- /mysockpool/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mysockpool/utils.py -------------------------------------------------------------------------------- /mytracer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mytracer/__init__.py -------------------------------------------------------------------------------- /mytracer/_rpc_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mytracer/_rpc_id.py -------------------------------------------------------------------------------- /mytracer/_trace_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mytracer/_trace_id.py -------------------------------------------------------------------------------- /mytracer/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mytracer/helpers.py -------------------------------------------------------------------------------- /mytracer/span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mytracer/span.py -------------------------------------------------------------------------------- /mytracer/span_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mytracer/span_context.py -------------------------------------------------------------------------------- /mytracer/tracer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/mytracer/tracer.py -------------------------------------------------------------------------------- /performance_aio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/performance_aio.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | license_file = LICENSE 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/setup.py -------------------------------------------------------------------------------- /sync_call_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/sync_call_demo.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/mysockpool_test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/mysockpool_test/__init__.py -------------------------------------------------------------------------------- /tests/mysockpool_test/test_poolman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/mysockpool_test/test_poolman.py -------------------------------------------------------------------------------- /tests/mytracer_test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/mytracer_test/__init__.py -------------------------------------------------------------------------------- /tests/mytracer_test/test_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/mytracer_test/test_helpers.py -------------------------------------------------------------------------------- /tests/mytracer_test/test_trace_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/mytracer_test/test_trace_id.py -------------------------------------------------------------------------------- /tests/mytracer_test/test_tracer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/mytracer_test/test_tracer.py -------------------------------------------------------------------------------- /tests/proto/ComplexServicePbRequest.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/ComplexServicePbRequest.proto -------------------------------------------------------------------------------- /tests/proto/ComplexServicePbResult.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/ComplexServicePbResult.proto -------------------------------------------------------------------------------- /tests/proto/SampleServicePbRequest.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/SampleServicePbRequest.proto -------------------------------------------------------------------------------- /tests/proto/SampleServicePbResult.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/SampleServicePbResult.proto -------------------------------------------------------------------------------- /tests/proto/SubServicePbRequest.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/SubServicePbRequest.proto -------------------------------------------------------------------------------- /tests/proto/SubServicePbResult.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/SubServicePbResult.proto -------------------------------------------------------------------------------- /tests/proto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/__init__.py -------------------------------------------------------------------------------- /tests/proto/python/SampleService.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/python/SampleService.py -------------------------------------------------------------------------------- /tests/proto/python/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/proto/python/__init__.py -------------------------------------------------------------------------------- /tests/test_aio_listener_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/test_aio_listener_client.py -------------------------------------------------------------------------------- /tests/test_bolt_package.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/test_bolt_package.py -------------------------------------------------------------------------------- /tests/test_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/test_helpers.py -------------------------------------------------------------------------------- /tests/test_mesh_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sofastack/sofa-bolt-python/HEAD/tests/test_mesh_client.py --------------------------------------------------------------------------------