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

Uploaded Source

Built Distribution

pypandora-1.6.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypandora-1.6.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.5.0-10-generic

File hashes

Hashes for pypandora-1.6.1.tar.gz
Algorithm Hash digest
SHA256 6c80bb28fcb88bd979ba536e483fa6cdea2b552a65f5de8160a173b54cd097da
MD5 45500857af84bdabc9647e3cd93db675
BLAKE2b-256 3a72f433e108e4acf72f708c9e4bbbd68f402f91e9c9db3ffd0f83ff26688e96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypandora-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.5.0-10-generic

File hashes

Hashes for pypandora-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e90800be9be17be5ee2cd376d8e4ea045152a0d91e52d1ae4f26d208f1cc52cc
MD5 ab563c476f0e31c56631d8ce5b936664
BLAKE2b-256 f1fb7d163f5d8363f279b23b4d6172690a20ef572f0686c5f644109d81d027b8

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