cqlsh 是一个基于 Python 的命令行客户端,用于在 scylla 集群上运行 CQL 命令。
项目描述
西拉-cqlsh
来自https://github.com/apache/cassandra的 cqlsh 的一个分支
创建回购:
git clone -b trunk --single-branch git@github.com:apache/cassandra.git
sudo apt-get install git-filter-repo
cd cassandra
git filter-repo --path bin/cqlsh --path bin/cqlsh.py --path pylib/
测试:
pip install -e .
pip install -r pylib/requirements.txt
# run scylla with docker
docker run -d scylladb/scylla:latest --cluster-name test
export DOCKER_ID=$(docker run -d scylladb/scylla:latest --cluster-name test)
export CQL_TEST_HOST=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' ${DOCKER_ID})
while ! nc -z ${CQL_TEST_HOST} 9042; do
sleep 0.1 # wait for 1/10 of the second before check again
done
# run scylla with CCM
ccm create cqlsh_cluster -n 1 --scylla --version unstable/master:latest
ccm start
pytest
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
scylla-cqlsh-6.0.2.tar.gz
(670.2 kB
查看哈希)
内置发行版
scylla_cqlsh-6.0.2-cp311-cp311-win_amd64.whl
(490.3 kB
查看哈希)
scylla_cqlsh-6.0.2-cp311-cp311-win32.whl
(439.3 kB
查看哈希)
scylla_cqlsh-6.0.2-cp310-cp310-win_amd64.whl
(491.4 kB
查看哈希)
scylla_cqlsh-6.0.2-cp310-cp310-win32.whl
(440.4 kB
查看哈希)
scylla_cqlsh-6.0.2-cp39-cp39-win_amd64.whl
(508.6 kB
查看哈希)
scylla_cqlsh-6.0.2-cp39-cp39-win32.whl
(456.0 kB
查看哈希)
scylla_cqlsh-6.0.2-cp38-cp38-win_amd64.whl
(509.8 kB
查看哈希)
scylla_cqlsh-6.0.2-cp38-cp38-win32.whl
(456.6 kB
查看哈希)
scylla_cqlsh-6.0.2-cp37-cp37m-win_amd64.whl
(486.7 kB
查看哈希)
scylla_cqlsh-6.0.2-cp37-cp37m-win32.whl
(441.4 kB
查看哈希)
关
scylla_cqlsh -6.0.2-pp39-pypy39_pp73-win_amd64.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 63821c37d48b28c8678e9cbec5d0ff56654155dc668cf67b339ca835bbc98f7f |
|
| MD5 | 850f6c2d96fe6966af0c27d66714ad6f |
|
| 布莱克2-256 | ac0bf88f1d7e24746e40e294daadcb7758cf34efb21e5147d6462f81496d421a |
关
scylla_cqlsh -6.0.2-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 63ab82a88af7056797c907fc2f67e0040d7afe6301aa20530922e9419417cef2 |