Skip to main content

A library to convert JSON data to Markdown documents

Project description

json2markdown

A Python library to convert JSON data to Markdown documents.

Installation

pip install json2markdown

Usage

import json2markdown

json_data = {
    "name": "Example",
    "description": "A simple example",
    "items": [{"id": 1, "value": "A"}, {"id": 2, "value": "B"}]
}

markdown_output = json2markdown.convert_json_to_markdown_document(json_data)
print(markdown_output)

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

json2markdown-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

json2markdown-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file json2markdown-0.1.1.tar.gz.

File metadata

  • Download URL: json2markdown-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for json2markdown-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6ca634db87b08e3520f7b8887e20e48dd0e1b06cdb5ce1087b2787c6a9021465
MD5 487f81470284fb57a52c1326b5222617
BLAKE2b-256 1c844f772c9eeaeae40e0bfdcbb2363cb34a9868aba8773f200e8ec396f25c30

See more details on using hashes here.

File details

Details for the file json2markdown-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: json2markdown-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for json2markdown-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9369dc746a9a22c9abcba3537d113a7fc35c59f0c33c9a19af66213effb44032
MD5 6365f378ed63bc31ae3dc13ffa82b115
BLAKE2b-256 8ebf90dde7561f947847cabf6e37cd760369575c7e95e7f97be816956bc509ac

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