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.29

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.29
File Size Uploaded Provenance Actions
aixplain-0.2.29.tar.gz 9.3 MB Without provenance Details for aixplain-0.2.29.tar.gz

Built distribution (wheel)

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

Total release size: 9.6 MB

Release files / aixplain-0.2.29.tar.gz

Download URL aixplain-0.2.29.tar.gz
Size 9.3 MB
Tags Source
SHA-256 checksum
How to use checksums
7a73c342653cd047f92927a3c8095dd695a24886662952945129d6e241e1449e
BLAKE2b-256 checksum
How to use checksums
19fe8368d52cd175063e7c59eaa98f7a617a4251d724b4bf41393f15339c1e15
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.29-py3-none-any.whl

Download URL aixplain-0.2.29-py3-none-any.whl
Size 332.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70d4a78bd3bf0d1e1d23f5078b82c4f6dd55ce12f7e8a5eaa13e423896cf3c05
BLAKE2b-256 checksum
How to use checksums
89ee02572034a361198e1d3225a80a1ca7c292ee5b196797a352a92d549c8760
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.29

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.29 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