44b4e40c40
- Add RbxError base class with AuthError, RateLimitError, UploadError, and AssetNotFoundError subclasses - Add BatchUploadItem and BatchResult dataclasses - Add batch_upload method with semaphore-limited concurrency (2 at a time) - Add configurable max_attempts and poll_interval to upload_clothing_image - Add CLI with upload and onsale commands (rbx-upload[cli] extra) - Improve auth error handling across all client methods - Bump version to 0.2.0
32 lines
548 B
TOML
32 lines
548 B
TOML
[project]
|
|
name = "rbx-upload"
|
|
version = "0.2.0"
|
|
description = "Roblox asset upload client"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"httpx>=0.25.0",
|
|
]
|
|
license = "MIT"
|
|
|
|
[project.optional-dependencies]
|
|
cli = ["click>=8.0"]
|
|
|
|
[project.scripts]
|
|
rbx-upload = "rbx_upload.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/rbx_upload"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|