Metadata-Version: 2.4
Name: zyank
Version: 0.8
Summary: library for adding basic functions for collecting data from the cian website
Author-email: Void Hiko <racomarov@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10.0
Description-Content-Type: text/markdown

# 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")

