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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pypandora-1.5.0.tar.gz
Algorithm Hash digest
SHA256 1a7d5a830f0146eaf36fd20e320f016f9e984d7ec700bf00b3849cc8c5018e9a
MD5 a91d387718d186e28dffcce4418e1be5
BLAKE2b-256 110d52dc7a25e8b8d86b462649efe74cafd836337d46368aa9ac2d787ab294ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypandora-1.5.0-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.2 Linux/6.2.0-23-generic

File hashes

Hashes for pypandora-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd5de14d0c2cc53586e1ccf26b4da38dc23ea856e102f98a246c65d6dcfae341
MD5 d2fffbafdd5ec12c96277e9a8e4cdfa7
BLAKE2b-256 f81039efb2234b479ff4b6d11927b0dc351c71c98e9a8b840819b0b0a692f1bc

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