tf2-data
Item schemas, unusual effects, SKUs and more which can be useful for TF2 trading. Implemented by tf2-utils.
[!TIP] Use tf2-utils to get SKUs directly from inventories or offers, or convert item names to SKUs and vice versa.
Donate
- BTC:
bc1qntlxs7v76j0zpgkwm62f6z0spsvyezhcmsp0z2 - Steam Trade Offer
Setup
Install
pip install tf2-data
# or
python -m pip install tf2-data
Updating
pip install --upgrade tf2-data
# or
python -m pip install --upgrade tf2-data
Testing
# tf2-data/
pytest
Update files after new update
If the package is not up-to-date, run this snippet to update your local files.
from tf2_data import Schema, SchemaItems, IEconItems
api_key = "STEAM_API_KEY"
schema = Schema(api_key=api_key)
schema.set_effects()
ieconitems = IEconItems(api_key)
items = ieconitems.set_all_schema_items()
schema_items = SchemaItems(items)
schema_items.map_defindex_name()
schema_items.map_defindex_full_name()
schema_items.update_crate_series()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tf2_data-1.1.0.tar.gz
(1.4 MB
view details)
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 tf2_data-1.1.0.tar.gz.
File metadata
- Download URL: tf2_data-1.1.0.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d705cdbd01e3cfb3d76214fbb5d45356132fbbd87754e1a6c684eceeed96d1f
|
|
| MD5 |
8f3c396d97d4a98494c82bf6cc29663b
|
|
| BLAKE2b-256 |
9fc46635b18a365399808965ba77ad97fdaffaa4cd7433be7643dc7e38cccc54
|
File details
Details for the file tf2_data-1.1.0-py3-none-any.whl.
File metadata
- Download URL: tf2_data-1.1.0-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13b62b998b2e432a4c664acce3cceec2b9d441e5bcd4b941d6ea3ab04c75fde7
|
|
| MD5 |
759f5ffe9b9a539910ef454605af5408
|
|
| BLAKE2b-256 |
34c8b5e17e37c1338adab11479ce85b0c9b40179196689b28ffef9831d153f5e
|