Skip to main content

A Django app for auditing a django project

Project description

Djangaudit

Djangaudit is a tool to help you audit your Django project. It will help you to find common security issues in your project.

Installation

pip install djangaudit

Then, add it to your installed apps:

INSTALLED_APPS = [
    ...
    'djangaudit',
    ...
]

Usage

python manage.py audit_project

What does it check?

  1. Checking for large Python files (based on the AUDIT_MAX_LINES_PER_FILE setting): This is to help you identify files that are too large and may be difficult to maintain.
  2. Checking for init.py files with code: This is to help you identify if you take advantage of the init.py files to execute code.
  3. Checking the line length of Python files. The checker indicates the number of lines by groups (less than 80 characters wide, between 80 and 100, between 100 and 120, more than 120).
  4. Check the versions of the libraries used in the project. The checker indicates if there are newer versions of the libraries used in the project.

Contribute

This package is a very humble django application that I created to help me audit my projects. If you have any suggestions, please feel free to open an issue or a pull request.

License

MIT

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

djangaudit-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

djangaudit-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file djangaudit-0.1.1.tar.gz.

File metadata

  • Download URL: djangaudit-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for djangaudit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3fede4340d2adecf2a5a541f430453b328f907b5a41f09a7376364a233fb26be
MD5 ba8a36d7c369daf87cef9cf2660fd1d2
BLAKE2b-256 b0550884cc10bb67eb3edb15a616d9ff31fac7b8362267d60fad8f874dcdc837

See more details on using hashes here.

File details

Details for the file djangaudit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: djangaudit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for djangaudit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d592575edf70a014f4b391f0eca601db1aaddc04b72364803433fe869ec4ffe1
MD5 a6cbbcbc939351224779cb5cc677a48f
BLAKE2b-256 5ed7a0fa6820d066efcf6889c5c61c8569aca6d872ef0daec37a664e45b0fe6e

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