Add mailjet dependency, hide credentials

This commit is contained in:
Colin Goutte 2021-10-07 14:20:45 +02:00
parent c5b6b0a26a
commit 0be2ac469a
3 changed files with 23 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
__pycache__
.coverage
credentials.py

27
poetry.lock generated
View File

@ -74,7 +74,7 @@ uvloop = ["uvloop (>=0.15.2)"]
name = "certifi"
version = "2021.5.30"
description = "Python package for providing Mozilla's CA Bundle."
category = "dev"
category = "main"
optional = false
python-versions = "*"
@ -82,7 +82,7 @@ python-versions = "*"
name = "charset-normalizer"
version = "2.0.6"
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
category = "dev"
category = "main"
optional = false
python-versions = ">=3.5.0"
@ -195,7 +195,7 @@ test = ["Cython (==0.29.22)"]
name = "idna"
version = "3.2"
description = "Internationalized Domain Names in Applications (IDNA)"
category = "dev"
category = "main"
optional = false
python-versions = ">=3.5"
@ -213,6 +213,17 @@ MarkupSafe = ">=2.0"
[package.extras]
i18n = ["Babel (>=2.7)"]
[[package]]
name = "mailjet-rest"
version = "1.3.4"
description = "Mailjet V3 API wrapper"
category = "main"
optional = false
python-versions = "*"
[package.dependencies]
requests = ">=2.4.3"
[[package]]
name = "markupsafe"
version = "2.0.1"
@ -433,7 +444,7 @@ python-versions = "*"
name = "requests"
version = "2.26.0"
description = "Python HTTP for Humans."
category = "dev"
category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
@ -518,7 +529,7 @@ python-versions = "*"
name = "urllib3"
version = "1.26.6"
description = "HTTP library with thread-safe connection pooling, file post, and more."
category = "dev"
category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4"
@ -590,7 +601,7 @@ python-versions = ">=3.7"
[metadata]
lock-version = "1.1"
python-versions = "^3.9"
content-hash = "ec05e7cc8cbd5852060b8adf87951b541166397d72636c7f050e6ec7c7e86e86"
content-hash = "3ec44b61bba180c6ddba65f7112199812d58584ed5a7b9524d7ef37202e371b6"
[metadata.files]
asgiref = [
@ -776,6 +787,10 @@ jinja2 = [
{file = "Jinja2-3.0.1-py3-none-any.whl", hash = "sha256:1f06f2da51e7b56b8f238affdd6b4e2c61e39598a378cc49345bc1bd42a978a4"},
{file = "Jinja2-3.0.1.tar.gz", hash = "sha256:703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4"},
]
mailjet-rest = [
{file = "mailjet_rest-1.3.4-py3-none-any.whl", hash = "sha256:635d53ac3fd61020f309c24ee977ae3458654ab39f9c36fc4b50c74e5d8ad410"},
{file = "mailjet_rest-1.3.4.tar.gz", hash = "sha256:e02663fa0369543bcd48c37a146e8143bb12b9f3512af2d5ba6dfbcc99e64a2d"},
]
markupsafe = [
{file = "MarkupSafe-2.0.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53"},
{file = "MarkupSafe-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38"},

View File

@ -10,6 +10,7 @@ fastapi = "^0.68.1"
uvicorn = {extras = ["standard"], version = "^0.15.0"}
SQLAlchemy = "^1.4.25"
Jinja2 = "^3.0.1"
mailjet-rest = "^1.3.4"
[tool.poetry.dev-dependencies]
pytest = "^5.2"