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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| docjson2x-0.1.3.tar.gz | 25.3 kB | Without provenance | Details for docjson2x-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docjson2x-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for docjson2x-0.1.3-py3-none-any.whl |
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}
|
Security for docjson2x 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.