Django Mode Analytics Whitelabel
Project description
Django Mode Analytics
This project was only tested on PostgreSQL
How it works
Installation
- Requirements
- Django and pyscopg2
pip install modeanalytics
Configuration
You must set the follow vars in your django settings
MODE_ORG: str = ""
MODE_ACCESS_KEY: str = ""
MODE_ACCESS_SECRET: str = ""
To generate these signature tokens, please look at Mode Support
Add modeanalytics in your INSTALLED_APPS tuple
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"modeanalytics",
]
Package build
Bumping version, options are major, minor and patch
.
bumpversion patch setup.py modeanalytics/__init__.py
Preparing the package
python setup.py sdist bdist_wheel
Checking if the package is good enough to PyPi
twine check dist/*
Uploading the package to PyPi
twine upload dist/*
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
modeanalytics-0.1.3.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file modeanalytics-0.1.3.tar.gz
.
File metadata
- Download URL: modeanalytics-0.1.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99bbda400b959ba8279fa7ab3228aba6c28552b932215e2530058db5f9508dbf |
|
MD5 | c3624b2fbe85849e698a97bdcf6b7c6a |
|
BLAKE2b-256 | ac8d3175f5b63633335999f63d4e66ab7db477a2ae6512ed874dc9c03f1e61fc |
File details
Details for the file modeanalytics-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: modeanalytics-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7df887c71836d0219ba558d7f8d83fb506b876e95f484e961030de1e9c6a4f |
|
MD5 | 324d09bc43685c10cd624256752e8d5b |
|
BLAKE2b-256 | 4277e6ce8918176237e7f8468610f5345beddeabcdf4b6c26b4d29b9fb457f7c |