No project description provided
Project description
protoxy
A compiler for .proto files into FileDescriptorSets. Actually python bindings for the protox rust library.
Installation
pip install protoxy
Usage
import protoxy
# Compile a proto file (returns a FileDescriptorSets object using the protobuf library)
fds = protoxy.compile(["path/to/file.proto"])
# Compile a proto file (returns a binary FileDescriptorSets object)
fds_bin = protoxy.compile_bin(["path/to/file.proto"])
# Compile a proto file into a dynamic python module
mod = protoxy.compile_module(["path/to/file.proto"])
# The returned module is similar to the one generated by protoc
mod.file_pb2.Message()
Additional options
All those apis have additional options that can be passed as keyword arguments.
-
files: List of files to compile (can be strings or
os.PathLike
objects) -
includes: List of include paths (can be strings or
os.PathLike
objects) -
include_imports: Sets whether the output
FileDescriptorSet
should include imported files. only files explicitly included infiles
are included. If this option is set, imported files are included too. -
include_source_info: Include source info in the output (this includes comments found in the source files)
-
use_protoc: Use the
protoc
binary to compile the files. If this is set toFalse
, the Rust implementation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for protoxy-0.7.0rc2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c845fcd8ccaee5204b029d524d6c2917f93cdd5e531a866c2a6f3bed6e5e3df |
|
MD5 | a8def5119ece8c899b405654e86162e0 |
|
BLAKE2b-256 | 87259181cd77b53d1574f2b94b8a16ad4d155cb1752ba6dd42b8203c32ed239d |
Hashes for protoxy-0.7.0rc2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b2f0c5b3f26182694d6ad1bcadf740e13250e6f34161b8c9240c1081c250d48 |
|
MD5 | 2b3ac8838f9b4487e404f81b9ac5998f |
|
BLAKE2b-256 | a422161cf89c892301518559f287eac3e35ded45dc7addc6ed1911dc2527cdeb |
Hashes for protoxy-0.7.0rc2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09eb343ab0aca26ddb824b46c5d2e2b3cb866f076216eb828579d7a3ba2b1e02 |
|
MD5 | cb15095c712754470358901006dfcf2d |
|
BLAKE2b-256 | 63c76d7f8a26ea074add59a4b207f11bb2c3294162fb1866715333ed0f294f0d |
Hashes for protoxy-0.7.0rc2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 042067e483fc404ffa25949046c13df40216d84d6f83ed6d823b0be4ba1028e5 |
|
MD5 | fa316398a2912306a336f9f1021734d7 |
|
BLAKE2b-256 | 9e9690b0b9572a6aa1b11e420470a0523908f4147a0e840c0611d6ad2f31d8b1 |
Hashes for protoxy-0.7.0rc2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec288aeff84b64567e614f6d281e30c1faa701994f043f47d5db13722d5671b0 |
|
MD5 | 566c233e6801a8c602ba650281054d3b |
|
BLAKE2b-256 | ec47411fa2ab3e3a1ccb3aa196adc9b0807cf6f38e199fd7dbc69c35554bb3d6 |
Hashes for protoxy-0.7.0rc2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e680554f88ff9eb5451545a4f025279e5542529d8fe5b72d8c7a4448cbff29 |
|
MD5 | 07f234335b5a8106c286547fcae671f0 |
|
BLAKE2b-256 | 39a7211a231b4e57ec3b9ded658a2242d36cca0c3306f3f73c1e1d75482af425 |
Hashes for protoxy-0.7.0rc2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b46767ee94c6cab347dc1cda05aa43603df848914b0d10d0974ec214078e4c |
|
MD5 | bcca002e462e86c6c769162c8e08f6ae |
|
BLAKE2b-256 | 72235703bd69a60405f6e6b41371595936ef64d8216cea736f41ce8e7fa5058e |
Hashes for protoxy-0.7.0rc2-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7727fd9be770ac6702c5a23384dbe11b6a4059bc8087db1609a8218590b28e36 |
|
MD5 | 13f3b85ee87218d6b082b9b0f5ca4c11 |
|
BLAKE2b-256 | ce6a10444dfbda0025b3000913ab0b07fa37a10634618c19b5d0c48f356f35d6 |
Hashes for protoxy-0.7.0rc2-cp312-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7716e352f3122f85a5a07e55cb6621aaed90ef1d3871a1e237afe4b22f6ed37 |
|
MD5 | 061e64de340e730769e72f106fe8419d |
|
BLAKE2b-256 | 62297c7c622a8efd29113d7ff0fce3027deeca3543c2344ae29fcdccae275260 |
Hashes for protoxy-0.7.0rc2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 414aab7d0f8ec25af503c2deb4f9e04e2fdb72ad52ff5f8b6829e21ba1517889 |
|
MD5 | 8c4afa6da85318178a8dc9f76fda66a6 |
|
BLAKE2b-256 | 5f578d962978028b49b487a4a4e318ced8ee91026ad5b4a0b59659ba2324aab8 |
Hashes for protoxy-0.7.0rc2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73acf0f65c3199403ed16226fde6b739c3f7877ce963097ceaf5fd3156e13525 |
|
MD5 | 76e0201600ea0aeefbfec7ceac0bbabf |
|
BLAKE2b-256 | 1bb0d4adf85f24a39d1368022fc03899bf29872730c4f0e27e5d84c45d595999 |
Hashes for protoxy-0.7.0rc2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d119ac69297c55abe1eb07bebf5ca738e9f48d5876376ae75eacfe1c823dca36 |
|
MD5 | 4fd6f02d157b822215006372138e4b1b |
|
BLAKE2b-256 | 2be85b5e8c6333256826d4c5adef810fdb74a405b79c023c6c11733d239d22f5 |
Hashes for protoxy-0.7.0rc2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 525e6b21df36ff9e6db42f774b7bff9fdb958fcba1a5e56c7e6b8ff61093f085 |
|
MD5 | fad618d5a662d549c6f5240ddea3501d |
|
BLAKE2b-256 | 037244e9b9cbd1a4ba4d4d5de78502b57a3059769d0044472fc5bfe2181e61bf |
Hashes for protoxy-0.7.0rc2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3186f139315f3463cc174f51ed463682808e6e62d893ee36dc309d243fbbcb7e |
|
MD5 | 04b70e0fdfaba39978f8918f80b8726b |
|
BLAKE2b-256 | 3d63af958ad42e33ee2ec78a98ccd99ed3d22806b88285a30ca7b991f990cd4e |
Hashes for protoxy-0.7.0rc2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 530425171a2a49cc658240986eafa6f39ae23f92381c420afb8b10c13981f5aa |
|
MD5 | 8e14200fb7ad91a87209cd6a856e3fba |
|
BLAKE2b-256 | 922a155802bb5b73ea1cd99b64bc67c841d49d2396e429a4223a77472b9b7421 |
Hashes for protoxy-0.7.0rc2-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a237742e6492d4d307594021f1f9505a4ccd92b24f5437bc2de63ad40cb4fb15 |
|
MD5 | f167283300abc973f8fa720f1daec59e |
|
BLAKE2b-256 | 23f9bfa534f39006fb398156529477ea1dddc99015562ae1d957822e5c73bad4 |
Hashes for protoxy-0.7.0rc2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a752fe6c0e00893fa0fcf888014e3f7eca20362b2aed111817437b7297e86e9 |
|
MD5 | e6501cae8c6d55352f273db2dce67802 |
|
BLAKE2b-256 | b7995097b6da69c1a5ebbcb8c3e57c11485faac49fc5a8e66b3a30188ec2d9dd |
Hashes for protoxy-0.7.0rc2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897fb1af44c3b5d81e0e06e980100043bff0d93c79a8a466a1dc3594d83b02c8 |
|
MD5 | 9c7a27f568f55fd4e9961d6716eba2b4 |
|
BLAKE2b-256 | ecee52565acf932ed4c949a1d0d40906f39558e2ba977690aebe66643f3c81a6 |
Hashes for protoxy-0.7.0rc2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b77dcce4767afceb2b40795e0efc0edfd0a1d517970e5f36b95e93d674f8b040 |
|
MD5 | f8f370279e716df480eae314143d233a |
|
BLAKE2b-256 | 07cec31b4dd324168cbebb125d1e88688248b9991038ba91b96198370509b609 |
Hashes for protoxy-0.7.0rc2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92edf80e011036dc6e5f562357cab8b97c90638ef415e43843d42bcf4835a0f2 |
|
MD5 | 0f5cc48a5b25ae6fc6227f06e1289aad |
|
BLAKE2b-256 | 08ae4ec168e16b16b64c7ae10b48d870b85d8893abe6666b30413c1da6a763c0 |
Hashes for protoxy-0.7.0rc2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee9eb7d5976b6c8efed4dfa5f6ace06f446ecf62f6a3cc366c757de026ade85 |
|
MD5 | 53dfc33c7a7765a40de3b430714bb9bc |
|
BLAKE2b-256 | bf86a8a5440dec37bc00587a31982b42d076ec4cfba6048bdbb2ef2e32246ebb |
Hashes for protoxy-0.7.0rc2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e12e5ba9cf551e6a2f18b64a9903ecb16803a679e13684ca14e2dcd0d2ae2f |
|
MD5 | 9ca6b45c87c0522d965565e5aa6bfcaf |
|
BLAKE2b-256 | d016b59a36f95d72e32ce9b48e4b203159dc3257f26e8032b19c60b8f24e3ca1 |
Hashes for protoxy-0.7.0rc2-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e3beadd60ba586a21935970e4370c97c498b9ee90c102887eef8454a54dfc9 |
|
MD5 | b390a860691fb8d384c58cd512a4d976 |
|
BLAKE2b-256 | 39d4e470d2a438fab60e338d33423778f406ca8f23c7bd545ec93fbd61b398a0 |
Hashes for protoxy-0.7.0rc2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c71267f4012940ab969d2587d8688cd88fb20fc5ddc2576bd9acb8521a7b2ea |
|
MD5 | 9a6cba01f80829114dfe64e83ab76cee |
|
BLAKE2b-256 | a2b2d8559b9ec8316ab6bb7e9825e52ef6e8c7a289440c1634d6c9707659ca3f |
Hashes for protoxy-0.7.0rc2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed7d151c54e6b30353cbd53a6aeda0a7662d267392d33899549cd33887ab7d0 |
|
MD5 | 4ff54b5eda1b48bb0722c9fa915db546 |
|
BLAKE2b-256 | e3c34f9376d5b1ea24da8fa69af61351a48a861172a66f2cff3e1fd7f3bf04ce |
Hashes for protoxy-0.7.0rc2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e047933bdf64339e14dd68100b65026c2a9396aa728785fb38d96b8c9fe4f717 |
|
MD5 | a59ecf4d3d8ed34f4e4551b5464d6ae8 |
|
BLAKE2b-256 | 47cf34cba7fd33bd7fbbacb5805e033f7a54b5ec4c5a22724013d589342b882d |
Hashes for protoxy-0.7.0rc2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94eb43d298876ce634b3ca2f21ff9fb6d4509edd14ae5fe99f4b706717f9f43a |
|
MD5 | 7e93e2a5ca740c1508bab1a290ff31cb |
|
BLAKE2b-256 | 6fac12c21a772b63e981d982ea835f258a720f3d3c8a226d5a5c509b0a0a524c |
Hashes for protoxy-0.7.0rc2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc4886f57d68c5dca96fb3f00b06486eccd58ac87d746945aa8daab44a21490f |
|
MD5 | 1893c2382b8683bd0ab3e77ccc3fdf63 |
|
BLAKE2b-256 | d62cc1dfb02536171bd926722ed70b55f30e3272ad8fddb4a4c906ebcd5a2577 |
Hashes for protoxy-0.7.0rc2-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1515da6acab14dde7912d933d444de43acdb134cfe8c473b1fb2bc492130ce4d |
|
MD5 | a1c80512a94b735c03628a5a5d96b851 |
|
BLAKE2b-256 | 63b15dcf0b94ec1cb8ace2edaf74c9802dffb4a89bf17470fd36370110b45203 |
Hashes for protoxy-0.7.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5267b8e9d5b1d6edb6860679ddb4bd94ab9c6b891e2caf7c7aaf81bf641947e |
|
MD5 | 520aa04db7e82ea1b0ee8036b3dfb20d |
|
BLAKE2b-256 | 8502414dda0d19c8cb968fd24e2380b8b159539f603729e5f86285f6f5add8f9 |
Hashes for protoxy-0.7.0rc2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a054604281f3538a856a2de4d796645df18fb4fb298a6d1e67fe593bdab9bead |
|
MD5 | a3b9e3cb24821d6356c7d7371be38d03 |
|
BLAKE2b-256 | 4c877eafc3b12c5fb54aaca29a1008245e722e7bf0bd79ae3cbd7d4253a59238 |
Hashes for protoxy-0.7.0rc2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aecb17b73f01603fddf32954183f46ae6ba5261e513187d9412822c2abb66344 |
|
MD5 | c0392761556bea0459463a250de6a42b |
|
BLAKE2b-256 | 8f5669f361b014a355c230887dd48ae128f81332fe4c882cd467dd2339417856 |
Hashes for protoxy-0.7.0rc2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03cdefb05b28a4c4ba4af985d2a9c51c31386890372f1dbbd49056004af764cd |
|
MD5 | 0e649fed8690cf0cbed387c3c9bf30e7 |
|
BLAKE2b-256 | 4ed5be772e4ccc6866352368fadf93c4d9b9f2a9003887dc9a27a1921795195e |
Hashes for protoxy-0.7.0rc2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77d9e45cf4d78b4839233203bc2053699fe10b1f7e87da3f4c420d9e7e971af8 |
|
MD5 | 099484d17bdf354e2a89e78f52960269 |
|
BLAKE2b-256 | 3027892bd8fdb5e36e4005a1c052376832e3073dacf4e49265a901f3c507e1a9 |
Hashes for protoxy-0.7.0rc2-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b64c2ae7a78dc74a9ea32aa55a56f2921485a731a1d4711da8d606ab13f474 |
|
MD5 | b2eefde54096f42eb9a830d07e016f0d |
|
BLAKE2b-256 | edd56b808b768d7239142613a63da262ae14b7a31c14ffcd7af7dd98717fe306 |
Hashes for protoxy-0.7.0rc2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e7b8fd29862e6365185986c161eb9ec6d4688aee3a1e6269161a3011d9f36c1 |
|
MD5 | 912716d13bd8e30769f44f57b6f45556 |
|
BLAKE2b-256 | ea0df399ce8accb863880e97d95a758b15cd6356126be67641c2c0add4a39f61 |
Hashes for protoxy-0.7.0rc2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee1f33ee2ff285b488b8a37fff44f2fd213c3ba5c3da96bcb1884273448e9e66 |
|
MD5 | 617478dcf60c8ceda609779e37878617 |
|
BLAKE2b-256 | e4ef26cf4c40278ee2bdc36f93c1d9ee969f257a86962eabf20b45feba85bec6 |
Hashes for protoxy-0.7.0rc2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de7cd64fac401278042fd8583396873e01f9ffced41b52f6c6391c98f7f761d |
|
MD5 | caa988179168a361d00e8ad20ffd0352 |
|
BLAKE2b-256 | a304eb53215d6b7bce9d59d5620bb742618b3380b04c120759b36413e306faf2 |