{"id":28878267,"url":"https://github.com/consensysdiligence/pythx","last_synced_at":"2026-03-11T01:01:36.415Z","repository":{"id":34175047,"uuid":"171270216","full_name":"ConsenSysDiligence/pythx","owner":"ConsenSysDiligence","description":"A Python library for the MythX smart contract security analysis platform ","archived":false,"fork":false,"pushed_at":"2024-06-24T13:23:36.000Z","size":712,"stargazers_count":31,"open_issues_count":11,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-17T23:30:25.430Z","etag":null,"topics":["mythx","security","security-scanner","smart-contracts","solidity"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConsenSysDiligence.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-18T11:17:29.000Z","updated_at":"2025-12-09T13:30:39.000Z","dependencies_parsed_at":"2025-04-20T21:53:57.130Z","dependency_job_id":"0b448f90-dd09-490c-b976-e5f5af018945","html_url":"https://github.com/ConsenSysDiligence/pythx","commit_stats":{"total_commits":492,"total_committers":8,"mean_commits":61.5,"dds":"0.27235772357723576","last_synced_commit":"0dcb94db53ee09bb65704eef7a5729e5003b7418"},"previous_names":["dmuhs/pythx","consensysdiligence/pythx","consensys/pythx"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/ConsenSysDiligence/pythx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysDiligence%2Fpythx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysDiligence%2Fpythx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysDiligence%2Fpythx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysDiligence%2Fpythx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConsenSysDiligence","download_url":"https://codeload.github.com/ConsenSysDiligence/pythx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysDiligence%2Fpythx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30364596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mythx","security","security-scanner","smart-contracts","solidity"],"created_at":"2025-06-20T17:12:06.300Z","updated_at":"2026-03-11T01:01:36.408Z","avatar_url":"https://github.com/ConsenSysDiligence.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=====\nPythX\n=====\n\n\n.. image:: https://img.shields.io/pypi/v/pythx.svg\n        :target: https://pypi.org/project/pythx/\n\n.. image:: https://travis-ci.org/dmuhs/pythx.svg?branch=master\n        :target: https://travis-ci.org/dmuhs/pythx\n\n.. image:: https://readthedocs.org/projects/pythx/badge/?version=latest\n        :target: https://pythx.readthedocs.io/\n\n.. image:: https://coveralls.io/repos/github/dmuhs/pythx/badge.svg?branch=master\n        :target: https://coveralls.io/github/dmuhs/pythx?branch=master\n\n\nPythX is a library for the MythX_ smart contract security analysis platform.\n\n.. contents:: Table of Contents\n\n\nWhat is MythX?\n--------------\nMythX is a security analysis API that allows anyone to create purpose-built\nsecurity tools for smart contract developers. Tools built on MythX integrate\nseamlessly into the development environments and continuous integration\npipelines used throughout the Ethereum ecosystem.\n\n\nInstallation\n------------\nPythX runs on Python 3.6+ and PyPy3.\n\nTo get started, simply run\n\n.. code-block:: console\n\n    $ pip3 install pythx\n\nAlternatively, clone the repository and run\n\n.. code-block:: console\n\n    $ pip3 install .\n\nOr directly through Python's :code:`setuptools`:\n\n.. code-block:: console\n\n    $ python3 setup.py install\n\nExample\n-------\nPythX aims to provide an easy-to-use interface to the official MythX_ API.\nIts goal is to turbocharge tool development and make it easy to deal with\neven complex use cases.\n\n.. code-block:: python3\n\n    from pythx import Client\n\n\n    c = Client(api_key=\"...\")\n\n    # submit bytecode, source files, their AST and more!\n    resp = c.analyze(bytecode=\"0xfe\")\n\n    # wait for the analysis to finish\n    while not c.analysis_ready(resp.uuid):\n        time.sleep(1)\n\n    # have all your security report data at your fingertips\n    for issue in c.report(resp.uuid):\n        print(issue.swc_title or \"Undefined\", \"-\", issue.description_short)\n\n    # Output:\n    # Assert Violation - A reachable exception has been detected.\n\n\nThe PythX CLI has now become the MythX CLI!\n-------------------------------------------\n\nOriginally, the PythX CLI was a proof of concept to display to interested\ndevelopers what can be done using the library. The interest in the CLI grew\nso large that a lot of developers contacted me and asked for support and\nnew features.\n\nThis is the PSA that **I will no longer maintain the PythX CLI**. But wait!\nThere's more!\n\nBecause a PoC is not exactly what you would call future-proof and maintainable\nsoftware, I have decided to do a complete revamp. It is called `mythx-cli` and\nincorporates all feature requests I have gotten so far. Check it out\n`here \u003chttps://github.com/dmuhs/mythx-cli/\u003e`_ and let me know what you think!\n\nEnjoy! :)\n\n.. _MythX: https://mythx.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsensysdiligence%2Fpythx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsensysdiligence%2Fpythx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsensysdiligence%2Fpythx/lists"}