# sendgrify
SendGrid for Humans.
**Sendgrify** is a Python package serving as a wrapper over the email delivery service [SendGrid](https://sendgrid.com/).
This is an attempt to simplify the use of [sendgrid-python](https://github.com/sendgrid/sendgrid-python): the Official Twilio SendGrid Led, Community Driven Python API Library.
> Sending emails, the easy way!
## Installation
```console
$ pip install sendgrify
```
## Usage
1. Grab your [SendGrid API Key](https://docs.sendgrid.com/ui/account-and-settings/api-keys).
2. Code!
```python
>>> from sendgrid import SendGrid
>>> handler = SendGrid('YOUR_SENDGRID_API_KEY', 'from_addr@example.com', 'From Name')
>>> handler.send(to='hello@example.com', subject='Hi there', msg='This is just a test')
```
### Advanced usage
Function `send()` also admits some more parameters:
- `cc`: as a list of emails for carbon copy.
- `bcc`: as a list of emails for blind carbon copy.
- `attachments`: as a list of paths for file attachments.
- `as_markdown`: as a boolean (if True msg will be rendered from Markdown).
## Tests
```console
$ pip install -r requirements-dev.txt
$ pytest
```
## License
MIT
Raw data
{
"_id": null,
"home_page": "https://github.com/sdelquin/sendgrify.git",
"name": "sendgrify",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Sergio Delgado Quintero",
"author_email": "sdelquin@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6c/f8/eddb1bbe97b38293a75a7bf40f5ec7c5d4b0f5533d7c7f195f289c36bd14/sendgrify-2.0.3.tar.gz",
"platform": null,
"description": "# sendgrify\n\nSendGrid for Humans.\n\n**Sendgrify** is a Python package serving as a wrapper over the email delivery service [SendGrid](https://sendgrid.com/).\n\nThis is an attempt to simplify the use of [sendgrid-python](https://github.com/sendgrid/sendgrid-python): the Official Twilio SendGrid Led, Community Driven Python API Library.\n\n> Sending emails, the easy way!\n\n## Installation\n\n```console\n$ pip install sendgrify\n```\n\n## Usage\n\n1. Grab your [SendGrid API Key](https://docs.sendgrid.com/ui/account-and-settings/api-keys).\n2. Code!\n\n```python\n>>> from sendgrid import SendGrid\n>>> handler = SendGrid('YOUR_SENDGRID_API_KEY', 'from_addr@example.com', 'From Name')\n>>> handler.send(to='hello@example.com', subject='Hi there', msg='This is just a test')\n```\n\n### Advanced usage\n\nFunction `send()` also admits some more parameters:\n\n- `cc`: as a list of emails for carbon copy.\n- `bcc`: as a list of emails for blind carbon copy.\n- `attachments`: as a list of paths for file attachments.\n- `as_markdown`: as a boolean (if True msg will be rendered from Markdown).\n\n## Tests\n\n```console\n$ pip install -r requirements-dev.txt\n$ pytest\n```\n\n## License\n\nMIT\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "SendGrid for Humans",
"version": "2.0.3",
"project_urls": {
"Homepage": "https://github.com/sdelquin/sendgrify.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "201aa60b16b180b3e0de8e322ebc0ccc5216ce208d97398930a99bf9273dcd0c",
"md5": "5fac3ed54f68aa3d36946b4cd3d011bb",
"sha256": "12b9ae17080c5d91cf412429ff3e6d2c14342f64efb7db9d5558e01418f1a745"
},
"downloads": -1,
"filename": "sendgrify-2.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5fac3ed54f68aa3d36946b4cd3d011bb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3675,
"upload_time": "2023-05-28T12:52:50",
"upload_time_iso_8601": "2023-05-28T12:52:50.375452Z",
"url": "https://files.pythonhosted.org/packages/20/1a/a60b16b180b3e0de8e322ebc0ccc5216ce208d97398930a99bf9273dcd0c/sendgrify-2.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6cf8eddb1bbe97b38293a75a7bf40f5ec7c5d4b0f5533d7c7f195f289c36bd14",
"md5": "551ae09719e47748993e6b0ae9eac88c",
"sha256": "559931d50d9d65bdf4d3c5d4a15a67bfffa29dcdefab24cd9a78ee71e5b9a47b"
},
"downloads": -1,
"filename": "sendgrify-2.0.3.tar.gz",
"has_sig": false,
"md5_digest": "551ae09719e47748993e6b0ae9eac88c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3972,
"upload_time": "2023-05-28T12:52:52",
"upload_time_iso_8601": "2023-05-28T12:52:52.170426Z",
"url": "https://files.pythonhosted.org/packages/6c/f8/eddb1bbe97b38293a75a7bf40f5ec7c5d4b0f5533d7c7f195f289c36bd14/sendgrify-2.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-28 12:52:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sdelquin",
"github_project": "sendgrify",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "sendgrify"
}