Skip to main content

PyPI - Version Docker Image Version

YFinance Exporter

Metrics served

{
    "stocks": [
        {"isin": "FR0000120073", "name": "AIR LIQUIDE", "ycode": "AI.PA"}
    ]
}

Running it

For the next few bits of code, we'll suppose you have a working configuration above in ~/.config/yfinance-exporter.json.

... with python:

pip install yfinance-exporter
python -m yfinance_exporter

... with docker:

 docker run -v ~/.config/:/etc/yfinance-exporter/:ro -p 9100:9100 yfinance-exporter:main

You'll then be able retrieve some values:

curl localhost:9100/metrics

# HELP yfinance_exporter
# TYPE yfinance_exporter gauge
yfinance_exporter{status="loop"} 1.0
yfinance_exporter{status="loop-time"} 10.179875
yfinance_exporter{status="ok-stock"} 45.0
yfinance_exporter{status="ko-stock"} 2.0
[...]

Metadata

Release files for yfinance-exporter 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yfinance-exporter 1.1.0
File Size Uploaded Provenance
yfinance_exporter-1.1.0.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yfinance-exporter 1.1.0
File Interpreter ABI Platform
yfinance_exporter-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / yfinance_exporter-1.1.0.tar.gz

Download URL yfinance_exporter-1.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
018beb61a273463a8720e7a25dc8048f4e149d060adc2410e70dc1d577dff66f
BLAKE2b-256 checksum
How to use checksums
72f9497e93e321bc98337f46ff7ea92cb2ac985ffe14f4b4bc47107935e38fad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.3 Linux/6.14.0-22-generic

Release files / yfinance_exporter-1.1.0-py3-none-any.whl

Download URL yfinance_exporter-1.1.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df5bbfff31b31287f7129ddba5f930afa2ae077ba8d812336c8d717cba8c537d
BLAKE2b-256 checksum
How to use checksums
1a7fbc83543d5e03b85a6e786c58f2a1f98b7cebf5f361cf5ecba0e0197ab168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.3 Linux/6.14.0-22-generic

Security for yfinance-exporter 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page