Skip to main content

Python domain model classes for the MythX platform

Project description

The MythX Domain Models

https://img.shields.io/pypi/v/mythx-models.svg https://travis-ci.org/dmuhs/mythx-models.svg?branch=master https://readthedocs.org/projects/mythx-models/badge/?version=latest https://pyup.io/repos/github/dmuhs/mythx-models/shield.svg https://coveralls.io/repos/github/dmuhs/mythx-models/badge.svg?branch=master

This repository contains the domain models for the MythX smart contract security analysis platform.

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.

Installation

The MythX domain models runs on Python 3.5+.

To get started, simply run

$ pip3 install mythx-models

Alternatively, clone the repository and run

$ pip3 install .

Or directly through Python’s setuptools:

$ python3 setup.py install

History

1.5.1 (2019-10-31)

  • Fix bug where new API field would raise a TypeError

  • Update pytest to 5.2.2

  • Update sphinx to 2.2.1

1.5.0 (2019-10-19)

  • Added support to group_id in models

  • Update pytest to 5.2.1

  • Update pytest-cov to 2.8.1

1.4.1 (2019-10-04)

  • Add fix for edge case where decoded locations are empty but still given

1.4.0 (2019-10-04)

  • Update pytest from 5.1.2 to 5.2.0

  • Add support for decoded locations

1.3.4 + 1.3.5 (2019-09-19)

  • Lift jsonschema dependency even more for broad support

1.3.3 (2019-09-15)

  • Update twine from 1.13.0 to 1.14.0

  • Take over jsonschema dependency to support web3py

1.3.2 (2019-09-06)

  • Update pytest from 5.1.1 to 5.1.2

  • Add models to fetch analysis input data

1.3.1 (2019-08-30)

  • Add info field to analysis status model

1.3.0 (2019-08-29)

  • Allow null values in submission request and issues response models

1.2.0 (2019-08-29)

  • Added models for source map representation (including source map decompression)

1.1.0 (2019-08-27)

  • Removed the minimum size limit for a detected issue report list

  • Added an as_list option to the detected issue response model to support non-object input

1.0.0 (2019-08-26)

  • Added all models originally in PythX

  • Extended models with BaseModel class

  • Make issue reports and various submodels JSON serializable

  • Added documentation to readthedocs.io

  • Added CI with Travis

  • Added coverage metrics with codecov

  • Added packaging pipeline to PyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mythx-models-1.9.1.tar.gz (70.0 kB view details)

Uploaded Source

Built Distribution

mythx_models-1.9.1-py2.py3-none-any.whl (82.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mythx-models-1.9.1.tar.gz.

File metadata

  • Download URL: mythx-models-1.9.1.tar.gz
  • Upload date:
  • Size: 70.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for mythx-models-1.9.1.tar.gz
Algorithm Hash digest
SHA256 037090723c5006df25656473db7875469e11d9d03478d41bb8d1f1517c1c474c
MD5 8e5de88e732c8819ce37be120388e60b
BLAKE2b-256 79cb4efb102cc9f7b669724cba2f5b50959c21c1b3042673b5a0b6ec3821adcc

See more details on using hashes here.

File details

Details for the file mythx_models-1.9.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mythx_models-1.9.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 82.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for mythx_models-1.9.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4b9133c2ee41f97c03545bb480a16f3388b10557c5622aeada7ce79aaadcf7de
MD5 05d8cbcd103af39f5290e209f08ea0c1
BLAKE2b-256 c17e8a1860d39a6b4256426c499b276426b38086bdffefe6260d38ea64853ac1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page