Folder structure
- defensive_network/:
- assets/: All files that are not code, e.g. xT weights
- models/: All analytics models such as expected threat, expected receiver, involvement, tracking-event synchronization, formations, ...
- parse/: To access data.
- tests/: Tests to ensure reliability of the code (use pytest to run)
- utility/: Various helper functions.
- old/: Old files we don't need anymore (but keep them just in case)
- scripts/: Various Streamlit dashboards and Python scripts to analyse the data
- secrets/: Token etc. for accessing Google Drive
Installation
- Clone the repository:
git clone https://github.com/jonas-bischofberger/defensive-network
cd defensive-network
- Create and activate a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required packages:
pip install -r requirements.txt
- Run some analysis script!
streamlit run scripts/explore/Explore_defensive_network.py
streamlit run scripts/xt_statsbomb_correlation.py
streamlit run scripts/responsibility_and_google_drive.py
Metadata
Release files for defensive-network 0.0.8
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 | Actions |
|---|---|---|---|---|
| defensive_network-0.0.8.tar.gz | 160.9 kB | Without provenance | Details for defensive_network-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| defensive_network-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for defensive_network-0.0.8-py3-none-any.whl |
Total release size: 338.6 kB
Release files / defensive_network-0.0.8.tar.gz
| Download URL | defensive_network-0.0.8.tar.gz |
|---|---|
| Size | 160.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e8800d24e474d69e0279055fe37b906f348b1635abfc1954c9c2d7ae7c507e1
|
|
BLAKE2b-256 checksum How to use checksums |
a8688e630c26903ad5144ac2cea57ebfa332189e8df39a0531884d5f47b0171d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / defensive_network-0.0.8-py3-none-any.whl
| Download URL | defensive_network-0.0.8-py3-none-any.whl |
|---|---|
| Size | 177.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e73ea72ab50ac1abe4d54df3bb7f3d03897b12a8ea00a928c63586eef887954
|
|
BLAKE2b-256 checksum How to use checksums |
557165bfb78f6bf7cc84b4b2b74cf9a590f87028490dc1e903d4d4aa30a82a44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Security for defensive-network 0.0.8
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.