Metadata-Version: 2.4
Name: sickrock_client
Version: 0.2.1
Summary: Python client and CLI for the SickRock Connect API
Author-email: James Read <contact@jread.com>
License: MIT
Project-URL: Homepage, https://github.com/jamesread/sickrock-python
Project-URL: Repository, https://github.com/jamesread/sickrock-python
Project-URL: Issues, https://github.com/jamesread/sickrock-python/issues
Keywords: sickrock,connect,api,cli
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: configargparse>=1.5
Dynamic: license-file

<div align = "center">
  <img alt = "project logo" src = "https://raw.githubusercontent.com/jamesread/sickrock-python/main/logo.png" width = "128" />
  <h1>SickRock Python lib/cli</h1>

  Build nocode data base webapps on real databases

[![Maturity Badge](https://img.shields.io/badge/maturity-Sandbox-yellow)](#none)
[![PyPI](https://img.shields.io/pypi/v/sickrock-client)](https://pypi.org/project/sickrock-client/)
[![Discord](https://img.shields.io/discord/846737624960860180?label=Discord%20Server)](https://discord.gg/jhYWWpNJ3v)

</div>

Python client and CLI for the [SickRock](https://github.com/jamesread/SickRock) Connect API.

## Install

From [PyPI](https://pypi.org/project/sickrock-client/):

```bash
pip install sickrock_client
```

## CLI

The package installs a `sickrock` command:

```bash
sickrock info
sickrock -j info
sickrock insert -t default -f type TASK -f timestamp "2026-06-12 12:00:00"
sickrock call Init
sickrock list-operations
sickrock help insert
```

Configuration defaults to `/etc/SickRockClient/settings.env` and supports `SICKROCK_URL`, `BEARER_TOKEN`, and `VERIFY_SSL` (or `verify-ssl=false` in the config file). Use `-k` or `--no-verify-ssl` to skip certificate verification. Use `-j` or `--json` for JSON-only output.

## Library

```python
from sickrock_client import SickRockClient

client = SickRockClient("https://example.com", "token")
item = client.create_item("default", {"type": "TASK", "timestamp": "2026-06-12 12:00:00"})
info = client.init()
```
