semvec/pypi-packages huggingface dataset:
dmdm 3.1.0
Django MarkDown Mails
Requires Python: >=3.10

#  Django MarkDown Mail

[![PyPI version](https://badge.fury.io/py/dmdm.svg)](https://pypi.org/project/dmdm)
[![Tests](https://github.com/nim65s/dmdm/actions/workflows/test.yml/badge.svg)](https://github.com/nim65s/dmdm/actions/workflows/test.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/nim65s/dmdm/main.svg)](https://results.pre-commit.ci/latest/github/nim65s/dmdm/main)
[![codecov](https://codecov.io/gh/nim65s/dmdm/branch/main/graph/badge.svg?token=CUHNXAVJPO)](https://codecov.io/gh/nim65s/dmdm)
[![Maintainability](https://api.codeclimate.com/v1/badges/6737a84239590ddc0d1e/maintainability)](https://codeclimate.com/github/nim65s/dmdm/maintainability)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Write your email in markdown, and send them in txt & html.

## Requirements

- Python 3.10+
- Django 2.0+
- [nmdmail](https://github.com/nim65s/nmdmail)

## Install

`python -m pip install dmdm`

## Usage

This replaces django's `django.core.email.send_mail`, but the mail will have an html alternative rendered from the text
part with markdown. You can also provide a custom `css` and even images (that will be inlined) located in `image_root`.


```python
from dmdm import send_mail

def send_mail(
    subject: str,
    message: str,
    from_email: str,
    recipient_list: List[str],
    context: Optional[Dict] = None,
    request: Optional[HttpRequest] = None,
    fail_silently: bool = False,
    css: Optional[str] = None,
    image_root: str = ".",
    auth_user: Optional[str] = None,
    auth_password: Optional[str] = None,
    connection: Optional[BaseEmailBackend] = None,
    reply_to: Optional[List[str]] = None,
) -> int
```

If you want to write your markdown in a template, just put the name of the template in `message` and add a `context`
(which can be `{}`) and eventually a `request`:

```python
send_mail(
    subject,
    "test_email_template.md",
    from_email,
    recipient_list,
    {"template_variable": "value"},
)
```
rivian-python-client 2.0.0
Rivian API Client (Unofficial)
Requires Python: >=3.10

# Python: Rivian API Client

Currently a Work In Progress

## Dependencies

[Poetry](https://python-poetry.org/docs/)

```
curl -sSL https://install.python-poetry.org | python3 -
```

## Setup

Install project dependencies into the poetry virtual environment and run pre-commit

```
poetry install --all-extras
pre-commit install
```

## Run Tests

```
poetry run pytest
```
magpylib-material-response 0.3.1
Python package extending the Magpylib library by providing magnetic field analysis for soft materials and demagnetization of hard magnets.
Requires Python: >=3.11

# magpylib-material-response

[![Actions Status][actions-badge]][actions-link]
[![Documentation Status][rtd-badge]][rtd-link]

[![PyPI version][pypi-version]][pypi-link]
[![Conda-Forge][conda-badge]][conda-link]
[![PyPI platforms][pypi-platforms]][pypi-link]

[![GitHub Discussion][github-discussions-badge]][github-discussions-link]

<!-- SPHINX-START -->

<!-- prettier-ignore-start -->
[actions-badge]:            https://github.com/magpylib/magpylib-material-response/workflows/CI/badge.svg
[actions-link]:             https://github.com/magpylib/magpylib-material-response/actions
[conda-badge]:              https://img.shields.io/conda/vn/conda-forge/magpylib-material-response
[conda-link]:               https://github.com/conda-forge/magpylib-material-response-feedstock
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
[github-discussions-link]:  https://github.com/magpylib/magpylib-material-response/discussions
[pypi-link]:                https://pypi.org/project/magpylib-material-response/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/magpylib-material-response
[pypi-version]:             https://img.shields.io/pypi/v/magpylib-material-response
[rtd-badge]:                https://readthedocs.org/projects/magpylib-material-response/badge/?version=latest
[rtd-link]:                 https://magpylib-material-response.readthedocs.io/en/latest/?badge=latest

<!-- prettier-ignore-end -->

> **Warning** > **This package is experimental and in development phase,
> breaking API changes may happen at any time.**

Magpylib-Material-Response is an extension to the Magpylib library, providing
magnetic field analysis for soft materials and demagnetization of hard magnets.
Leveraging the Method of Moments, it calculates magnetic material response by
meshing sources in an arbitrary number of unit elements.