Sign inSign up

kafasin/alpine-python312-telegram-ds

By kafasin

•Updated 8 months ago

Alpine-based Python 3.12 image with data science stack and async Telegram bot support.

Image
Data science
0

408

kafasin/alpine-python312-telegram-ds repository overview

⁠alpine-python312-telegram-ds

Lightweight Alpine-based Python 3.12 image including a modern data science stack and async Telegram bot support.


⁠Base

  • Alpine Linux
  • Python 3.12
  • Multi-stage optimized build
  • Production-ready runtime image

⁠Included Libraries

⁠Data Science
  • numpy 2.x
  • pandas 3.x
  • matplotlib 3.x
⁠Telegram
  • python-telegram-bot 22.x (async API)
⁠Utilities
  • requests
  • beautifulsoup4
  • lxml
  • openpyxl
  • python-docx

⁠Tags

  • latest: Current stable release (v1.1 -- includes matplotlib)
  • py312-alpine-v1.1: Python 3.12 Alpine -- v1.1 (matplotlib included)
  • py312-alpine-v1.0: Legacy build without matplotlib

⁠Usage

Pull image:

docker pull kafasin/alpine-python312-telegram-ds:latest

Run interactive Python:

docker run -it --rm kafasin/alpine-python312-telegram-ds:latest python

Run custom script:

docker run --rm -v \$(pwd):/app -w /app \
kafasin/alpine-python312-telegram-ds:latest python your_script.py

⁠Important

python-telegram-bot v20+ uses the async API.

If migrating from older versions (e.g. v13): - Updater → ApplicationBuilder - Handlers must be async functions


⁠Intended Use

  • Telegram bots
  • Financial/data processing workloads
  • Scheduled jobs (cron / container tasks)
  • Lightweight analytics pipelines

Tag summary

Content type

Image

Digest

sha256:67c0709bd…

Size

106 MB

Last updated

8 months ago

docker pull kafasin/alpine-python312-telegram-ds