معرفی شرکت ها


fastapi-mailman-0.0.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Porting Django's email implementation to your FastAPI applications.
ویژگی مقدار
سیستم عامل -
نام فایل fastapi-mailman-0.0.4
نام fastapi-mailman
نسخه کتابخانه 0.0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Aniket Sarkar
ایمیل نویسنده aniketsarkar@yahoo.com
آدرس صفحه اصلی https://github.com/marktennyson/fastapi-mailman
آدرس اینترنتی https://pypi.org/project/fastapi-mailman/
مجوز MIT
# 📬 Fastapi-Mailman <img src="https://raw.githubusercontent.com/marktennyson/fastapi-mailman/master/logos/fastapi_mailman_logo.png"></img> ### 🔥 Porting Django's email implementation to your FastAPI applications. ![PyPI](https://img.shields.io/pypi/v/fastapi-mailman?color=blue) ![PyPI - Downloads](https://img.shields.io/pypi/dm/fastapi-mailman?color=brightgreen) [![dev workflow](https://github.com/marktennyson/fastapi-mailman/actions/workflows/dev.yml/badge.svg?branch=master)](https://github.com/marktennyson/fastapi-mailman/actions/workflows/dev.yml) ![GitHub commits since latest release (by SemVer)](https://img.shields.io/github/commits-since/marktennyson/fastapi-mailman/latest?color=cyan) ![PyPI - License](https://img.shields.io/pypi/l/fastapi-mailman?color=blue) Fastapi-Mailman is a Fastapi extension providing simple email sending capabilities. It's actually a hard fork of `waynerv's` `flask-mailman` module. I have tried to implement the same features for the `Fastapi` too. It was meant to replace the basic Fastapi-Mail with a better warranty and more features. ## ⛲ Key Features: 1. Easy to use. 2. Backend based email sender. 3. Customisable backend class. 4. Proper testcases. 5. Proper documentation. ## 🔗 Important Links: [Github Repo](https://github.com/marktennyson/fastapi-mailman) [PYPI](https://pypi.org/project/fastapi-mailman) [Documentation](https://marktennyson.github.io/fastapi-mailman) ## 💯 Usage Fastapi-Mailman ported Django's email implementation to your Fastapi applications, which may be the best mail sending implementation that's available for python. The way of using this extension is almost the same as Django. Documentation: [https://marktennyson.github.io/fastapi-mailman.](https://marktennyson.github.io/fastapi-mailman) ## 🪜 Basic Example ```python from fastapi import FastAPI import uvicorn as uv from fastapi_mailman import Mail, EmailMessage from fastapi_mailman.config import ConnectionConfig app = FastAPI(debug=True) config = config = ConnectionConfig( MAIL_USERNAME = 'example@domain.com', MAIL_PASSWORD = "7655tgrf443%$", MAIL_BACKEND = 'smtp', MAIL_SERVER = 'smtp.gmail.com', MAIL_PORT = 587, MAIL_USE_TLS = True, MAIL_USE_SSL = False, MAIL_DEFAULT_SENDER = 'example@domain.com', ) mail = Mail(config) @app.get("/send-base") async def send_base(): msg = EmailMessage('this is subject', 'this is message', to=['aniketsarkar@yahoo.com']) await msg.send() return {"Hello": "World"} @app.get("/send-mail") async def check_send_mail(): await mail.send_mail("this is subject", "this is message", None, ["aniketsarkar@yahoo.com"]) return {"Hello": "World"} if __name__ == "__main__": uv.run(app, port=8082, debug=True) ``` ## 🚇 Development #### 🧑‍💻 Contribution procedure. 1. Create a new issue on github. 2. Fork and clone this repository. 3. Make some changes as required. 4. Write unit test to showcase its functionality. 5. Submit a pull request under the `master` branch. #### 🖨️ Run this project on your local machine. To run this project on your local machine please [click here](https://marktennyson.github.io/fastapi-mailman/contributing) ### ❤️ Contributors Credits goes to these peoples: <a href="https://github.com/marktennyson/fastapi-mailman/graphs/contributors"> <img src="https://contrib.rocks/image?repo=marktennyson/fastapi-mailman" /> </a> ## 📝 License [MIT](https://github.com/marktennyson/fastapi-mailman/blob/master/LICENSE) Copyright (c) 2021 Aniket Sarkar(aniketsarkar@yahoo.com)


نیازمندی

مقدار نام
>=0,<1 fastapi
>=3,<4 Jinja2
>=1.1.6,<2.0.0 aiosmtplib
>=1,<2 pydantic
>=1,<2 email-validator
>=2,<3 dnspython
>=21.5b2,<22.0) black
>=5.8.0,<6.0.0) isort
>=3.9.2,<4.0.0) flake8
>=6.2.4,<7.0.0) pytest
>=2.12.0,<3.0.0) pytest-cov
>=3.20.1,<4.0.0) tox
>=20.2.2,<21.0.0) virtualenv
>=21.1,<22.0) pip
>=1.1.2,<2.0.0) mkdocs
>=1.0.0,<2.0.0) mkdocs-include-markdown-plugin
>=6.1.7,<7.0.0) mkdocs-material
>=0.15.2,<0.16.0) mkdocstrings
>=1.0.1,<2.0.0) mkdocs-material-extensions
>=3.3.0,<4.0.0) twine
>=0.2.1,<0.3.0) mkdocs-autorefs
>=2.12.0,<3.0.0) pre-commit
>=0.10.2,<0.11.0) toml
>=1.0.1,<2.0.0) bump2version
>=3.3.2,<4.0.0) anyio
>=0.19.0,<0.20.0) trio


زبان مورد نیاز

مقدار نام
>=3.6.2,<4.0.0 Python


نحوه نصب


نصب پکیج whl fastapi-mailman-0.0.4:

    pip install fastapi-mailman-0.0.4.whl


نصب پکیج tar.gz fastapi-mailman-0.0.4:

    pip install fastapi-mailman-0.0.4.tar.gz