Metadata-Version: 1.1
Name: smsit
Version: 0.1.4
Summary: A simple wrapper to send SMS through available gateways.
Home-page: UNKNOWN
Author: Mahdi Ghanea.g
Author-email: UNKNOWN
License: MIT License
Description: SMSit
        =====
        
        A simple wrapper to send SMS through available gateways.
        
        
        Gateways
        --------
        
        - `SMSMagic <https://sms-magic.com/>`_
        - `NikSMS <https://niksms.com>`_
        
        
        Install
        -------
        
        .. code-block:: bash
        
            pip install smsit
        
        Usage
        -----
        
        Basic:
        
        .. code-block:: python
        
            from smsit import SMS
            from smsit.gateways import SMSMagicGateway
        
            config = {
                'api_key': '0000',
                'sender_id': '1111'
            }
            sms = SMS(
                text='Hi',
                receiver='9893311223344'
            )
        
            SMSMagicGateway(config).send(sms)
        
        
        With gateway manager:
        
        .. code-block:: python
        
            from smsit import SMS, SMSGatewayManager
            from smsit.gateways import SMSMagicGateway, NikSMSGateway
        
            config = {
                'smsmagic': {
                    'api_key': '0000',
                    'sender_id': '1111'
                },
                'niksms': {
                    'username': '0000',
                    'password': '0000',
                    'sender': '0000'
                }
            }
            sms = SMS(
                text='Hi',
                receiver='9893311223344'
            )
        
            manager = SMSGatewayManager()
            manager.register('smsmagic', SMSMagicGateway)
            manager.register('niksms', NikSMSGateway)
            manager.configure(config)
            manager.send('smsmagic', sms)
        
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
