scranking
scranking is a python library that display ranking of the college swimmer
Overview
Scranking is a library designed specifically for extracting data from swimcloud, a comprehensive website that showcases the times and rankings of high school and college swimmers.
The library will allow users to simpily type the URL and get all the neccessary information of that swimmer.
Install
Install using 'pip install scranking' in the command line and import it to your python file like all the others.
Quickstart of scranking
from scranking import Swimmer
# Initialize the swimmer object with your swimcloud url
swimmer = Swimmer("url")
# Check if the browser is working
swimmer.get_http_status()
# Create a bf4 for that swimmer objecft
swimmer.get_soup()
# Save the html of the website into text file
swimmer.save_soup_to_file("soup", "filename.txt")
# Get the full name of that swimmer with the soup you created
swimmer.get_name("soup")
# Find a line html that contains swimmer's social network information and hometown
swimmer.get_info("infohtml")
# Get all the events for that swimmer with the best time
swimmer.get_event("soup")
# A search method for get_event method
swimmer.lookup_event("40 L Free")
Metadata
Release files for scranking 0.1.2
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 | Actions |
|---|---|---|---|---|
| scranking-0.1.2.tar.gz | 8.0 kB | Without provenance | Details for scranking-0.1.2.tar.gz |
Release files / scranking-0.1.2.tar.gz
| Download URL | scranking-0.1.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4802755e98d515182bff40cc09e147f2ae3f1bfca62d7c2fe6297723a2ee28f
|
|
BLAKE2b-256 checksum How to use checksums |
920c770e2a7a4cc280e786a773b90f070da19d154e2b2ff8713ab6ab0a16da7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.28.2 setuptools/67.6.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Security for scranking 0.1.2
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.