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()
Metadata
Release files for tf2-data 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tf2_data-1.1.0.tar.gz | 1.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tf2_data-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.8 MB
Release files / tf2_data-1.1.0.tar.gz
| Download URL | tf2_data-1.1.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d705cdbd01e3cfb3d76214fbb5d45356132fbbd87754e1a6c684eceeed96d1f
|
|
BLAKE2b-256 checksum How to use checksums |
9fc46635b18a365399808965ba77ad97fdaffaa4cd7433be7643dc7e38cccc54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tf2_data-1.1.0-py3-none-any.whl
| Download URL | tf2_data-1.1.0-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13b62b998b2e432a4c664acce3cceec2b9d441e5bcd4b941d6ea3ab04c75fde7
|
|
BLAKE2b-256 checksum How to use checksums |
34c8b5e17e37c1338adab11479ce85b0c9b40179196689b28ffef9831d153f5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|