Giter VIP home page Giter VIP logo

sendgrid_client's Introduction

This is for testing purposes

sendgrid_client's People

Contributors

kgasiorowski avatar

Watchers

Honey Berk avatar Johnny avatar  avatar

sendgrid_client's Issues

add `README`

@kgasiorowski you can add a readme for this with some code examples to remind us how to use this lib in an app... You can push a commit right on development for this one

Emailing Backend Implementation

We need to write some code which will allow us to send emails.

The django.core.mail is a very good starting point in where to look for how to implement this. They include multiple backends, including: a dummy one, one that prints to the console, one that writes to files, and one which actually sends emails. Plenty of useful code there to work with. The dummy one is probably most important, since we need a way to test this stuff without reaching our sendgrid API limits.

We'll be using sendgrid to actually send the emails. It seems like sendgrid has a built-in way of handling connections and post requests and such, so hopefully that will work to simplify the code we're working with from django. We will need API keys for that, which is probably a @bsnacks000 thing

We should also bring in jinja2 and create a local email template to keep things nice and clean.

boiler

@kgasiorowski For boiler:

  • python package config with poetry
  • for deps lets just try to keep it sendgrid for now
  • the usual dev deps (pytest, pytest-cov, mypy, black) to start
  • tests/ package with a single smoke test
  • setversion.py with initial version commit
  • CI to run the tests with pytest

Name change

@kgasiorowski sendgrid_client is probably more suitable for this repo it just occurred to me... So lets just the package name etc.

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.