Metadata-Version: 2.1
Name: TSGroupAssigner
Version: 0.1.1
Summary: date based TeamSpeak Group Assigner
Home-page: https://github.com/mightyBroccoli/TSGroupAssigner
Author: nico wellpott
Author-email: nico@magicbroccoli.de
License: GPLv3
Project-URL: Source, https://github.com/mightyBroccoli/TSGroupAssigner
Project-URL: Issue-Tracker, https://github.com/mightyBroccoli/TSGroupAssigner/issues
Description: # TeamSpeak GroupAssigner
        [![PyPI](https://img.shields.io/pypi/v/TSGroupAssigner.svg)](https://pypi.python.org/pypi/TSGroupAssigner)
        [![PyPI](https://img.shields.io/pypi/pyversions/TSGroupAssigner.svg)](https://pypi.python.org/pypi/TSGroupAssigner)
        [![CodeFactor](https://www.codefactor.io/repository/github/mightybroccoli/TSGroupAssigner/badge)](https://www.codefactor.io/repository/github/mightybroccoli/TSGroupAssigner)
        
        ## Overview
        TSGroupAssigner is a module which allows to automatically assign server groups to voice clients, if they connect within 
        a specific date range.
        
        ### example
        This small example script could be called before christmas to assign the group `24` to every voice client connecting
        to the server id `1`.
        The process will terminate gracefully, when the configured date range is exceeded.
        
        ```python
        import datetime as dt
        import logging
        from TSGroupAssigner import GroupAssigner, DateException
        
        logger = logging.getLogger()
        logger.setLevel(logging.INFO)
        
        params = {
            'host': 'localhost',
            'port': 10011,
            'user': 'serveradmin',
            'password': '5up3r_53cr37',
            'sid': 1,
            'gid': 24
        }
        
        target = dt.date(year=2019, month=24, day=12)
        duration = dt.timedelta(days=2)
        
        try:
            GroupAssigner(date=target, delta=duration, **params).start()
        except DateException as err:
            logger.error(err)
        ```
        
Keywords: automation TeamSpeak teamspeak ts3 ts3server ts
Platform: UNKNOWN
Classifier: Intended Audience :: System Administrators
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Communications
Classifier: Topic :: Internet
Requires-Python: >=3.6
Description-Content-Type: text/markdown
