Skip to main content

Socialify


PyPI Python License uv Ruff

taygedo — an unofficial Python client & CLI for the bbs-api.tajiduo.com platform.
Query game data, manage your account, and automate monthly sign-ins for Tower of Fantasy and 异环.


✨ Features

  • 🔐 Account auth — login, session management, and credential storage
  • 🗂️ CLI config — TOML-based configuration via taygedo conf
  • 🗼 Tower of Fantasy — fetch in-game data (tof / ht commands, gameId=1256)
  • 🌀 异环 (NTE) — fetch game data and automate monthly sign-ins (nte / yh commands, gameId=1289)
  • 🔍 Debug mode — print every HTTP request/response to stderr with --debug
  • 🧩 Typed SDK — py.typed marker included; fully type-checked with mypy strict mode
  • ⚡ Async-ready — built on curl-cffi for high-performance HTTP

🚀 Getting Started

Prerequisites

  • Python 3.13+
  • uv (recommended) or pip

Installation

With uv (recommended):

uv tool install taygedo

With pip:

pip install taygedo

Quick Usage

# Show help
taygedo --help

# Log in to your account
taygedo auth login

# Fetch Tower of Fantasy data
taygedo tof <subcommand>

# Fetch 异环 data and trigger monthly sign-in
taygedo nte sign-in

# Enable debug output
taygedo --debug tof <subcommand>

CLI Reference

Usage: taygedo [OPTIONS] COMMAND [ARGS]...

  taygedo — bbs-api.tajiduo.com client.

Options:
  --version  Show the version and exit.
  --debug    Print every HTTP request/response to stderr.
  --help     Show this message and exit.

Commands:
  auth  Account login and management.
  conf  CLI configuration (config.toml).
  ht    Tower of Fantasy (gameId=1256) data.
  nte   异环 (gameId=1289) data + monthly sign-in.
  tof   Tower of Fantasy (gameId=1256) data.
  yh    异环 (gameId=1289) data + monthly sign-in.

🛠️ Development

Setup

git clone https://github.com/1shin-7/taygedo.py.git
cd taygedo.py

# Install dependencies (including dev extras)
uv sync

Running Tests

uv run pytest

Linting & Type Checking

# Lint with ruff
uv run ruff check .

# Format
uv run ruff format .

# Type-check with mypy
uv run mypy src/

Project Structure

taygedo.py/
├── src/
│   └── taygedo/
│       ├── cli/          # Click-based CLI commands
│       ├── client.py     # HTTP client (curl-cffi)
│       ├── core/         # Core logic
│       ├── crypto/       # Signing / cryptography helpers
│       ├── device/       # Device fingerprint generation
│       ├── models/       # Pydantic response models
│       ├── services/     # Game-specific service modules
│       ├── signers/      # Request signers
│       └── utils/        # Shared utilities
├── tests/
├── scripts/
└── pyproject.toml

Metadata

Release files for taygedo 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taygedo 0.2.3
File Size Uploaded Provenance
taygedo-0.2.3.tar.gz 58.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for taygedo 0.2.3
File Interpreter ABI Platform
taygedo-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 160.0 kB

Release files / taygedo-0.2.3.tar.gz

Download URL taygedo-0.2.3.tar.gz
Size 58.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aaa7e5d1e790710788fe378344071e6a5a3f01b0b42bde1b5c1994a479ad3e0e
BLAKE2b-256 checksum
How to use checksums
8bbba1ec1a47f3f9a1aa013a7ab6ce9876953f65df308a6ffddcccc89e4a5612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / taygedo-0.2.3-py3-none-any.whl

Download URL taygedo-0.2.3-py3-none-any.whl
Size 101.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9e0846cdf6acbcae1ee9c53b3d5af9cbbc9c2adb6d5d452c6b9762bdb320685
BLAKE2b-256 checksum
How to use checksums
d8ebc877d33484b0773d4edc3450355f780850a9e732484f1fbfad1f7715f9b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for taygedo 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page