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

All city name(s) must be on Russian language !!!

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']  ## must 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.9.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.9-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zyank-0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 a9cbaa22b03c32c43a3e48cbb0e61700d26fd888fd362d9554bf4a848c98f3b7
MD5 9a8a1d59aba0888feda32a6cf4f31048
BLAKE2b-256 a4beec0d628104780e080c9ce66bec7b66af3a16faa2220b192375e67cc544fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zyank-0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c45253810e7d2afc7f603d9347300d02999befa3bf95d8a08d98be9785a102d7
MD5 d719e8032b21f651905f57fd55fbd94b
BLAKE2b-256 d27680bd8cb8ae3ae6b62a89a4b07011b6dcd0b8a64b19c587e5a89fb421adde

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