Skip to main content

Alto logo

Tests PyPI version Python version Checked with mypy Checked with flake8

Welcome to Alto!

Alto is the easiest way to run any code on the cloud! Alto is designed to be used with Prism projects, but it can be used to any arbitrary code (e.g., functions, scripts, Jupyter notebooks, or entire projects)!

Getting Started

Alto can be installed via pip. Alto requires Python >= 3.8.

pip install --upgrade pip
pip install alto-dev

Then, initialize a configuration file with the alto init CLI command. This command will automatically prompt you for all the information needed to configure your cloud environment.

$ alto init

What type of cloud environment do you want to use [ec2]? ec2
What would you like the name of your configuration file to be (default: alto.yml)?

<HH:MM:SS> | INFO | Building configuration file...
<HH:MM:SS> | INFO | Done!

To run your project on your cloud environment, use the alto build command. Under the hood, this command:

  1. Builds the cloud environment according to instructions contained in the configuration file, and
  2. Executes your project on the cloud.
$ alto build -f alto.yml
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created key pair my_cloud_agent
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created security group with ID sg-XXXXXXXXXXXXXXXXX in VPC vpc-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Created EC2 instance with ID i-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
<HH:MM:SS> | INFO  | my_cloud_agent[build]  | Instance i-XXXXXXXXXXXXXXXXX is pending... checking again in 5 seconds
...
...
<HH:MM:SS> | INFO  | my_cloud_agent[run]    | Done!
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting key-pair my_cloud_agent at /../../../my_cloud_agent.pem
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting instance i-XXXXXXXXXXXXXXXXX
<HH:MM:SS> | INFO  | my_cloud_agent[delete] | Deleting security group sg-XXXXXXXXXXXXXXXXX

Alternatively, you could use the alto apply command to first build the cloud environment and then use alto run to actually run the code.

Check out our documentation to see the full list of CLI command and their usage!

Cloud environments

Alto currently supports the following cloud environments (which we call "Agents"):

  • ec2

Product Roadmap

We're always looking to improve our product. Here's what we're working on at the moment:

  • Additional Agents: GCP Virtual Machines, EMR clusters, Databricks clusters, and more!
  • Managed service: Managed platform to easily view, manage, and schedule your different cloud deployments

Let us know if you'd like to see another feature!

Metadata

Release files for alto-dev 0.0.8

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

Source distribution (sdist)

Source distribution for alto-dev 0.0.8
File Size Uploaded
alto-dev-0.0.8.tar.gz 77.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alto-dev 0.0.8
File Interpreter ABI Platform
alto_dev-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 193.4 kB

Release files / alto-dev-0.0.8.tar.gz

Download URL alto-dev-0.0.8.tar.gz
Size 77.3 kB
Tags Source
SHA-256 checksum
How to use checksums
011167fd8a37999e9c5fd817d76b3c4f2a98ff8a7a9d5ba4cb3e8d1754457d83
BLAKE2b-256 checksum
How to use checksums
8cf0aae79f93f3a0cf524c3806ee2b14e9bed8695ad9161372cbc37f1f3e03a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / alto_dev-0.0.8-py3-none-any.whl

Download URL alto_dev-0.0.8-py3-none-any.whl
Size 116.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46a2caabe33a423025ef96f7c3f338725bcc42111277f1ea14629aa1dd444fec
BLAKE2b-256 checksum
How to use checksums
0322437e2f64c73a6ac78c2e091034d7a22726b9c4ba2e74f6e9f34bbecf8526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.1

2 release files

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