Update README.md
linebreak after bullet-point, and remove redundant conjunction at the start of the section
This commit is contained in:
		
				
					committed by
					
						
						Arun Babu Neelicattu
					
				
			
			
				
	
			
			
			
						parent
						
							b9b0b22d57
						
					
				
				
					commit
					204e04dd69
				
			@@ -38,6 +38,8 @@ This project exists because I am unhappy with the state of the official Google p
 | 
				
			|||||||
  - Uses `SerializeToString()` rather than the built-in `__bytes__()`
 | 
					  - Uses `SerializeToString()` rather than the built-in `__bytes__()`
 | 
				
			||||||
  - Special wrapped types don't use Python's `None`
 | 
					  - Special wrapped types don't use Python's `None`
 | 
				
			||||||
  - Timestamp/duration types don't use Python's built-in `datetime` module
 | 
					  - Timestamp/duration types don't use Python's built-in `datetime` module
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
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.
 | 
					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.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Installation
 | 
					## Installation
 | 
				
			||||||
@@ -58,7 +60,7 @@ pip install betterproto
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Compiling proto files
 | 
					### Compiling proto files
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Now, given you installed the compiler and have a proto file, e.g `example.proto`:
 | 
					Given you installed the compiler and have a proto file, e.g `example.proto`:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```protobuf
 | 
					```protobuf
 | 
				
			||||||
syntax = "proto3";
 | 
					syntax = "proto3";
 | 
				
			||||||
@@ -192,6 +194,7 @@ if __name__ == "__main__":
 | 
				
			|||||||
    loop.run_until_complete(main())
 | 
					    loop.run_until_complete(main())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
which would output
 | 
					which would output
 | 
				
			||||||
```python
 | 
					```python
 | 
				
			||||||
EchoResponse(values=['hello', 'hello'])
 | 
					EchoResponse(values=['hello', 'hello'])
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user