Skip to main content

docJson2X

docJson2X is a tool to convert docJson to Markdown or CSV, or Html.

  • to_md/to_md_with_id

  • to_csv

Usage

uv build
# upload memect pypi source
uv publish --index memect

# 公共 PyPI 安装
pip install docjson2x


from docjson2x import DocJsonAnalyzer
# eg: 
input_file_paht = "tests/data/doc.json"
analyzer = DocJsonAnalyzer().analyze(input_file_paht)

# output to markdown,默认table为md格式输出
output_file_path = "tests/data/doc.md"
analyzer.to_md(output_file_path)
## markdown支持table为html
analyzer.to_md(output_file_path, table_html=True)

Metadata

Release files for docjson2x 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docjson2x 0.1.3
File Size Uploaded
docjson2x-0.1.3.tar.gz 25.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for docjson2x 0.1.3
File Interpreter ABI Platform
docjson2x-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 58.0 kB

Release files / docjson2x-0.1.3.tar.gz

Download URL docjson2x-0.1.3.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
441b50f0be9fe325e877e180f0a28ae6d5f430d29714f9ca3ac4c34c7b590771
BLAKE2b-256 checksum
How to use checksums
b8aa1a086a479c7eb817ec9305fd1cebaf4e270d2723a6fec5225dd9469e8fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / docjson2x-0.1.3-py3-none-any.whl

Download URL docjson2x-0.1.3-py3-none-any.whl
Size 32.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f1a607462fdba7dcc6941c4461105f0298e524039f06c8f9250faca35935b60
BLAKE2b-256 checksum
How to use checksums
7c3db4d5e0f9987ad82792dc8e8e510051b908ab21e5b9389294bf72097a3abf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page