repo stringlengths 2 99 | file stringlengths 13 225 | code stringlengths 0 18.3M | file_length int64 0 18.3M | avg_line_length float64 0 1.36M | max_line_length int64 0 4.26M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
grpc | grpc-master/examples/python/health_checking/helloworld_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import helloworld_pb2 as helloworld__pb2
class GreeterStub(object):
"""The greeting service definition.
"""
def __init__(self, channel):
"... | 2,310 | 31.549296 | 93 | py |
grpc | grpc-master/examples/python/health_checking/greeter_server.py | # Copyright 2023 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 2,501 | 31.921053 | 91 | py |
grpc | grpc-master/examples/python/health_checking/helloworld_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: helloworld.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_po... | 1,450 | 45.806452 | 409 | py |
grpc | grpc-master/examples/python/health_checking/greeter_client.py | # Copyright 2023 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,884 | 31.5 | 74 | py |
grpc | grpc-master/examples/python/uds/async_greeter_client.py | # Copyright 2022 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 1,264 | 32.289474 | 75 | py |
grpc | grpc-master/examples/python/uds/helloworld_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import helloworld_pb2 as helloworld__pb2
class GreeterStub(object):
"""The greeting service definition.
"""
def __init__(self, channel):
"... | 2,310 | 31.549296 | 93 | py |
grpc | grpc-master/examples/python/uds/async_greeter_server.py | # Copyright 2022 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 1,558 | 31.479167 | 79 | py |
grpc | grpc-master/examples/python/uds/greeter_server.py | # Copyright 2022 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 1,451 | 32 | 79 | py |
grpc | grpc-master/examples/python/uds/helloworld_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: helloworld.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_po... | 1,450 | 45.806452 | 409 | py |
grpc | grpc-master/examples/python/uds/greeter_client.py | # Copyright 2022 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 1,214 | 31.837838 | 77 | py |
grpc | grpc-master/examples/python/hellostreamingworld/async_greeter_client.py | # Copyright 2021 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,709 | 31.264151 | 92 | py |
grpc | grpc-master/examples/python/hellostreamingworld/hellostreamingworld_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import hellostreamingworld_pb2 as hellostreamingworld__pb2
class MultiGreeterStub(object):
"""The greeting service definition.
"""
def __init__(se... | 2,455 | 33.591549 | 108 | py |
grpc | grpc-master/examples/python/hellostreamingworld/async_greeter_server.py | # Copyright 2021 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,711 | 33.24 | 92 | py |
grpc | grpc-master/examples/python/hellostreamingworld/hellostreamingworld_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: hellostreamingworld.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _desc... | 1,481 | 46.806452 | 453 | py |
grpc | grpc-master/examples/python/interceptors/async/async_greeter_client.py | # Copyright 2023 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,455 | 31.355556 | 78 | py |
grpc | grpc-master/examples/python/interceptors/async/helloworld_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import helloworld_pb2 as helloworld__pb2
class GreeterStub(object):
"""The greeting service definition.
"""
def __init__(self, channel):
"... | 2,310 | 31.549296 | 93 | py |
grpc | grpc-master/examples/python/interceptors/async/helloworld_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: helloworld.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_po... | 1,450 | 45.806452 | 409 | py |
grpc | grpc-master/examples/python/interceptors/async/async_greeter_server_with_interceptor.py | # Copyright 2023 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 2,971 | 33.16092 | 79 | py |
grpc | grpc-master/examples/python/interceptors/default_value/helloworld_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import helloworld_pb2 as helloworld__pb2
class GreeterStub(object):
"""The greeting service definition.
"""
def __init__(self, channel):
"... | 2,310 | 31.549296 | 93 | py |
grpc | grpc-master/examples/python/interceptors/default_value/default_value_client_interceptor.py | # Copyright 2017 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,985 | 27.782609 | 80 | py |
grpc | grpc-master/examples/python/interceptors/default_value/helloworld_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: helloworld.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_po... | 1,450 | 45.806452 | 409 | py |
grpc | grpc-master/examples/python/interceptors/default_value/greeter_client.py | # Copyright 2017 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,682 | 32.66 | 78 | py |
grpc | grpc-master/examples/python/interceptors/headers/header_manipulator_client_interceptor.py | # Copyright 2017 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,644 | 28.375 | 78 | py |
grpc | grpc-master/examples/python/interceptors/headers/helloworld_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import helloworld_pb2 as helloworld__pb2
class GreeterStub(object):
"""The greeting service definition.
"""
def __init__(self, channel):
"... | 2,310 | 31.549296 | 93 | py |
grpc | grpc-master/examples/python/interceptors/headers/greeter_server.py | # Copyright 2017 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,574 | 29.288462 | 77 | py |
grpc | grpc-master/examples/python/interceptors/headers/request_header_validator_interceptor.py | # Copyright 2017 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,384 | 33.625 | 74 | py |
grpc | grpc-master/examples/python/interceptors/headers/generic_client_interceptor.py | # Copyright 2017 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 2,532 | 37.969231 | 80 | py |
grpc | grpc-master/examples/python/interceptors/headers/helloworld_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: helloworld.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_po... | 1,450 | 45.806452 | 409 | py |
grpc | grpc-master/examples/python/interceptors/headers/greeter_client.py | # Copyright 2017 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,591 | 32.87234 | 78 | py |
grpc | grpc-master/examples/python/metadata/helloworld_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import helloworld_pb2 as helloworld__pb2
class GreeterStub(object):
"""The greeting service definition.
"""
def __init__(self, channel):
"... | 2,310 | 31.549296 | 93 | py |
grpc | grpc-master/examples/python/metadata/metadata_server.py | # Copyright 2018 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 1,584 | 30.078431 | 78 | py |
grpc | grpc-master/examples/python/metadata/helloworld_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: helloworld.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_po... | 1,450 | 45.806452 | 409 | py |
grpc | grpc-master/examples/python/metadata/metadata_client.py | # Copyright 2018 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 1,788 | 32.12963 | 78 | py |
grpc | grpc-master/third_party/upb/benchmarks/gen_protobuf_binary_cc.py | #!/usr/bin/python3
#
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, th... | 2,121 | 31.646154 | 81 | py |
grpc | grpc-master/third_party/upb/benchmarks/gen_upb_binary_c.py | #!/usr/bin/python3
#
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, th... | 2,167 | 31.848485 | 81 | py |
grpc | grpc-master/third_party/upb/benchmarks/gen_synthetic_protos.py | #!/usr/bin/python3
#
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, th... | 4,545 | 37.201681 | 103 | py |
grpc | grpc-master/third_party/upb/benchmarks/compare.py | #!/usr/bin/python3
#
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, th... | 4,328 | 35.378151 | 209 | py |
grpc | grpc-master/third_party/upb/python/minimal_test.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 7,321 | 38.793478 | 142 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/wire_format_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,662 | 52.645161 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/descriptor_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 2,185 | 51.047619 | 82 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/message_factory_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 2,062 | 54.756757 | 92 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/symbol_database_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,666 | 52.774194 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/descriptor_pool_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 2,147 | 46.733333 | 92 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/generator_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,660 | 52.580645 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/reflection_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 2,563 | 51.326531 | 96 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/service_reflection_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,669 | 52.870968 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/numpy_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,663 | 51 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/keywords_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,659 | 52.548387 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/text_format_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,662 | 52.645161 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/unknown_fields_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,665 | 52.741935 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/message_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 3,009 | 55.792453 | 84 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/descriptor_database_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,670 | 52.903226 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/text_encoding_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,664 | 52.709677 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/json_format_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,662 | 52.645161 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/proto_builder_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,744 | 51.878788 | 81 | py |
grpc | grpc-master/third_party/upb/python/pb_unit_tests/well_known_types_test_wrapper.py | # Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions... | 1,677 | 51.4375 | 81 | py |
grpc | grpc-master/third_party/upb/bazel/amalgamate.py | #!/usr/bin/python
#
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, thi... | 4,460 | 34.688 | 97 | py |
grpc | grpc-master/third_party/upb/cmake/make_cmakelists.py | #!/usr/bin/python
#
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, thi... | 10,929 | 26.054455 | 109 | py |
grpc | grpc-master/third_party/upb/cmake/staleness_test_lib.py | #!/usr/bin/python
#
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, thi... | 6,039 | 30.789474 | 81 | py |
grpc | grpc-master/third_party/upb/cmake/staleness_test.py | #!/usr/bin/python
#
# Copyright (c) 2009-2021, Google LLC
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, thi... | 2,236 | 37.568966 | 81 | py |
grpc | grpc-master/third_party/upb/docs/render.py | #!/usr/bin/env python3
import subprocess
import sys
import shutil
import os
if len(sys.argv) < 2:
print("Must pass a filename argument")
sys.exit(1)
in_filename = sys.argv[1]
out_filename = in_filename.replace(".in.md", ".md")
out_dir = in_filename.replace(".in.md", "")
if in_filename == out_filename:
p... | 1,255 | 27.545455 | 96 | py |
grpc | grpc-master/src/php/bin/xds_manager.py | #!/usr/bin/env python
# Copyright 2021 gRPC authors.
#
# 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 required by applicable law o... | 4,496 | 38.79646 | 79 | py |
grpc | grpc-master/src/upb/gen_build_yaml.py | #!/usr/bin/env python2.7
# Copyright 2015 gRPC authors.
#
# 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 required by applicable l... | 10,508 | 51.545 | 86 | py |
grpc | grpc-master/src/abseil-cpp/gen_build_yaml.py | #!/usr/bin/env python2.7
# Copyright 2019 gRPC authors.
#
# 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 required by applicable l... | 977 | 29.5625 | 74 | py |
grpc | grpc-master/src/abseil-cpp/preprocessed_builds.yaml.gen.py | #!/usr/bin/env python3
# Copyright 2019 gRPC authors.
#
# 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 required by applicable law... | 7,761 | 32.747826 | 89 | py |
grpc | grpc-master/src/re2/gen_build_yaml.py | #!/usr/bin/env python2.7
# Copyright 2015 gRPC authors.
#
# 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 required by applicable l... | 1,369 | 26.959184 | 103 | py |
grpc | grpc-master/src/c-ares/gen_build_yaml.py | #!/usr/bin/env python2.7
# Copyright 2015 gRPC authors.
#
# 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 required by applicable l... | 8,175 | 50.421384 | 78 | py |
grpc | grpc-master/src/python/grpcio_channelz/setup.py | # Copyright 2018 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 3,257 | 29.166667 | 78 | py |
grpc | grpc-master/src/python/grpcio_channelz/grpc_version.py | # Copyright 2018 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 706 | 38.277778 | 99 | py |
grpc | grpc-master/src/python/grpcio_channelz/channelz_commands.py | # Copyright 2018 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 2,193 | 29.901408 | 84 | py |
grpc | grpc-master/src/python/grpcio_channelz/grpc_channelz/__init__.py | # Copyright 2018 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 580 | 40.5 | 74 | py |
grpc | grpc-master/src/python/grpcio_channelz/grpc_channelz/v1/_async.py | # Copyright 2020 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 2,690 | 38 | 80 | py |
grpc | grpc-master/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py | # Copyright 2018 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 2,453 | 31.289474 | 74 | py |
grpc | grpc-master/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py | # Copyright 2020 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 4,446 | 35.752066 | 75 | py |
grpc | grpc-master/src/python/grpcio_channelz/grpc_channelz/v1/__init__.py | # Copyright 2018 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 580 | 40.5 | 74 | py |
grpc | grpc-master/src/python/grpcio_tests/setup.py | # Copyright 2015 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 3,406 | 28.37069 | 78 | py |
grpc | grpc-master/src/python/grpcio_tests/grpc_version.py | # Copyright 2016 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 700 | 37.944444 | 96 | py |
grpc | grpc-master/src/python/grpcio_tests/commands.py | # Copyright 2015 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 13,621 | 35.520107 | 115 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_gevent/__init__.py | # Copyright 2021 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 580 | 40.5 | 74 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_gevent/unit/close_channel_test.py | # Copyright 2021 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 3,891 | 36.066667 | 78 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_gevent/unit/__init__.py | # Copyright 2021 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 580 | 40.5 | 74 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_gevent/unit/_test_server.py | # Copyright 2021 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 2,164 | 33.919355 | 79 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_py3_only/__init__.py | # Copyright 2020 The gRPC authors.
#
# 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 required by applicable law or agreed to in wri... | 723 | 31.909091 | 74 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_py3_only/unit/_simple_stubs_test.py | # Copyright 2020 The gRPC authors.
#
# 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 required by applicable law or agreed to in wri... | 15,134 | 34.197674 | 122 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_py3_only/unit/__init__.py | # Copyright 2019 The gRPC Authors.
#
# 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 required by applicable law or agreed to in wri... | 581 | 40.571429 | 74 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_py3_only/unit/_leak_test.py | # Copyright 2020 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 3,080 | 29.50495 | 79 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_py3_only/interop/xds_interop_client_test.py | # Copyright 2022 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 7,092 | 34.113861 | 80 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_py3_only/interop/xds_interop_server.py | # Copyright 2021 The gRPC authors.
#
# 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 required by applicable law or agreed to in wri... | 6,892 | 33.813131 | 80 | py |
grpc | grpc-master/src/python/grpcio_tests/tests_py3_only/interop/xds_interop_client.py | # Copyright 2020 The gRPC authors.
#
# 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 required by applicable law or agreed to in wri... | 19,654 | 33.97331 | 81 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/_result.py | # Copyright 2015 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 17,191 | 31.746667 | 82 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/bazel_namespace_package_hack.py | # Copyright 2019 The gRPC Authors
#
# 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 required by applicable law or agreed to in writ... | 1,593 | 37.878049 | 76 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/_loader.py | # Copyright 2015 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 5,048 | 33.82069 | 82 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/__init__.py | # Copyright 2015 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 719 | 31.727273 | 74 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/_runner.py | # Copyright 2015 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 9,380 | 36.079051 | 84 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/observability/_observability_test.py | # Copyright 2023 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 14,737 | 34.174224 | 87 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/stress/unary_stream_benchmark.py | # Copyright 2019 The gRPC authors.
#
# 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 required by applicable law or agreed to in wri... | 3,693 | 30.844828 | 100 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/stress/client.py | # Copyright 2016 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 5,447 | 29.606742 | 74 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/stress/test_runner.py | # Copyright 2016 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 2,164 | 33.919355 | 76 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/stress/__init__.py | # Copyright 2016 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 577 | 40.285714 | 74 | py |
grpc | grpc-master/src/python/grpcio_tests/tests/stress/metrics_server.py | # Copyright 2016 gRPC authors.
#
# 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 required by applicable law or agreed to in writing... | 1,598 | 34.533333 | 75 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.