Skip to content

Commit 6ed3b09

Browse files
committed
Initial commit
0 parents  commit 6ed3b09

26 files changed

+1026
-0
lines changed

.env.default

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PYTHONPATH=.

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.env
2+
.vscode/settings.json
3+
.mypy_cache
4+
.pytest_cache
5+
betterproto/tests/*.bin
6+
betterproto/tests/*_pb2.py
7+
betterproto/tests/*.py
8+
!betterproto/tests/generate.py
9+
!betterproto/tests/test_*.py

Pipfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
flake8 = "*"
8+
mypy = "*"
9+
isort = "*"
10+
pytest = "*"
11+
12+
[packages]
13+
protobuf = "*"
14+
jinja2 = "*"
15+
16+
[requires]
17+
python_version = "3.7"
18+
19+
[scripts]
20+
generate = "python betterproto/tests/generate.py"
21+
test = "pytest ./betterproto/tests"

Pipfile.lock

+273
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# TODO
2+
3+
- [ ] Fixed length fields
4+
- [x] Zig-zag signed fields (sint32, sint64)
5+
- [x] Don't encode zero values for nested types~
6+
- [ ] Enums
7+
- [ ] Maps
8+
- [ ] Support passthrough of unknown fields
9+
- [ ] JSON that isn't naive.
10+
- [ ] Cleanup!

0 commit comments

Comments
 (0)