semvec/pypi-packages huggingface dataset:
tempmail-python 2.3.3
Python library for generating and managing temporary email addresses.
License: MIT
Requires Python: >=3.7
Keywords: disposable-email temporary-email temp-email temp-mail email mail email-generator mail-generator

# Python Temp Email Library

[![Python 3.7+](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads)

**tempmail-python** is a Python library for generating and managing temporary email addresses using the 1secmail service. It provides functions for creating email addresses, checking for new messages, and retrieving message contents.

## Installation
You can install tempmail-python using pip:
```bash
pip install tempmail-python
```

Or you can install it from source:
```bash
pip install git+https://github.com/cubicbyte/tempmail-python.git
```

## Examples

Receive a message (e.g. activation code)
```python
from tempmail import EMail

email = EMail()
print(email.address)  # qwerty123@1secmail.com

# ... request some email ...

msg = email.wait_for_message()
print(msg.body)  # Hello World!\n
```

Get all messages in the inbox
```python
from tempmail import EMail

email = EMail('example@1secmail.com')
inbox = email.get_inbox()

for msg_info in inbox:
    print(msg_info.subject, msg_info.message.body)
```

Download an attachment
```python
from tempmail import EMail

email = EMail(username='example', domain='1secmail.com')
msg = email.wait_for_message()

if msg.attachments:
    attachment = msg.attachments[0]
    data = attachment.download()

    # Print
    print(data)  # b'Hello World!\n'
    print(data.decode('utf-8'))  # Hello World!\n

    # Save to file
    with open(attachment.filename, 'wb') as f:
        f.write(data)
```

Get reddit activation code
```python
from tempmail import EMail

def reddit_filter(msg):
    return (msg.from_addr == 'noreply@reddit.com' and
            msg.subject == 'Verify your Reddit email address')

email = EMail(address='redditaccount@1secmail.com')
msg = email.wait_for_message(filter=reddit_filter)
# get_activation_code(html=msg.html_body)
```

Some other features:
```python
from tempmail.providers import OneSecMail

email = OneSecMail()

# request_email(email=email.address)

# Speed up inbox refresh rate
OneSecMail.inbox_update_interval = 0.1  # every 100ms

# Accept only emails with a specific subject, raise error after 60 seconds
msg = email.wait_for_message(timeout=60, filter=lambda m: m.subject == 'Hello World!')
print(msg.body)
```

## License
tempmail-python is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
HHLtools 1.2.5
A tool for CAIE 9618 learner, and some math function
License: MIT
Keywords: HHLtools

HHLTools
--------------------------
2022/8/7:
    | 1.0.0 The FIRST version!
    | 1.0.1 fix bugs
    | 1.0.2 add fibonacci
    | 1.0.3 fix bugs

2022/9/17:
    | 1.0.4 add stack and queue

2022/9/28
    | 1.0.5 fix bugs

2022/10/2
    | 1.0.6 add Hmath

2022/10/28
    | 1.0.7 add prints,python 3.11 available

2022/11/4
    | 1.0.8 Chinese extension
    | 1.0.8.1 fix bugs

2023/4/21
    | 1.1.0 add linked list, and some useful modifications to previous function

2023/4/22
    | 1.2.0 fix bugs, modify the error display, add Vector (only 2 or 3 dimensions)
    | 1.2.1 fix bugs, remove fibonacci

2023/12/20
    | 1.2.2 fix bugs
    | 1.2.3 fix bugs
    | 1.2.4 fix bugs