"""simple docstring"""






import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


_A   					=    HUGGINGFACE_HUB_CACHE


_A   					=    'config.json'
_A   					=    'diffusion_pytorch_model.bin'
_A   					=    'diffusion_flax_model.msgpack'
_A   					=    'model.onnx'
_A   					=    'diffusion_pytorch_model.safetensors'
_A   					=    'weights.pb'
_A   					=    'https://huggingface.co'
_A   					=    default_cache_path
_A   					=    'diffusers_modules'
_A   					=    os.getenv('HF_MODULES_CACHE', os.path.join(hf_cache_home, 'modules'))
_A   					=    ['fp16', 'non-ema']
_A   					=    '.self_attn'





"""simple docstring"""






from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

_A   					=    'https://www.indeed.co.in/jobs?q=mobile+app+development&l='




def 						SCREAMING_SNAKE_CASE					(  __UpperCAmelCase = "mumbai"       )							->   Generator[tuple[str, str], None, None]:
				SCREAMING_SNAKE_CASE__		  =				BeautifulSoup(requests.get(url + location       ).content  ,					"html.parser"       )
				# This attribute finds out all the specifics listed in a job
				for job in soup.find_all("div"  ,					attrs={"data-tn-component": "organicJob"}       ):
								SCREAMING_SNAKE_CASE__		  =				job.find("a"  ,					attrs={"data-tn-element": "jobTitle"}       ).text.strip()
								SCREAMING_SNAKE_CASE__		  =				job.find("span"  ,					{"class": "company"}       ).text.strip()
								yield job_title, company_name


if __name__ == "__main__":
						for i, job in enumerate(fetch_jobs('Bangalore'), 1):
												print(F'Job {i:>2} is {job[0]} at {job[1]}')




