
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
django-ga-mail
Advanced tools
A reusable Django app that sends google analytics report by email.
To get the latest stable release from PyPi
.. code-block:: bash
$ pip install django-ga-mail
To get the latest commit from GitHub
.. code-block:: bash
$ pip install -e git+git://github.com/nanvel/django-ga-mail.git#egg=ga_mail
Add ga_mail to your INSTALLED_APPS
.. code-block:: python
INSTALLED_APPS = (
...,
'ga_mail',
)
Specify next variables in settings:
.. code-block:: python
GA_PROFILE_ID = 12345678
GA_USERNAME = 'some.user@gmail.com'
# don't use your working account here,
# create another one for analytics and give it access to ga profile
GA_PASSWORD = 'somepass'
GA_SOURCE_APP_NAME = 'some.site',
ANALYTICS_BLOCKS = (
'new_visitors_30days_today',
'new_visitors_7days_today_vs_14days_7days',
'pageviews_7days_today')
Check that MANAGERS variable contains necessary emails.
Available blocks:
- returning_visitors_7days_today
- new_visitors_7days_today
- new_visitors_30days_today
- new_visitors_7days_today_vs_14days_7days
- new_visitors_7days_today_vs_returning_visitors_7days_today
- pageviews_7days_today
- countries_30days_today
Call python manage.py ga_mail to send analytics report.
If you want to contribute to this project, please perform the following steps
.. code-block:: bash
# Fork this repository
# Clone your fork
$ virtualenv .env --no-site-packages
$ source .env/bin/activate
$ python setup.py install
$ pip install -r test_requirements.txt
$ git co -b feature_branch master
# Implement your feature and tests
$ git add . && git commit
$ git push -u origin feature_branch
# Send us a pull request for your feature branch
FAQs
A reusable Django app that sends google analytics report by email.
We found that django-ga-mail demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.