50 Commits

Author SHA1 Message Date
James
d3e4fbb311
Add Documentation (#125)
Add sphinx docs with readthedocs integration.

Docs can be built locally with `poe docs`.
2020-09-20 22:00:02 +02:00
Jonas Kalderstam
58556e0eb6
Update README with example of calling protoc from python (#149) 2020-09-19 17:03:49 +02:00
nat
c513853301
Replace Makefile with poe tasks in pyproject.yaml (#118)
https://github.com/nat-n/poethepoet
2020-07-25 19:54:40 +02:00
Joshua Salzedo
2745953a8e
Fix the readme gRPC usage example (#122)
* re-implement README gRPC client example to be a self-contained script
 - fix a syntax error
 - fix a usage error

* asyncio.run() was added in 3.7
 - this lib targets >= 3.6

* Apply suggestions from code review

Optimized imports, store RPC call result before printing

Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>

* add entry-point check to example

Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
2020-07-25 19:45:26 +02:00
boukeversteegh
2585a07fcf Improve poetry install speed by first upgrading pip 2020-07-12 15:42:31 +02:00
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
boukeversteegh
8d7d0efb9b Move contributing guide to CONTRIBUTING.md 2020-07-09 09:31:04 +02:00
boukeversteegh
b891d257f6 Updated readme with contribution section. More help welcome 😃 2020-07-09 00:16:36 +02:00
boukeversteegh
eaa4f7f5d9 Release v2.0.0b1 2020-07-04 14:00:35 +02:00
boukeversteegh
f4ebcb0f65 Merge remote-tracking branch 'daniel/master' into fix/imports
# Conflicts:
#	Pipfile
#	README.md
#	betterproto/__init__.py
#	betterproto/plugin.py
#	betterproto/tests/util.py
2020-07-01 12:19:25 +02:00
Nat Noordanus
4f820b4a6a Include python 3.8 i ci test runs & optimise CI and make config 2020-06-22 19:38:41 +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
nat
a46979c8a6
Merge pull request #86 from danielgtaylor/boukeversteegh-patch-1
Add Slack invite link
2020-06-11 17:26:38 +02:00
boukeversteegh
65c1f366ef Update readme with new output structure and fix example inconsistencies 2020-06-11 13:55:12 +02:00
boukeversteegh
fb54917f2c Detect entry-point of tests automatically 2020-06-11 13:55:12 +02:00
boukeversteegh
d336153845 Use never expiring invitation link 2020-06-11 13:49:53 +02:00
Bouke Versteegh
bb7f5229fb
Add Slack invite link 2020-06-10 17:30:18 +02:00
boukeversteegh
f7769a19d1 Pass betterproto option using custom_opt instead of environment variable 2020-06-06 12:51:37 +02:00
Bouke Versteegh
cb00273257 Fix name PROTOBUF_OPTS -> BETTERPROTO_OPTS 2020-06-04 00:02:28 +02:00
boukeversteegh
f087c6c9bd Support compiling google protobuf files 2020-06-03 23:54:43 +02:00
Nat Noordanus
3860c0ab11 Add task to run black --check in ci & update README 2020-05-27 11:52:10 +02:00
boukeversteegh
6bd9c7835c Fix docs 2020-05-22 21:08:08 +02:00
boukeversteegh
960dba2ae8 Renamed docs for standard tests 2020-05-22 20:58:53 +02:00
boukeversteegh
77c04414f5 Update readme, add docs for standard tests 2020-05-22 16:36:43 +02:00
Vasilios Syrakis
04a2fcd3eb
Merge pull request #31 from nat-n/fix_readme
Fix test instructions to match pipfile
2020-04-14 10:55:18 +10:00
Nat Noordanus
582a12577c Fix test instructions to match pipfile 2020-04-12 18:52:43 +02:00
Vasilios Syrakis
3616190451
Merge pull request #30 from nat-n/p36_support
#27 Add support for python 3.6
2020-04-08 09:37:48 +10:00
Nat Noordanus
203105f048 Add support for python 3.6
Changes:
- Update config and docs to reference 3.6
- Add backports of dataclasses and datetime.fromisoformat for python_version<"3.7"
- Support both 3.7 and 3.6 usages of undocumented __origin__ attribute on typing objects
- Make github ci run tests for python 3.6 as well
2020-04-03 19:52:19 +02:00
Tanishq Dubey
fe11f74227
Update README.md
Add quotes to the README so pip syntax is correct
2020-03-30 09:50:11 -04:00
Daniel G. Taylor
7ccef16579
Mention no proto 2, fixes #6 2020-01-09 16:43:45 -08:00
Daniel G. Taylor
52beeb0d73
Fix typo in example 2019-10-28 20:44:57 -07:00
Daniel G. Taylor
6fd9612ee1
Doc updates, version bump for release 2019-10-27 15:43:52 -07:00
Daniel G. Taylor
035793aec3
Support wrapper types 2019-10-27 14:55:25 -07:00
Daniel G. Taylor
ff8463cf12
Handle fields that clash with Python reserved keywords 2019-10-23 21:28:31 -07:00
Daniel G. Taylor
d43d5af5ce
Better JSON casing support, renaming messages/fields 2019-10-23 15:06:34 -07:00
Daniel G. Taylor
109dc5a8a5
Make compiler dependencies optional 2019-10-22 21:08:30 -07:00
Daniel G. Taylor
5dae20970b
Add OneOf support, rework field detection 2019-10-22 20:44:00 -07:00
Daniel G. Taylor
477e9cdae8
Add CI build badge 2019-10-20 23:52:27 -07:00
Daniel G. Taylor
cfedcab5ab
Add basic oneof tests 2019-10-20 23:52:27 -07:00
Daniel G. Taylor
a5fac1c2ae
Support pass-through of unknown fields 2019-10-19 22:33:31 -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
d93214eccd
Implement basic async gRPC support 2019-10-16 22:55:14 -07:00
Daniel G. Taylor
dcb7102d92
Implement imports, simplified default value handling 2019-10-12 09:48:40 -07:00
Daniel G. Taylor
7dbaee0cfb
Add support for map value message types 2019-10-10 23:22:50 -07:00
Daniel G. Taylor
e0d1611797
Add basic support for maps 2019-10-10 22:20:57 -07:00
Daniel G. Taylor
ad7162a3ec
Support for repeated message fields 2019-10-09 20:46:16 -07:00
Daniel G. Taylor
1a488faf7a Generate/test refactoring 2019-10-09 17:21:29 -07:00
Daniel G. Taylor
c932fbc72c More features, refactoring 2019-10-08 00:23:11 -07:00
Daniel G. Taylor
6ed3b09f44 Initial commit 2019-10-05 08:47:14 -07:00