Metadata-Version: 2.4
Name: btcticker
Version: 0.1.1
Summary: Creates PNG images with the current Bitcoin price and other information. Based on Pillow.
Author-email: Holger Nahrstaedt <nahrstaedt@gmail.com>
License: MIT License
        
        Copyright (c) 2025 Holger Nahrstaedt
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/holgern/btcticker
Keywords: Pillow,png,PIL
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >3.9.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: piltext
Requires-Dist: pydantic
Requires-Dist: babel
Requires-Dist: pymempool
Requires-Dist: pyccxt
Requires-Dist: rich
Requires-Dist: typer
Dynamic: license-file

# btcticker

Bitcoin ticker rendering with a provider-based price backend.

## Config

`btcticker` now defaults to the `pyccxt` backend. The main price settings are:

```ini
[Main]
price_provider = pyccxt
exchange = kraken
symbol = BTC/EUR
usd_symbol = BTC/USD
ccxt_timeout = 30000
price_refresh_seconds = 10
```

If `symbol` is empty, `btcticker` derives it from `fiat` as `BTC/<FIAT>`.

Legacy `price_service` configs are no longer supported. Migrate them to
`price_provider=pyccxt` plus explicit `exchange`, `symbol`, and `usd_symbol` values.

## CLI Config Selection

Config selection flags work globally for all commands:

```bash
btcticker --config my_config.ini text
btcticker --config my_config.ini image --output ticker.png
btcticker --config my_config.ini download
btcticker --config my_config.ini config edit
```

You can also use:

```bash
btcticker --local text
btcticker --global image
```

Only one of `--config`, `--local`, or `--global` may be used at a time.

For compatibility, command-local forms still work too:

```bash
btcticker text --config my_config.ini
btcticker image --local
btcticker config --global
```
