Malpedia REST API Client.
Project description
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
requestslibrary
Installation
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:
-
Create a JSON configuration file in one of these locations:
./malpedia.jsonor./.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" }
-
Pass credentials via command line arguments (see
--helpfor details)
Changelog
- 2025-07-25: v0.3.1: 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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file malpediaclient-0.3.1.tar.gz.
File metadata
- Download URL: malpediaclient-0.3.1.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f851303718b96b0dbae180f4725353c3e800f4e30df43c98690fd681718de7b3
|
|
| MD5 |
9d1569ba2d9e1859804e52e25b3daf73
|
|
| BLAKE2b-256 |
96c39c16cd5b7aa775e7931a1e3b6874449ccc498fa2f96e66c7bb8a784a1f3e
|