ilc-provider
Faker provider for ILC data models
Generates fake data for all data models: players, teams, leagues, etc.
When imported the ilc_provider package creates a Faker instance and adds itself as a provider. It can then be called like any other provider:
from ilc_provider import fake
league = fake.league()
See the documentation for the full list of data that can be generated.
Installation
(.venv) $ pip install ilc-provider
Usage
ilc_provider can be used as a Pytest fixture:
# conftest.py
import pytest
from ilc_provider import fake
# Any element of the provider can be accessed
# from this fixture:
# match = ilc_fake.match()
@pytest.fixture(scope="session")
def ilc_fake():
return fake
# A fake league is intensive to set up, so it is
# usually best to make a session-scoped league fixture:
@pytest.fixture(scope="session")
def fake_league(ilc_fake):
return ilc_fake.league()
Metadata
Release files for ilc-provider 0.1.3
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 | |
|---|---|---|---|---|
| ilc_provider-0.1.3.tar.gz | 43.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ilc_provider-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.3 kB
Release files / ilc_provider-0.1.3.tar.gz
| Download URL | ilc_provider-0.1.3.tar.gz |
|---|---|
| Size | 43.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aaf397ad1d9c124c3065fd107082c6b1c5ba7961df748cb39c25b6c254a502bd
|
|
BLAKE2b-256 checksum How to use checksums |
f63a0cfaad39d750f2c93d699127c73658e913f3da039b942d6a83e4557199de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / ilc_provider-0.1.3-py3-none-any.whl
| Download URL | ilc_provider-0.1.3-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c619d40cb2caededa24274d8265131c8fd28e2925f878b24031d5609695611c0
|
|
BLAKE2b-256 checksum How to use checksums |
45c1149822c71e7076d0d021be1aa525f26f154e7479471460e35d2f1950dd65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Security for ilc-provider 0.1.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.