Skip to main content

Generate .proto by .xlsx

Project description

prothon

Generate/Compile proto files

Installation

# pip install prothon

Quick start

import prothon


def generate_example():
    excel_path = 'YOUR EXCEL PATH'
    proto_name = 'YourProto.proto'

    proto = prothon.generate(excel_path)

    f = open(proto_name, 'w', encoding='utf8')
    f.write(proto)
    f.close()


def compile_example():
    # Your target language
    language = 'csharp'                     
    proto_path = 'YOUR PROTO FILE PATH'
    prothon.compile(proto_path, './', language, './')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prothon-1.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prothon-1.0.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file prothon-1.0.0.tar.gz.

File metadata

  • Download URL: prothon-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for prothon-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cbd3d1a288d720c1d940587163864d20600d332c8578f945741894240841abdf
MD5 712680f9307747123dc8dd3d49752e39
BLAKE2b-256 5e2fca0c06c541d37f43b8641f9f0a352f1a54a221feccb0b37b1b0e34817f08

See more details on using hashes here.

File details

Details for the file prothon-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: prothon-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for prothon-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b9b0a3d5a06a71a3d58797655d9db4f02b044db144f0b79a368ee24d749ffb5
MD5 386c2fecdfc9f5dffcd17ae4343a183c
BLAKE2b-256 6323868f623da4ac1ea6d00c860d27ad6de0e301f06ffc63d6e1e835bfaf0cf4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page