Skip to main content

Generate Python Protocol Classes From Json

Project description

json2pytocol

Generates python 3.8 protocol typings for JSON

Installation

pip install json2pytocol

Usage

From terminal type:

json2pytocol

You can also pass parameters to avoid having to deal with terminal interaction

json2pytocol path_to_json_file file_name_to_save

The file will be saved on the working directory of the terminal.

Note that _protocol is appended to the file name you choose to save as

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

json2pytocol-0.0.4.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

json2pytocol-0.0.4-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file json2pytocol-0.0.4.tar.gz.

File metadata

  • Download URL: json2pytocol-0.0.4.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for json2pytocol-0.0.4.tar.gz
Algorithm Hash digest
SHA256 738bb6191f8499c3f0616185a6b2bc0148c5cdb351b8ae2094a9838c0526ca67
MD5 4bec3c044190da500c3571437e4000e7
BLAKE2b-256 335636fa4584b080ea8f7e17486e0dd00e5bef663208d94dbd2eb66b18f7ea1f

See more details on using hashes here.

File details

Details for the file json2pytocol-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: json2pytocol-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for json2pytocol-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e83e11bb21d8bb96b07bc3f1ff70193dac6cffd467f0a68d0c54109a9e13ed42
MD5 2827a8d24756e212bea6a97e36540dd4
BLAKE2b-256 3546aae6f8d69d4b428b6960d71213aee393b8eaeefe3e170440906b7f6fd7b3

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