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.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

gadwall-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gadwall-0.1.1.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.2

File hashes

Hashes for gadwall-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4e47474bf19995f0907f80d564a848ebb08bd87e505b404890dda67fe4ffffaa
MD5 09dcb02bf954b3291b5d3320bb5a3877
BLAKE2b-256 f00c23c5f933b6ce8ec690fc426c88a88c529f88280297bb1cc8573b14ae0466

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gadwall-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.2

File hashes

Hashes for gadwall-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a23933aab0312545bbcfda8a9b7c2da850d13fe36e989b6704137e399d8c1647
MD5 7b3d66aeb6c052099cb478d87783cb9c
BLAKE2b-256 c3616b3b18d90e7aabaabc5077e04f2f6e707232afaf7689fea7e1ac0d79b702

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