cqlkit
brew install cqlkit
v0.3.3
Apache-2.0
CLI tool to export Cassandra query as CSV and JSON format
6
30-day installs · #10322
58
90-day · #6905
179
365-day · #7645
109
★ GitHub stars · updated 6y ago
Runtime dependencies
GitHub topics
cassandra
cli
Links
- https://github.com/tenmax/cqlkit
- GitHub: tenmax/cqlkit
- Brew formula source: Formula/c/cqlkit.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"openjdk"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "CLI tool to export Cassandra query as CSV and JSON format",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:40+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cqlkit",
"github_default_branch": "master",
"github_last_commit_at": "2020-07-06T07:16:03Z",
"github_readme_excerpt": "# CQLKIT\n*cqlkit* is a CLI tool to export Cassandra query to CSV and JSON format. Cassandra is not good at Ad-hoc query, *cqlkit* allows you to export query result to semi-structured(JSON) or structured data(CSV). There are many [tools](#recommended-3rd-party-tools) out there for you to query or process these kinds of format.\n\nHere is a simple some examples.\n\nExport JSON for the system columns in cassandra cluster.\n \n```bash\ncql2json -q \"select peer, data_center, host_id, preferred_ip, rack, release_version from system.peers\"\n```\n\nExport CSV for the system columns in cassandra cluster.\n\n```bash\ncql2csv -q \"select peer, data_center, host_id, preferred_ip, rack, release_version from system.peers\"\n```\n\n# Requirement\n\n- Java8\n\n# Installation\n\n## General\n\n1. Download from [release](https://github.com/tenmax/cqlkit/releases) page.\n2. Unzip the package.\n3. Add `$CQLKIT_PATH/bin` to the *PATH* environment variable\n\n## Mac\n\nInstall cqlkit via [Homebrew](http://brew.sh/).\n\n```bash\nbrew update\nbrew install cqlkit\n```\n\nUpgrade cqlkit\n\n```bash\nbrew update\nbrew upgrade cqlkit\n```\n\n## Docker\n\nRun cqlkit via [Docker](https://hub.docker.com/r/tenmax/cqlkit).\n\n```bash\n docker run --rm -it tenmax/cqlkit\n ```\n\n# Usage\n## CQL2CSV\n\n```\nusage: cql2csv [-c contactpoint] [-r cassandraPort] [-q query] [FILE]\nFile The file to use as CQL query. If both FILE and QUERY are\n omitted, query will be read from STDIN.\n\n -c \u003carg\u003e The contact point. if use multi\n contact points, use \u0027,\u0027 to separate\n multi points\n --connect-timeout \u003carg\u003e Connection timeout in seconds;\n default: 5\n --consistency \u003cLEVEL\u003e The consistency level. The level\n should be \u0027any\u0027, \u0027one\u0027, \u0027two\u0027,\n \u0027three\u0027, \u0027quorum\u0027, \u0027all\u0027,\n \u0027local_quorum\u0027, \u0027each_quorum\u0027,",
"github_repo": "tenmax/cqlkit",
"github_stars": 109,
"github_topics": [
"cassandra",
"cli"
],
"homepage": "https://github.com/tenmax/cqlkit",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 6,
"installs_365d": 179,
"installs_90d": 58,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "cqlkit",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 10322,
"rank_365d": 7645,
"rank_90d": 6905,
"raw_hash": "0fc302917065dfd6",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cqlkit.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "0.3.3",
"versioned_formulae": [],
"why_use_this": null
}