Skip to main content

pymysql-json-cli

install

pip install pymysql-json-cli

usage

cat << EOF |
SHOW DATABASES;
EOF
pymysql-json
# [{"Database": "information_schema"}, {"Database": "test"}]
cat <<EOF |
SELECT *
FROM %(table_name)s
EOF
pymysql-json --args '{"table_name": "test_table"}'
# [{"test_column": "arg_value"}, {"test_column": "test_value"}]
echo "SHOW DATABASES;" > db.sql
pymysql-json --sqlfile ./db.sql
# [{"Database": "information_schema"}, {"Database": "test"}]

development

  • Need
    • cargo-make
    • docker

lint & test

makers --env-file .env.test tests

lint except python code

makers --env-file .env.test lints

Release files for pymysql-json-cli 0.0.1

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

Source distribution (sdist)

Source distribution for pymysql-json-cli 0.0.1
File Size Uploaded
pymysql-json-cli-0.0.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pymysql-json-cli 0.0.1
File Interpreter ABI Platform
pymysql_json_cli-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / pymysql-json-cli-0.0.1.tar.gz

Download URL pymysql-json-cli-0.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c9dc7c2ca0459935dcfd7a747c99529f8e31f6f296b18d8541adbe4ab80c0866
BLAKE2b-256 checksum
How to use checksums
341e2e50a0abd8d82573bac18ad34093126da2047c1c96e4b24b750d52e976c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.9 CPython/3.8.3 Darwin/19.5.0

Release files / pymysql_json_cli-0.0.1-py3-none-any.whl

Download URL pymysql_json_cli-0.0.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3762b0b7f36b25a0c8033fc48598fd931a0761a89d2f998a70f652a6a9bb216
BLAKE2b-256 checksum
How to use checksums
7f48ba6ac76eff1f59cab016a184e274e70ffb603b83f80358064a051313ce26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.9 CPython/3.8.3 Darwin/19.5.0

Release history Release notifications | RSS feed

This release

0.0.1 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