Metadata-Version: 2.5
Name: kodji-terminal
Version: 0.3.2
Summary: Lightweight market terminal for the BRVM (Bourse Régionale des Valeurs Mobilières, WAEMU).
Project-URL: Homepage, https://kodji.app
Project-URL: Terminal, https://kodji.app/terminal
Project-URL: Methodology, https://kodji.app/methodologie
Author-email: cmguinan <cmguinan@yahoo.fr>
License: MIT
Keywords: abidjan,brvm,finance,stock-market,terminal,tui,uemoa,waemu
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Natural Language :: French
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Office/Business :: Financial :: Investment
Requires-Python: <3.13,>=3.12
Requires-Dist: httpx>=0.28
Requires-Dist: markdown-it-py>=3.0
Requires-Dist: pydantic-settings>=2.6
Requires-Dist: pydantic>=2.9
Requires-Dist: python-dateutil>=2.9
Requires-Dist: selectolax>=0.3.28
Requires-Dist: textual-plotext>=0.5
Requires-Dist: textual>=0.85
Provides-Extra: server
Requires-Dist: anthropic>=0.69; extra == 'server'
Requires-Dist: apscheduler>=3.10; extra == 'server'
Requires-Dist: cryptography>=50.0.1; extra == 'server'
Requires-Dist: fastapi>=0.115; extra == 'server'
Requires-Dist: jinja2>=3.1; extra == 'server'
Requires-Dist: pypdf>=5.1; extra == 'server'
Requires-Dist: python-multipart>=0.0.20; extra == 'server'
Requires-Dist: sqlalchemy>=2.0; extra == 'server'
Requires-Dist: uvicorn[standard]>=0.32; extra == 'server'
Description-Content-Type: text/markdown

# Kodji Terminal

A keyboard-driven market terminal for the **BRVM** (Bourse Régionale des
Valeurs Mobilières, Abidjan): quotes, charts with technical studies,
financial statements, dividends, bonds, news, watchlists and your
portfolio — in French or English, in any terminal.

*Un terminal de marché au clavier pour la BRVM : cours, graphiques et
indicateurs techniques, états financiers, dividendes, obligations,
actualités, listes de suivi et portefeuille — en français ou en anglais.*

The terminal is part of the paid plan on [kodji.app](https://kodji.app).
It works **offline**: it downloads a copy of the market data once, then
reads it locally, so it is fast on a slow connection and keeps working
with none.

## Install

Python 3.12 is required. The simplest way is [uv](https://docs.astral.sh/uv/):

```bash
uv tool install kodji-terminal
```

or with pipx: `pipx install kodji-terminal`.

## Sign in and download the data

1. Open [kodji.app/terminal](https://kodji.app/terminal) while signed in
   and create a **sync token**. It is shown once: copy it.
2. Then:

```bash
kodji login --token kodji_sync_...   # store the token on this computer
kodji sync                           # download the data (about 10–30 MB)
kodji tui                            # open the terminal
```

Run `kodji sync` again whenever you want fresher data (for example after
the close); `kodji status` shows how old your copy is. `kodji sync --full`
downloads the whole price history instead of the last few years.

*Ouvrez kodji.app/terminal, créez un jeton de synchronisation, puis
`kodji login --token …`, `kodji sync` et `kodji tui`.*

## Using it

- `ctrl+k` searches a ticker or a company; the footer lists the keys of
  the screen you are on (`h` home, `d` directory, `w` watchlists,
  `a` alerts, `r` refresh, `q` quit).
- Tabs on a security: chart (day / week / month, technical studies),
  description, peers, news, corporate actions, financials.
- The header shows two ages: the last market snapshot in your copy, and
  when you last synced.
- French by default; `LOCALE=en kodji tui` opens it in English.

Watchlists and alert rules are managed on kodji.app: a sync brings your
latest ones down to the terminal. **Edits made in the terminal stay in your
local copy only**: the next `kodji sync` replaces them with your account's
(it warns when it does), and alert rules never fire from the terminal. Make
lasting changes on kodji.app.

*Les listes et alertes se gèrent sur kodji.app : une modification faite dans
le terminal reste locale et la prochaine `kodji sync` la remplace.*

On a narrow terminal (under 100 columns) the watchlist sidebar hides
itself; `ctrl+b` shows or hides it.

## Good to know

- Data comes from public sources (BRVM, Sikafinance, AFX) and is
  **delayed**. It is information, not investment advice.
- A lapsed subscription stops the copy from *updating*; the data already
  on your computer keeps opening.
- Tokens can be revoked at any time on kodji.app/terminal.

Questions: support@kodji.app · Methodology:
[kodji.app/methodologie](https://kodji.app/methodologie)
