Packaging Instructions for Python

Compilation Guide

These are specific guidelines for the successful scan of a Python application.

See the master compilation guidelines for instructions for other platforms.

Required Files

The Veracode Platform requires all source files for the application, including HTML template files (Flask/Django).

Veracode can also analyze Jython applications that are submitted as source.

Supported Python Versions

Language Supported Versions
Python 2.x, 3.x

Supported Python Frameworks and Libraries

Framework/Library Supported Version
Boto3 1.4
Cryptography 0.6-1.x
Django 1.x
Flask 0.x
httplib2 0.9.2 and earlier
Requests 2.x
SQLAlchemy .9.x-1.0.x

Compilation and Packaging Guidance

Upload a compressed ZIP archive containing all Python and HTML code, maintaining the project structure, to the Veracode Platform. Do not include third-party packages. Do not upload individual Python source files.

The Veracode Platform only scans files with the following extensions:
  • .py
  • .html
  • .htm