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.4.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypandora-1.4.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.7 Linux/5.19.0-35-generic

File hashes

Hashes for pypandora-1.4.0.tar.gz
Algorithm Hash digest
SHA256 4945b690afd87ffe55a3782a9a4dbc107d30368a765ec467111ae0015a059bad
MD5 2e081bdbfa6cf069aacbd0d1a73afa1c
BLAKE2b-256 03e9b3d5b918185db0b99a28385ad53265b1f267c1df817c59f8fc29fe084f7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypandora-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.7 Linux/5.19.0-35-generic

File hashes

Hashes for pypandora-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d3f8313957c4423ab3c80af6eff2e7b2f27fcee68cbd18dfe8ac81f49440bd2
MD5 9c0957aa4bb9f740c11cbc380816ff19
BLAKE2b-256 02a6a59a45f107d73fc614dc4c7986e1d597520feb59796dd18a578ae202689e

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