BasketballCrawler
Welcome to the Python package designed for web crawling. This project aims to scrape data from the website "https://www.krepsinis.net" related to basketball articles. The data is extracted using web scraping techniques and organized into a Pandas DataFrame.
Installation
Using a Package Manager
You can install the crawler as a package using pip:
pip install m1_project_agne
Or using poetry:
poetry add m1_project_agne
Cloning the Repository
You can also clone the repository and install the dependencies using poetry:
git clone https://github.com/agnesema/m1_project_agne
cd m1_project_agne
poetry install
Usage
To use this project, you can import the crawl function from main.py and call it with the desired parameters. Here is an example:
from m1_project_agne.main import crawl
result = crawl(source="krepsinis", return_format="csv", time_limit=10, search_word="rytas")
print(result)
Structure
The project is structured as follows:
- m1_project_agne/: Main package directory.
- init.py: Package initialization file.
- krepsinis.py: Crawler for the Krepsinis website.
- main.py: Main script for the crawler package.
- tests/: Test scripts for the package.
- init.py: Initialization file for tests.
- test.py: Test scripts
Licence
This project is licensed under the MIT license.
Metadata
Release files for m1-project-agne 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| m1_project_agne-0.1.1.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| m1_project_agne-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / m1_project_agne-0.1.1.tar.gz
| Download URL | m1_project_agne-0.1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d6368ccffcf057ecbb11aeb430f93c56a16b26e1d3dee9790aeba11c3bd07f3
|
|
BLAKE2b-256 checksum How to use checksums |
b2512b49d8d9e930b420ab652cdb9fe44d1a4541bbf46ae36cc90ae7fde2a505
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.6 Windows/10
|
Release files / m1_project_agne-0.1.1-py3-none-any.whl
| Download URL | m1_project_agne-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2bd7595bc4ea066272090963c74106f8e4131be0847370335a8480dd2e0ed90
|
|
BLAKE2b-256 checksum How to use checksums |
bc9b8e656f685a64c7293c20ebf6f53bc1cf8c74c8f913404bb5081b9f409960
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.6 Windows/10
|
Security for m1-project-agne 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.