semvec/pypi-packages huggingface dataset:
pytest-pumpkin-spice 0.1.0
A pytest plugin that makes your test reporting pumpkin-spiced
License: MIT
Requires Python: >=3.6
Keywords: pytest,pumpkin spice,autumn

# pytest-pumpkin-spice

Fall in the Canada and the US comes once a year, and you know what that means: Autumn colours, cooler temperatures and, of course, pumpkin spice.

Here's is a small pytest plugin to give your tests some pumpkin spice ☕.

This project was heavily inspired by [pytest-yuk](https://github.com/okken/pytest-yuk) and [pytest-emoji](https://pypi.org/project/pytest-emoji/), developed by [Brian Okken](https://github.com/okken) and [Raphael Pierzina](https://github.com/hackebrot), respectively.

## Installation

**pytest-pumpkin-spice** is available for Python 3. 🐍

You can install **pytest-pumpkin-spice** via [pip][pip] from [PyPI][PyPI]:

```text
$ pip install pytest-pumpkin-spice
```

This will automatically install **pytest** of version 4.2.1 or higher.

[pip]: https://pypi.python.org/pypi/pip/
[PyPI]: https://pypi.org/project/pytest-emoji/

## Features

This plugin adds a ``--pumpkin-spice`` CLI flag to pytest, which replaces the standard test result outputs with a warm blend of pumpkin-spiced emoji, both for *normal* and *verbose* mode.

- ``🎃 / PASSED 🎃`` for a passing test with a happy smile,
- ``❄️ / FAILED ❄️`` for a failed test with wintery reminder,
- ``🍂 / XFAIL 🍂`` for a xfailed test with some fallen leaves,
- ``🍠 / XPASS 🍠`` for a xpass with a sweet potato (almost pumpkin!),
- ``☕ / SKIPPED ☕`` for a skipped test with a pumpkin spiced hot bevarage, and
- ``🥧 / ERROR 🥧`` for an error with a nice big pumpkin pie.

Normal mode with just a sprinkle of pumpkin spice blend:

```text
$ pytest --pumpkin-spice
```

```text
tests/test_emoji.py 🎃❄️🍂🍠☕🥧
```

Verbose mode with some extra warmth and spice:

```text
$ pytest --verbose --pumpkin-spice
```

```text
test_passed PASSED 🎃 ",
test_failed FAILED ❄️ ",
test_xfailed XFAIL 🍂 ",
test_xpassed XPASS 🍠 ",
test_skipped SKIPPED ☕ ",
test_error ERROR 🥧 *",
```

## License

Distributed under the terms of the [MIT][mit] license, **pytest-pumpkin-spice** is
free and open source software

[mit]: http://opensource.org/licenses/MIT
touchs-simple-calculator 22.9.18
A simple calculator library made with the tutorial from Joshua Lowe.
License: MIT
Keywords: calculator

A simple calculator library with four functions. `addition(num1, num2)`, `subtraction(num1, num2)`, `multiplication(num1, num2)`, and `division(num1, num2)`.

Changelog:

22.9.17
-------------
- Probably the only update, added some simple operations.

22.9.18
-------------
- Just changed the setup.py info.
python-mail-sender 0.1.4
Mail Sender Module that helps you send your emails perfectly.
License: MIT
Requires Python: >=3.6

# Mail Sender Module
<!-- TABLE OF CONTENTS -->
<details>
  <summary>Table of Contents</summary>
  <ol>
    <li><a href="#about-the-module">About The Module</a></li>
    <li><a href="#getting-started">Getting Started</a></li>
  </ol>
</details>

<!-- ABOUT THE MODULE -->
## About The Module

Mail Sender Module is a python module that helps you send your emails perfectly.

it also supports send mails with attachments.

<p align="right">(<a href="#top">back to top</a>)</p>

<!-- GETTING STARTED -->
## Getting Started

### How To Install

* using python pip
  ```sh
  pip install python-mail-sender
  ```
### How To Use

Just do the following steps:
* define `SENDER_ADDR` & `SENDER_PASS` & `SMTP_PORT` & `SMTP_SERVER` env variables
  * Using python:
    ```python
    import os
    os.environ["SENDER_ADDR"] = "sender_address"
    os.environ["SENDER_PASS"] = "sender_pass"
    os.environ["SMTP_PORT"]   = "smtp_port"
    os.environ["SMTP_SERVER"] = "smtp_server"
    ```
  * Or using the os terminal.
  * Or using the venv activate file:
    * depending on the os open the corresponding activate file
    * on windows `activate.bat`
      ```bat
      set SENDER_ADDR=sender_address
      set SENDER_PASS=sender_pass
      set SMTP_PORT=smtp_port
      set SMTP_SERVER=smtp_server
      ```
    * on non-windows  `activate.sh`
      ```sh
      export SENDER_ADDR=sender_address
      export SENDER_PASS=sender_pass
      export SMTP_PORT=smtp_port
      export SMTP_SERVER=smtp_server
      ```
* initialize an instance from the `MailSender` class
    ```python
    from mail_sender import MailSender
    mail_sender = MailSender()
    ```
* call the `send_mail` method and provide the mail attributes:
    Receiver Address | Subject | Email Content | attached files (`optional`)
    :------------ | :-------------| :-------------| :-------------|
    noreply@gmail.com | any subject |  content message | attached file list |
    ```python
    mail_sender.send_mail(
        receiver_address = "test@gmail.com", subject = "email subject",
        content = "message content", attach_files = (("filename.ext", file),)
    )
    ```

<p align="right">(<a href="#top">back to top</a>)</p>