mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-14 07:22:25 +00:00
Authentication Fixes: - Implement proper async GoCardless token management in leggend service - Add automatic token refresh and creation for expired/missing tokens - Unify auth.json storage path between CLI and API (~/.config/leggen/) - Fix 401 Unauthorized errors when accessing GoCardless API Development Enhancements: - Add --reload flag to leggend for automatic file watching and restart - Add --host and --port options for flexible service binding - Include both leggend/ and leggen/ directories in reload watching - Improve development workflow with hot reloading Configuration Consistency: - Standardize config path to ~/.config/leggen/config.toml for both CLI and API - Ensure auth.json is stored in same location as main config - Add httpx dependency for async HTTP requests in leggend service Verified working: leggen status command successfully authenticates and retrieves bank/account data via leggend API service. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
67 lines
1.5 KiB
TOML
67 lines
1.5 KiB
TOML
[project]
|
|
name = "leggen"
|
|
version = "0.6.11"
|
|
description = "An Open Banking CLI"
|
|
authors = [{ name = "Elisiário Couto", email = "elisiario@couto.io" }]
|
|
requires-python = "~=3.12.0"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
keywords = [
|
|
"openbanking",
|
|
"cli",
|
|
"psd2",
|
|
"gocardless",
|
|
"mongodb",
|
|
"bank",
|
|
"transactions",
|
|
"finance",
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Environment :: Console",
|
|
"Intended Audience :: End Users/Desktop",
|
|
"Intended Audience :: Financial and Insurance Industry",
|
|
"Topic :: Utilities",
|
|
"Topic :: Office/Business :: Financial",
|
|
]
|
|
dependencies = [
|
|
"click>=8.1.7,<9",
|
|
"requests>=2.31.0,<3",
|
|
"loguru>=0.7.2,<0.8",
|
|
"tabulate>=0.9.0,<0.10",
|
|
"pymongo>=4.6.1,<5",
|
|
"discord-webhook>=1.3.1,<2",
|
|
"fastapi>=0.104.0,<1",
|
|
"uvicorn[standard]>=0.24.0,<1",
|
|
"apscheduler>=3.10.0,<4",
|
|
"tomli-w>=1.0.0,<2",
|
|
"httpx>=0.28.1",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/elisiariocouto/leggen"
|
|
|
|
[project.scripts]
|
|
leggen = "leggen.main:cli"
|
|
leggend = "leggend.main:main"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.6.1",
|
|
"pre-commit>=3.6.0",
|
|
]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = ["leggen", "leggend"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
include = ["leggen", "leggend"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.ruff]
|
|
lint.ignore = ["E501", "B008", "B006"]
|
|
lint.extend-select = ["B", "C4", "PIE", "T20", "SIM", "TCH"]
|