Skip to main content

CLI tool for OCI services inventory and diagramming

Project description

OCI Radar

PyPI version

CLI tool for Oracle Cloud Infrastructure (OCI) services inventory and diagramming.

Installation

pip install -e .

Usage

# Full run (inventory + diagram)
oci-radar run

# Full run including cost collection (Usage API)
oci-radar run --cost

# Inventory only
oci-radar inventory

# Diagram only (requires inventory CSV)
oci-radar diagram

# Cost only (per-service cost for the current month)
oci-radar cost

By default cost reports the current calendar month. Override the window with OCI_COST_START / OCI_COST_END (RFC3339, e.g. 2026-06-01T00:00:00Z). The tenancy is auto-resolved; set OCI_TENANCY_ID to target a specific one.

Prerequisites

  • OCI CLI installed and configured (oci setup config)
  • Set OCI_COMPARTMENT_ID env var, or the tool will resolve the root tenancy compartment automatically

Outputs

File Description
oci_inventory.csv All resources across the tenancy
oci_diagram.drawio draw.io diagram grouped by service type
oci_cost.csv Per-service cost for the period (only with cost / run --cost)

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

oci_radar-1.1.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

oci_radar-1.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file oci_radar-1.1.0.tar.gz.

File metadata

  • Download URL: oci_radar-1.1.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for oci_radar-1.1.0.tar.gz
Algorithm Hash digest
SHA256 834c41bd1bcac71c72e35a7c29bb800538a655bf464938c7c1e81c151cc30e0d
MD5 e3405041506acc2dddd6cefb7663c6e5
BLAKE2b-256 fd74e1c8127c7e1811201d1503b64f28b7a4c9e60ae7efb6ed83eb013a99d6a9

See more details on using hashes here.

File details

Details for the file oci_radar-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: oci_radar-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for oci_radar-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 514da0c04a67283332b85a24a6052d23bcc67110706e67c4fed2a9c88cf3aaa6
MD5 21328435608ffb2ab28aa0e25c0d9269
BLAKE2b-256 ca4f73b685bdc19c6a904d68917d5077bd72c65cd51852a34b1fd13d4d34052e

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