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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pypandora-1.8.0.tar.gz
Algorithm Hash digest
SHA256 e8d110588b9a1cec00b362140b10a60a5d152406f1e4ac7eb89c9f0d42826d84
MD5 70192d3a9850a3c400de58e2f5efae84
BLAKE2b-256 b6cd6919b0f34e7fb4c9e9dbc57c5b23e25221f1e11807843625459ad75492b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypandora-1.8.0-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-15-generic

File hashes

Hashes for pypandora-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42956eab2f789efcaba3631a436e2325295d9dcbca1c4e5ff32dd3607f640781
MD5 647d3fcd78851739e60afe4dad19134c
BLAKE2b-256 83eb8181653babf11db1597349308c8249e6175399b2ad5e73f082483d18729b

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