A diagnostic tool for Python Azure Functions
Project description
🚑 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-functionspackage - 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
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
- Getting Started: docs/index.md
- Custom Rules: docs/rules.md
- Developer Guide: docs/development.md
🤝 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azure_functions_doctor-0.1.10.tar.gz.
File metadata
- Download URL: azure_functions_doctor-0.1.10.tar.gz
- Upload date:
- Size: 4.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3a3111f001dcaa88a4949c65d09810b265b0c0c2f99a7b6508be9faf76894a3
|
|
| MD5 |
eb4884304769767f072feaba14af72b2
|
|
| BLAKE2b-256 |
1c75de07be2661ec47840e4a88de93601b134fb72fdd4085188322b2dbaa41af
|
File details
Details for the file azure_functions_doctor-0.1.10-py3-none-any.whl.
File metadata
- Download URL: azure_functions_doctor-0.1.10-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
318d966a3c18cf9800b358ee33c4bc4297633148b6dfaaef07849d4fc5b669be
|
|
| MD5 |
7fe64d5daafe2320c9a1f225a8b99a90
|
|
| BLAKE2b-256 |
675aaa6dc4a4bdf389737ff4a7a79cd84575f98daeecf3723ce6edc174c23e75
|