semvec/pypi-packages huggingface dataset:
django-mega-drive 1.6
mega drive storage for django implemented with mega.py package
License: MIT
Keywords: django python django_mega_drive

settins.py
``` 
MEGA_ACCOUNTS = {
    'default': {
        'email': 'mega drive account email here',
        'password': "mega drive account password"
    },

    # define another account  with anothers alias
}
```

models.py
```
from mega_drive.storage import MegaDriveStorage
from django.db import model

drive_storage = MegaDriveStorage(account_alias='default')
second_drive_storage = MegaDriveStorage(
    account_alias="another_mega_drive_alias")

class Profile(models.Model):
    image = models.ImageField(
        upload_to='upload_destination', storage=drive_storage)
    image = models.FileField(
        upload_to='upload_destination', storage=second_drive_storage)
    ...

```
LogManagement 0.0.3
Output of OS commands to str or list
License: MIT
Keywords: Python,Console,Log,Management,RegEx,Variable,String,Output of OS commands to str or list

# README.md

https://github.com/TITIR1X/PyLogManagement

Designed to create variables with results that you can obtain by filtering the log that your terminal gives you by OS commands.  

Instalation:
pip install PyLogManagement

    >>> import PyLogManagement
    >>> ip_adress = PyLogManagement.os_commands_regex(os_command='ipconfig', regex_function='search', regex_parameters='IP Address.+: (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})')
    >>> print(ip_adress)
    ['192.168.0.101']

    # convert list to string:
    >>> ip =''.join(ip_adress)
    >>> print(ip)
    192.168.0.101


show_last_log()
    """_summary_
    It is useful for copying special characters (which do not load in your text editor) and using them in regex parameters.
    example:
    
    >>> import PyLogManagement
    >>> PyLogManagement.show_last_log()
    INFO:root:
    ConfiguraciÂ¢n IP de Windows

    Adaptador de LAN inalÂ mbrica Wi-Fi:

       Sufijo DNS especÂ¡fico para la conexiÂ¢n. . : home
       DirecciÂ¢n IPv6 . . . . . . . . . . : 444:444:444:4444:4444:4444:4444:4444
       DirecciÂ¢n IPv6 . . . . . . . . . . : 333:333:333::3
       DirecciÂ¢n IPv6 . . . . . . . . . . : 333:333:333::3
       VÂ¡nculo: direcciÂ¢n IPv6 local. . . : 222::222:222:222:222%2
       DirecciÂ¢n IPv4. . . . . . . . . . . . . . : 192.168.1.2
       MÂ scara de subred . . . . . . . . . . . . : 111.111.111.111
       Puerta de enlace predeterminada . . . . . : 1111:1111:d1::a11f:c11a
                                           

    >>>>>> ip_adress = os_commands_regex(os_command='ipconfig', regex_function='search', regex_parameters='DirecciÂ¢n IPv4.+: (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})')
    >>> print(ip_adress)
    ['192.168.1.2']
    """

Content of interest:

[*] regex101.com -> build, test and debug regex

[*] Tutorial prÃ¡ctico REGEX en espaÃ±ol: https://www.youtube.com/watch?v=Mc2j8Q-MHB4&ab_channel=ThePyCoach -> credits: The PyCoach