Matly
Project description
Matly
Matly is a user-friendly web scraping library designed to simplify the process of extracting data from web pages. With a clean and intuitive API, Matly makes it easy for both beginners and experienced developers to perform web scraping tasks.
Features
- Simple API: Easily perform HTTP requests and parse HTML.
- Data Extraction: Retrieve data using CSS selectors.
- Error Handling: Built-in error handling for HTTP requests.
- BeautifulSoup Integration: Utilizes BeautifulSoup for HTML parsing.
Installation
Install Matly using pip.
pip install matly
Usage
Here’s a quick example of how to use Matly:
from matly import get, parse, find
# Fetch the HTML content from a URL
html = get("https://example.com")
# Parse the HTML content
soup = parse(html)
# Find all <h1> elements
data = find(soup, "h1")
# Print the extracted data
print(data)
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file matly-0.1.1.tar.gz.
File metadata
- Download URL: matly-0.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a97c58c26c430ed811b3e1aa90b61254bc748b72c9d992e898b08408d1e1bfb
|
|
| MD5 |
18cc23b6ac8b789d1f5159983df13927
|
|
| BLAKE2b-256 |
781e99ee11c3cf9b7d666f32380ada1a71a9f0356424f10d62e23001662052e1
|
File details
Details for the file matly-0.1.1-py3-none-any.whl.
File metadata
- Download URL: matly-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c0e9b5d8e9e21eb0c9bf9eec7d1a8bc4c2c66b861939d70872e5d031a59a371
|
|
| MD5 |
93b56ed2a06ffeb0b801c5502a0d81b0
|
|
| BLAKE2b-256 |
31ec649b44b866301b66191f86ce3b17a88407f36cc9382fbf29f8c1b16527ce
|