Giter Site home page Giter Site logo

matteorosato / house-finder Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 67 KB

This repository is dedicated to retrieving and analyzing house advertisements from real estate websites.

License: GNU Affero General Public License v3.0

Makefile 19.53% Python 80.47%
data-science idealista-api machine-learning python house-price-prediction house-hunting

house-finder's Introduction

House finder

This project is dedicated to retrieving and analyzing house advertisements from real estate websites. It provides a convenient way to gather information for analysis, research, or any other purposes related to the real estate domain. Below are the main steps:

  1. Data Collection: Collects data from real estate websites using their APIs.
  2. Data Analysis: Analyzes the collected data using Pandas and Machine Learning (ML) algorithms.
  3. Report Generation: Generates a report summarizing the findings from the analysis.

The project is developed entirely using Python and follows object-oriented programming (OOP) practices. The initial template is provided by Cookiecutter Data Science.

Who is this for?

  • Data scientists interested in real estate data extraction and analysis.
  • Real estate companies looking to integrate listing data into their systems.
  • Anyone curious about exploring the world of real estate through data.

Fair Use Disclaimer

Note that this code is provided free of charge as is. For any bugs, see the issue tracker.

Setup and Use

To use the tool, follow these steps:

  1. Ensure you have Python 3.10 and pip installed on your system.

  2. Clone the repository to your local machine:

    git clone https://github.com/matteorosato/house-finder.git
  3. Navigate to the project directory:

    cd house-finder
    
  4. Create a virtual environment for the project:

    • On Windows:
      py -m venv .venv
      
    • On macOS and Linux:
      python3 -m venv .venv
      
  5. Activate the virtual environment:

    • On Windows:
      .venv\Scripts\activate
      
    • On macOS and Linux:
      source .venv/bin/activate
      
  6. Install the required dependencies by running:

    • On Windows:
      py -m pip install -r requirements.txt
      
    • On macOS and Linux:
      python3 -m pip install -r requirements.txt
      
  7. Fill the .env file with the required environment variables. Use the .env.example file as reference.

  8. Fill the config.toml file according to your preferences and needs.

  9. Run the tool:

    # Download the data and create the dataset
    python src/run.py
    

Supported websites

Currently, the following websites are supported:

Idealista

This tool utilizes the APIs provided by Idealista to extract real estate listing data. To execute the tool, you need to obtain an API_KEY and SECRET by requesting access through the following link: Idealista API Access Request.

Please note that the free access is limited to 100 requests per month and 1 request per second. Therefore, it's important to configure the filtering parameters carefully to avoid an unnecessary number of requests.

For further information, refer to the documents located in the references folder.

Project Organization

├── LICENSE
├── Makefile           <- Makefile with commands like `make data` or `make train`
├── README.md          <- The top-level README for developers using this project.
├── data
│   ├── external       <- Data from third party sources.
│   ├── interim        <- Intermediate data that has been transformed.
│   ├── processed      <- The final, canonical data sets for modeling.
│   └── raw            <- The original, immutable data dump.
│
├── docs               <- A default Sphinx project; see sphinx-doc.org for details
│
├── models             <- Trained and serialized models, model predictions, or model summaries
│
├── notebooks          <- Jupyter notebooks. Naming convention is a number (for ordering),
│                         the creator's initials, and a short `-` delimited description, e.g.
│                         `1.0-jqp-initial-data-exploration`.
│
├── references         <- Data dictionaries, manuals, and all other explanatory materials.
│
├── reports            <- Generated analysis as HTML, PDF, LaTeX, etc.
│   └── figures        <- Generated graphics and figures to be used in reporting
│
├── requirements.txt   <- The requirements file for reproducing the analysis environment, e.g.
│                         generated with `pip freeze > requirements.txt`
│
├── setup.py           <- makes project pip installable (pip install -e .) so src can be imported
├── src                <- Source code for use in this project.
│   ├── __init__.py    <- Makes src a Python module
│   │
│   ├── data           <- Scripts to download or generate data
│   │   └── make_dataset.py
│   │
│   ├── features       <- Scripts to turn raw data into features for modeling
│   │   └── build_features.py
│   │
│   ├── models         <- Scripts to train models and then use trained models to make
│   │   │                 predictions
│   │   ├── predict_model.py
│   │   └── train_model.py
│   │
│   └── visualization  <- Scripts to create exploratory and results oriented visualizations
│       └── visualize.py
│
└── tox.ini            <- tox file with settings for running tox; see tox.readthedocs.io

Project based on the cookiecutter data science project template. #cookiecutterdatascience

house-finder's People

Contributors

matteorosato avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.