Skip to main content

A diagnostic tool for Python Azure Functions

Project description

Azure Functions Doctor Logo

Test Status Release Status PyPI Version License Codecov Coverage Python Versions


🚑 Azure Functions Doctor for Python

A fast and extensible diagnostic CLI for Python-based Azure Functions projects.


🤔 Why Azure Functions Doctor?

  • Getting random 500 errors and suspect misconfiguration?
  • Need to verify your dev environment before CI/CD deployment?
  • Want a quick health check without digging through docs?

Azure Functions Doctor helps save time by automating common environment diagnostics.


✨ Key Features

  • Diagnose Python version, venv, azure-functions package
  • Validate host.json, local.settings.json, function structure
  • Fully customizable via rules.json
  • Output: colorized CLI or machine-readable JSON
  • Built-in rule engine, easily extensible

🪠 Requirements

  • Python 3.9+
  • Git
  • (Optional) Azure Functions Core Tools v4+ (npm i -g azure-functions-core-tools@4)
  • (Recommended) Unix-like shell or PowerShell for Makefile support

📦 Installation

From PyPI:

pip install azure-functions-doctor

Or from source:

git clone https://github.com/yeongseon/azure-functions-doctor-for-python.git
cd azure-functions-doctor-for-python
python3 -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e .

🩺 Usage

Run the Doctor

func-doctor diagnose
Sample output

Show Help

func-doctor --help

📌 Sample: examples/basic-hello/diagnose-output.md


📋 Example

See examples/basic-hello for:

  • Minimal Azure Functions structure setup
  • Running the CLI and inspecting results

📘 Documentation


🤝 Contributing

We welcome issues and PRs!

Please see CONTRIBUTING.md for contribution guidelines.

If you find this useful, please ⭐️ the repo!


📄 License

This project is licensed under the MIT License.

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

azure_functions_doctor-0.1.9.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

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

azure_functions_doctor-0.1.9-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file azure_functions_doctor-0.1.9.tar.gz.

File metadata

  • Download URL: azure_functions_doctor-0.1.9.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for azure_functions_doctor-0.1.9.tar.gz
Algorithm Hash digest
SHA256 3ba5adeb4fdfb6ea08c056d0b103c31f80f01e3bc3d0a604b2a4c5572b6d29c9
MD5 6ecdd91136eb73fb1830d1052f6843c0
BLAKE2b-256 d74121da6d1f20c4d0d43b05400bbaf5cd5cf9399b9e35452a6a2013e947a454

See more details on using hashes here.

File details

Details for the file azure_functions_doctor-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_functions_doctor-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a12db025035f4822dec7d596e3eb2f6d41561464947fb7eb58613cb447c4d6db
MD5 b96d5a7e1d6c9f78bf25d2b63abcdffd
BLAKE2b-256 904d4f22ce4a7bebc9b0f7b99ed886debfd71d96efcf7d3af62e84989d71bc16

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