From patchwork Mon Aug 23 16:29:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Niteesh G. S." X-Patchwork-Id: 12453157 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6189BC4338F for ; Mon, 23 Aug 2021 16:33:01 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E9A876101C for ; Mon, 23 Aug 2021 16:33:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E9A876101C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:60608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mICse-00024O-02 for qemu-devel@archiver.kernel.org; Mon, 23 Aug 2021 12:33:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mICqq-0000MA-8z for qemu-devel@nongnu.org; Mon, 23 Aug 2021 12:31:08 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:45751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mICqo-000867-EH for qemu-devel@nongnu.org; Mon, 23 Aug 2021 12:31:08 -0400 Received: by mail-pj1-x1036.google.com with SMTP id f11-20020a17090aa78b00b0018e98a7cddaso340583pjq.4 for ; Mon, 23 Aug 2021 09:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=gxmeE8c+cNp2hvkK1R39Ps/RV3vUGgozanI7FGhlrBM=; b=iHzDejIojNVHP7L2uQ0icZfPK3FP0DKN2gCFg4G3VBqjZMwY3bXTqXw11525cgkfzw +SFMVSTIdvx/eTbYDatwI+zIjDuKRvi+ZSWCmXstcMavoOV4YsueAZxkdzAwDoR2RxGq b3rApcxIWtednAgJPWv+k+URvaGu8fuPz2ykY5IMDk2wksfJ0gpgNc+xW9nbTZbFttJj OTFnsh145clrqgxpFumR8XEwV026NURp9yZLkRS/F8uRIBhhhGDeUgH7uyUXsu5OLVDe oOWn4e45d4rmmMpR0SuW+O+WGic3k2laY5/E0tl+6xhZpBgwBO7pVJvkJEpZxOeplE67 teeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=gxmeE8c+cNp2hvkK1R39Ps/RV3vUGgozanI7FGhlrBM=; b=CEDODQWKiRiTNuX0SKF1G6DJ4VasIoiVE6CO2GvPRPL8djXtFBFBoBk2WVLNNUBD6N 3I6CFgMao24VPNgxVFbmQ0kS7StLUJuZEBQtG+BnFINVbKIgQh9YVoxqUffWPOf8oV/t 6RnQqbyJaAkZ/AFrXvKWCBX76uBQCA9u0CuMzYBLT+KnsuWfk9p+E1O/pccoKCaqrV1Z /wtezfOtLVmqGtzBbQkF2D95rf49nPyrCffJ4QJej/mRtcVtBTCZ6NCKIUp6q7zrkgdd wgzeDmmfa+ITyXIzUsFI3oTn2bJ8h7R4KMOGtwtAzJ2erMAeDwXIdN07SQBnhuLax/Tn u/1Q== X-Gm-Message-State: AOAM5307QtgDTBfXYZKGlQS71nLMuSofKGkfZO2mxaAi2YHRazZjJEKR YPekTbL2qcixyeNNblnnUgnmpf124oI= X-Google-Smtp-Source: ABdhPJz7PaQHW/sqONETdYGEy1Mv6LkPtaBZf+6VGkx5Te9qNQodQZckjwvl/QeqbgDzfSOC1YMGTQ== X-Received: by 2002:a17:90a:5d16:: with SMTP id s22mr13461480pji.69.1629736264951; Mon, 23 Aug 2021 09:31:04 -0700 (PDT) Received: from localhost.localdomain ([120.138.13.180]) by smtp.gmail.com with ESMTPSA id x19sm16371243pfa.104.2021.08.23.09.31.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Aug 2021 09:31:04 -0700 (PDT) From: G S Niteesh Babu To: qemu-devel@nongnu.org Subject: [PATCH v5 0/5] python/aqmp: AQMP-TUI Date: Mon, 23 Aug 2021 21:59:33 +0530 Message-Id: <20210823162938.32757-1-niteesh.gs@gmail.com> X-Mailer: git-send-email 2.17.1 Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=niteesh.gs@gmail.com; helo=mail-pj1-x1036.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ehabkost@redhat.com, kchamart@redhat.com, jsnow@redhat.com, armbru@redhat.com, wainersm@redhat.com, G S Niteesh Babu , stefanha@redhat.com, crosa@redhat.com, eblake@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Gitlab: https://gitlab.com/niteesh.gs/qemu/-/commits/aqmp-tui-prototype-v5 Based-on: <20210803182941.504537-1-jsnow@redhat.com> [v3,00/25] python: introduce Asynchronous QMP package CI: https://gitlab.com/niteesh.gs/qemu/-/pipelines/357960983 Updates since v4: 1) Changed reference to parent name from master to parent. 2) Merged connection manager to the AQMP TUI patch 3) Fixed some docstrings. 4) Added scrolling support to history box. G S Niteesh Babu (5): python: Add dependencies for AQMP TUI python/aqmp-tui: Add AQMP TUI python: Add entry point for aqmp-tui python: add optional pygments dependency python/aqmp-tui: Add syntax highlighting python/Pipfile.lock | 20 ++ python/qemu/aqmp/aqmp_tui.py | 669 +++++++++++++++++++++++++++++++++++ python/setup.cfg | 27 +- 3 files changed, 715 insertions(+), 1 deletion(-) create mode 100644 python/qemu/aqmp/aqmp_tui.py