Skip to main content

A fast and simple CLI client for managing OCI instances

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yo-1.13.0.tar.gz (157.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yo-1.13.0-py3-none-any.whl (145.9 kB view details)

Uploaded Python 3

File details

Details for the file yo-1.13.0.tar.gz.

File metadata

  • Download URL: yo-1.13.0.tar.gz
  • Upload date:
  • Size: 157.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.12

File hashes

Hashes for yo-1.13.0.tar.gz
Algorithm Hash digest
SHA256 d47e895f2c5ee0a0e382108ed1022fcaed29ed81cdc0e99556a8c2b8dc72c800
MD5 f39207ca7212f6c1e80905acb6680154
BLAKE2b-256 e0d7ed26aefd8c22e7f8111b86b52fc668a1e84b81846480ebda09be1a9e47c0

See more details on using hashes here.

File details

Details for the file yo-1.13.0-py3-none-any.whl.

File metadata

  • Download URL: yo-1.13.0-py3-none-any.whl
  • Upload date:
  • Size: 145.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.12

File hashes

Hashes for yo-1.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58a8f9ab82ae6b94da65edfd0ef6d7b192c7ec2a1647f460492a44b956ec7ab6
MD5 c090e790c9826e0721d02c9dbf309557
BLAKE2b-256 4b58ffd8a0ad5a19265e9d8ce734bdce45a96a3aebf02b1b6f2040eb1f3f896a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page