Skip to main content

Malpedia REST Client

This repository contains a Python interface for the Malpedia REST API. To use the basic functionalities of this client, no user account on Malpedia is needed. However, for the analytics and some other extended functionalities, an account and the connected credentials are required.

Requirements

  • Python 3.6 or higher
  • requests library

Installation

Since version v0.3.1 malpediaclient is available via PyPI, which simplifies installation to:

pip install malpediaclient

In case you want to install locally from the repository, please use:

pip install -e .

or

python setup.py install

CLI Usage

Either use python run.py --help in this directory or malpediaclient --help from anywhere.

Configuration

You can configure your Malpedia credentials in several ways:

  1. Create a JSON configuration file in one of these locations:

    • ./malpedia.json or ./.malpedia.json (current directory)
    • $HOME/.malpedia.json (user's home directory)
    • /etc/malpedia.json (system-wide)
    • %APPDATA%\malpedia\malpedia.json (Windows)

    The JSON file should have this structure:

    {
      "username": "your_username",
      "password": "your_password"
    }
    

    Or with an API token:

    {
      "apitoken": "your_api_token"
    }
    
  2. Pass credentials via command line arguments (see --help for details)

Changelog

  • 2025-07-25: v0.3.2: Removed dependency issue in setup.py, disabled scan functions, and published to PyPI (THX to dspruell-rs).
  • 2025-03-13: v0.3.0: Updated to Python 3, removed Python 2 compatibility code, improved error handling (THX to Marc R).
  • 2020-08-10: Added support for a JSON config file to enable storing an apitoken or user/password for authentication (THX to Luca Corbatto).

Metadata

Release files for malpediaclient 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for malpediaclient 0.3.2
File Size Uploaded Provenance Actions
malpediaclient-0.3.2.tar.gz 16.4 kB Without provenance Details for malpediaclient-0.3.2.tar.gz

Release files / malpediaclient-0.3.2.tar.gz

Download URL malpediaclient-0.3.2.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d5067a2d038a469bd2604fa9a29166777f295b9c19e5c7f39a6fbfb4658c9458
BLAKE2b-256 checksum
How to use checksums
2767ed99ef899fda5a2a271431812127608d41ad19ea0f03ec459b00a77b4216
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for malpediaclient 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page