Skip to main content
aiXplain logo

aiXplain

aixplain is a software development kit (SDK) for the aiXplain platform. With aixplain, developers can quickly and easily:

  • Discover aiXplain’s ever-expanding catalog of 35,000+ ready-to-use AI models and utilize them.
  • Benchmark AI systems by choosing models, datasets and metrics.
  • Design their own custom pipelines and run them.
  • FineTune pre-trained models by tuning them using your data, enhancing their performance.

🔎 Find models, datasets, metrics on the platform.

💛 Our repository is constantly evolving. With the help of the scientific community, we plan to add even more datasets, models, and metrics across domains and tasks.

Getting Started

Installation

To install the base package, simply,

pip install aixplain

To install aiXplain with additional model building support:

pip install aixplain[model-builder]

API Key Setup

Before you can use the aixplain SDK, you'll need to obtain an API key from our platform. For details refer this Team API Key Guide.

Once you get the API key, you'll need to add this API key as an environment variable on your system.

Linux or macOS

export TEAM_API_KEY=YOUR_API_KEY

Windows

set TEAM_API_KEY=YOUR_API_KEY

Jupyter Notebook

%env TEAM_API_KEY=YOUR_API_KEY

Usage

Let’s see how we can use aixplain to run a machine translation model. The following example shows an English to French translation model.

from aixplain.factories import ModelFactory
model = ModelFactory.get("61dc52976eb5634cf06e97cc") # Get the ID of a model from our platform. 
translation = model.run("This is a sample text") # Alternatively, you can input a public URL or provide a file path on your local machine.

Check out the explore section of our guide on Models to get the ID of your desired model

Support

Raise issues for support in this repository.
Pull requests are welcome!

Note

The aiXtend python package was renamed to aiXplain from the release v0.1.1.

Metadata

Release files for aiXplain 0.2.30

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiXplain 0.2.30
File Size Uploaded Provenance Actions
aixplain-0.2.30.tar.gz 9.3 MB Without provenance Details for aixplain-0.2.30.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiXplain 0.2.30
File Interpreter ABI Platform Actions
aixplain-0.2.30-py3-none-any.whl Python 3 none any Details for aixplain-0.2.30-py3-none-any.whl

Total release size: 9.6 MB

Release files / aixplain-0.2.30.tar.gz

Download URL aixplain-0.2.30.tar.gz
Size 9.3 MB
Tags Source
SHA-256 checksum
How to use checksums
86a69636e8ab289bc2344919ce2158ceae8c91ede44bfaeddeb7008cb0cdbc78
BLAKE2b-256 checksum
How to use checksums
ec646daa919491b82d3b220dd73584bcdb2c372eb11aecd77526b2878712a7ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / aixplain-0.2.30-py3-none-any.whl

Download URL aixplain-0.2.30-py3-none-any.whl
Size 332.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bec6425218c8a74de1c509477cb468749fbf55324a802b1fe4b06ea8cb37561
BLAKE2b-256 checksum
How to use checksums
186a686d42fb715c389de79678a133504120cf6e95c8f81d61186378371d35c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Security for aiXplain 0.2.30

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.30 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page