Skip to main content

retrieves AR$ rates from fixer.io API

Project description

Lechuga

:leaves:

"Lechuga" (lettuce) is a commonly used slang financial term in Argentina to refer to US Dollars.

Installation

Requirements:

  • A fixer.io free account
  • Python 3.10+
  • SQLite3

Install with pipx (recommended for CLI tools):

$ pipx install lechuga

Or install with pip:

$ pip install lechuga

Setup an environment variable with the Fixer IO API access key:

export FIXERIOKEY=YOUR_API_KEY

What it does

It retrieves data from the fixer.io API && prints it using pretty colors right to the cli output.

How it works

Help

$ lechuga --help

Usage: lechuga.py [OPTIONS]

Options:
  --n INTEGER  How far in the past should we go?
  --help       Show this message and exit.

Get latest n rates

โž” lechuga --n 30

  Fecha       USD         EURO 
----------  ----------  ----------
2026-02-09  1416.49     1686.12
2026-02-10  1403.99 ๐Ÿ“‰  1669.19 ๐Ÿ“‰
2026-02-11  1404.38 ๐Ÿ“ˆ  1667.79 ๐Ÿ“‰
2026-02-12  1397.12 ๐Ÿ“‰  1658.08 ๐Ÿ“‰
2026-02-13  1398.43 ๐Ÿ“ˆ  1660.04 ๐Ÿ“ˆ
2026-02-14  1399.25 ๐Ÿ“ˆ  1661.02 ๐Ÿ“ˆ
2026-02-15  1399.25 ๐Ÿ“‰  1660.50 ๐Ÿ“‰
2026-02-16  1399.27 ๐Ÿ“ˆ  1658.06 ๐Ÿ“‰
2026-02-17  1393.48 ๐Ÿ“‰  1651.46 ๐Ÿ“‰
2026-02-18  1396.99 ๐Ÿ“ˆ  1646.80 ๐Ÿ“‰
2026-02-19  1390.48 ๐Ÿ“‰  1636.41 ๐Ÿ“‰
2026-02-20  1375.17 ๐Ÿ“‰  1621.18 ๐Ÿ“‰
2026-02-21  1375.75 ๐Ÿ“ˆ  1621.87 ๐Ÿ“ˆ
2026-02-22  1375.75 ๐Ÿ“ˆ  1628.07 ๐Ÿ“ˆ
2026-02-23  1369.25 ๐Ÿ“‰  1614.82 ๐Ÿ“‰
2026-02-24  1379.75 ๐Ÿ“ˆ  1624.60 ๐Ÿ“ˆ
2026-02-25  1397.52 ๐Ÿ“ˆ  1651.14 ๐Ÿ“ˆ
2026-02-26  1408.49 ๐Ÿ“ˆ  1662.33 ๐Ÿ“ˆ
2026-02-27  1393.63 ๐Ÿ“‰  1646.92 ๐Ÿ“‰
2026-02-28  1397.00 ๐Ÿ“ˆ  1650.90 ๐Ÿ“ˆ
2026-03-01  1397.00 ๐Ÿ“‰  1642.71 ๐Ÿ“‰
2026-03-02  1394.02 ๐Ÿ“‰  1630.48 ๐Ÿ“‰
2026-03-03  1415.01 ๐Ÿ“ˆ  1643.03 ๐Ÿ“ˆ
2026-03-04  1401.52 ๐Ÿ“‰  1630.66 ๐Ÿ“‰
2026-03-05  1407.45 ๐Ÿ“ˆ  1633.72 ๐Ÿ“ˆ
2026-03-06  1420.07 ๐Ÿ“ˆ  1650.19 ๐Ÿ“ˆ
2026-03-07  1415.50 ๐Ÿ“‰  1644.88 ๐Ÿ“‰
2026-03-08  1415.50 ๐Ÿ“‰  1631.02 ๐Ÿ“‰
2026-03-09  1415.75 ๐Ÿ“ˆ  1644.61 ๐Ÿ“ˆ
2026-03-10  1407.56 ๐Ÿ“‰  1636.85 ๐Ÿ“‰

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lechuga-0.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lechuga-0.4-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file lechuga-0.4.tar.gz.

File metadata

  • Download URL: lechuga-0.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.11 Darwin/25.3.0

File hashes

Hashes for lechuga-0.4.tar.gz
Algorithm Hash digest
SHA256 4037576182dca2a50484badc004af84c506570d2c365efd1a7b4e6658239b5cd
MD5 72bdceb78caa12e7e2646ab8e2e1649a
BLAKE2b-256 629ed0e3767906e7c21299660024dcf28d491cb4795a0d38ab9feb9de8856bc0

See more details on using hashes here.

File details

Details for the file lechuga-0.4-py3-none-any.whl.

File metadata

  • Download URL: lechuga-0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.11 Darwin/25.3.0

File hashes

Hashes for lechuga-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f7980d13e3d357d0882544c5decbc3168e66680f49ec20a721949ed4166c7b
MD5 37fca8bae492a58931bb0292b27b8e0f
BLAKE2b-256 79216c949fbb68b6fa8ad4a9bac447d5354a46a6b5bbe0934f5871e50e283815

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page