Skip to main content

This is how python package should look like!

Project description

eljson

EO principles respected here

Build Status codecov Python Version wemake-python-styleguide

This is how python package should look like!

Features

  • Object oriented work with JSON

Installation

pip install eljson

Example

from eljson.strict_json import StrictJson
from eljson.json_doc import JsonDoc

StrictJson.from_string(
    JsonDoc.from_string(
        '{"hello": {"world": "!"}}',
    ),
    """
    {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "type": "object",
        "properties": {
            "hello": {
                "type": "object",
                "properties": {
                    "world": {"type": "string"}
                },
                "required": ["world"]
            }
        },
        "required": ["hello"]
    }
    """,
).path('$.hello.world')

License

MIT

Credits

This project was generated with wemake-python-package. Current template version is: a10c1e14ff468a4328dbe36a6b9a6a321d80da60. See what is updated since then.

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

eljson-0.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

eljson-0.0.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file eljson-0.0.1.tar.gz.

File metadata

  • Download URL: eljson-0.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for eljson-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fe5ce5bb0747fd59eec6c360b6332069e4408de66b81fc9db38ec80c68cf8270
MD5 dab1108e8f0e9ab3171d5bad919ce3b7
BLAKE2b-256 355920546dbe42ecf14668fcbf679c26e40a0f0596bd7d757c3f5ae8ffabdf09

See more details on using hashes here.

File details

Details for the file eljson-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: eljson-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for eljson-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b28fe77b814b10c4031823707d81aaa9dbfb56fb7a101afcb05de702a4312cbd
MD5 e063499a1a9643f0616d2e9fee97c8f2
BLAKE2b-256 46ea91e4c9e20f54c4586e4788752723cc7b3558a0cc1825adafec08d8fa4f6a

See more details on using hashes here.

Supported by

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