Installation
This page explains how to install the NexosAI API SDK in your Python environment.
Prerequisites
- Python 3.12 or newer
- Access to the NexosAI API (API key required)
Install via pip (Recommended for Users)
If the SDK is published on PyPI:
If you are installing from source (e.g., cloning the repository):
Local Development (Recommended for Contributors)
To use the following commands, you need to have task installed.
Plkease refer to the Taskfile installation docs for details.
For easier setup and development, use the provided Taskfile for common commands:
- Initialize the project and install all dependencies:
- Install development dependencies only:
- Install production dependencies only:
- Enable pre-commit hooks:
- Run tests:
- Run linters and formatters:
Virtual Environment (Recommended)
Create and activate a virtual environment to isolate dependencies:
Verify Installation
Check that the SDK is installed and importable:
Next Steps
- Configuration Guide: Set up your environment and credentials
- Usage Examples: See practical code samples for each endpoint