maproom 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- maproom-0.2.0/LICENSE +201 -0
- maproom-0.2.0/NOTICE +72 -0
- maproom-0.2.0/PKG-INFO +263 -0
- maproom-0.2.0/README.md +45 -0
- maproom-0.2.0/maproom/__init__.py +14 -0
- maproom-0.2.0/maproom/__main__.py +10 -0
- maproom-0.2.0/maproom/analyze/__init__.py +1 -0
- maproom-0.2.0/maproom/analyze/accel_families.py +45 -0
- maproom-0.2.0/maproom/analyze/account_azure_activity.py +260 -0
- maproom-0.2.0/maproom/analyze/account_azure_quota_requests.py +177 -0
- maproom-0.2.0/maproom/analyze/account_cloudtrail.py +316 -0
- maproom-0.2.0/maproom/analyze/account_quota_requests.py +180 -0
- maproom-0.2.0/maproom/analyze/analyze_v1_orchestration.py +1194 -0
- maproom-0.2.0/maproom/analyze/catalog.py +353 -0
- maproom-0.2.0/maproom/analyze/change_detection.py +652 -0
- maproom-0.2.0/maproom/analyze/context_client.py +99 -0
- maproom-0.2.0/maproom/analyze/context_lookup.py +142 -0
- maproom-0.2.0/maproom/analyze/cover_analyze.py +344 -0
- maproom-0.2.0/maproom/analyze/cover_client.py +65 -0
- maproom-0.2.0/maproom/analyze/cover_lookup.py +242 -0
- maproom-0.2.0/maproom/analyze/engine.py +644 -0
- maproom-0.2.0/maproom/analyze/fleetfit_endpoints.py +217 -0
- maproom-0.2.0/maproom/analyze/fleetfit_policy.py +66 -0
- maproom-0.2.0/maproom/analyze/instance_price_analyze.py +221 -0
- maproom-0.2.0/maproom/analyze/instance_price_client.py +108 -0
- maproom-0.2.0/maproom/analyze/instance_price_lookup.py +60 -0
- maproom-0.2.0/maproom/analyze/local_reads.py +484 -0
- maproom-0.2.0/maproom/analyze/lookup_http.py +280 -0
- maproom-0.2.0/maproom/analyze/metric_format.py +20 -0
- maproom-0.2.0/maproom/analyze/migration_method.py +130 -0
- maproom-0.2.0/maproom/analyze/move_list.py +93 -0
- maproom-0.2.0/maproom/analyze/operator_context.py +156 -0
- maproom-0.2.0/maproom/analyze/performance_rank.py +97 -0
- maproom-0.2.0/maproom/analyze/primary_recommendation.py +422 -0
- maproom-0.2.0/maproom/analyze/provider_comparison.py +401 -0
- maproom-0.2.0/maproom/analyze/quota_analyze.py +481 -0
- maproom-0.2.0/maproom/analyze/quota_client.py +75 -0
- maproom-0.2.0/maproom/analyze/quota_lookup.py +110 -0
- maproom-0.2.0/maproom/analyze/quota_outcome_steer.py +105 -0
- maproom-0.2.0/maproom/analyze/recommend_batch.py +199 -0
- maproom-0.2.0/maproom/analyze/recommend_client.py +362 -0
- maproom-0.2.0/maproom/analyze/recommend_share.py +118 -0
- maproom-0.2.0/maproom/analyze/recommendation.py +591 -0
- maproom-0.2.0/maproom/analyze/reservation_pack.py +883 -0
- maproom-0.2.0/maproom/analyze/reservation_read.py +461 -0
- maproom-0.2.0/maproom/analyze/safe_analyze.py +1134 -0
- maproom-0.2.0/maproom/analyze/safe_move.py +195 -0
- maproom-0.2.0/maproom/analyze/safe_moves.py +571 -0
- maproom-0.2.0/maproom/analyze/safe_moves_catalog.py +127 -0
- maproom-0.2.0/maproom/analyze/safe_moves_client.py +70 -0
- maproom-0.2.0/maproom/analyze/series_analyze.py +491 -0
- maproom-0.2.0/maproom/analyze/series_client.py +106 -0
- maproom-0.2.0/maproom/analyze/series_lookup.py +663 -0
- maproom-0.2.0/maproom/analyze/shape.py +254 -0
- maproom-0.2.0/maproom/analyze/size_analyze.py +883 -0
- maproom-0.2.0/maproom/analyze/size_client.py +81 -0
- maproom-0.2.0/maproom/analyze/size_keep.py +409 -0
- maproom-0.2.0/maproom/analyze/size_lookup.py +368 -0
- maproom-0.2.0/maproom/analyze/specs.py +325 -0
- maproom-0.2.0/maproom/analyze/spot_analyze.py +392 -0
- maproom-0.2.0/maproom/analyze/spot_client.py +74 -0
- maproom-0.2.0/maproom/analyze/spot_lookup.py +213 -0
- maproom-0.2.0/maproom/analyze/token_client.py +97 -0
- maproom-0.2.0/maproom/analyze/utilization.py +190 -0
- maproom-0.2.0/maproom/analyze/workload.py +104 -0
- maproom-0.2.0/maproom/analyze/workset.py +762 -0
- maproom-0.2.0/maproom/aws_region.py +78 -0
- maproom-0.2.0/maproom/cache/__init__.py +1 -0
- maproom-0.2.0/maproom/cache/catalog.py +372 -0
- maproom-0.2.0/maproom/cache/commands.py +215 -0
- maproom-0.2.0/maproom/cache/instances.py +460 -0
- maproom-0.2.0/maproom/cli.py +2084 -0
- maproom-0.2.0/maproom/cli_argv.py +329 -0
- maproom-0.2.0/maproom/cli_floors.py +89 -0
- maproom-0.2.0/maproom/cliio/__init__.py +1 -0
- maproom-0.2.0/maproom/cliio/registry.py +377 -0
- maproom-0.2.0/maproom/cliio/runner.py +489 -0
- maproom-0.2.0/maproom/consent/__init__.py +33 -0
- maproom-0.2.0/maproom/consent/gate.py +238 -0
- maproom-0.2.0/maproom/consent/policy.py +20 -0
- maproom-0.2.0/maproom/consent/prompt.py +61 -0
- maproom-0.2.0/maproom/consent/service_upload_gate.py +318 -0
- maproom-0.2.0/maproom/consent/service_upload_prompt.py +62 -0
- maproom-0.2.0/maproom/consent/stdin.py +45 -0
- maproom-0.2.0/maproom/consent/storage.py +24 -0
- maproom-0.2.0/maproom/consent/write_token.py +29 -0
- maproom-0.2.0/maproom/contracts/__init__.py +6 -0
- maproom-0.2.0/maproom/contracts/schema_diff.py +119 -0
- maproom-0.2.0/maproom/contracts/validate.py +113 -0
- maproom-0.2.0/maproom/data/__init__.py +1 -0
- maproom-0.2.0/maproom/data/clear.py +76 -0
- maproom-0.2.0/maproom/data/commands.py +14 -0
- maproom-0.2.0/maproom/doctor/__init__.py +1 -0
- maproom-0.2.0/maproom/doctor/aws_session.py +226 -0
- maproom-0.2.0/maproom/doctor/checks.py +701 -0
- maproom-0.2.0/maproom/doctor/context.py +32 -0
- maproom-0.2.0/maproom/doctor/display.py +96 -0
- maproom-0.2.0/maproom/doctor/inventory_display.py +377 -0
- maproom-0.2.0/maproom/doctor/runner.py +1467 -0
- maproom-0.2.0/maproom/errors.py +43 -0
- maproom-0.2.0/maproom/exitcodes.py +70 -0
- maproom-0.2.0/maproom/inventory/__init__.py +1 -0
- maproom-0.2.0/maproom/inventory/account_identity.py +79 -0
- maproom-0.2.0/maproom/inventory/accounts.py +155 -0
- maproom-0.2.0/maproom/inventory/command.py +961 -0
- maproom-0.2.0/maproom/inventory/messages.py +264 -0
- maproom-0.2.0/maproom/inventory/reservations_refresh.py +37 -0
- maproom-0.2.0/maproom/mock_environment/__init__.py +28 -0
- maproom-0.2.0/maproom/mock_environment/load.py +241 -0
- maproom-0.2.0/maproom/mock_environment/runner.py +387 -0
- maproom-0.2.0/maproom/output/__init__.py +1 -0
- maproom-0.2.0/maproom/output/json_envelope.py +241 -0
- maproom-0.2.0/maproom/output/redact.py +11 -0
- maproom-0.2.0/maproom/output/terminal.py +129 -0
- maproom-0.2.0/maproom/parsers.py +284 -0
- maproom-0.2.0/maproom/paths.py +105 -0
- maproom-0.2.0/maproom/plan/__init__.py +1 -0
- maproom-0.2.0/maproom/plan/accept.py +59 -0
- maproom-0.2.0/maproom/plan/analysis_context.py +78 -0
- maproom-0.2.0/maproom/plan/analyze_selection.py +279 -0
- maproom-0.2.0/maproom/plan/commands.py +586 -0
- maproom-0.2.0/maproom/plan/current.py +59 -0
- maproom-0.2.0/maproom/plan/errors.py +10 -0
- maproom-0.2.0/maproom/plan/export.py +36 -0
- maproom-0.2.0/maproom/plan/formatting.py +91 -0
- maproom-0.2.0/maproom/plan/ids.py +13 -0
- maproom-0.2.0/maproom/plan/migration_options.py +75 -0
- maproom-0.2.0/maproom/plan/model.py +265 -0
- maproom-0.2.0/maproom/plan/names.py +24 -0
- maproom-0.2.0/maproom/plan/store.py +193 -0
- maproom-0.2.0/maproom/plan/tty.py +34 -0
- maproom-0.2.0/maproom/pricing/__init__.py +5 -0
- maproom-0.2.0/maproom/pricing/prices.py +119 -0
- maproom-0.2.0/maproom/privacy/__init__.py +6 -0
- maproom-0.2.0/maproom/privacy/commands.py +159 -0
- maproom-0.2.0/maproom/privacy/delete_uploads.py +204 -0
- maproom-0.2.0/maproom/privacy/fleetfit_policy.py +125 -0
- maproom-0.2.0/maproom/privacy/fleetfit_statement.py +104 -0
- maproom-0.2.0/maproom/privacy/format.py +76 -0
- maproom-0.2.0/maproom/privacy/manifests.py +342 -0
- maproom-0.2.0/maproom/privacy/statement.py +58 -0
- maproom-0.2.0/maproom/quotas/__init__.py +21 -0
- maproom-0.2.0/maproom/quotas/aws.py +204 -0
- maproom-0.2.0/maproom/quotas/azure.py +75 -0
- maproom-0.2.0/maproom/quotas/commands.py +240 -0
- maproom-0.2.0/maproom/quotas/family_coverage.py +122 -0
- maproom-0.2.0/maproom/quotas/fetch.py +124 -0
- maproom-0.2.0/maproom/quotas/load.py +41 -0
- maproom-0.2.0/maproom/quotas/model.py +178 -0
- maproom-0.2.0/maproom/quotas/outcome_ledger.py +245 -0
- maproom-0.2.0/maproom/quotas/quota_request_sync.py +221 -0
- maproom-0.2.0/maproom/quotas/show.py +73 -0
- maproom-0.2.0/maproom/quotas/status.py +206 -0
- maproom-0.2.0/maproom/quotas/store.py +161 -0
- maproom-0.2.0/maproom/redaction.py +157 -0
- maproom-0.2.0/maproom/reference_data/__init__.py +1 -0
- maproom-0.2.0/maproom/reference_data/aws/aws_prices.csv +25562 -0
- maproom-0.2.0/maproom/reference_data/aws/capabilities.csv +1346 -0
- maproom-0.2.0/maproom/reference_data/aws/instance_types.csv +1346 -0
- maproom-0.2.0/maproom/reference_data/azure/azure_prices.csv +1 -0
- maproom-0.2.0/maproom/reference_data/azure/vm_types.csv +1 -0
- maproom-0.2.0/maproom/reference_data/benchmarks/cpu-lscpu-v2-instances.json +27 -0
- maproom-0.2.0/maproom/reference_data/benchmarks/safe-moves-v1.json +328 -0
- maproom-0.2.0/maproom/reference_data/manifest.json +174 -0
- maproom-0.2.0/maproom/reference_data/manifest.py +69 -0
- maproom-0.2.0/maproom/reservations/__init__.py +17 -0
- maproom-0.2.0/maproom/reservations/aws.py +76 -0
- maproom-0.2.0/maproom/reservations/azure.py +36 -0
- maproom-0.2.0/maproom/reservations/commands.py +149 -0
- maproom-0.2.0/maproom/reservations/load.py +41 -0
- maproom-0.2.0/maproom/reservations/model.py +316 -0
- maproom-0.2.0/maproom/reservations/show.py +64 -0
- maproom-0.2.0/maproom/reservations/status.py +181 -0
- maproom-0.2.0/maproom/reservations/store.py +391 -0
- maproom-0.2.0/maproom/resources.py +54 -0
- maproom-0.2.0/maproom/root_help.py +251 -0
- maproom-0.2.0/maproom/saving_plans/__init__.py +15 -0
- maproom-0.2.0/maproom/saving_plans/aws.py +73 -0
- maproom-0.2.0/maproom/saving_plans/commands.py +122 -0
- maproom-0.2.0/maproom/saving_plans/load.py +41 -0
- maproom-0.2.0/maproom/saving_plans/model.py +101 -0
- maproom-0.2.0/maproom/saving_plans/show.py +64 -0
- maproom-0.2.0/maproom/saving_plans/status.py +118 -0
- maproom-0.2.0/maproom/saving_plans/store.py +173 -0
- maproom-0.2.0/maproom/secret_egress_gate.py +108 -0
- maproom-0.2.0/maproom/service/install_id.py +60 -0
- maproom-0.2.0/maproom/settings/__init__.py +1 -0
- maproom-0.2.0/maproom/settings/defaults.py +73 -0
- maproom-0.2.0/maproom/settings/init.py +143 -0
- maproom-0.2.0/maproom/settings/model.py +105 -0
- maproom-0.2.0/maproom/settings/product_version_change.py +343 -0
- maproom-0.2.0/maproom/settings/product_versions.py +68 -0
- maproom-0.2.0/maproom/settings/set.py +347 -0
- maproom-0.2.0/maproom/settings/show.py +227 -0
- maproom-0.2.0/maproom/settings/write.py +273 -0
- maproom-0.2.0/maproom/snapshot_time.py +27 -0
- maproom-0.2.0/maproom.egg-info/PKG-INFO +263 -0
- maproom-0.2.0/maproom.egg-info/SOURCES.txt +322 -0
- maproom-0.2.0/maproom.egg-info/dependency_links.txt +1 -0
- maproom-0.2.0/maproom.egg-info/entry_points.txt +2 -0
- maproom-0.2.0/maproom.egg-info/requires.txt +5 -0
- maproom-0.2.0/maproom.egg-info/top_level.txt +1 -0
- maproom-0.2.0/pyproject.toml +43 -0
- maproom-0.2.0/setup.cfg +4 -0
- maproom-0.2.0/tests/test_account_azure_context.py +484 -0
- maproom-0.2.0/tests/test_account_quota_requests.py +103 -0
- maproom-0.2.0/tests/test_account_snapshots.py +88 -0
- maproom-0.2.0/tests/test_analyze_b34_fleetfit_gate.py +47 -0
- maproom-0.2.0/tests/test_analyze_b34_group2_human.py +65 -0
- maproom-0.2.0/tests/test_analyze_local_only_default_parser.py +84 -0
- maproom-0.2.0/tests/test_analyze_lookup_run_banners.py +397 -0
- maproom-0.2.0/tests/test_analyze_shape_and_workset.py +307 -0
- maproom-0.2.0/tests/test_analyze_workload.py +205 -0
- maproom-0.2.0/tests/test_api_registry.py +440 -0
- maproom-0.2.0/tests/test_aws_region.py +61 -0
- maproom-0.2.0/tests/test_aws_session.py +60 -0
- maproom-0.2.0/tests/test_cache_command.py +230 -0
- maproom-0.2.0/tests/test_change_detection.py +541 -0
- maproom-0.2.0/tests/test_cli_argv.py +71 -0
- maproom-0.2.0/tests/test_cli_timeout_dispatch.py +43 -0
- maproom-0.2.0/tests/test_cloud_protocol_hostname_port.py +468 -0
- maproom-0.2.0/tests/test_cloud_provider_docs.py +75 -0
- maproom-0.2.0/tests/test_cloud_read_prompt.py +125 -0
- maproom-0.2.0/tests/test_command_schemas.py +727 -0
- maproom-0.2.0/tests/test_consent_gate.py +445 -0
- maproom-0.2.0/tests/test_cover_analyze.py +740 -0
- maproom-0.2.0/tests/test_cover_client.py +45 -0
- maproom-0.2.0/tests/test_cover_lookup.py +117 -0
- maproom-0.2.0/tests/test_data_clear.py +170 -0
- maproom-0.2.0/tests/test_doctor.py +1329 -0
- maproom-0.2.0/tests/test_doctor_inventory_display.py +119 -0
- maproom-0.2.0/tests/test_doctor_version1.py +19 -0
- maproom-0.2.0/tests/test_engine.py +568 -0
- maproom-0.2.0/tests/test_exitcodes_policy.py +77 -0
- maproom-0.2.0/tests/test_fixture_consumer.py +148 -0
- maproom-0.2.0/tests/test_fleetfit_endpoints.py +33 -0
- maproom-0.2.0/tests/test_fleetfit_handling_policy_host.py +447 -0
- maproom-0.2.0/tests/test_fleetfit_policy_accept_cmd.py +32 -0
- maproom-0.2.0/tests/test_identity.py +339 -0
- maproom-0.2.0/tests/test_instance_cache.py +398 -0
- maproom-0.2.0/tests/test_instance_price_client.py +57 -0
- maproom-0.2.0/tests/test_instance_specs_schema.py +29 -0
- maproom-0.2.0/tests/test_inventory_b34_group1.py +182 -0
- maproom-0.2.0/tests/test_inventory_command.py +103 -0
- maproom-0.2.0/tests/test_json_envelope.py +65 -0
- maproom-0.2.0/tests/test_legacy_lookup_paths_removed.py +72 -0
- maproom-0.2.0/tests/test_local_reads.py +680 -0
- maproom-0.2.0/tests/test_lookup_redirect.py +270 -0
- maproom-0.2.0/tests/test_maproom_version.py +51 -0
- maproom-0.2.0/tests/test_metric_format.py +23 -0
- maproom-0.2.0/tests/test_mock_environment.py +327 -0
- maproom-0.2.0/tests/test_move_list_cpu.py +81 -0
- maproom-0.2.0/tests/test_muv_acceptance.py +637 -0
- maproom-0.2.0/tests/test_network_behavior.py +38 -0
- maproom-0.2.0/tests/test_operator_context.py +536 -0
- maproom-0.2.0/tests/test_output_contract.py +219 -0
- maproom-0.2.0/tests/test_parsers_on_fixtures.py +122 -0
- maproom-0.2.0/tests/test_plan_accept.py +85 -0
- maproom-0.2.0/tests/test_plan_analyze_selection.py +327 -0
- maproom-0.2.0/tests/test_plan_b34_group.py +114 -0
- maproom-0.2.0/tests/test_plan_commands.py +495 -0
- maproom-0.2.0/tests/test_plan_export.py +65 -0
- maproom-0.2.0/tests/test_plan_store.py +130 -0
- maproom-0.2.0/tests/test_plan_w7_context.py +150 -0
- maproom-0.2.0/tests/test_price_file_freshness.py +53 -0
- maproom-0.2.0/tests/test_pricing_table.py +40 -0
- maproom-0.2.0/tests/test_primary_recommendation.py +177 -0
- maproom-0.2.0/tests/test_privacy.py +293 -0
- maproom-0.2.0/tests/test_privacy_delete_uploads.py +279 -0
- maproom-0.2.0/tests/test_privacy_settings_b34_group1.py +86 -0
- maproom-0.2.0/tests/test_product_versions_clamp.py +19 -0
- maproom-0.2.0/tests/test_provider_comparison.py +257 -0
- maproom-0.2.0/tests/test_publish_workflow.py +39 -0
- maproom-0.2.0/tests/test_quota_family_coverage.py +58 -0
- maproom-0.2.0/tests/test_quota_lookup.py +102 -0
- maproom-0.2.0/tests/test_quota_outcome_ledger.py +107 -0
- maproom-0.2.0/tests/test_quota_outcome_steer.py +272 -0
- maproom-0.2.0/tests/test_quota_request_sync.py +205 -0
- maproom-0.2.0/tests/test_quotas_aws.py +86 -0
- maproom-0.2.0/tests/test_quotas_azure.py +88 -0
- maproom-0.2.0/tests/test_quotas_commands.py +303 -0
- maproom-0.2.0/tests/test_quotas_fetch.py +61 -0
- maproom-0.2.0/tests/test_quotas_status.py +252 -0
- maproom-0.2.0/tests/test_quotas_store.py +85 -0
- maproom-0.2.0/tests/test_recommend_context_batch.py +311 -0
- maproom-0.2.0/tests/test_recommend_once.py +330 -0
- maproom-0.2.0/tests/test_recommend_share.py +89 -0
- maproom-0.2.0/tests/test_recommend_unreachable.py +111 -0
- maproom-0.2.0/tests/test_recommendation.py +226 -0
- maproom-0.2.0/tests/test_redaction.py +56 -0
- maproom-0.2.0/tests/test_replay_e2e.py +249 -0
- maproom-0.2.0/tests/test_request_ledger.py +100 -0
- maproom-0.2.0/tests/test_reservation_pack.py +477 -0
- maproom-0.2.0/tests/test_reservation_read.py +803 -0
- maproom-0.2.0/tests/test_reservations_aws.py +65 -0
- maproom-0.2.0/tests/test_reservations_commands.py +360 -0
- maproom-0.2.0/tests/test_reservations_load.py +91 -0
- maproom-0.2.0/tests/test_reservations_status.py +81 -0
- maproom-0.2.0/tests/test_reservations_store.py +517 -0
- maproom-0.2.0/tests/test_resources.py +44 -0
- maproom-0.2.0/tests/test_root_help.py +286 -0
- maproom-0.2.0/tests/test_runner_import.py +53 -0
- maproom-0.2.0/tests/test_safe_analyze.py +1448 -0
- maproom-0.2.0/tests/test_safe_catalog.py +114 -0
- maproom-0.2.0/tests/test_safe_move.py +361 -0
- maproom-0.2.0/tests/test_safe_moves.py +247 -0
- maproom-0.2.0/tests/test_safe_moves_catalog.py +77 -0
- maproom-0.2.0/tests/test_saving_plans_aws.py +48 -0
- maproom-0.2.0/tests/test_saving_plans_commands.py +177 -0
- maproom-0.2.0/tests/test_secret_egress_canary.py +234 -0
- maproom-0.2.0/tests/test_series_analyze.py +617 -0
- maproom-0.2.0/tests/test_series_lookup.py +198 -0
- maproom-0.2.0/tests/test_service_upload_consent.py +514 -0
- maproom-0.2.0/tests/test_settings.py +692 -0
- maproom-0.2.0/tests/test_size_analyze.py +939 -0
- maproom-0.2.0/tests/test_size_keep.py +495 -0
- maproom-0.2.0/tests/test_snapshot_redaction.py +46 -0
- maproom-0.2.0/tests/test_specs.py +261 -0
- maproom-0.2.0/tests/test_spot_analyze.py +401 -0
- maproom-0.2.0/tests/test_spot_client.py +267 -0
- maproom-0.2.0/tests/test_spot_lookup.py +184 -0
- maproom-0.2.0/tests/test_terminal.py +67 -0
- maproom-0.2.0/tests/test_token_client.py +294 -0
- maproom-0.2.0/tests/test_workset_regions.py +136 -0
maproom-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Chris Worland
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
maproom-0.2.0/NOTICE
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# NOTICE
|
|
2
|
+
|
|
3
|
+
## Reference Data and Third-Party Attribution
|
|
4
|
+
|
|
5
|
+
Maproom ships instance type lists and on-demand Linux price tables for local `maproom analyze`.
|
|
6
|
+
|
|
7
|
+
These tables are derived from public AWS and Azure catalogs. Pricing, specifications, availability, service limits, and other reference data may be incomplete, inaccurate, or out of date and are subject to change without notice.
|
|
8
|
+
|
|
9
|
+
AWS, Amazon Web Services, Amazon EC2, Azure, and Microsoft are trademarks of their respective owners. This package is not affiliated with, endorsed by, or sponsored by Amazon or Microsoft.
|
|
10
|
+
|
|
11
|
+
Permission to run this program is not a grant of rights to those trademarks. Redistribution of third-party reference data remains subject to applicable third-party rights and licensing terms.
|
|
12
|
+
|
|
13
|
+
## Disclaimer of Warranty
|
|
14
|
+
|
|
15
|
+
MAPROOM, INCLUDING ITS SOFTWARE, REFERENCE DATA, ANALYSIS, RECOMMENDATIONS, DOCUMENTATION, AND OUTPUT, IS PROVIDED "AS IS" AND "AS AVAILABLE," WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED, OR STATUTORY.
|
|
16
|
+
|
|
17
|
+
To the fullest extent permitted by applicable law, FleetFit and its contributors disclaim all warranties, including warranties of merchantability, fitness for a particular purpose, accuracy, reliability, completeness, security, and non-infringement.
|
|
18
|
+
|
|
19
|
+
## No Guarantee of Results
|
|
20
|
+
|
|
21
|
+
FleetFit makes no representation, warranty, or guarantee regarding:
|
|
22
|
+
|
|
23
|
+
- Actual or projected cost savings.
|
|
24
|
+
- Workload performance or resource utilization.
|
|
25
|
+
- Instance availability or capacity.
|
|
26
|
+
- Hardware, software, or architectural compatibility.
|
|
27
|
+
- Service reliability or continuity.
|
|
28
|
+
- Pricing accuracy or continued pricing availability.
|
|
29
|
+
- Reservation, discount, or savings plan eligibility or coverage.
|
|
30
|
+
- The suitability of any recommendation for a particular workload or operating environment.
|
|
31
|
+
|
|
32
|
+
Estimates and recommendations are informational and do not constitute commitments or guarantees of future results.
|
|
33
|
+
|
|
34
|
+
## Operator Responsibility and Assumption of Risk
|
|
35
|
+
|
|
36
|
+
Maproom is a decision-support tool. Its output is not a substitute for independent engineering judgment, operational testing, or appropriate change management.
|
|
37
|
+
|
|
38
|
+
Operators are responsible for independently validating all recommendations before implementation, including assessing compatibility, performance, capacity, pricing, security, and operational risk.
|
|
39
|
+
|
|
40
|
+
Operators are responsible for maintaining appropriate backups, testing procedures, monitoring, rollback plans, and authorization to make changes to their cloud environments.
|
|
41
|
+
|
|
42
|
+
Use of Maproom and reliance on its output are at the operator's own risk.
|
|
43
|
+
|
|
44
|
+
## Limitation of Liability
|
|
45
|
+
|
|
46
|
+
To the fullest extent permitted by applicable law, FleetFit, its owners, employees, affiliates, and contributors disclaim liability for damages arising from the use of, inability to use, or reliance upon Maproom or its output.
|
|
47
|
+
|
|
48
|
+
Such damages include, without limitation:
|
|
49
|
+
|
|
50
|
+
- Unexpected or increased cloud expenditures.
|
|
51
|
+
- Loss of anticipated savings.
|
|
52
|
+
- Service outages or business interruption.
|
|
53
|
+
- Performance degradation.
|
|
54
|
+
- Loss or corruption of data.
|
|
55
|
+
- Security incidents.
|
|
56
|
+
- Lost revenue, profits, or business opportunities.
|
|
57
|
+
- Costs associated with remediation, recovery, or replacement services.
|
|
58
|
+
- Direct, indirect, incidental, special, consequential, exemplary, or punitive damages.
|
|
59
|
+
|
|
60
|
+
These disclaimers apply subject to applicable law and the limitations established in the governing license.
|
|
61
|
+
|
|
62
|
+
## License
|
|
63
|
+
|
|
64
|
+
Maproom source code is distributed under the Apache License, Version 2.0. See the accompanying LICENSE file for governing terms, including warranty disclaimers and limitations of liability. Indemnification, defense, and hold harmless terms are in TERMS.md.
|
|
65
|
+
|
|
66
|
+
This NOTICE is informational and does not modify the Apache License or restrict rights granted under it.
|
|
67
|
+
|
|
68
|
+
## Contact
|
|
69
|
+
|
|
70
|
+
Operator / security contact: chris@fleetfit.ai
|
|
71
|
+
|
|
72
|
+
https://fleetfit.ai
|
maproom-0.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: maproom
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Look at the AWS and Azure instances you already run and name a safe type to move to
|
|
5
|
+
Author: Chris Worland
|
|
6
|
+
License: Apache License
|
|
7
|
+
Version 2.0, January 2004
|
|
8
|
+
http://www.apache.org/licenses/
|
|
9
|
+
|
|
10
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
11
|
+
|
|
12
|
+
1. Definitions.
|
|
13
|
+
|
|
14
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
15
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
16
|
+
|
|
17
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
18
|
+
the copyright owner that is granting the License.
|
|
19
|
+
|
|
20
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
21
|
+
other entities that control, are controlled by, or are under common
|
|
22
|
+
control with that entity. For the purposes of this definition,
|
|
23
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
24
|
+
direction or management of such entity, whether by contract or
|
|
25
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
26
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
27
|
+
|
|
28
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
29
|
+
exercising permissions granted by this License.
|
|
30
|
+
|
|
31
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
32
|
+
including but not limited to software source code, documentation
|
|
33
|
+
source, and configuration files.
|
|
34
|
+
|
|
35
|
+
"Object" form shall mean any form resulting from mechanical
|
|
36
|
+
transformation or translation of a Source form, including but
|
|
37
|
+
not limited to compiled object code, generated documentation,
|
|
38
|
+
and conversions to other media types.
|
|
39
|
+
|
|
40
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
41
|
+
Object form, made available under the License, as indicated by a
|
|
42
|
+
copyright notice that is included in or attached to the work
|
|
43
|
+
(an example is provided in the Appendix below).
|
|
44
|
+
|
|
45
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
46
|
+
form, that is based on (or derived from) the Work and for which the
|
|
47
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
48
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
49
|
+
of this License, Derivative Works shall not include works that remain
|
|
50
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
51
|
+
the Work and Derivative Works thereof.
|
|
52
|
+
|
|
53
|
+
"Contribution" shall mean any work of authorship, including
|
|
54
|
+
the original version of the Work and any modifications or additions
|
|
55
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
56
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
57
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
58
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
59
|
+
means any form of electronic, verbal, or written communication sent
|
|
60
|
+
to the Licensor or its representatives, including but not limited to
|
|
61
|
+
communication on electronic mailing lists, source code control systems,
|
|
62
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
63
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
64
|
+
excluding communication that is conspicuously marked or otherwise
|
|
65
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
66
|
+
|
|
67
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
68
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
69
|
+
subsequently incorporated within the Work.
|
|
70
|
+
|
|
71
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
72
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
73
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
74
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
75
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
76
|
+
Work and such Derivative Works in Source or Object form.
|
|
77
|
+
|
|
78
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
79
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
80
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
81
|
+
(except as stated in this section) patent license to make, have made,
|
|
82
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
83
|
+
where such license applies only to those patent claims licensable
|
|
84
|
+
by such Contributor that are necessarily infringed by their
|
|
85
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
86
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
87
|
+
institute patent litigation against any entity (including a
|
|
88
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
89
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
90
|
+
or contributory patent infringement, then any patent licenses
|
|
91
|
+
granted to You under this License for that Work shall terminate
|
|
92
|
+
as of the date such litigation is filed.
|
|
93
|
+
|
|
94
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
95
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
96
|
+
modifications, and in Source or Object form, provided that You
|
|
97
|
+
meet the following conditions:
|
|
98
|
+
|
|
99
|
+
(a) You must give any other recipients of the Work or
|
|
100
|
+
Derivative Works a copy of this License; and
|
|
101
|
+
|
|
102
|
+
(b) You must cause any modified files to carry prominent notices
|
|
103
|
+
stating that You changed the files; and
|
|
104
|
+
|
|
105
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
106
|
+
that You distribute, all copyright, patent, trademark, and
|
|
107
|
+
attribution notices from the Source form of the Work,
|
|
108
|
+
excluding those notices that do not pertain to any part of
|
|
109
|
+
the Derivative Works; and
|
|
110
|
+
|
|
111
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
112
|
+
distribution, then any Derivative Works that You distribute must
|
|
113
|
+
include a readable copy of the attribution notices contained
|
|
114
|
+
within such NOTICE file, excluding those notices that do not
|
|
115
|
+
pertain to any part of the Derivative Works, in at least one
|
|
116
|
+
of the following places: within a NOTICE text file distributed
|
|
117
|
+
as part of the Derivative Works; within the Source form or
|
|
118
|
+
documentation, if provided along with the Derivative Works; or,
|
|
119
|
+
within a display generated by the Derivative Works, if and
|
|
120
|
+
wherever such third-party notices normally appear. The contents
|
|
121
|
+
of the NOTICE file are for informational purposes only and
|
|
122
|
+
do not modify the License. You may add Your own attribution
|
|
123
|
+
notices within Derivative Works that You distribute, alongside
|
|
124
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
125
|
+
that such additional attribution notices cannot be construed
|
|
126
|
+
as modifying the License.
|
|
127
|
+
|
|
128
|
+
You may add Your own copyright statement to Your modifications and
|
|
129
|
+
may provide additional or different license terms and conditions
|
|
130
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
131
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
132
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
133
|
+
the conditions stated in this License.
|
|
134
|
+
|
|
135
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
136
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
137
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
138
|
+
this License, without any additional terms or conditions.
|
|
139
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
140
|
+
the terms of any separate license agreement you may have executed
|
|
141
|
+
with Licensor regarding such Contributions.
|
|
142
|
+
|
|
143
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
144
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
145
|
+
except as required for reasonable and customary use in describing the
|
|
146
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
147
|
+
|
|
148
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
149
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
150
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
151
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
152
|
+
implied, including, without limitation, any warranties or conditions
|
|
153
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
154
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
155
|
+
appropriateness of using or redistributing the Work and assume any
|
|
156
|
+
risks associated with Your exercise of permissions under this License.
|
|
157
|
+
|
|
158
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
159
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
160
|
+
unless required by applicable law (such as deliberate and grossly
|
|
161
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
162
|
+
liable to You for damages, including any direct, indirect, special,
|
|
163
|
+
incidental, or consequential damages of any character arising as a
|
|
164
|
+
result of this License or out of the use or inability to use the
|
|
165
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
166
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
167
|
+
other commercial damages or losses), even if such Contributor
|
|
168
|
+
has been advised of the possibility of such damages.
|
|
169
|
+
|
|
170
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
171
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
172
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
173
|
+
or other liability obligations and/or rights consistent with this
|
|
174
|
+
License. However, in accepting such obligations, You may act only
|
|
175
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
176
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
177
|
+
defend, and hold each Contributor harmless for any liability
|
|
178
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
179
|
+
of your accepting any such warranty or additional liability.
|
|
180
|
+
|
|
181
|
+
END OF TERMS AND CONDITIONS
|
|
182
|
+
|
|
183
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
184
|
+
|
|
185
|
+
To apply the Apache License to your work, attach the following
|
|
186
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
187
|
+
replaced with your own identifying information. (Don't include
|
|
188
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
189
|
+
comment syntax for the file format. We also recommend that a
|
|
190
|
+
file or class name and description of purpose be included on the
|
|
191
|
+
same "printed page" as the copyright notice for easier
|
|
192
|
+
identification within third-party archives.
|
|
193
|
+
|
|
194
|
+
Copyright 2026 Chris Worland
|
|
195
|
+
|
|
196
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
197
|
+
you may not use this file except in compliance with the License.
|
|
198
|
+
You may obtain a copy of the License at
|
|
199
|
+
|
|
200
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
201
|
+
|
|
202
|
+
Unless required by applicable law or agreed to in writing, software
|
|
203
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
204
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
205
|
+
See the License for the specific language governing permissions and
|
|
206
|
+
limitations under the License.
|
|
207
|
+
|
|
208
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
209
|
+
Requires-Python: >=3.11
|
|
210
|
+
Description-Content-Type: text/markdown
|
|
211
|
+
License-File: LICENSE
|
|
212
|
+
License-File: NOTICE
|
|
213
|
+
Provides-Extra: dev
|
|
214
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
215
|
+
Requires-Dist: jsonschema>=4.18; extra == "dev"
|
|
216
|
+
Requires-Dist: pytest-xdist>=3.5; extra == "dev"
|
|
217
|
+
Dynamic: license-file
|
|
218
|
+
|
|
219
|
+
# maproom
|
|
220
|
+
|
|
221
|
+
maproom looks at the AWS and Azure instances you already run. It names one completely safe type to move to, or none.
|
|
222
|
+
|
|
223
|
+
Cloud reads use the AWS CLI and Azure CLI you already have logged in. maproom does not take cloud credentials of its own. Out of the box it does not call a recommendation service.
|
|
224
|
+
|
|
225
|
+
As of November 2026, this tree supports `maproom settings` `product_version` **1** only (local recommendations from the shipped safe-moves list). Higher `product_version` values that call a recommendation service are not supported yet. Leave the setting at 1, or omit it; 1 is the default.
|
|
226
|
+
|
|
227
|
+
## Install from this tree
|
|
228
|
+
|
|
229
|
+
Requires Python 3.11 or newer. Use a clone or unzip of this source tree (not a PyPI name yet):
|
|
230
|
+
|
|
231
|
+
```text
|
|
232
|
+
pip install -e ".[dev]"
|
|
233
|
+
pytest
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Or with `uv`:
|
|
237
|
+
|
|
238
|
+
```text
|
|
239
|
+
uv venv
|
|
240
|
+
uv pip install -e ".[dev]"
|
|
241
|
+
uv run pytest
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
Then:
|
|
245
|
+
|
|
246
|
+
```text
|
|
247
|
+
maproom version
|
|
248
|
+
maproom doctor
|
|
249
|
+
maproom privacy
|
|
250
|
+
maproom analyze i-0123456789abcdef0 --region us-east-1 --local-only
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
`maproom --help` lists the commands. `--json` output and exit codes are described in `docs/OUTPUT_CONTRACT.md`.
|
|
254
|
+
|
|
255
|
+
The installed package has no third-party runtime dependencies. Tests replay recorded AWS and Azure CLI replies. They do not need live cloud accounts.
|
|
256
|
+
|
|
257
|
+
## License
|
|
258
|
+
|
|
259
|
+
Copyright 2026 Chris Worland. Licensed under the Apache License, Version 2.0. See `LICENSE`. Price and instance tables, warranty, and liability notes are in `NOTICE`. Indemnification is in `TERMS.md`.
|
|
260
|
+
|
|
261
|
+
## Security and privacy
|
|
262
|
+
|
|
263
|
+
How to report a bug: `SECURITY.md`. What maproom may read or send: `PRIVACY.md`. Run `maproom privacy` on an install for the live statement.
|
maproom-0.2.0/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# maproom
|
|
2
|
+
|
|
3
|
+
maproom looks at the AWS and Azure instances you already run. It names one completely safe type to move to, or none.
|
|
4
|
+
|
|
5
|
+
Cloud reads use the AWS CLI and Azure CLI you already have logged in. maproom does not take cloud credentials of its own. Out of the box it does not call a recommendation service.
|
|
6
|
+
|
|
7
|
+
As of November 2026, this tree supports `maproom settings` `product_version` **1** only (local recommendations from the shipped safe-moves list). Higher `product_version` values that call a recommendation service are not supported yet. Leave the setting at 1, or omit it; 1 is the default.
|
|
8
|
+
|
|
9
|
+
## Install from this tree
|
|
10
|
+
|
|
11
|
+
Requires Python 3.11 or newer. Use a clone or unzip of this source tree (not a PyPI name yet):
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
pip install -e ".[dev]"
|
|
15
|
+
pytest
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Or with `uv`:
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
uv venv
|
|
22
|
+
uv pip install -e ".[dev]"
|
|
23
|
+
uv run pytest
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Then:
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
maproom version
|
|
30
|
+
maproom doctor
|
|
31
|
+
maproom privacy
|
|
32
|
+
maproom analyze i-0123456789abcdef0 --region us-east-1 --local-only
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`maproom --help` lists the commands. `--json` output and exit codes are described in `docs/OUTPUT_CONTRACT.md`.
|
|
36
|
+
|
|
37
|
+
The installed package has no third-party runtime dependencies. Tests replay recorded AWS and Azure CLI replies. They do not need live cloud accounts.
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
Copyright 2026 Chris Worland. Licensed under the Apache License, Version 2.0. See `LICENSE`. Price and instance tables, warranty, and liability notes are in `NOTICE`. Indemnification is in `TERMS.md`.
|
|
42
|
+
|
|
43
|
+
## Security and privacy
|
|
44
|
+
|
|
45
|
+
How to report a bug: `SECURITY.md`. What maproom may read or send: `PRIVACY.md`. Run `maproom privacy` on an install for the live statement.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""maproom package (parsers + product UX). Runtime CLI calls go through cliio.runner."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
|
|
5
|
+
def _installed_version() -> str:
|
|
6
|
+
for dist_name in ("maproom", "maproom-cli"):
|
|
7
|
+
try:
|
|
8
|
+
return version(dist_name)
|
|
9
|
+
except PackageNotFoundError:
|
|
10
|
+
continue
|
|
11
|
+
return "0.0.0-dev"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
__version__ = _installed_version()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Analyze journey helpers (workload profile, utilization reads)."""
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""Family-prefix heuristics for GPU, Inferentia, Trainium, and similar accelerator lines."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import re
|
|
6
|
+
|
|
7
|
+
_ACCEL_FAMILY_PREFIXES = frozenset(
|
|
8
|
+
{
|
|
9
|
+
"dl1",
|
|
10
|
+
"f1",
|
|
11
|
+
"g3",
|
|
12
|
+
"g4",
|
|
13
|
+
"g5",
|
|
14
|
+
"g6",
|
|
15
|
+
"gr6",
|
|
16
|
+
"hpc6",
|
|
17
|
+
"hpc7",
|
|
18
|
+
"inf1",
|
|
19
|
+
"inf2",
|
|
20
|
+
"p2",
|
|
21
|
+
"p3",
|
|
22
|
+
"p4",
|
|
23
|
+
"p5",
|
|
24
|
+
"p5e",
|
|
25
|
+
"trn1",
|
|
26
|
+
"trn2",
|
|
27
|
+
"vt1",
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
_ACCEL_FAMILY_RE = re.compile(
|
|
32
|
+
r"^(g\d|gr\d|p\d|inf|trn|dl|vt|f\d|hpc)",
|
|
33
|
+
re.IGNORECASE,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def instance_type_has_accelerator_family(instance_type: str) -> bool:
|
|
38
|
+
"""True when the type family is a GPU, Inferentia, Trainium, or similar accelerator line."""
|
|
39
|
+
name = (instance_type or "").strip().lower()
|
|
40
|
+
if not name or "." not in name:
|
|
41
|
+
return False
|
|
42
|
+
family, _, _ = name.partition(".")
|
|
43
|
+
if _ACCEL_FAMILY_RE.match(family):
|
|
44
|
+
return True
|
|
45
|
+
return family in _ACCEL_FAMILY_PREFIXES
|