Metadata-Version: 2.5
Name: metaprobe
Version: 0.1.0
Summary: A lightweight Python library for extracting metadata from webpages.
Author-email: Code X Savage <codexsavage6s@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: html,metadata,open-graph,seo,web-scraping
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: beautifulsoup4<5,>=4.12
Requires-Dist: httpx<1,>=0.25
Provides-Extra: dev
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: respx; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Description-Content-Type: text/markdown

# MetaProbe

A lightweight Python library for fetching webpages and extracting their metadata, including page titles, descriptions, Open Graph and Twitter Card information.

## Installation

```bash
pip install metaprobe
```

## Usage

```python
import asyncio
from metaprobe import MetadataExtractor

async def main():
    extractor = MetadataExtractor()

    metadata = await extractor.get_metadata(
        "https://example.com"
    )

    print(metadata)

if __name__ == "__main__":
    asyncio.run(main())
```

## CLI Usage

You can also use MetaProbe directly from your terminal:

```bash
metaprobe https://example.com
```

## How It Works

MetaProbe is built with Python and uses:

- **HTTPX** – for asynchronous HTTP requests and webpage fetching.
- **BeautifulSoup4** – for parsing HTML and extracting metadata.

The library separates webpage fetching from metadata extraction, making its components easier to maintain and extend.

## Built With

- Python
- HTTPX
- BeautifulSoup4

## License

See the [LICENSE](LICENSE) file for licensing information.

