semvec/pypi-packages huggingface dataset:
mwwlean-email-scraper 0.7
A Python tool that extracts public email addresses from websites.

![](mwwlean_email_scraper.png)

# Email Scraper

**Email Scraper** is a Python tool that extracts public email addresses from websites and saves them to a file for easy access. It is designed for developers and security researchers to quickly retrieve email data from a specified website.

## Table of Contents

1. [Features](#features)
2. [Installation](#installation)
3. [Usage](#usage)

## Features

- Extract public email addresses from any given website.
- Save extracted emails to a timestamped text file.
- Command-line interface for ease of use.

## Installation

### Using `pip`

1. Install the package from PyPI:

    ```bash
    pip install mwwlean-email-scraper
    ```

2. Verify the installation:

    ```bash
    email_scraper -h
    ```

   This should show you the help options if the installation was successful.

## Usage

### Command-Line Interface

Once installed, you can use the `email_scraper` command to extract emails from a website.

1. Extract emails from a website:

    ```bash
    email_scraper http://example.com
    ```

2. You can also run it in interactive mode:

    ```bash
    email_scraper
    ```

   It will prompt you to enter a URL, and you can type `exit` to quit.

### Help

To see all available commands and options:

```bash
email_scraper -h
```
module-config 0.0.1
A simple configuration manager for Python applications.
Requires Python: >=3.12

# ModuleConfig

## Overview

`ModuleConfig` is a Python class designed to facilitate the loading and management of configuration settings for applications. It supports both global and local configurations, allowing for a flexible and organized approach to handling application settings.

## Features

-   Load configurations from JSON and YAML files.
-   Support for both global and module-specific local configurations.
-   Ability to retrieve and set configuration values easily.
-   Default values can be specified for configuration retrieval.

## Requirements

-   Python 3.x
-   `PyYAML` library for handling YAML files (install using `pip install PyYAML`).

## Usage

### Importing the Module

To use the `ModuleConfig` class, import it into your Python script:

```python
from module_config import ModuleConfig
```

### Loading Configuration Files

#### Load Global Configuration

To load a global configuration file (either JSON or YAML):

```python
ModuleConfig.load_global_config('path/to/global_config.json')
```

#### Load Local Configuration for a Module

To load a local configuration for a specific module:

```python
ModuleConfig.load_local_config('module_name', 'path/to/local_config.yaml')
```

### Retrieving Configuration Values

To get a configuration value, use the `get_config` method:

```python
# Retrieve a global config value
value = ModuleConfig.get_config('some_key', default='default_value')

# Retrieve a local config value
value = ModuleConfig.get_config('some_key', module_name='module_name', default='default_value')
```

### Setting Configuration Values

You can set configuration values using the `set_config` method:

```python
# Set a global config value
ModuleConfig.set_config('some_key', 'new_value')

# Set a local config value for a specific module
ModuleConfig.set_config('some_key', 'new_value', module_name='module_name')
```

## Error Handling

-   **FileNotFoundError**: Raised when the specified configuration file does not exist.
-   **ValueError**: Raised when an unsupported configuration format is provided.

## Example

Here's a simple example demonstrating how to use `ModuleConfig`:

```python
# Load global config
ModuleConfig.load_global_config('config/global_config.yaml')

# Load local config for a module
ModuleConfig.load_local_config('module1', 'config/module1_config.json')

# Get configuration values
database_url = ModuleConfig.get_config('database_url')
module_specific_setting = ModuleConfig.get_config('setting_key', module_name='module1', default='default_value')

# Set a configuration value
ModuleConfig.set_config('api_key', 'your_api_key_here')
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
ham-radio-tools 0.0.1a1
A command-line interface for the ham_tools modules.
Requires Python: >=3.10

# ITU Prefixes

[![PyPI - Version](https://img.shields.io/pypi/v/ham-tools.svg)](https://pypi.org/project/ham-tools)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ham-tools.svg)](https://pypi.org/project/ham-tools)

-----

```console
pip install ham-tools
```


## License

`itu-prefixes` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.