Skip to main content

TableSQLConverter V1.2

TableSQLConverter是为了方便将数据库表的基本元信息 以表格形式如excel的批量转换成Mysql建表或HiveSQL的建表语句。也能够根据SQL的 创表语句,提取出基本字段信息形成表格,或者SQL创表语句向Hive创表语句的转换。

图1 TableSQlConverter V1架构图

pip install tablesqlconverter
from tablesqlconverter import Converter
myCvt=Converter()

schema 结构

{"<tbname>":[{"colname":"","type":"","comment":""},]}

示例

tbl数据间隔符号是”\t“,换行符号是"\n"

案例见test.py

Metadata

Release files for tablesqlconverter 1.2.0

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

Source distribution (sdist)

Source distribution for tablesqlconverter 1.2.0
File Size Uploaded Provenance Actions
tablesqlconverter-1.2.0.tar.gz 6.3 kB Without provenance Details for tablesqlconverter-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 13.0 kB

Release files / tablesqlconverter-1.2.0.tar.gz

Download URL tablesqlconverter-1.2.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c83e4f8d6eeeeb6b6f9044cf9f963a74168031565ca921cd3d5cc9bc92ee0f47
BLAKE2b-256 checksum
How to use checksums
ab9d1c252dae751f59decf98e8a4d2f93852dd063dcf1b46f1deb949add3bf7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / tablesqlconverter-1.2.0-py3-none-any.whl

Download URL tablesqlconverter-1.2.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
befd6b39fcf862cf62e0ceaaac6f4cc30f892990a31220fcbb0526307fcef15e
BLAKE2b-256 checksum
How to use checksums
a7c6b61917c88551d36961394a5e1819d6b15fb7d23a7811df43c9ab9513c45c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for tablesqlconverter 1.2.0

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.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

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