Name | tf2-data JSON |
Version |
0.3.0
JSON |
| download |
home_page | None |
Summary | Item schemas, unusual effects, SKUs and more useful data for TF2 trading |
upload_time | 2024-12-12 11:08:14 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
tf2
data
sku
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# tf2-data
[![License](https://img.shields.io/github/license/offish/tf2-data.svg)](https://github.com/offish/tf2-data/blob/master/LICENSE)
[![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)
[![Code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
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/
python -m unittest
```
## Update files after new update
To update the local files after a TF2 update run this snippet.
```python
from tf2_data.schema 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/73/25/0a777d545ec7101172476cf378d6bc41b528e546efe6f9d24e1e0f754a9e/tf2_data-0.3.0.tar.gz",
"platform": null,
"description": "# tf2-data\n[![License](https://img.shields.io/github/license/offish/tf2-data.svg)](https://github.com/offish/tf2-data/blob/master/LICENSE)\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[![Code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\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/\npython -m unittest\n```\n\n## Update files after new update\nTo update the local files after a TF2 update run this snippet.\n\n```python\nfrom tf2_data.schema 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": "0.3.0",
"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": "",
"digests": {
"blake2b_256": "fc56edb1e5b56fcccf49719df9b42213b395f80f2d431ae603e26c006b1fc8f1",
"md5": "b5f1ae46b40d2e2a467131bf632082c1",
"sha256": "ec87f4b713492f15531bad5bd290c9f2e6525badd1d3a7de94b9e70f3d3e2140"
},
"downloads": -1,
"filename": "tf2_data-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b5f1ae46b40d2e2a467131bf632082c1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 1305302,
"upload_time": "2024-12-12T11:08:10",
"upload_time_iso_8601": "2024-12-12T11:08:10.305868Z",
"url": "https://files.pythonhosted.org/packages/fc/56/edb1e5b56fcccf49719df9b42213b395f80f2d431ae603e26c006b1fc8f1/tf2_data-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "73250a777d545ec7101172476cf378d6bc41b528e546efe6f9d24e1e0f754a9e",
"md5": "07e463741925ef62b71d02bc65c4d777",
"sha256": "c742f776c241d8dd82408928939b4766bcbe644f5fe7865e6ec911bf88488af5"
},
"downloads": -1,
"filename": "tf2_data-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "07e463741925ef62b71d02bc65c4d777",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 1243995,
"upload_time": "2024-12-12T11:08:14",
"upload_time_iso_8601": "2024-12-12T11:08:14.966335Z",
"url": "https://files.pythonhosted.org/packages/73/25/0a777d545ec7101172476cf378d6bc41b528e546efe6f9d24e1e0f754a9e/tf2_data-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-12 11:08:14",
"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"
}