Skip to main content

A django application that gathers the names of all installed packages in a virtualenv, their licenses along with related quality metrics, in django-admin.

Project description

Language grade: Python Codacy Badge

In Alpha phase, no tests exist and changes are possible to occur.

Django Quality Environment Report

This app uses setuptools to gather the names of all packages in a virtualenv.

From the metadata of each package, it collects all available information about its license(s).

It uses the lgtm api to query the quality metrics of github based packages.

All data are saved first to a json file and then loaded to the database. Only one fixture per day can be created.

Finally, it creates a report of any change occurred to a package, namely: If it was added, removed or its license has changed.

Installation

pip install django-quenv
INSTALLED_APPS = [
    ...,
    'quenv',
]
./manage.py migrate
./manage.py quenv

Configuration

In settings,py the following configuration can take place:

QUENV_PATH: The path where the fixtures are saved. Default: .

QUENV_UPDATE_DB: Default True, if False it only creates the fixtures.

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

django-quenv-0.1.6.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

django_quenv-0.1.6-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

Supported by

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