mypy-protobuf:开源工具从protobufs生成mypy存根

时间:2021-05-02 15:32:58
【文件属性】:
文件名称:mypy-protobuf:开源工具从protobufs生成mypy存根
文件大小:64KB
文件格式:ZIP
更新时间:2021-05-02 15:32:58
Python mypy-protobuf:从protobuf规格生成mypy存根文件 我们刚刚在02/02/20发布了一个新的主要版本mypy-protobuf 2! 它包括一些向后不兼容的更改。 有关最新更改,请参见 。 要求 3.14.0或更大 -用于运行mypy-protobuf的插件。 生成的存根将与python2兼容。 其他配置可能会起作用,但当前在测试中不支持。 如果有需要,我们愿意扩展此列表-在问题跟踪器上提交问题。 安装 该插件可以通过以下方式安装 pip install mypy-protobuf 安装未发布的 REV=master # or whichever unreleased git rev you'd like pip install git+https://github.com/dropbox/mypy-protobuf.git@$REV # Prior to d
【文件预览】:
mypy-protobuf-master
----mypy.ini(239B)
----.gitattributes(36B)
----proto()
--------google()
--------testproto()
--------mypy_protobuf()
----.github()
--------workflows()
----test_negative()
--------output.expected.2.7(16KB)
--------negative.py(5KB)
--------negative_3.8.py(3KB)
--------output.expected.3.8(19KB)
--------__init__.py(0B)
--------negative_2.7.py(96B)
----requirements.txt(334B)
----mypy_protobuf()
--------extensions_pb2.py(3KB)
--------protoc_gen_mypy.bat(48B)
--------main.py(33KB)
--------__init__.py(0B)
--------extensions_pb2.pyi(351B)
----run_test.sh(5KB)
----.travis.yml(825B)
----LICENSE(11KB)
----test()
--------test_generated_mypy.py(15KB)
--------generated()
--------__init__.py(0B)
--------test_grpc_usage.py(3KB)
----setup.py(847B)
----README.md(7KB)
----.gitignore(242B)
----CHANGELOG.md(8KB)

网友评论