21 Commits

Author SHA1 Message Date
Arun Babu Neelicattu
03211604bc Replace dependency on protoc with grpcio-tools
This change removes the dependency on platform provided protobuf tools
in favour of `grpcio-tools` dependency. This makes both development and
compiler use independent from platform dependencies.
2020-07-10 13:16:40 +02:00
Arun Babu Neelicattu
0f3ad25770 Minor non-functional changes
- fix few typos
- remove unused imports
- fix minor code-quality issues
- replace `grpclib._protocols` with `grpclib._typing`
- fix boolean and None assertions in test cases
2020-07-07 19:23:38 +02:00
nat
0c5d1ff868
Merge branch 'master' into client-streaming 2020-06-23 22:02:23 +02:00
Nat Noordanus
3185c67098 Improve generate script
- Fix issue with __pycache__ dirs getting picked up
- parallelise code generation with asyncio for 3x speedup
- silence protoc output unless -v option is supplied
- Use pathlib ;)
2020-06-15 00:19:07 +02:00
Nat Noordanus
8edec81b11 Switch from pipenv to poetry
- dropped dev dependency on rope, isort & flake
- poetry doesn't support dev scripts like pipenv, so create a makefile instead
- Add pytest-cov
- Use tox for testing multiple python versions in CI
- Update README

Update ci workflow
2020-06-12 21:13:55 +02:00
boukeversteegh
3c70f21074 #70 Messages should allow fields that are Python keywords 2020-05-25 23:36:08 +02:00
boukeversteegh
c3f08b9ef2 Clear output directories before generating python files 2020-05-24 19:54:53 +02:00
Nat Noordanus
5e2d9febea Blacken 2020-05-23 23:37:22 +02:00
boukeversteegh
c3e3837f71 More concise whitelist logic 2020-05-22 21:11:23 +02:00
boukeversteegh
6ec902c1b5 Fix generate noargs. Sorted iteration. 2020-05-22 21:03:45 +02:00
boukeversteegh
dd4873dfba Re-introducing whitelisting argument to generate.py 2020-05-22 20:51:22 +02:00
boukeversteegh
13e08fdaa8 Add missing file, ignore output files 2020-05-22 15:05:52 +02:00
boukeversteegh
b12f1e4e61 Organize test-cases into folders, extract compatibility test into proper test, support adding test-case specific tests 2020-05-22 12:54:01 +02:00
Daniel G. Taylor
d43d5af5ce
Better JSON casing support, renaming messages/fields 2019-10-23 15:06:34 -07:00
Daniel G. Taylor
b5c1f1aa7c
Support JSON base64 bytes and enums as strings 2019-10-19 12:31:22 -07:00
Daniel G. Taylor
7fe64ad8fe
Doc updates, refactor code layout, python package 2019-10-18 21:14:54 -07:00
Daniel G. Taylor
811b54cabb
Better JSON 64-bit int handling, add way to determine whether a message was sent on the wire, various fixes 2019-10-17 23:36:52 -07:00
Daniel G. Taylor
e0d1611797
Add basic support for maps 2019-10-10 22:20:57 -07:00
Daniel G. Taylor
1a488faf7a Generate/test refactoring 2019-10-09 17:21:29 -07:00
Daniel G. Taylor
1f46e10ba7 Refactoring 2019-10-08 17:48:53 -07:00
Daniel G. Taylor
6ed3b09f44 Initial commit 2019-10-05 08:47:14 -07:00