Giter Club home page Giter Club logo

django-dmarc's People

Contributors

alan-hicks avatar jensenbox avatar nycnewman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

django-dmarc's Issues

Miscellaneous improvements

Hi @alan-hicks and thanks for publishing django-dmarc as an open-source project :)

I was looking for a web-based tool to automate DMARC report processing, and thought that django-dmarc would be a nice base for a self-hosted alternative to dmarcian (and similar tools).

To this effect, I've forked the repository and started a sandbox branch at https://github.com/virtualtam/django-dmarc/tree/vt/master , that currently features the following additions and changes:

  • add the Tox virtualenv management tool to automate managing test environments
  • add Python linters: isort, Pycodestyle (formerly pep8), Pylint
  • add Python 3.x-compatibility
  • add a demo Django project for quick testing/demoing
  • update packaging / setuptools settings
  • fix (most) lint errors

Notes:

  • the commits have been kept atomic to ease reviewing
  • the documentation would need to be updated to reflect the latest changes
  • I plan on adding / improving the following features / integrations before using this project in a production environment:
    • Travis CI integration
    • Docker image
    • broader test coverage
    • more idiomatic Django-ORM queries

Would you be interested in integrating these changes into your repository? I'd be happy to rework my modifications so the commits can be upstreamed :)

Regards,

VirtualTam

url() removed in django 4

I am totally unexperienced with django, but i decided to try your project, as it seems as interested. But initial testing fails with:

...
  File "tmp/reports/reports/urls.py", line 19, in <module>
    from dmarc import urls as dmarc_urls
  File ".venv/dmarc/lib/python3.9/site-packages/dmarc/urls.py", line 10, in <module>
    from django.conf.urls import url
ImportError: cannot import name 'url' from 'django.conf.urls'
    (.venv/dmarc/lib/python3.9/site-packages/django/conf/urls/__init__.py)

Quick search points me to https://stackoverflow.com/a/70319607 where is noted, that url() was deprecated in 3.X and removed in 4.

Your setup.py doesn't limits django to any version in its requires field.

Report visualization

Hello and thanks for open-sourcing this, it's much appreciated.

I was looking for a way to receive my DMARC reports directly on the Django site, and this helps a ton.

If you ever find the time, a feature that would be really nice is the ability to visualize aggregated data, in a way similar to what this does: https://dmarcly.com/features

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.