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.5.tar.gz (3.8 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.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zyank-0.5.tar.gz
Algorithm Hash digest
SHA256 5ceb011b02a99d78788c73cd405b2fbad0ff683e7c929a227b220ca49aedf733
MD5 23bf46f678d277911b15f680170dc255
BLAKE2b-256 5bb94c9fe2cbc54b7e775f95f73b4b6086156f92fd313333509b8fe565422a85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zyank-0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 972d606435ce2bf4bec5dbfcdf31676438801831fb502c543c39f70e54191ee6
MD5 03762ed8588aaeb34af450c3fe657431
BLAKE2b-256 650cb0db814b88c9298e227db1f36e9d1f798db677aa5eacd43edcf5a4c21e37

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