tf2-data


Nametf2-data JSON
Version 1.0.2 PyPI version JSON
download
home_pageNone
SummaryItem schemas, unusual effects, SKUs and more useful data for TF2 trading
upload_time2025-07-25 10:24:07
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords tf2 data sku
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tf2-data
[![Stars](https://img.shields.io/github/stars/offish/tf2-data.svg)](https://github.com/offish/tf2-data/stargazers)
[![Issues](https://img.shields.io/github/issues/offish/tf2-data.svg)](https://github.com/offish/tf2-data/issues)
[![Size](https://img.shields.io/github/repo-size/offish/tf2-data.svg)](https://github.com/offish/tf2-data)
[![Discord](https://img.shields.io/discord/467040686982692865?color=7289da&label=Discord&logo=discord)](https://discord.gg/t8nHSvA)
[![Downloads](https://img.shields.io/pypi/dm/tf2-data)](https://pypi.org/project/tf2-data/)
[![Code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)


Item schemas, unusual effects, SKUs and more which can be useful for TF2 trading. Implemented by [tf2-utils](https://github.com/offish/tf2-utils).

## Donate
- BTC: `bc1qntlxs7v76j0zpgkwm62f6z0spsvyezhcmsp0z2`
- [Steam Trade Offer](https://steamcommunity.com/tradeoffer/new/?partner=293059984&token=0-l_idZR)

## Setup
### Install
```bash
pip install tf2-data
# or 
python -m pip install tf2-data
```

### Updating
```bash
pip install --upgrade tf2-data
# or 
python -m pip install --upgrade tf2-data
```

## Testing
```bash
# tf2-data/
pytest
```

## Update files after new update
If the package is not up-to-date, run this snippet to update your local files.

```python
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()
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tf2-data",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "tf2, data, sku",
    "author": null,
    "author_email": "offish <overutilization@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/65/f8/c855b07aa724733ff87f3e522baa5f995a66ef6645e923b06a192a21dd6b/tf2_data-1.0.2.tar.gz",
    "platform": null,
    "description": "# tf2-data\n[![Stars](https://img.shields.io/github/stars/offish/tf2-data.svg)](https://github.com/offish/tf2-data/stargazers)\n[![Issues](https://img.shields.io/github/issues/offish/tf2-data.svg)](https://github.com/offish/tf2-data/issues)\n[![Size](https://img.shields.io/github/repo-size/offish/tf2-data.svg)](https://github.com/offish/tf2-data)\n[![Discord](https://img.shields.io/discord/467040686982692865?color=7289da&label=Discord&logo=discord)](https://discord.gg/t8nHSvA)\n[![Downloads](https://img.shields.io/pypi/dm/tf2-data)](https://pypi.org/project/tf2-data/)\n[![Code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n\nItem schemas, unusual effects, SKUs and more which can be useful for TF2 trading. Implemented by [tf2-utils](https://github.com/offish/tf2-utils).\n\n## Donate\n- BTC: `bc1qntlxs7v76j0zpgkwm62f6z0spsvyezhcmsp0z2`\n- [Steam Trade Offer](https://steamcommunity.com/tradeoffer/new/?partner=293059984&token=0-l_idZR)\n\n## Setup\n### Install\n```bash\npip install tf2-data\n# or \npython -m pip install tf2-data\n```\n\n### Updating\n```bash\npip install --upgrade tf2-data\n# or \npython -m pip install --upgrade tf2-data\n```\n\n## Testing\n```bash\n# tf2-data/\npytest\n```\n\n## Update files after new update\nIf the package is not up-to-date, run this snippet to update your local files.\n\n```python\nfrom tf2_data import Schema, SchemaItems, IEconItems\n\napi_key = \"STEAM_API_KEY\"\nschema = Schema(api_key=api_key)\nschema.set_effects()\n\nieconitems = IEconItems(api_key)\nitems = ieconitems.set_all_schema_items()\n\nschema_items = SchemaItems(items)\nschema_items.map_defindex_name()\nschema_items.map_defindex_full_name()\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Item schemas, unusual effects, SKUs and more useful data for TF2 trading",
    "version": "1.0.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/offish/tf2-data/issues",
        "Homepage": "https://github.com/offish/tf2-data"
    },
    "split_keywords": [
        "tf2",
        " data",
        " sku"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3e7c222e08b0a7ee173b61627b93833a435b8afc177438b00b82e01864c5f8a5",
                "md5": "7d78b0e0a2a6083745b970cfefb19767",
                "sha256": "3a60196b2b5696f2e2d4e09ec30b335d31710f871763cd48e66e976fd83e52e9"
            },
            "downloads": -1,
            "filename": "tf2_data-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7d78b0e0a2a6083745b970cfefb19767",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 1336017,
            "upload_time": "2025-07-25T10:24:06",
            "upload_time_iso_8601": "2025-07-25T10:24:06.551659Z",
            "url": "https://files.pythonhosted.org/packages/3e/7c/222e08b0a7ee173b61627b93833a435b8afc177438b00b82e01864c5f8a5/tf2_data-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "65f8c855b07aa724733ff87f3e522baa5f995a66ef6645e923b06a192a21dd6b",
                "md5": "3e925c9c4a6912fa2ce162acbbf1bd68",
                "sha256": "1e750971857261a59091ea22f6dc4ff345ad307ad0fb032252115c0f97bc5d46"
            },
            "downloads": -1,
            "filename": "tf2_data-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "3e925c9c4a6912fa2ce162acbbf1bd68",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 1274077,
            "upload_time": "2025-07-25T10:24:07",
            "upload_time_iso_8601": "2025-07-25T10:24:07.665541Z",
            "url": "https://files.pythonhosted.org/packages/65/f8/c855b07aa724733ff87f3e522baa5f995a66ef6645e923b06a192a21dd6b/tf2_data-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-25 10:24:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "offish",
    "github_project": "tf2-data",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tf2-data"
}
        
Elapsed time: 1.96680s