Skip to main content

Convert your JSON files into Pydantic classes.

Project description

jsonpyd

Generate related pydantic class with any json type.

GitHub Repo stars GitHub issues GitHub

Installation

jsonpyd can be installed by running pip install jsonpyd

Example Usage

Let's say you have a class like that;

class M:
    qux = "blue"

    def __init__(self):
        self.bar = 55
        self.foo = 89
        self.baz = 121

To watch the changes, you need the add the @pys() as a class decorator.

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

jsonpyd-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

jsonpyd-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file jsonpyd-0.1.0.tar.gz.

File metadata

  • Download URL: jsonpyd-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-37-generic

File hashes

Hashes for jsonpyd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d3205ec41cf0db29b4e759841dcbbc986ffac27d695183a179a618b7ca12a2bb
MD5 5b1b9356922adca691213adfd1679277
BLAKE2b-256 e465782914d419e2872cb5173fac287f30f2c5f6a265e9fb9a3cf7b30ec45413

See more details on using hashes here.

File details

Details for the file jsonpyd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jsonpyd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-37-generic

File hashes

Hashes for jsonpyd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c7540ae8a72533a7f611eeaad078e3fcad34061c5766b7539a5bc17a10d4b52
MD5 9f9711a0e41c37eae83a56a4776b6ef7
BLAKE2b-256 cde2c9e37926e51ae084f27a889609bc672e1a198e97b0687797efc4304ce9a8

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