Skip to main content

Python CLI and module for pandora

Project description

Python client and module for Pandora

Installation

pip install pypandora

Usage

Command line

You can use the pandora command to submit a file:

$ poetry run pandora -h
usage: pandora [-h] [--url URL] [--redis_up | -f FILE] [--task_id TASK_ID]
               [--seed SEED] [--all_workers] [--worker_name WORKER_NAME]
               [--details]

Submit a file.

options:
  -h, --help            show this help message and exit
  --url URL             URL of the instance (defaults to
                        https://pandora.circl.lu/).
  --redis_up            Check if redis is up.
  -f FILE, --file FILE  Path to the file to submit.

getStatus:
  --task_id TASK_ID     The id of the task you'd like to get the status of
  --seed SEED           The seed of the task you'd like to get the status of
  --all_workers         True if you want the status of every workers
  --worker_name WORKER_NAME
                        The name of the worker you want to get the report of
  --details             True if you want the details of the workers

Library

See API Reference

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypandora-1.5.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

pypandora-1.5.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pypandora-1.5.1.tar.gz.

File metadata

  • Download URL: pypandora-1.5.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.2.0-27-generic

File hashes

Hashes for pypandora-1.5.1.tar.gz
Algorithm Hash digest
SHA256 cdc7ebe0953365b49e49695febf05d1a05163b79cf448602e74f703c173122c6
MD5 fcf846a550310d0d918af34bc9894ca7
BLAKE2b-256 dbf05ede5e572676ee8e0d7e9243282ba8a394a4a386af1fe99117bd63671518

See more details on using hashes here.

File details

Details for the file pypandora-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: pypandora-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.2.0-27-generic

File hashes

Hashes for pypandora-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ce2a7bea45420df6576b2b98cad6afe82fb6f2be332ccdff1102814cb89cb59
MD5 14d7db481d79d69b9985b8de60d7f187
BLAKE2b-256 ad31f24f7184bcac7e0b29b04e896660c4558178a3b9bed0b1ed844e7a9555b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page