semvec/pypi-packages huggingface dataset:
strictabc 1.0.2
A module containing the implementation of Strict ABC classes and decorators
Requires Python: >=3.10

Repository of python package strictabc

The strict abc package implements a subclass of the builtin ABCMeta and ABC classes. Its behavior checks
that all marked methods are implemented and have the correct function signature. This is done at creation
of the class, before any instatiation attempts. It allows for developers of abstract classes and interfaces 
to enforce implementation earlier.


Example
-------

The classic interface example, Animal:

.. code-block:: python

    from strictabc import StrictABC, strictabstract


    class Animal(StrictABC):
        
        @strictabstract
        def speak(self)->str:
            pass

Later implementing concrete classes:

.. code-block:: python

    class A10Warthog(Animal):
        
        def speak(self)->str:
            return "Brrrrrrrrrt!"
    
    class Warthog(Animal):
        pass

The concrete class 'A10Warthog' will pass the checks that 'StrictABC' performs. The other 'Warthog' class 
will not pass, and a 'StrictAbstractError' will be thrown'.

.. code-block:: console

    >>> from concrete import *
    . strictabc.strict.StrictAbstractError: Errors in <Warthog>
    . Missing methods: ['speak']
    . Missmatched signatures detected: None
    >>>

Or, if the 'speak' signature doesn't match, a similar exception will be thrown.

.. code-block:: python

    class Warthog(Animal):
        def speak(cls)->str:
            return 'oh the shame ... And I got downhearted, everytime....!'

Giving the following exception:

.. code-block:: console

    . strictabc.strict.StrictAbstractError: Errors in <Warthog>
    . Missing methods: None
    . Missmatched signatures detected: [miss_matched_sigs(method_name='speak', good_sig=<Signature (self) -> str>, bad_sig=<Signature (cls) -> str>)]
    >>>




License
-------

Licensed under the `MIT License`_.

.. _MIT License: https://github.com/taviken/strictabc/blob/main/LICENSE
mkplus 1.0.0
Python library to send emails, HTML emails, and generate OTPs
Requires Python: >=3.7
Keywords: email, otp, messaging

# mkplus

Python library to send:
- Plain text emails
- HTML emails (Gmail)

## Installation
```bash
pip install mkplus
```
## Usage

```python

import mkplus

# لتنزيل الحزمة cmd اكتب هذا الامر في
# pip install mkplus

mkplus.Send_mail(
    "email_sender",
    "app_password",
    "your_name",
    "subject",
    "body",
    "email_receiver"
)
print ("Successfully send")

# Send an HTML email

html_code = ("""
<h1>Hello, this message was sent using mkplus</h1>
<p>Python</p>
""")

mkplus.Send_html_mail.api("YOUR_API_KEY")
mkplus.Send_html_mail(
    "email_sender",  
    "app_password", 
    "your_name",
    "subject",
     html_code, 
    "email_receiver"
)
print ("Successfully send")

# Generate OTP Code

otp_code = mkplus.Generate_otp(6)
print(otp_code)