Metadata-Version: 2.1
Name: zyank
Version: 0.5
Summary: library for adding basic functions for collecting data from the cian website
Home-page: https://github.com/VoidHiko
Author: Void Hiko
Author-email: racomarov@gmail.com
Project-URL: GitHub, https://github.com/VoidHiko
Keywords: cyan,speed searching
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.25.1

# Zyank

## What is this?

Zyank -  is a library (a modification of the cianparser library) for parsing the cian website with a set of functions for quickly collecting real estate data

### Library features

    Sync version

        the `get_info()` function - takes 2 arguments (**number of pages to be processed**=*int*,**list of cities**=*list*)

        the `get_one_info()` function takes 2 arguments (**number of pages to be processed**=*int*,**city name**=*str*)

    Async version (multiple increase in the speed of the function)

        the `get_async_information()` function takes 2 arguments (**number of pages to be processed**=*int*,**list of cities**=*list*), works asynchronously

        the `get_async_one_information()' function takes 2 arguments (**number of pages to be processed**=*int*,**city name**=*str*), works asynchronously

### Code example

```python

    st = ['Moscow','kazan','perm']  ## can by write on Ru language
    tt = 'Omsk'
    start = datetime.datetime.now()
    #info = asyncio.run(Parser.AsyncParser.get_async_one_information(city='moscow'))
    info = Parser.get_info(citys_name=st)
    finish = datetime.datetime.now()


    print(info)

    print('Р’СЂРµРјСЏ СЂР°Р±РѕС‚С‹: ' + str(finish - start))
    
    ## This example save information in reports dir##
 ```

### async functon start example

`info = asyncio.run(Parser.AsyncParser.get_async_one_information(city='moscow'))`

### Links

author [libraries-modifications](https://github.com/VoidHiko "modification author")

repository [base library ](https://github.com/lenarsaitov/cianparser "base library")

