A command line interface for the MythX smart contract security analysis API
Project description
A PythX-driven CLI for MythX
This package aims to provide a simple to use command line interface for the MythX smart contract security analysis API. It’s main purpose is to demonstrate how advanced features can be implemented using the PythX Python language bindings for MythX to simplify API interaction.
What is MythX?
MythX is a security analysis API that allows anyone to create purpose-built security tools for smart contract developers. Tools built on MythX integrate seamlessly into the development environments and continuous integration pipelines used throughout the Ethereum ecosystem.
Usage
$ mythx
Usage: mythx [OPTIONS] COMMAND [ARGS]...
Your CLI for interacting with https://mythx.io/
Options:
--debug / --no-debug Provide additional debug output
--access-token TEXT Your access token generated from the MythX
dashboard
--eth-address TEXT Your MythX account's Ethereum address
--password TEXT Your MythX account's password as set in the
dashboard
--format [simple|json|json-pretty]
The format to display the results in
--help Show this message and exit.
Commands:
analyze Analyze the given directory or arguments with MythX.
list Get a list of submitted analyses.
report Fetch the report for a single or multiple job UUIDs.
status Get the status of an already submitted analysis.
version Display API version information.
Installation
The MythX CLI runs on Python 3.6+, including 3.8-dev and pypy.
To get started, simply run
$ pip3 install mythx-cli
Alternatively, clone the repository and run
$ pip3 install .
Or directly through Python’s setuptools
:
$ python3 setup.py install
Free software: MIT license
Documentation: https://mythx-cli.readthedocs.io.
History
0.1.0 (2019-08-31)
First release on PyPI.
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
Built Distribution
Hashes for mythx_cli-0.1.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0d9de69e9b9fa2b38fd6f9fc3ca0e3e2f1a714d4a9aca11fad079f741b29dfc |
|
MD5 | b8133a0b9138362a39e2e3f2fdd13c45 |
|
BLAKE2b-256 | da0b8b4363fa1ff1ac556006cef2ac50f4c13d94796eb89bd52566af664e354c |