scylladb / scylla-api-client

Scylla CLI Python module and command line utility
GNU Affero General Public License v3.0
4 stars 8 forks source link

Scylla-API-Client

Scylla API Client is a command line utility implementing a thin client directly utilizing the Scylla REST API

Installation

pip install scylla-api-client

Usage

See scylla-api-client --help for all options, below are some sample uses:

Tests

pytest is used for writing and executing tests, to run tests you can execute:

pip install -r dev-requirements.txt 
pytest -s -v tests/

Design

Release

Releases are automatically released via GitHub Actions when a new tag v** is pushed to GitHub.

git tag v1.0 <some-commit-hash>
git push origin v1.0

Note: pushing a tag to GitHub requires maintainers/admin privileges.

Contributing

Contributions are welcomed! please create a fork and open a pull request to submit your changes,

Contributing requires installation from source:

  1. Clone scylla-api-client repository
  2. Install development tools by pip install -r dev-requirements.txt
  3. Install scylla-api-client from source by python3 setup.py install --user

Once installed, scylla-api-client can be used by python3 -m scylla_api_client

Note: by installing from source, the package will be installed under $HOME/.local/bin and depending on your OS
may require adding this folder to you $PATH ex. export PATH=$PATH:$HOME/.local/bin.