Metadata-Version: 2.1
Name: gear_score
Version: 0.0.4
Summary: Python implementation of GearScore WoW addon
Home-page: https://github.com/mora9715/gearscore
Author: Eugene Prodan
Author-email: mora9715@gmail.com
License: UNKNOWN
Description: ## GearScore python client
        
        The package provides functionality to calculate GS for an item, with possibility to save items to local DB (sqlite).
        
        
        ### How to use
        Create table before first package usage, it can be done with:
        ```python
        from gear_score.db import ensure_tables_created
        
        await ensure_tables_created()
        ```
        
        After that, you can get info about a single item:
        ```python
        from gear_score.getters import PublicDbGetter
        
        getter = PublicDbGetter()
        item = await getter.get(40633)
        print(item.gs)
        
        ```
        
        You can get info about multiple items at once, first checking in local db and then in public:
        ```python
        from gear_score.utils import get_items_from_local_or_remote
        
        items = await get_items_from_local_or_remote(50444, 50445, 50446)
        ```
        
        
        TODO:
        - tests
        - proper documentation
        - logging
        - automatic db tables creation
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Requires-Python: >=3.6
Description-Content-Type: text/markdown
