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/*
Release files for modeanalytics 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| modeanalytics-0.1.3.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| modeanalytics-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / modeanalytics-0.1.3.tar.gz
| Download URL | modeanalytics-0.1.3.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99bbda400b959ba8279fa7ab3228aba6c28552b932215e2530058db5f9508dbf
|
|
BLAKE2b-256 checksum How to use checksums |
ac8d3175f5b63633335999f63d4e66ab7db477a2ae6512ed874dc9c03f1e61fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / modeanalytics-0.1.3-py3-none-any.whl
| Download URL | modeanalytics-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f7df887c71836d0219ba558d7f8d83fb506b876e95f484e961030de1e9c6a4f
|
|
BLAKE2b-256 checksum How to use checksums |
4277e6ce8918176237e7f8468610f5345beddeabcdf4b6c26b4d29b9fb457f7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|