Skip to main content

Cetus Cearcher

Unofficial CLI tool to query the Cetus API maintained by SparkIT Solutions.

Installation

Clone the repo and use Typer CLI to run

or

pip install cetus-cearcher

Once installed, you'll need to create a file named config.py in the cetus directory and declare two variables:

Variable Value
api_url API server including protocol ( i.e. https://example.com )
api_key API key obtained from the portal

Usage

$ cetus [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • example: Show example result data
  • search: Search Cetus

cetus example

Show example result data

Usage:

$ cetus example [OPTIONS] INDEX:[dns|certstream]

Arguments:

  • INDEX:[dns|certstream]: [required]

Options:

  • --raw: Print raw output instead of pretty printed [default: False]
  • --help: Show this message and exit.

cetus search

Search Cetus

Usage:

$ cetus search [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • certstream: Search the Cetus Certstream index
  • dns: Search the Cetus DNS index

cetus search certstream

Search the Cetus Certstream index

Usage:

$ cetus search certstream [OPTIONS] QUERY

Arguments:

  • QUERY: Lucene formatted query. [required]

Options:

  • --start [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]: Beginning of search range. Required. [required]
  • --end [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]: End of search range. If omitted, end == now [default: 2021-06-10T17:11:20]
  • --raw: Print raw output instead of pretty printed [default: False]
  • --metadata: Include metadata in output [default: False]
  • --help: Show this message and exit.

cetus search dns

Search the Cetus DNS index

Usage:

$ cetus search dns [OPTIONS] QUERY

Arguments:

  • QUERY: Lucene formatted query. [required]

Options:

  • --start [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]: Beginning of search range. Required. [required]
  • --end [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]: End of search range. If omitted, end == now [default: 2021-06-10T17:11:20]
  • --raw: Print raw output instead of pretty printed [default: False]
  • --metadata: Include metadata in output [default: False]
  • --help: Show this message and exit.

Release files for cetus-cearcher 0.1.1

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

Source distribution (sdist)

Source distribution for cetus-cearcher 0.1.1
File Size Uploaded
cetus_cearcher-0.1.1.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cetus-cearcher 0.1.1
File Interpreter ABI Platform
cetus_cearcher-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / cetus_cearcher-0.1.1.tar.gz

Download URL cetus_cearcher-0.1.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f5212808658094704839c9febc962b35b74d57a04477d00a29bdba15d89e7e59
BLAKE2b-256 checksum
How to use checksums
4918836980ad6aa45662f74c9f97a61f092fc5f774147a26f9c0ba81b0b0fd44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.5 Darwin/20.4.0

Release files / cetus_cearcher-0.1.1-py3-none-any.whl

Download URL cetus_cearcher-0.1.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28f344a9eec34fd88a53e49c76d135eb10a5db174b6e8ca1c620c34ee824f349
BLAKE2b-256 checksum
How to use checksums
4bfe90d34fba6b51fba696feeac72f64867c73f57499e2f710743566f72363ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.5 Darwin/20.4.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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