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.7.2.tar.gz (68.8 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.7.2-py2.py3-none-any.whl (80.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: mythx-models-1.7.2.tar.gz
  • Upload date:
  • Size: 68.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.7

File hashes

Hashes for mythx-models-1.7.2.tar.gz
Algorithm Hash digest
SHA256 1542c7c0192467598b07ec8c64d4f66e1df55ba2d980445d6987c6d5771e0200
MD5 ccb701c856380b65b6376152b6adf893
BLAKE2b-256 aef1931079d42e6558f593f1357a0bc5e58bb349dc40e2f04ccdaa608b714400

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mythx_models-1.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 836a09356ee84b85e497ec5a23d920794dd55fb326c76941d107ea6b0f751355
MD5 5d9af3beaae1b174efd7f70b3903adb0
BLAKE2b-256 a947bd95454d815e600a9e59a2e924d6b0528258538f1086126ce26f61751e98

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