semvec/pypi-packages huggingface dataset:
webscp 1.0.3.1
Scrape and email modules to an email id.
Requires Python: >=3

# Python Image Scraper

## Introduction

Python Image scrapper can help in gathering huge dataset of images for any custom keyword. This helps save time and gather unique images for any keyword. Gathered images will be uploaded to [anonfiles.com](https://anonfiles.com) and the link will be emailed to the user.

## Demo
![](static/images/demo.gif)

## Features

- Scraping Data in Multiple Threads 
- Auto Execute Project Anytime
- Uploads files to [anonfiles.com](https://anonfiles.com)
- Emails link after scraping images
- logs every action performed by scrapper

## Installation

### Using Docker
1\.  Clone the project using 
```sh
git clone https://github.com/govind2220000/image_scraper.git
``` 
2\.  Rename `example.config.ini` to `config.ini`. Fill it with appropriate values.

3\.  Build the project using Docker
```sh  
cd image_scraper
sudo docker-compose build
```   
4\.  Deploy the project
```sh 
sudo docker-compose up
```


### Using Python
1\. Clone the project using 
```sh
git clone https://github.com/govind2220000/image_scraper.git
```
2\. Install dependencies
```sh
cd image_scraper
pip install -r requirements.txt
```
3\. Run application
```sh
python3 -m src
```    
    

## Documentation Links
High Level Design Document : [View / Download](https://drive.google.com/file/d/1xWUd1qql4b25_gpqhOVHEoX8_NvHJaic/view?usp=sharing)

Low Level Design Document  : [View / Download](https://drive.google.com/file/d/1BO-RErAp7n9-cYCCm36wpSba0sOug4pd/view?usp=sharing)

Project Report             : [View / Download](https://drive.google.com/file/d/1YDMSYhX_ldxOHqkgJtY31nyVLZivBVWL/view?usp=sharing)

WireFrame Document         : [View / Download](https://drive.google.com/file/d/1IIiREJi5Jaa4wPbiQ2gAZkvDBF1q5PQ2/view)


## Authors
- [Govind Choudhary](https://github.com/govind2220000)
- [Sreejith Subhash](https://github.com/sjith7)
pyMetrohmAUTOLAB-jonahliu 0.0.1
A tool to using Metrohm AUTOLAB SDK in Python(it is still under heavily developed)
Requires Python: >=3.6

<!--
 * @Author: Jonah Liu
 * @Date: 2021-09-15 18:25:11
 * @LastEditTime: 2021-09-15 19:24:39
 * @LastEditors: Jonah Liu
 * @Description: 
-->
# Metrohm AUTOLAB control package

This is a **unofficial** control package to Metrohm-AUTOALB. 
This package contains a main pacakge named ```AUTOALB()```

## class structure and implemented functions:
```python
class AUTOLAB():
    
    def __init__(self,
                 sdk=R"C:\Program Files\Metrohm Autolab\autolabsdk\EcoChemie.Autolab.Sdk",
                 adx=R"C:\Program Files\Metrohm Autolab\autolabsdk\Hardware Setup Files\Adk.x"):
 
    def disconnectAutolab(self):
    def setSDKandADX(self,sdk,adx):
 
    def isMeasuring(self):
    def connectToAutolab(self,
                         hdw=R"C:\Program Files\Metrohm Autolab\autolabsdk\Hardware Setup Files\PGSTAT302N\HardwareSetup.FRA32M.xml"):
```   


## how to use it:
- Step 0,
install the requirement softerware,

    ```bash
    pip install pythonnet
    ```

    And AUTOALB SDK v1.11 

    You can download it [here](https://www.metrohm-autolab.com/Products/Echem/Software/SDK)
- Step 1, import this package

    ```python
    import AUTOLAB as EC
    ```

- Step 2, tell Python where your instrument located

    ```python
    # tell the codes where your SDK install first
    hdw=R'C:\Program Files\Metrohm Autolab\autolabsdk\Hardware Setup Files\PGSTAT302N\HardwareSetup.FRA32M.xml',
    sdk=R"C:\Program Files\Metrohm Autolab\autolabsdk\EcoChemie.Autolab.Sdk"
    adx=R"C:\Program Files\Metrohm Autolab\autolabsdk\Hardware Setup Files\Adk.x"
    ```

- Setp 3, initialise the AUTOLAB class(C's bad habbit)

    ```python
    # initializing the class first
    autolab = EC.AUTOLAB(sdk=sdk,adx=adx)

    autolab.CMD = True # optional: Enable CMDLOG or not, it's good if you want to trace the code
    ```

- Step 4, Have fun with it

    ```python
    try:
        if autolab.connectToAutolab(hdw): # first we need to connect to our instrument
            print("Connecting to AUTOLAB successfully....")
            # do measurement
            autolab.measure(R"*.nox file path") # it will take times till measrement finish
            autolab.saveAs(R"save file name")
            `
    except:
        print("Connecting to AUTOLAB FAIL....")
        return
    ```

- *Optional* Step 5, delete the instance

    It is a good habit, but not always necessary.

    ```python
    # it is a good habit to del the instance after script
    del autolab
    ```