Skip to content

Commit

Permalink
Merge pull request #3 from offish/v0.0.3
Browse files Browse the repository at this point in the history
fix circular import and restructure a bit
  • Loading branch information
offish authored Oct 21, 2023
2 parents 5f3a2ef + f53c058 commit 777b79b
Show file tree
Hide file tree
Showing 14 changed files with 31,880 additions and 4,691 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![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. Dependant on [tf2-utils](https://github.com/offish/tf2-utils).
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`
Expand All @@ -22,9 +22,9 @@ python -m pip install tf2-data

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

## Testing
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "tf2-data"
authors = [
{ name="offish", email="overutilization@gmail.com" },
]
description = "Item schemas, unusual effects, SKUs and more which can be useful for TF2 trading"
description = "Item schemas, unusual effects, SKUs and more useful data for TF2 trading"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["tf2", "data", "sku"]
Expand All @@ -16,7 +16,7 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = ["tf2-utils"]
dependencies = ["requests"]
dynamic = ["version"]

[project.urls]
Expand Down
5 changes: 3 additions & 2 deletions src/tf2_data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
__title__ = "tf2-data"
__author__ = "offish"
__version__ = "0.0.2"
__version__ = "0.0.3"
__license__ = "MIT"

from .schema import Schema, SchemaItems, IEconItems, EFFECTS
from .schema import Schema, SchemaItems, IEconItems
from .static import *
from .files import EFFECTS, SCHEMA_ITEMS, DEFINDEX_NAMES
5 changes: 5 additions & 0 deletions src/tf2_data/files.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .utils import read_lib_json_file

EFFECTS = read_lib_json_file("effects")
SCHEMA_ITEMS = read_lib_json_file("schema_items")
DEFINDEX_NAMES = read_lib_json_file("defindex_names")
File renamed without changes.
Loading

0 comments on commit 777b79b

Please sign in to comment.