Skip to main content

Install reports plugin for NEMO

Project description

NEMO Reports

This plugin for NEMO adds a variety of reports.

Installation

pip install NEMO-reports

Add NEMO Reports

in settings.py add to INSTALLED_APPS:

INSTALLED_APPS = [
    '...',
    'NEMO_reports', # This needs to be before NEMO_billing (if installed) and NEMO
    '...'
    'NEMO_billing', # Optional
    '...'
    'NEMO',
    '...'
]

Usage

Simply navigate to the Reports page in the Administration menu.

Options

The format for duration can be changed, by updating the default value TIMEDELTA_FORMAT in settings.py:

Fields can include seconds, minutes, hours, days, and weeks. Each field is optional.

Some examples:
    '{D:02}d {H:02}h {M:02}m {S:02}s' --> '05d 08h 04m 02s' (default)
    '{W}w {D}d {H}:{M:02}:{S:02}'     --> '4w 5d 8:04:02'
    '{D:2}d {H:2}:{M:02}:{S:02}'      --> ' 5d  8:04:02'
    '{H}h {S}s'                       --> '72h 800s'
# Default timedelta format
TIMEDELTA_FORMAT = "{D}d {H}h {M}m {S}s"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

NEMO_reports-1.3.1-py3-none-any.whl (42.1 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