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.6.2.tar.gz (69.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mythx_models-1.6.2-py2.py3-none-any.whl (74.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: mythx-models-1.6.2.tar.gz
  • Upload date:
  • Size: 69.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for mythx-models-1.6.2.tar.gz
Algorithm Hash digest
SHA256 b54ca4ddc02af76124f12f4424b7d688e771105ec8e779fe133637d840b6e9ef
MD5 2cd922397897c093e7baa2bb6d668412
BLAKE2b-256 bbc41138077e509f46258bd614011a918b1741d0ec9ce23123a40fade037e44c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mythx_models-1.6.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 74.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for mythx_models-1.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c9ff15718b744c65bebcc823697429f388c15a3c1901c397fb1ed2cc502bfac5
MD5 82285536214d72a8c237701f3ca53ac6
BLAKE2b-256 c16f24badfb23c92e55852ecc1e95721ab3471b89a4c99acf2922c09307bbc21

See more details on using hashes here.

Supported by

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