Back to Tech Stack

Python

Primary language for ML, data engineering, and backend services

Why Python?

Python is my primary language for machine learning, data engineering, and backend development. Its rich ecosystem, readability, and versatility make it ideal for everything from quick prototypes to production ML systems.

Key Strengths

Machine Learning & Data Science

Python's ML ecosystem is unmatched:

  • scikit-learn for classical ML algorithms
  • PyTorch for deep learning research and production
  • Pandas & NumPy for data manipulation
  • Dask for distributed computing
  • Matplotlib & Seaborn for visualization

Web Development & APIs

  • FastAPI for high-performance APIs
  • Django/Flask for full-stack applications
  • Pydantic for data validation
  • SQLAlchemy for database ORMs

DevOps & Automation

  • Boto3 for AWS automation
  • Kubernetes Python client for cluster management
  • Fabric/Ansible for deployment automation
  • pytest for comprehensive testing

My Experience

I've used Python extensively across all my major projects:

ML Engineering at CML Insights

  • MLOps pipelines with Kubeflow and MLflow
  • Data processing with Dask for large-scale datasets
  • Model development with PyTorch and scikit-learn
  • Backend services with FastAPI
  • AWS automation with Boto3

Research Projects

  • Deep learning for weather nowcasting
  • Computer vision for astronomical image analysis
  • Data pipeline development
  • Experiment tracking and analysis

Personal Projects

  • Multi-agent LLM systems with LangChain
  • AWS security auditing tools
  • Embedded ML on Raspberry Pi
  • Web scraping and automation

Best Practices I Follow

  • Type hints with mypy for type safety
  • Virtual environments (venv, conda) for isolation
  • Black & isort for consistent formatting
  • pytest for unit and integration testing
  • Poetry or pip-tools for dependency management
  • Docstrings and comprehensive documentation
  • Async/await for I/O-bound operations

Advanced Features I Use

  • Decorators for cross-cutting concerns
  • Context managers for resource management
  • Generators for memory-efficient iteration
  • Asyncio for concurrent operations
  • Multiprocessing for CPU-bound parallelism
  • Cython/Numba for performance-critical code

Python in Production

  • Docker containers with multi-stage builds
  • Gunicorn/Uvicorn for WSGI/ASGI serving
  • Monitoring with Prometheus client libraries
  • Logging with structured logging (structlog)
  • Error tracking with Sentry
  • Performance profiling with cProfile and py-spy

Projects Using Python

Fine-tuning LLMs for Chandra X-ray Observatory Data

AstromindDecember 2024 - Present

How I used it: Core implementation done using python

Contrastive Learning: Aligning Chandra Event Data with Research Papers

Astromind (in collaboration with CfA Harvard)December 2024 - Present

How I used it: Core development language for contrastive learning pipeline and data processing

Lium Platform: RAG-Based Intelligence for Complex Datasets

AstromindDecember 2024 - Present

How I used it: Backend, data processing pipelines and Agentic framework with mcp tool handling implemented with python

PLM: Physical Language Model for Chandra X-ray Source Analysis

Astromind2024 - 2025

How I used it: FastAPI backend with multi-agent orchestration and astronomical data processing

Noxara - AI-Powered Astrophotography Platform

Personal Project2024 - Present

How I used it: Backend API with FastAPI, async agent orchestration, FITS file processing

Fair Appraisal Now - Property Tax Appeal System

CML Insights2023 - 2024

How I used it: Built ML pipelines for property similarity matching and data processing

J.G. Wentworth - ML Platform for Financial Services

CML Insights (Client: J.G. Wentworth)2023 - 2024

How I used it: Built ML models and data pipelines processing financial and credit data

CML Insights App - Causal ML Platform

CML InsightsJuly 2022 - 2024

How I used it: Built data processing pipelines and ML algorithms for causal analysis

Explainable Image Segmentation for Precipitation Nowcasting

University of Moratuwa2021 - 2024

How I used it: Core language for data processing, model development, and analysis

AWS Security Audit Tool

IFS R&D International2021

How I used it: Lambda functions for security checks and report generation

Predictive Fault Diagnosis System for Induction Motors

University of Moratuwa2019 - 2020

How I used it: ML model development and embedded system programming on Raspberry Pi