Skip to content

Aidnox/aidnox-sdk-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Aidnox SDK for Python

A lightweight and developer-friendly Python SDK for interacting with the Aidnox AI Diagnostic Platform — enabling easy integration of healthcare AI features like symptom-based diagnosis, image-based predictions, and health data reporting.

⚕️ Built for developers, hospitals, health researchers, and AI-enabled health tools.


🚀 Features

  • 🔍 Text-based symptom diagnosis (LLM-powered)
  • 🖼️ Image-based diagnosis (e.g., for skin conditions)
  • 📡 Easy connection to Aidnox cloud API (REST)
  • 📥 Offline support integration coming soon
  • 🛠️ Lightweight and simple to extend

📦 Installation

Install via PyPI:

pip install aidnox-sdk

Or install from source:

git clone https://github.com/Aidnox/aidnox-sdk-python.git
cd aidnox-sdk-python
pip install .

🧑‍💻 Quick Start

1. Import and initialize the client

from aidnox_sdk import AidnoxClient

# Initialize the client with your API key (replace with your actual key)
client = AidnoxClient(api_key="your_api_key_here")

2. Run text-based diagnosis

result = client.diagnose_symptoms("I have fever, rash, and joint pain")
print(result)

3. Run image-based diagnosis

result = client.diagnose_image("path/to/image.jpg")
print(result)

📚 Example Response

{
  "diagnosis": "Dengue Fever",
  "confidence": 0.92,
  "recommendation": "Consult a doctor and perform blood tests"
}

🧠 Use Cases

  • Mobile & web healthcare apps
  • Rural & offline health diagnostics
  • Developer APIs for healthcare platforms
  • AI-based triage systems

🛡️ Authentication

All requests require a valid API Key from Aidnox. You can obtain one by contacting our team.


🔧 Configuration

You can pass additional config options when initializing the client:

client = AidnoxClient(
    api_key="your_api_key_here",
    base_url="https://api.aidnox.ai/v1",  # optional override
    timeout=10  # request timeout in seconds
)

📂 File Structure

aidnox-sdk-python/
├── aidnox_sdk/
│   ├── __init__.py
│   ├── client.py
│   └── utils.py
├── tests/
│   └── test_client.py
├── setup.py
├── README.md
└── LICENSE

🧪 Run Tests

pytest tests/

🤝 Contributing

We welcome PRs! Feel free to open issues and contribute features or improvements.

To contribute:

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/xyz)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push and create a pull request

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


🌐 Links


💬 Questions or Support?

Open an issue or contact the Aidnox team at support@aidnox.ai

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages