grpc/examples
Sergii Tkachenko de6ed9ba9f
[Python] Migrate from yapf to black (#33138)
- Switched  from yapf to black
- Reconfigure isort for black
- Resolve black/pylint idiosyncrasies 

Note: I used `--experimental-string-processing` because black was
producing "implicit string concatenation", similar to what described
here: https://github.com/psf/black/issues/1837. While currently this
feature is experimental, it will be enabled by default:
https://github.com/psf/black/issues/2188. After running black with the
new string processing so that the generated code merges these `"hello" "
world"` strings concatenations, then I removed
`--experimental-string-processing` for stability, and regenerated the
code again.

To the reviewer: don't even try to open "Files Changed" tab 😄 It's
better to review commit-by-commit, and ignore `run black and isort`.
2023-06-09 15:08:55 -07:00
..
android [protobuf] Upgrade third_party/protobuf to 22.x (#32606) 2023-04-12 18:43:58 +02:00
cpp [Example] Move systemd socket activation example (#33221) 2023-05-23 13:18:06 -07:00
node Bump y18n from 4.0.0 to 4.0.3 in /examples/node (#28738) 2022-05-19 11:52:31 -07:00
objective-c [ObjC] Upgrade podspec xx.deployment_target (#33091) 2023-05-20 20:38:24 +00:00
php Update PHP docker images PHP versions (#31779) 2022-12-07 13:20:48 -08:00
protos Add wait_for_ready with client timeout example (#32183) 2023-01-25 11:02:13 -08:00
python [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
ruby Make the gem build on TruffleRuby (#27660) 2022-06-27 23:12:13 -07:00
README.md Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225) 2022-04-28 12:00:34 +02:00

README.md

Examples

This directory contains examples for all the C-based gRPC implementations. Each language subdirectory contains a Hello World example and more:

For a complete list of supported languages, see Supported languages.

For comprehensive documentation, including an Introduction to gRPC and tutorials that use this example code, visit grpc.io.