10000 Update README.md · Gobot1234/python-betterproto@204e04d · GitHub
[go: up one dir, main page]

Skip to content

Commit 204e04d

Browse files
asfaltboyabn
authored andcommitted
Update README.md
linebreak after bullet-point, and remove redundant conjunction at the start of the section
1 parent b9b0b22 commit 204e04d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ This project exists because I am unhappy with the state of the official Google p
3838
- Uses `SerializeToString()` rather than the built-in `__bytes__()`
3939
- Special wrapped types don't use Python's `None`
4040
- Timestamp/duration types don't use Python's built-in `datetime` module
41+
42+
4143
This project is a reimplementation from the ground up focused on idiomatic modern Python to help fix some of the above. While it may not be a 1:1 drop-in replacement due to changed method names and call patterns, the wire format is identical.
4244

4345
## Installation
@@ -58,7 +60,7 @@ pip install betterproto
5860

5961
### Compiling proto files
6062

61-
Now, given you installed the compiler and have a proto file, e.g `example.proto`:
63+
Given you installed the compiler and have a proto file, e.g `example.proto`:
6264

6365
```protobuf
6466
syntax = "proto3";
@@ -192,6 +194,7 @@ if __name__ == "__main__":
192194
loop.run_until_complete(main())
193195

194196
```
197+
195198
which would output
196199
```python
197200
EchoResponse(values=['hello', 'hello'])

0 commit comments

Comments
 (0)
0