Python client library for interacting with the MultiSport platform.
Project description
multisport-py
A Python library for interacting with the MultiSport API.
Installation
pip install multisport-py
Usage
For a complete, working example of how to use the library, please see the simple_usage.py file in the examples directory.
» View Example: examples/simple_usage.py
To run the example, you will need to:
- Create a
.envfile in the root of the project (you can copy.env.example). - Fill in your
MULTISPORT_USERNAMEandMULTISPORT_PASSWORD. - Run the script:
python examples/simple_usage.py
Development
To set up the development environment:
- Clone the repository:
git clone https://github.com/TheUndefined/multisport-py.git cd multisport-py
- Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate
- Install development dependencies:
pip install hatchling pytest ruff black mypy httpx pip install -e . # Install the library in editable mode
Running Tests
pytest
Formatting and Linting
black .
ruff check . --fix
mypy src
License
This project is licensed under the MIT License - see the LICENSE file for details.
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 multisport_py-0.1.3.tar.gz.
File metadata
- Download URL: multisport_py-0.1.3.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
368e1156ab11a905036a201949f2f09d0b4ef96147fc02ce54ac24779d2a26f9
|
|
| MD5 |
fb10193801de84ba10837fc164ab8263
|
|
| BLAKE2b-256 |
2286b688a57a407ea5e5e8eb2a07590d04c65a21aff0e2bd94cc8da0333906f8
|
Provenance
The following attestation bundles were made for multisport_py-0.1.3.tar.gz:
Publisher:
ci.yml on theundefined/multisport-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
multisport_py-0.1.3.tar.gz -
Subject digest:
368e1156ab11a905036a201949f2f09d0b4ef96147fc02ce54ac24779d2a26f9 - Sigstore transparency entry: 774622385
- Sigstore integration time:
-
Permalink:
theundefined/multisport-py@5f6660dc8c69f42043504414986be4451946416f -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/theundefined
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@5f6660dc8c69f42043504414986be4451946416f -
Trigger Event:
push
-
Statement type:
File details
Details for the file multisport_py-0.1.3-py3-none-any.whl.
File metadata
- Download URL: multisport_py-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b309a579500a16f93995e1bad64be9e1d216e9f84a614c9270d5870bf807b80e
|
|
| MD5 |
1066acb1fdff4df5faa34035ac97ad3d
|
|
| BLAKE2b-256 |
4b43b21cf65063ce672249d52a3e9f223e4cdcf3779f4150194a52dcfb654951
|
Provenance
The following attestation bundles were made for multisport_py-0.1.3-py3-none-any.whl:
Publisher:
ci.yml on theundefined/multisport-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
multisport_py-0.1.3-py3-none-any.whl -
Subject digest:
b309a579500a16f93995e1bad64be9e1d216e9f84a614c9270d5870bf807b80e - Sigstore transparency entry: 774622387
- Sigstore integration time:
-
Permalink:
theundefined/multisport-py@5f6660dc8c69f42043504414986be4451946416f -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/theundefined
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@5f6660dc8c69f42043504414986be4451946416f -
Trigger Event:
push
-
Statement type: