Skip to main content

Nanolog

Nanolog is a simple Django app to store simple logs, basically for statistical purposes.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “nanolog” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'nanolog',
    )
  2. Run python manage.py migrate to create the nanolog models.

Usage

Import nanolog and log everything like this:

from nanolog.utils import nanolog
nanolog('access', 'webinar_detail', 'Webinar Title', request=request)
nanolog('changed_password', 'from:x|to:y', 'as we sugested', self.user, '127.0.0.1', log_object)
nanolog('changed_password', 'from:x|to:y')

Test

Just run:

./manage.py test nanolog

Metadata

Release files for django-nanolog 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-nanolog 0.5
File Size Uploaded Provenance Actions
django-nanolog-0.5.tar.gz 4.6 kB Without provenance Details for django-nanolog-0.5.tar.gz

Release files / django-nanolog-0.5.tar.gz

Download URL django-nanolog-0.5.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0cee0dbc9b3920d5cc08b0d9dc74cf0b3e64b87208323e3710c865649945d8e0
BLAKE2b-256 checksum
How to use checksums
b929b782c644c8c11ec823f34246d08c9a0f90521dadbfd2ec3be527695d1c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-nanolog 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page