CLI tools for finarkae - A collection of tools for financial data processing. Made by ZYME with great π.
You need to install uv (the Python package manager) first. Choose your preferred method:
macOS (via Homebrew):
First, install Homebrew if you don't have it:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Then install uv:
brew install uvWindows (via PowerShell):
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Linux/macOS (via curl):
curl -LsSf https://astral.sh/uv/install.sh | shFor more installation options, visit: https://docs.astral.sh/uv/getting-started/installation/
Once uv is installed, install finarkae-cli directly from GitHub:
uv tool install git+https://github.com/zyme-dev/finarkae-cli.gitThis will make the finarkae command globally available in your terminal.
To update to the latest version automatically:
finarkae updateAlternatively you can manually update with:
uv tool install git+https://github.com/zyme-dev/finarkae-cli.git --forceThe CLI is organized into modules. Currently available:
# General help
finarkae --help
# Help for proxity module
finarkae proxity --help
# Show version
finarkae -v
# Update to latest version
finarkae update
# List available tools
uv tool listRead all CSV and XLS/XLSX files from a directory and display them in a formatted table.
Features:
- Supports both CSV and Excel files (.csv, .xls, .xlsx)
- Intelligent CSV parsing with French encoding support
- Handles complex CSV structures with metadata headers
- Displays file information including row/column counts
- Verbose mode with encoding details
Usage:
# Scan current directory
finarkae proxity compile-ops
# Scan specific directory
finarkae proxity compile-ops --dir /path/to/directory
finarkae proxity compile-ops -d /path/to/directory
# Verbose mode with detailed information
finarkae proxity compile-ops --verbose
finarkae proxity compile-ops -v --dir /path/to/directoryExample output:
Operations Files in /current/directory
βββββββββββββββββββββββββββββββββββββββββββββββ³βββββββ³ββββββββββ³βββββββ³ββββββββββ
β File Name β Type β Size β Rows β Columns β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β LISTE_OPERATIONS_ABC123_20250506.csv β .csv β 1.2 KB β 5 β 6 β
β data.xlsx β .xlsxβ 1.25 MB β 150 β 8 β
β report.xls β .xls β 0.85 MB β 200 β 5 β
βββββββββββββββββββββββββββββββββββββββββββββ΄βββββββ΄ββββββββββ΄βββββββ΄ββββββββββ
Summary:
β’ CSV files: 1
β’ Excel files: 2
β’ Total files: 3
β’ Total rows: 355
Keep your finarkae CLI up-to-date with the built-in update command.
Features:
- Automatic version checking against GitHub repository
- Safe update process with confirmation prompt
- Clear before/after version reporting
- Handles network errors gracefully
- Uses the same installation method (
uv tool install)
Usage:
# Check for updates and update if available
finarkae updateExample output when update is available:
π Checking for updates...
Current version: 0.1.10
Latest version: 0.1.11
π¦ New version available: 0.1.10 β 0.1.11
Would you like to update now? [y/N]: y
Updating finarkae CLI...
β
Update completed successfully!
π Successfully updated from 0.1.10 to 0.1.11!
You may need to restart your terminal or run 'hash -r' to refresh the command cache.
Example output when already up-to-date:
π Checking for updates...
Current version: 0.1.11
Latest version: 0.1.11
β
You are already running the latest version!
To remove just the finarkae-cli tool:
uv tool uninstall finarkae_cliIf you no longer need uv and want to remove it completely:
macOS (if installed via Homebrew):
brew uninstall uvLinux/macOS (if installed via curl):
# Remove uv binary
rm -rf ~/.cargo/bin/uv
# Remove uv cache and data
rm -rf ~/.cache/uv
rm -rf ~/.local/share/uvWindows (if installed via PowerShell):
# Remove uv from your PATH and delete the installation directory
# Location is typically in your user profile under .cargo\bin\Note: Only remove
uvif you're not using it for other Python projects. If you're unsure, just uninstall finarkae-cli and keepuvinstalled.
-
Clone the repository:
git clone https://github.com/zyme-dev/finarkae-cli.git cd finarkae-cli -
Install development dependencies:
make install
This will:
- Install all dependencies with
uv sync - Set up pre-commit hooks
- Prepare the development environment
- Install all dependencies with
-
Install in development mode:
uv tool install --editable .
# Run all tests
make test
# Run tests with verbose output
make test-verbose
# Run tests with coverage report
make test-cov
# Test on sample data
make sample-test# Format code
make format
# Run linting checks
make lint# Bump patch version (e.g., 0.1.0 β 0.1.1)
make bump-patch
# Bump minor version (e.g., 0.1.0 β 0.2.0)
make bump-minor
# Bump major version (e.g., 0.1.0 β 1.0.0)
make bump-majormake help # Show all available commands
make install # Install in development mode
make dev # Install development dependencies
make lint # Run linting checks
make format # Format code
make clean # Clean build artifacts
make test # Run unit tests
make test-verbose # Run tests with verbose output
make test-cov # Run tests with coverage report
make sample-test # Test on sample datafinarkae-cli/
βββ finarkae/ # Main package
β βββ __init__.py
β βββ main.py # CLI entry point
β βββ _version.py # Version management
β βββ proxity/ # Proxity module
βββ tests/ # Unit tests
βββ pyproject.toml # Project configuration
βββ Makefile # Development commands
βββ VERSION # Version number
βββ README.md # This file
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make your changes
- Run tests:
make test - Commit your changes:
git commit -m "Description" - Push to your fork:
git push origin feature-name - Create a Pull Request
- Python β₯ 3.12
uvpackage manager- Make (for development commands)
This project is licensed under the MIT License.