Skip to main content

curitz

curitz is a CUrses-based Remote Interface To Zino, i.e. a terminal-based user interface to interact with a Zino server.

Split from internal project PyRitz on 2023-03-30.

For information on how to use curitz see the Zino documentation on Read the Docs.

Configuration

There needs to be a file .ritz.tcl, conventionally placed in your home-directory.

Example .ritz.tcl:

set Secret ZINO1SERVERTOKEN_A
set User USERNAME_1
set Server my.zino.server.com
set Port 8001

set _Secret(ALTERNATE) ZINO1SERVERTOKEN_B
set _User(ALTERNATE) USERNAME_2
set _Server(ALTERNATE) alternative.zino.server.com
set _Port(ALTERNATE) 8001

The top four lines configures the default server. Secret and User is created by the admin of the zino server. Server and Port hopefully needs no explanation.

Running curitz without the -p-argument would connect to my.zino.server.com, authenticated as USER_1.

The bottom four lines are optional. They are an example of how to configure alternative servers. Running curitz with the /--argument would connect to the alternative server:

$ curitz -p ALTERNATE

This would connect to alternative.zino.server.com, authenticated as USER_2.

Installing

From PyPI

curitz is available on PyPI. The quickest way to install it is therefore using some variation of pip install. We recommend installing it into your own user environment in order to not interfere with system packages, like so:

pip install --user curitz

This should normally put the binary and library under .local on Linux.

If you have the uv tool available on your system, you can install and run curitz directly by issuing the command:

uvx curitz

From source

If installing directly from a clone of this source code repository, you can install curitz (again, we recommend installing to your own user environment):

pip install --user .

Running

After installing (and assuming your PATH environment variable is set correctly), the terminal program curitz will be available to run.

Run curitz -h for info about the available arguments.

Testing

The test suite is run with pytest. It does not talk to a Zino server: it covers argument parsing, config-file handling and other pure-Python helpers only, so changes to the protocol layer need testing against a real server.

If you have all currently supported pythons in your path, you can test them all, with an HTML coverage report placed in htmlcov/:

tox

To test on a specific python other than current, run:

tox -e py{version}

where version is of the form “311” for Python 3.11.

The test-dependencies can be installed manually via:

pip install --group test

Development

Some minimal pre-commit hooks are included, install by running pre-commit install.

See the file .git-blame-ignore-revs for commits to ignore when running git blame. Use it like so:

git blame --ignore-revs-file .git-blame-ignore-revs FILE

Metadata

Release files for curitz 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for curitz 1.0.0
File Size Uploaded
curitz-1.0.0.tar.gz 36.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for curitz 1.0.0
File Interpreter ABI Platform
curitz-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 61.8 kB

Release files / curitz-1.0.0.tar.gz

Download URL curitz-1.0.0.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fb55576c1e7fa7e6518a37216882fe35b323e9bf208520613993cc5a5b66d843
BLAKE2b-256 checksum
How to use checksums
7d9bb7d507fc7d3b717e20915e11080e37c06a25ccb9209912258b8710c87521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / curitz-1.0.0-py3-none-any.whl

Download URL curitz-1.0.0-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
283b2df3a874aa6403cca3105b52c9ea99cd09d3e134125824130335e32d809b
BLAKE2b-256 checksum
How to use checksums
ef9446bb5600ea9d04becbf9c13f57743f331756b4e9fe41cc61d9f1d5777b6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.9.22

2 release files

0.9.21

2 release files

0.9.20

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page