Skip to main content

yo - fast and simple OCI client

yo is a command-line client for managing OCI instances. It makes launching OCI instances as simple as rudely telling your computer "yo, launch an instance". Its goals are speed, ease of use, and simplicity. It was originally designed to help developers in the Oracle Linux team quickly launch disposable VMs for testing, but is slowly gaining users outside of OL. Here are some examples of how yo tries to improve on the OCI command line and browser tools:

  • yo hides other people's VMs from you, so you can just manage your own instances.
  • yo doesn't make you type any more than you need. Compartment IDs, common shape configurations, etc can all be stored in your config. It really can be as simple as yo launch (or, for the lazier, yo la).
  • yo lets you refer to your instances by name. You should never need to memorize an IP address again.
  • yo aggressively caches data to make operations as quick as possible.

Installation

A minimum of Python 3.6 is required in order to use Yo.

Via Pip:

pip install yo oci-cli

This will install the standard OCI CLI alongside Yo, which can be useful as well. After installation, you'll need to configure Yo to work with your OCI tenancy. Please see the documentation for detailed instructions.

Documentation

The documentation contains information on the configuration file, as well as a listing of sub-commands and features offered.

Examples

# Launch an instance based on your default settings, and SSH into it
yo launch -s

# Launch a flexible instance with given shape, size, and name
yo launch -S VM.Standard.E4.Flex --cpu 3 --mem 12 -n my-vm

# SSH into my-vm
yo ssh my-vm

# Copy files to my-vm
yo scp ./files my-vm:

# Terminate my-vm
yo terminate my-vm

Help

We hope you can find all the answers to your questions in our documentation. But if you're still having trouble, feel free to open a Github issue and we'll try our best to help!

Contributing

We welcome contributions from the community. Before submitting a pull request, please review our contribution guide.

Security

Please consult the security guide for our responsible security vulnerability disclosure process.

License

Copyright (c) 2023 Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.

Metadata

Release files for yo 1.13.1

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

Source distribution (sdist)

Source distribution for yo 1.13.1
File Size Uploaded Provenance Actions
yo-1.13.1.tar.gz 157.9 kB Without provenance Details for yo-1.13.1.tar.gz

Built distribution (wheel)

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

Total release size: 303.8 kB

Release files / yo-1.13.1.tar.gz

Download URL yo-1.13.1.tar.gz
Size 157.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f8acc11b6d1bcbba63f5f1fdac839d6739f2199b585d5987a329e990cb1b6b0e
BLAKE2b-256 checksum
How to use checksums
062aae538f23588761bfe3abbb5fac8b1a4842cb889f1b455a4f798aa8fd9704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.12

Release files / yo-1.13.1-py3-none-any.whl

Download URL yo-1.13.1-py3-none-any.whl
Size 145.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a35be3c1302e23992c5b03a39e987b27279ed7a6d8850d2e18d21ae55aae6672
BLAKE2b-256 checksum
How to use checksums
0d9d0afca7a015291a38d1894216c36f0510642a4b3a5e802f887083e7c6b8f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.12

Security for yo 1.13.1

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.

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