大数据工具包
Project description
A common utils to use
db utils
table info export to excel
from easybd.db import Mysql
mysql = Mysql("192.168.3.204", "3306", "root", "Mysql@2023", "cs", ["t_a", "t_b"])
mysql.table_info_to_excel("demo.xlsx")
excel utils
depend on above export excel to output some code,like : ddl, json files
from easybd.db.ddl import DDLType
from easybd.excel import Excel
e = Excel("demo.xlsx")
table = e.get_table("t_cs")
def test_ddl2pg():
r = e.to_ddl(DDLType.PgSql, table.table_info)
print(r)
def test_to_json_array():
e.to_json_array(table)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easybd-0.1.2.tar.gz.
File metadata
- Download URL: easybd-0.1.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1529181512f140517deddaee4f04b6d37560aef580029ead429d00bf324220b9
|
|
| MD5 |
974aacd07294f6a5442f1cb2fae22176
|
|
| BLAKE2b-256 |
a2b73d365589817079822fd20260b52870abf3ab9c1db7ce0fd6dcb0d133072a
|
Provenance
The following attestation bundles were made for easybd-0.1.2.tar.gz:
Publisher:
python-publish.yml on wjn0918/easybd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
easybd-0.1.2.tar.gz -
Subject digest:
1529181512f140517deddaee4f04b6d37560aef580029ead429d00bf324220b9 - Sigstore transparency entry: 153553037
- Sigstore integration time:
-
Permalink:
wjn0918/easybd@26c702e827d113694ac3be738e01f8b1806c1015 -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/wjn0918
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@26c702e827d113694ac3be738e01f8b1806c1015 -
Trigger Event:
release
-
Statement type:
File details
Details for the file easybd-0.1.2-py3-none-any.whl.
File metadata
- Download URL: easybd-0.1.2-py3-none-any.whl
- Upload date:
- Size: 1.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0bb19fd7698e6e52e7c8fe19da6914e94eb9d4379af84f793c58ff638f897bf
|
|
| MD5 |
97003a4f6203be3b72cd1601159fd25b
|
|
| BLAKE2b-256 |
1398e093b49198a22ade44a025d0c2dbad0e59a0218fab0c4c9a7351c26a50f7
|
Provenance
The following attestation bundles were made for easybd-0.1.2-py3-none-any.whl:
Publisher:
python-publish.yml on wjn0918/easybd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
easybd-0.1.2-py3-none-any.whl -
Subject digest:
e0bb19fd7698e6e52e7c8fe19da6914e94eb9d4379af84f793c58ff638f897bf - Sigstore transparency entry: 153553044
- Sigstore integration time:
-
Permalink:
wjn0918/easybd@26c702e827d113694ac3be738e01f8b1806c1015 -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/wjn0918
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@26c702e827d113694ac3be738e01f8b1806c1015 -
Trigger Event:
release
-
Statement type: