Polyswarm-api

Latest version: v3.11.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.0.0

This is the 1.0 release of `polyswarm-api`. It contains a number of enhancements, and makes using the API significantly easier.

Major changes

- Python 2.7 and greater support, for legacy systems.
- Complete re-write of the API code, that helps separate things into more digestable and maintainable modules.
- Streaming of result sets is now supported, so results are displayed as they are available.
- Chaining of commands via the --fmt sha256 output format. This allows users to chain multiple actions into a single line. For example: polyswarm --fmt json search metadata strings.domains:coinhive.com | polyswarm download -r - malware/ will download all samples that match a given metadata search.
- Object wrappers for the API JSON response, along with a number of convenience methods, that make inspecting the API results much more straightforward.
- Improvements to text output format, to provide more information about files in searches.
JSON output is now in JSONL format to better support automated systems processing result sets.
- Many minor bugfixes and experience enhancements.
- Breaking API changes: hunt deletion routes now take query parameters rather than JSON, in keeping with standards.

0.6.0

Features
- Support for new API hunting changes, including deleting hunts and retrieving hunts without metadata/bounty results.
- Use a configurable request limit, to reduce time for requesting hunt results.

Fixes
- Various bugfixes in response handling
- Set more reasonable defaults

0.5.4

Features
- Support for new API changes

Fixes
- Reduce default request numbers to avoid getting ratelimited
- Various bugfixes in response handling

0.5.3

Fixes
- Fix support for searching hashes via file
- Fix formatting for searches in cases where some hashes aren't found.

0.5.2

Fixes
- Support new hunting response format.

0.5.1

Small bug-fix and feature release.

Features
- Switch ES searching to more user-friendly `query_string` search.
- Improve documentation on fields that can be searched.

Fixes
- Fix `url` bug where `url` was also used as `name`, causing queries to fail.

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.