
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
procyclingstats
Advanced tools
Procyclingstats is a Python package for scraping procyclingstats.com_,
which is a website with cycling stats. It's recommended to get familiar with
the website before using this package.
Using pip:
.. code-block:: text
$ pip install procyclingstats
Manual (for development):
.. code-block:: text
$ git clone https://github.com/themm1/procyclingstats.git
$ pip install -r procyclingstats/requirements_dev.txt
Basic Rider class usage:
.. code-block:: text
>>> from procyclingstats import Rider
>>> rider = Rider("rider/tadej-pogacar")
>>> rider.birthdate()
"1998-9-21"
>>> rider.parse()
{
'birthdate': '1998-9-21',
'height': 1.76,
'name': 'Tadej Pogačar',
'nationality': 'SI',
...
}
Interface consists from scraping classes which are currently Race,
RaceStartlist, RaceClimbs, RaceCombativeRiders, Ranking,
Rider, RiderResults, Stage and Team. Usage of all scraping
classes is almost the same and the only difference among them are parsing
methods as is for example birthdate in Rider class usage example.
Since the project is a web scraper which parses HTML, it's difficult to make
it reliable and it's common to encounter some HTML parsing problems. After
getting some kind of unexpected behaviour or parsing errors, it's recommended
to update the package on your system using
pip install procyclingstats --upgrade. If the problem proceeds, see the
GitHub issues_ page and if the issue hasn't been opened yet, don't hesitate to
open one!
.. _GitHub: https://github.com/themm1/procyclingstats .. _PyPI: https://pypi.org/project/procyclingstats .. _Documentation: https://procyclingstats.readthedocs.io/en/latest .. _procyclingstats.com: https://www.procyclingstats.com .. _selectolax: https://github.com/rushter/selectolax .. _issues: https://github.com/themm1/procyclingstats/issues
FAQs
A Python API wrapper for procyclingstats.com
We found that procyclingstats demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.