Skip to main content

Football Test Data

PyPI Version License

Generate fake footballer data with this Python package.

Installation

You can install the package using pip:

pip install footballtestdata

Usage

Import the FootballerGenerator class and other necessary modules to generate fake footballer data:

from footballtestdata import FootballerGenerator, position
from footballtestdata.data import ENG, ITA, SPA, GER

Initialize the FootballerGenerator object with the desired data for a specific country:

country = 'ENG'
footballer_generator = FootballerGenerator(ENG[0], ENG[1], ENG[2], ENG[3], position)

Generate fake footballer data:

num_footballers = 10
fake_footballers = [footballer_generator.generate_fake_footballer(country) for _ in range(num_footballers)]

Create a pandas DataFrame from the generated data:

import pandas as pd
df = pd.DataFrame(fake_footballers)

Save the DataFrame to an Excel file:

filename = f'fake_{country}_footballers.xlsx'
df.to_excel(filename, index=False)

For more usage examples and customization options, please refer to the documentation.

Documentation

For detailed documentation, refer to the official documentation.

Contributing

Contributions are welcome! If you would like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make the necessary changes and commit them.
  4. Open a pull request on the main branch.
  5. Please review the contribution guidelines for more details.

License

This project is licensed under the MIT License.

Release files for footballtestdata 1.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 footballtestdata 1.3
File Size Uploaded
footballtestdata-1.3.tar.gz 10.5 kB Details

Built distribution (wheel)

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

Total release size: 21.1 kB

Release files / footballtestdata-1.3.tar.gz

Download URL footballtestdata-1.3.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
deefb5b67bb9927ba64aff2e91f871c47701015fac1e915c1486a7e4f2b0d731
BLAKE2b-256 checksum
How to use checksums
4456ac3a16118c83148ff1a3d6492820de2ddbeda7f62d7732fa767ac0e95bb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / footballtestdata-1.3-py3-none-any.whl

Download URL footballtestdata-1.3-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f9be629079d90811f9b21f045dd1cf7ab1bb185de47cb5bac5855b71ebea21e
BLAKE2b-256 checksum
How to use checksums
dde57d7d677d7b56e01c5dc9782ad7bdba8408d83d6b379e1bc72bf05a5d4014
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.3 This release

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

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