Skip to main content

UFCStats: A Python API for fighers stats on ufcstats.com

ufcstats provides a simple api to retrieve stats from figherse pages on ufcstats.com

Requirements

This package requires beautifulsoup4 and urllib3

Installation

Use pip to install the package from PyPi:

pip install ufcstats

Usage

Import the package and retrieve stats for a certain fighter:

import ufcstats
stats = ufcstats.getStats("Jon Jones")
print(stats)
{
    "Name": "Jon Jones",
    "Nick": "Bones",
    "Height:": "6' 4\"",
    "Weight:": "205 lbs.",
    "Reach:": "84\"",
    "STANCE:": "Orthodox",
    "DOB:": "Jul 19, 1987",
    "SLpM:": "4.48",
    "Str. Acc.:": "57%",
    "SApM:": "2.05",
    "Str. Def:": "64%",
    "TD Avg.:": "2.07",
    "TD Acc.:": "47%",
    "TD Def.:": "95%",
    "Sub. Avg.:": "0.5"
}

Metadata

Release files for ufcstats 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ufcstats 0.0.3
File Size Uploaded Provenance
ufcstats-0.0.3.tar.gz 2.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ufcstats 0.0.3
File Interpreter ABI Platform
ufcstats-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / ufcstats-0.0.3.tar.gz

Download URL ufcstats-0.0.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d19ef7f75b030fc7e604b90027e6d52791ae5d151ccd454d923aa882fd0192b5
BLAKE2b-256 checksum
How to use checksums
4bece5feb0f82a1d02b9427fb176839c52ffb64bebac7a70990090416946558b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release files / ufcstats-0.0.3-py3-none-any.whl

Download URL ufcstats-0.0.3-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ae1a1c5398369444de3ce7bb25f803dc44f43260aacbb5f8651be5a70bd178d
BLAKE2b-256 checksum
How to use checksums
ee072d21f7802a9a6031b7d067ad8ff2e9fa62055a91b6a7eab1a488b9c7e353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Security for ufcstats 0.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page