semvec/pypi-packages huggingface dataset:
mru-auto 0.1.2
Automatized driver for mail.ru
License: MIT

# mru-automated



mru-automated is a Python library designed to automatize work with email. It is easy to use and understand as it is a simulation of interaction of a regular user with the email.



## Installation



Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.



```bash

pip install mru-automated

```



## Usage



```python

import Driver as DP



# Setting of proxy

UserProfile._proxy = '255.255.255.0:1337'



# Login of user/loading cookies and preferences

user = DP.manager.UserProfile('example-mail@mail.ru', 'examplepassword') 

user.log_in(stay=True)

ui = DP.manager.UserInbox(user)



# Search of mail and delete

ui.move_to('Входящие')

results = ui.search('с нового устройства')

act = DP.manager.Actions(results[-1], ui)

act.remove()



ui.move_to('Корзина')

results = ui.search('с нового устройства')

# your mail now here



# close your driver

user._driver.quit()

```



## Contributing



Test scenarios are provided. Make all tests before contributing with success.



## License



[MIT](https://choosealicense.com/licenses/mit/)
mru-automated 0.1.1
Automatized driver for mail.ru
License: MIT

# mru-automated

mru-automated is a Python library designed to automatize work with email. It is easy to use and understand as it is a simulation of interaction of a regular user with the email.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install mru-automated
```

## Usage

```python
import Driver as DP

# Setting of proxy
UserProfile._proxy = '255.255.255.0:1337'

# Login of user/loading cookies and preferences
user = DP.manager.UserProfile('example-mail@mail.ru', 'examplepassword') 
user.log_in(stay=True)
ui = DP.manager.UserInbox(user)

# Search of mail and delete
ui.move_to('Входящие')
results = ui.search('с нового устройства')
act = DP.manager.Actions(results[-1], ui)
act.remove()

ui.move_to('Корзина')
results = ui.search('с нового устройства')
# your mail now here

# close your driver
user._driver.quit()
```

## Contributing

Test scenarios are provided. Make all tests before contributing with success.

## License

[MIT](https://choosealicense.com/licenses/mit/)