GitHub Repository
View source code, examples, and documentation
Requirements
- Python 3.10 or later
- An Archetype API key (see Libraries for setup instructions)
Install
Create a virtual environment, install the client, and set your credentials for your operating system:- macOS
- Debian / Ubuntu
- Red Hat / Amazon Linux
- Windows
macOS ships with Set your credentials in the activated shell (or persist them in
python3. Recent Homebrew and system Pythons block system-wide installs (PEP 668), so create a virtual environment first — a bare pip install fails with externally-managed-environment:~/.zshrc):pip install archetypeai.
For more on credentials, see Environment Variables.
Alternative: Conda
Alternative: Conda
If you prefer Anaconda or Miniconda to manage Python environments, create and activate an environment and install the client inside it:
Verify Installation
Test that the client is correctly installed by running (inside your activated environment):What’s Included
The Python client includes:- API Client: Core client for interacting with the Archetype platform
- Examples: Sample scripts demonstrating common use cases
Upgrade Python Client
-
To show the currently installed version of the python client, please use
-
To upgrade to the latest version of the python client, please use
Please note the minimum requirements here.