tf2-data


Nametf2-data JSON
Version 1.0.5 PyPI version JSON
download
home_pageNone
SummaryItem schemas, unusual effects, SKUs and more useful data for TF2 trading
upload_time2025-10-10 20:12:32
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/cd/98/4bfdb7f2e6ae461c837b422ce5d71c3e08193b4c6a6718df09715c642c39/tf2_data-1.0.5.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.5",
    "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": "66f6ceaeb28a0e91857aae1ed5d4fc3c64780a0297ad4914b1cbac45fc6fb8f7",
                "md5": "dace912aa36bc1d7f2c27b8b6d6352a6",
                "sha256": "bd69ec21b6038b437f47c31fc60bcd94a034ec1e4b6090536b79a4b05ad7a801"
            },
            "downloads": -1,
            "filename": "tf2_data-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dace912aa36bc1d7f2c27b8b6d6352a6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 1352926,
            "upload_time": "2025-10-10T20:12:30",
            "upload_time_iso_8601": "2025-10-10T20:12:30.431038Z",
            "url": "https://files.pythonhosted.org/packages/66/f6/ceaeb28a0e91857aae1ed5d4fc3c64780a0297ad4914b1cbac45fc6fb8f7/tf2_data-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "cd984bfdb7f2e6ae461c837b422ce5d71c3e08193b4c6a6718df09715c642c39",
                "md5": "8f01f5f8009aa1a1655829ce32067eee",
                "sha256": "72bda3701db99c25e428ac45ed1f0c68973afbcfdbe037a45a56b8bb04377717"
            },
            "downloads": -1,
            "filename": "tf2_data-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "8f01f5f8009aa1a1655829ce32067eee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 1289887,
            "upload_time": "2025-10-10T20:12:32",
            "upload_time_iso_8601": "2025-10-10T20:12:32.549139Z",
            "url": "https://files.pythonhosted.org/packages/cd/98/4bfdb7f2e6ae461c837b422ce5d71c3e08193b4c6a6718df09715c642c39/tf2_data-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-10 20:12:32",
    "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: 2.89050s