A CLI tool to generate Go types from ScyllaDB or Cassandra schemas
Project description
Scylla-Go-Round
Welcome to Scylla-Go-Round! Spin up your ScyllaDB schemas into Go types with ease and style. This CLI tool is your handy companion in bridging the gap between schema design and Go implementation, ensuring your applications are running smoothly with the latest data structures.
Features
- Generate Go types directly from your ScyllaDB or Cassandra schema.
- Automatic connection to your ScyllaDB instance.
- Environment and CLI flexibility for easy configuration.
Getting Started
Prerequisites
- Python 3.6+
- ScyllaDB or Cassandra setup
Installation
Install scylla-go-round
using pip:
pip install scylla-go-round
Usage
Generate Go types by running:
scyllago --keyspace your_keyspace_name --host your_scylladb_host
Configuration
You can configure scylla-go-round
via environment variables or command line arguments:
SCYLLADB_DEV_HOST
: The host for your ScyllaDB instance.SCYLLADB_DEV_ROLE
: Your ScyllaDB username.SCYLLADB_DEV_PWD
: Your ScyllaDB password.
There is an example of what your .env
file can look like in this current directory. You should rename that to be the .env
file if you want it to be loaded in from this tool.
Contributing
We love contributions! If you'd like to help improve Scylla-Go-Round, please follow these steps:
- Fork the repo on GitHub.
- Clone your fork locally.
- Create a new feature branch (git checkout -b my-new-feature).
- Make your changes.
- Push the branch to GitHub (git push origin my-new-feature).
- Submit a pull request.
License
Scylla-Go-Round is released under the MIT License. See the LICENSE file for more details.
Happy Coding! Thank you for using or contributing to Scylla-Go-Round. Have fun spinning your schemas into efficient Go types!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scylla_go_round-0.2.0.tar.gz
.
File metadata
- Download URL: scylla_go_round-0.2.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c6dbdc35de031cc6a131ddc0e2f4a740ae03202e58dc7de5831cea99dd8e4b6 |
|
MD5 | 47e30a6f732e92b81092c6f748c195f4 |
|
BLAKE2b-256 | a130a53349e5c28d294a44718f9351c3c066fae8cc54f7e244c807a31969b8fd |
File details
Details for the file scylla_go_round-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: scylla_go_round-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32f42a93655b8001f01ed3e357c0e7abd1944f2ab9a81e8d6f0115b0768f9cee |
|
MD5 | a6e7aba4e14f1bc8af1ed779163c1fb1 |
|
BLAKE2b-256 | e3e1876c072f2a5203414c8335f552a1aa74a4a2a47d01c0a6dc153c58f80ea0 |