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 datasearch: 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 indexdns: 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.
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cetus_cearcher-0.1.1.tar.gz | 8.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for cetus-cearcher 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.