"Python" on its own covers a Django developer, a data engineer and someone who writes Ansible modules. The libraries next to it tell the reader which one you are. List the ones the job post asks for that you have actually used, and leave the rest off.
Backend and APIs
Commonly listed: Django, Django REST Framework, FastAPI, Flask, SQLAlchemy, Alembic, Celery, Pydantic, pytest
Skills line: Languages: Python, SQL, TypeScript · Backend: Django, DRF, Celery, PostgreSQL, Redis
Bullet: Moved invoice PDF generation out of request handlers into Celery workers, dropping checkout API p95 latency from 1.8s to 240ms.
More: backend engineer resume guide.
Data engineering
Commonly listed: PySpark, Airflow, pandas or Polars, Kafka clients, boto3, pandera or Great Expectations
Skills line: Languages: Python, SQL, Scala · Data: Airflow, PySpark, Snowflake, Kafka, dbt
Bullet: Rewrote a single-node pandas ETL job in PySpark so the daily 400 GB events load finishes in 50 minutes instead of 6 hours.
More: data engineer resume guide.
Data science and analytics
Commonly listed: pandas, NumPy, SciPy, statsmodels, scikit-learn, Jupyter, matplotlib, Plotly
Skills line: Languages: Python, SQL, R · Analysis: pandas, statsmodels, scikit-learn, Jupyter, Looker
Bullet: Analyzed 18 months of subscription data in pandas and statsmodels and found an onboarding step linked to 2x higher 30-day churn; the redesigned step shipped the next quarter.
Machine learning and AI
Commonly listed: PyTorch, TensorFlow or Keras, scikit-learn, Hugging Face Transformers, MLflow, LLM provider SDKs, vector databases
Skills line: Languages: Python, SQL, C++ · ML: PyTorch, Hugging Face Transformers, MLflow, Ray
Bullet: Fine-tuned a DistilBERT ticket classifier with Hugging Face Transformers, raising routing accuracy from 71% to 89% on a 5,000-ticket holdout set.
More: ML engineer and AI engineer resume guides.
DevOps, SRE and automation
Commonly listed: boto3, the Kubernetes Python client, Ansible, Click or Typer, requests, pytest
Skills line: Languages: Python, Bash, Go · Infra: AWS, Terraform, Kubernetes, Ansible, GitHub Actions
Bullet: Wrote a boto3 tool that finds unattached EBS volumes and idle load balancers across 14 AWS accounts, removing about $9K a month in unused spend.
More: DevOps engineer resume examples.
QA and test automation
Commonly listed: pytest, Playwright, Selenium, Hypothesis, Locust, requests
Skills line: Languages: Python, JavaScript · Testing: pytest, Playwright, Locust, GitHub Actions
Bullet: Replaced a flaky Selenium suite with Playwright and pytest fixtures, cutting the end-to-end run from 42 to 11 minutes and flaky failures from roughly 1 in 5 runs to under 1 in 50.
More: QA automation engineer resume guide.
Don't list the standard library (os, json, re, datetime) or tools every Python developer is assumed to use, like pip and virtualenv. They take space and make the list look padded.