Carles Sentis c3280f0926 Enhance configuration and documentation for production deployment vor 2 Tagen
..
README.md d3a04e0557 Update project structure and transition to UV package manager vor 3 Tagen
get_telegram_chat_id.py 7aeed104c2 Refactor bot initialization and polling mechanism to streamline the process. Removed unnecessary keep_running_future and updated logging for clarity. Adjusted stats command to simplify session information retrieval. Enhanced chat ID bot to utilize the new polling method. vor 3 Wochen
hyperliquid_account_analyzer.py c3280f0926 Enhance configuration and documentation for production deployment vor 2 Tagen
hyperliquid_leaderboard_scraper.py c3280f0926 Enhance configuration and documentation for production deployment vor 2 Tagen
migrate_to_uv.sh d3a04e0557 Update project structure and transition to UV package manager vor 3 Tagen
migrate_to_uv_robust.sh b325bc6b11 Increment bot version to 3.2.350 vor 3 Tagen

README.md

Utilities

This directory contains helpful scripts and utilities for the project.

🚀 UV Migration Script

migrate_to_uv.sh

A comprehensive bash script that handles migration from pip/venv to UV package manager.

Features

  • Smart cleanup - Removes cache files safely (excludes .venv)
  • UV installation - Automatically installs UV if not present
  • Environment verification - Tests dependencies and imports
  • Interactive prompts - Asks before destructive operations
  • Colored output - Easy to read progress indicators
  • Force mode - Non-interactive mode for CI/automation

Usage

Interactive mode (recommended):

./utils/migrate_to_uv.sh

Force mode (no prompts):

./utils/migrate_to_uv.sh --force

What it does

  1. Pre-migration Analysis - Counts cache files and checks project state
  2. UV Installation Check - Verifies or installs UV
  3. Cache Cleanup - Removes __pycache__, .pyc, and .pytest_cache files
  4. Environment Verification - Tests UV installation and dependencies
  5. Old Files Cleanup - Optionally removes old venv/ and requirements.txt
  6. Final Verification - Confirms everything is working

Safe to run multiple times

The script is idempotent - you can run it multiple times safely.


🔧 Other Utilities

get_telegram_chat_id.py

Helper script to get your Telegram chat ID for bot configuration.

hyperliquid_account_analyzer.py

Analyzes Hyperliquid account data and statistics.


💡 Tips

  • Always run scripts from the project root directory
  • Use --force mode for automated deployments
  • Cache files will regenerate automatically when needed
  • The migration script preserves all functionality