Metadata-Version: 2.1
Name: astana-hub
Version: 0.0.1
Summary: Get Networking cards from https://astanahub.com/ with ease!
Home-page: https://github.com/vladzen13/astana_hub
Author: Vladislav Zenin
Author-email: vladzen13@yandex.ru
Project-URL: Bug Reports, https://github.com/vladzen13/astana_hub/issues
Project-URL: Source, https://github.com/vladzen13/astana_hub/
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9, <4
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: aiohttp (==3.8.3)
Requires-Dist: aiosignal (==1.2.0)
Requires-Dist: async-timeout (==4.0.2)
Requires-Dist: attrs (==22.1.0)
Requires-Dist: beautifulsoup4 (==4.11.1)
Requires-Dist: charset-normalizer (==2.1.1)
Requires-Dist: frozenlist (==1.3.1)
Requires-Dist: idna (==3.4)
Requires-Dist: lxml (==4.9.1)
Requires-Dist: multidict (==6.0.2)
Requires-Dist: soupsieve (==2.3.2.post1)
Requires-Dist: yarl (==1.8.1)
Provides-Extra: dev
Requires-Dist: attrs (==22.1.0) ; extra == 'dev'
Requires-Dist: coverage (==6.5.0) ; extra == 'dev'
Requires-Dist: iniconfig (==1.1.1) ; extra == 'dev'
Requires-Dist: packaging (==21.3) ; extra == 'dev'
Requires-Dist: pluggy (==1.0.0) ; extra == 'dev'
Requires-Dist: pyparsing (==3.0.9) ; extra == 'dev'
Requires-Dist: pytest (==7.2.0) ; extra == 'dev'
Requires-Dist: pytest-asyncio (==0.20.1) ; extra == 'dev'




# Installation

pip install astana_hub


# Usage

import asyncio
import astana_hub

async def main():
    async with astana_hub.Parser.create() as p:
        res = await p.get_company_page()
        print(res)

asyncio.run(main())






import asyncio
import logging

import astana_hub

async def main():
    logging.basicConfig(level=logging.INFO)

    async with astana_hub.Parser.create() as p:
        res = await p.parse_all(page_type='user')
        print(res)

asyncio.run(main())
