Metadata-Version: 2.1
Name: corgibrowser
Version: 0.1.0
Summary: Corgi Browser
Home-page: https://github.com/j-enriquez/corgibrowser
Author: Jose Enriquez
Author-email: joseaenriqueza@hotmail.com
Project-URL: Documentation, https://corgibrowser.readthedocs.io/en/latest/
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: adal ==1.2.7
Requires-Dist: azure-applicationinsights ==0.1.1
Requires-Dist: azure-batch ==4.1.3
Requires-Dist: azure-common ==1.1.28
Requires-Dist: azure-core ==1.30.0
Requires-Dist: azure-cosmosdb-nspkg ==2.0.2
Requires-Dist: azure-cosmosdb-table ==1.0.6
Requires-Dist: azure-data-tables ==12.5.0
Requires-Dist: azure-datalake-store ==0.0.53
Requires-Dist: azure-eventgrid ==1.3.0
Requires-Dist: azure-graphrbac ==0.40.0
Requires-Dist: azure-identity ==1.15.0
Requires-Dist: azure-keyvault ==1.1.0
Requires-Dist: azure-loganalytics ==0.1.1
Requires-Dist: azure-mgmt ==4.0.0
Requires-Dist: azure-mgmt-advisor ==1.0.1
Requires-Dist: azure-mgmt-applicationinsights ==0.1.1
Requires-Dist: azure-mgmt-authorization ==0.50.0
Requires-Dist: azure-mgmt-batch ==5.0.1
Requires-Dist: azure-mgmt-batchai ==2.0.0
Requires-Dist: azure-mgmt-billing ==0.2.0
Requires-Dist: azure-mgmt-cdn ==3.1.0
Requires-Dist: azure-mgmt-cognitiveservices ==3.0.0
Requires-Dist: azure-mgmt-commerce ==1.0.1
Requires-Dist: azure-mgmt-compute ==4.6.2
Requires-Dist: azure-mgmt-consumption ==2.0.0
Requires-Dist: azure-mgmt-containerinstance ==1.5.0
Requires-Dist: azure-mgmt-containerregistry ==2.8.0
Requires-Dist: azure-mgmt-containerservice ==4.4.0
Requires-Dist: azure-mgmt-cosmosdb ==0.4.1
Requires-Dist: azure-mgmt-datafactory ==0.6.0
Requires-Dist: azure-mgmt-datalake-analytics ==0.6.0
Requires-Dist: azure-mgmt-datalake-nspkg ==3.0.1
Requires-Dist: azure-mgmt-datalake-store ==0.5.0
Requires-Dist: azure-mgmt-datamigration ==1.0.0
Requires-Dist: azure-mgmt-devspaces ==0.1.0
Requires-Dist: azure-mgmt-devtestlabs ==2.2.0
Requires-Dist: azure-mgmt-dns ==2.1.0
Requires-Dist: azure-mgmt-eventgrid ==1.0.0
Requires-Dist: azure-mgmt-eventhub ==2.6.0
Requires-Dist: azure-mgmt-hanaonazure ==0.1.1
Requires-Dist: azure-mgmt-iotcentral ==0.1.0
Requires-Dist: azure-mgmt-iothub ==0.5.0
Requires-Dist: azure-mgmt-iothubprovisioningservices ==0.2.0
Requires-Dist: azure-mgmt-keyvault ==1.1.0
Requires-Dist: azure-mgmt-loganalytics ==0.2.0
Requires-Dist: azure-mgmt-logic ==3.0.0
Requires-Dist: azure-mgmt-machinelearningcompute ==0.4.1
Requires-Dist: azure-mgmt-managementgroups ==0.1.0
Requires-Dist: azure-mgmt-managementpartner ==0.1.1
Requires-Dist: azure-mgmt-maps ==0.1.0
Requires-Dist: azure-mgmt-marketplaceordering ==0.1.0
Requires-Dist: azure-mgmt-media ==1.0.1
Requires-Dist: azure-mgmt-monitor ==0.5.2
Requires-Dist: azure-mgmt-msi ==0.2.0
Requires-Dist: azure-mgmt-network ==2.7.0
Requires-Dist: azure-mgmt-notificationhubs ==2.1.0
Requires-Dist: azure-mgmt-nspkg ==3.0.2
Requires-Dist: azure-mgmt-policyinsights ==0.1.0
Requires-Dist: azure-mgmt-powerbiembedded ==2.0.0
Requires-Dist: azure-mgmt-rdbms ==1.9.0
Requires-Dist: azure-mgmt-recoveryservices ==0.3.0
Requires-Dist: azure-mgmt-recoveryservicesbackup ==0.3.0
Requires-Dist: azure-mgmt-redis ==5.0.0
Requires-Dist: azure-mgmt-relay ==0.1.0
Requires-Dist: azure-mgmt-reservations ==0.2.1
Requires-Dist: azure-mgmt-resource ==2.2.0
Requires-Dist: azure-mgmt-scheduler ==2.0.0
Requires-Dist: azure-mgmt-search ==2.1.0
Requires-Dist: azure-mgmt-servicebus ==0.5.3
Requires-Dist: azure-mgmt-servicefabric ==0.2.0
Requires-Dist: azure-mgmt-signalr ==0.1.1
Requires-Dist: azure-mgmt-sql ==0.9.1
Requires-Dist: azure-mgmt-storage ==2.0.0
Requires-Dist: azure-mgmt-subscription ==0.2.0
Requires-Dist: azure-mgmt-trafficmanager ==0.50.0
Requires-Dist: azure-mgmt-web ==0.35.0
Requires-Dist: azure-nspkg ==3.0.2
Requires-Dist: azure-servicebus ==0.21.1
Requires-Dist: azure-servicefabric ==6.3.0.0
Requires-Dist: azure-servicemanagement-legacy ==0.20.7
Requires-Dist: azure-storage-blob ==12.19.0
Requires-Dist: azure-storage-common ==1.4.2
Requires-Dist: azure-storage-file ==1.4.0
Requires-Dist: azure-storage-nspkg ==3.1.0
Requires-Dist: azure-storage-queue ==12.9.0
Requires-Dist: beautifulsoup4 ==4.12.3
Requires-Dist: certifi ==2024.2.2
Requires-Dist: cffi ==1.16.0
Requires-Dist: charset-normalizer ==3.3.2
Requires-Dist: cryptography ==42.0.2
Requires-Dist: idna ==3.6
Requires-Dist: isodate ==0.6.1
Requires-Dist: msal ==1.26.0
Requires-Dist: msal-extensions ==1.1.0
Requires-Dist: msrest ==0.7.1
Requires-Dist: msrestazure ==0.6.4
Requires-Dist: multidict ==6.0.5
Requires-Dist: oauthlib ==3.2.2
Requires-Dist: packaging ==23.2
Requires-Dist: portalocker ==2.8.2
Requires-Dist: pycparser ==2.21
Requires-Dist: PyJWT ==2.8.0
Requires-Dist: python-dateutil ==2.8.2
Requires-Dist: requests ==2.31.0
Requires-Dist: requests-oauthlib ==1.3.1
Requires-Dist: six ==1.16.0
Requires-Dist: soupsieve ==2.5
Requires-Dist: typing-extensions ==4.9.0
Requires-Dist: urllib3 ==2.2.0
Requires-Dist: yarl ==1.9.4
Requires-Dist: openai ~=1.12.0
Requires-Dist: python-dotenv
Requires-Dist: parsel
Requires-Dist: aiohttp
Requires-Dist: asyncio

# CorgiBrowser: Scalable Web Crawling Framework

CorgiBrowser is an open-source Python framework focused at simplifying the process of web crawling and scraping. Built with scalability, efficiency, and ethical data collection in mind, it is designed for researchers, developers, and analysts who require robust data acquisition capabilities.


## Documentation

[readthedocs.org/projects/corgibrowser/](https://readthedocs.org/projects/corgibrowser/)

## Table of Contents

- [Introduction](#introduction)
- [Key Features](#key-features)
- [Depencencies](#dependencies)
- [Getting Started](#getting-started)
- [Demos](#demos)
- [Background](#background)
- [Contributing to CorgiBrowser](#contributing-to-corgibrowser)
- [License](#license)

## Introduction
CorgiBrowser started from the need for a scalable solution that addresses the challenges of modern web crawling and scraping. With the internet's exponential data growth, existing frameworks often fall short in scalability and customizability. CorgiBrowser, is an all tools included framework that focus on ethical data practices, presents a pioneering approach to distributed crawling and data management.

## Key Features

- **Scalability**: Supports large-scale data collection with a microservices architecture, enabling horizontal scaling on cloud platforms.
- **Distributed Crawling**: Offers configurable crawlers with priority settings for tailored crawling strategies.
- **Use of Custom Scraping Templates**: Facilitates the integration of custom templates for precise data extraction.
- **Ethical Crawling**: Complies with robots.txt standards and employs throttling to minimize the impact on web resources.
- **Cloud Integration**: Works with cloud storage solutions for efficient data management and scalability.

## Depencencies

* Python 3.9+
* Works on Linux, Windows
* Azure Storage Account, [(with future support for local storage)](https://github.com/j-enriquez/corgibrowser/issues/2)


## Getting Started

To install CorgiBrowser, run the following command:

```sh
pip install corgibrowser
```

To initialize a Crawler instance:
```sh
import os
from dotenv import load_dotenv
from corgibrowser.corgi_cloud_integration.cloud_integration import CloudIntegration
from corgibrowser.corgi_datasets.DataSetsManager import DataSetsManager
from corgibrowser.corgi_settings.SettingsManager import SettingsManager
from corgibrowser.corgi_crawler.crawler import *

# Load Settings Manager
settings_manager = SettingsManager()
load_dotenv()
settings_manager.CLOUD["AZURE_STORAGE_ACCOUNT_NAME"] = os.getenv("AZURE_STORAGE_ACCOUNT_NAME")
settings_manager.CLOUD["AZURE_STORAGE_ACCOUNT_KEY"] = os.getenv("AZURE_STORAGE_ACCOUNT_KEY")

# Set Up cloud
CloudIntegration(settings_manager = settings_manager)
cloud_integration = CloudIntegration( settings_manager = settings_manager )
cloud_integration.initialize()

# Add Initial URLs
for url in DataSetsManager.load_usa_newspaper_urls():
    cloud_integration.add_url_to_queue(url)

# Crawl
crawler = WebCrawler(cloud_integration = cloud_integration, settings_manager=settings_manager )
crawler.initialize()
crawler.start()
```

To initialize a Scraper instance:
```sh
import os
from dotenv import load_dotenv
from corgibrowser.corgi_cloud_integration.cloud_integration import CloudIntegration
from corgibrowser.corgi_settings.SettingsManager import SettingsManager
from corgibrowser.corgi_webscraping.scraper import Scraper

# Load Settings Manager
settings_manager = SettingsManager()
load_dotenv()
settings_manager.CLOUD["AZURE_STORAGE_ACCOUNT_NAME"] = os.getenv("AZURE_STORAGE_ACCOUNT_NAME")
settings_manager.CLOUD["AZURE_STORAGE_ACCOUNT_KEY"] = os.getenv("AZURE_STORAGE_ACCOUNT_KEY")

# Set Up cloud
CloudIntegration(settings_manager = settings_manager)
cloud_integration = CloudIntegration( settings_manager = settings_manager )
cloud_integration.initialize()

# Scrape
scraper = Scraper(cloud_integration = cloud_integration, settings_manager=settings_manager )
scraper.initialize()
scraper.start()
```

## Demos

[Link to demo applications and tutorials.](https://github.com/j-enriquez/corgibrowser/tree/main/user)

## Background

Developed for Jose Enriquez's Master's Thesis in Computer Engineering, CorgiBrowser aims to democratize access to web data through ethical and efficient crawling. CorgiBrowser objective is to represent a significant step in merging web crawling, cloud technologies, and data analysis. This integration enhances scalability, efficiency, and the ability to perform comprehensive data processing, establishing a new benchmark in data collection technologies.

## Contributing to CorgiBrowser

Contributors are welcome! Check out the [Open Issues](https://github.com/j-enriquez/corgibrowser/issues) on GitHub for starting points.

## License
CorgiBrowser is released under the [MIT License](https://github.com/j-enriquez/corgibrowser/blob/main/LICENSE), promoting open and unrestricted use and contribution.





