Skip to main content

A command line client to duckdb

Project description

gadwall - Command Line Client to duckdb

gadwall is a pure Python based command line to duckdb

image from wikimedia

Usage

$ python -m gadwall stocks.ddb 
Welcome to the gadwall, a duckdb shell. Type help or ? to list commands.

duckdb> ?

Documented commands (type help <topic>):
========================================
db  help  quit  schema

Undocumented commands:
======================
EOF

duckdb> db
stocks.ddb
duckdb> schema
stocks
duckdb> schema stocks
0 date TIMESTAMP False None False
1 symbol VARCHAR False None False
2 open FLOAT False None False
3 high FLOAT False None False
4 low FLOAT False None False
5 close FLOAT False None False
6 adj_close FLOAT False None False
7 volume INTEGER False None False
duckdb> SELECT symbol, MAX(close) FROM stocks GROUP BY symbol;
GOOG 1827.989990234375
MSFT 231.64999389648438
ORCL 65.30000305175781
duckdb> quit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gadwall-0.2.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

gadwall-0.2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file gadwall-0.2.0.tar.gz.

File metadata

  • Download URL: gadwall-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.5

File hashes

Hashes for gadwall-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7c1c52f9ebaf8c62eb846bbfc84ff4d780de94b6b7e343996b9767cfbd0f4f08
MD5 dbbc0b338344b1f311a6dbb3b52ac59d
BLAKE2b-256 a7ab6f3fded14ddf53a6d360e2667be43d195ef9a38031c8d190ad51e2b69a3b

See more details on using hashes here.

File details

Details for the file gadwall-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gadwall-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.5

File hashes

Hashes for gadwall-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02cde3fccc4a419f8caa192cce5cc8d671ab55c0eb78bef2a007f0e9ec9e65f9
MD5 afe22c723cb09abec7a3e81e9f0107f5
BLAKE2b-256 a1900f24e73515c9f98f9b09211aee5328216d0a1bb8c39674eff09011941420

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page