Skip to main content

library for adding basic functions for collecting data from the cian website

Project description

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

    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

repository base library

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zyank-0.8.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zyank-0.8-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file zyank-0.8.tar.gz.

File metadata

  • Download URL: zyank-0.8.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for zyank-0.8.tar.gz
Algorithm Hash digest
SHA256 8fb7d4ec7504d1173922b6f46e896c5b3dceed227a55125201cf570c5dd86b8b
MD5 3bc22c207453d4e3bd04e82c1428bdd9
BLAKE2b-256 df1c38e7d41df8c02257f8a332c468ebc3439f067032864700d08f45964127d9

See more details on using hashes here.

File details

Details for the file zyank-0.8-py3-none-any.whl.

File metadata

  • Download URL: zyank-0.8-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for zyank-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2036a321ebe0331eff6403dda949a70d5cba0db76a3309941eabc1b6a57d9de1
MD5 e6da134a50169a488ea42de318a62690
BLAKE2b-256 453ff0a18d6c25895b823581261aeda7eb002efd6eb68d733f9faafda5931885

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page