https://github.com/raratiru/django-quenv
Helps the process of license housekeeping in a Django project, the spdx way.
https://github.com/raratiru/django-quenv
django django-admin python python-environment
Last synced: about 1 year ago
JSON representation
Helps the process of license housekeeping in a Django project, the spdx way.
- Host: GitHub
- URL: https://github.com/raratiru/django-quenv
- Owner: raratiru
- License: bsd-3-clause
- Created: 2019-05-06T18:27:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T12:16:09.000Z (over 4 years ago)
- Last Synced: 2025-03-27T10:06:44.611Z (about 1 year ago)
- Topics: django, django-admin, python, python-environment
- Language: Python
- Homepage:
- Size: 56.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://lgtm.com/projects/g/raratiru/django-quenv/context:python)
[](https://www.codacy.com/app/raratiru/django-quenv?utm_source=github.com&utm_medium=referral&utm_content=raratiru/django-quenv&utm_campaign=Badge_Grade)
**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](https://lgtm.com/) 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.