semvec/pypi-packages huggingface dataset:
yopmail 1.9
A Python module to get mails from a Yopmail inbox, save them
License: MIT
Requires Python: >=3.10
Keywords: yopmail get mails retrieve scrap emails

###### ⚠️ Disclaimer: Reverse engineering process is shown for research purposes only.

# 👏 Get mails from Yopmail inbox
Get mails from a Yopmail inbox, save them as ``.html``


## 📖 Usage:
Install the latest version from PyPI by using [pip](https://pip.pypa.io/):
```
pip install yopmail
```

Import ``Yopmail`` class from ``yopmail`` module
```python
from yopmail import Yopmail
```

Instantiate ``Yopmail`` class with username as parameter (with ``@`` or not) and provide proxies if needed
```python
y = Yopmail('test', proxies=None)
```

Using ``get_mail_ids()`` method you get mail ids. You can provide (optional) ``page`` parameter otherwise page 1 is used as default. You can as well provide ``proxy`` parameter which would override instantiated class proxies.
```python
mails_ids = y.get_mail_ids(page=3)
```

Iterate over mail ids to get mail body using:
```python
for mail_id in mails_ids:
    mail = y.get_mail_body(mail_id, show_image=True)
    mail.save()
```
Again you can provide ``proxy`` parameter which would override instantiated class proxies.
``show_image`` is used to load mail images (equivalent to "load remote content" in most mail clients)
You can use ``save()`` method to save mail as ``.html``.


Feel free to contribute 🤝


## 📝 TODO:
- [ ] Add CSS to saved html mail

###### Feel free to contact me wherever you find me
pystream_collections 0.1.4
A helper library to manage collections more easily
License: MIT
Requires Python: >=3.12,<4.0

# PyStream - A library for managing collections more conveniently

Inspired by other language's features (e.g. Java's streaming API, or JavaScript functional traits on arrays),
this library helps you interact with collections or iterable objects, by easily chaining operations,
and collecting the results at the end (thus, having lazy-evaluation).

Some basic examples:

```python
from pystream.stream import Stream

Stream(2, 3, 5, 7, 11).skip(2).collect()  # [5, 7, 11]
Stream([1, 2, 3]).map(lambda x: x + 1).filter(lambda x: x > 2).collect()  # [3, 4]
```
medpro 1.0.14
Medcoupling based post processing tools
License: MIT
Keywords: medpro,medcoupling

MEDPro (MED post PROcessing)
============================

[![image](https://codecov.io/gh/ldallolio/medpro/branch/main/graph/badge.svg)](https://codecov.io/gh/ldallolio/medpro)

Medcoupling based post processing tools

This project has been created to simplify the manipulation of
[MED](https://docs.salome-platform.org/latest/dev/MEDCoupling/developer/med-file.html)
files.

Code examples:

    import medpro

    # Read a med file, extract mesh, field, group information
    fp = medpro.MEDFilePost("./tests/examples/box_with_depl.rmed")
    mesh = fp.meshes_by_name["mesh"]
    g1 = mesh.get_group_by_name("G1")
    depl_evol = fp.fieldevols_by_name["reslin__DEPL"]

    # Extract a subpart of a field based on a group 
    depl_g1 = depl_evol.extract_group("G1")

    # Create a new MED file, write it back
    fpnew = medpro.MEDFilePost()
    fpnew.add_fieldevol(depl_g1)
    fpnew.write("/tmp/output.rmed")