pygpt-net 2.6.1__py3-none-any.whl → 2.6.6__py3-none-any.whl

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.
Files changed (131) hide show
  1. pygpt_net/CHANGELOG.txt +23 -0
  2. pygpt_net/__init__.py +3 -3
  3. pygpt_net/app.py +20 -1
  4. pygpt_net/config.py +55 -65
  5. pygpt_net/controller/__init__.py +5 -2
  6. pygpt_net/controller/calendar/note.py +101 -126
  7. pygpt_net/controller/chat/chat.py +38 -35
  8. pygpt_net/controller/chat/render.py +154 -214
  9. pygpt_net/controller/chat/response.py +5 -3
  10. pygpt_net/controller/chat/stream.py +92 -27
  11. pygpt_net/controller/config/config.py +39 -42
  12. pygpt_net/controller/config/field/checkbox.py +16 -12
  13. pygpt_net/controller/config/field/checkbox_list.py +36 -31
  14. pygpt_net/controller/config/field/cmd.py +51 -57
  15. pygpt_net/controller/config/field/combo.py +33 -16
  16. pygpt_net/controller/config/field/dictionary.py +48 -55
  17. pygpt_net/controller/config/field/input.py +50 -32
  18. pygpt_net/controller/config/field/slider.py +40 -45
  19. pygpt_net/controller/config/field/textarea.py +20 -6
  20. pygpt_net/controller/config/placeholder.py +110 -231
  21. pygpt_net/controller/ctx/common.py +48 -48
  22. pygpt_net/controller/ctx/ctx.py +91 -132
  23. pygpt_net/controller/lang/mapping.py +57 -95
  24. pygpt_net/controller/lang/plugins.py +64 -55
  25. pygpt_net/controller/lang/settings.py +39 -38
  26. pygpt_net/controller/layout/layout.py +176 -109
  27. pygpt_net/controller/mode/mode.py +88 -85
  28. pygpt_net/controller/model/model.py +73 -73
  29. pygpt_net/controller/plugins/plugins.py +209 -223
  30. pygpt_net/controller/plugins/presets.py +54 -55
  31. pygpt_net/controller/plugins/settings.py +54 -69
  32. pygpt_net/controller/presets/editor.py +33 -88
  33. pygpt_net/controller/presets/experts.py +20 -1
  34. pygpt_net/controller/presets/presets.py +293 -298
  35. pygpt_net/controller/settings/profile.py +16 -4
  36. pygpt_net/controller/theme/theme.py +72 -81
  37. pygpt_net/controller/ui/mode.py +118 -186
  38. pygpt_net/controller/ui/tabs.py +69 -90
  39. pygpt_net/controller/ui/ui.py +47 -56
  40. pygpt_net/controller/ui/vision.py +24 -23
  41. pygpt_net/core/agents/runner.py +15 -7
  42. pygpt_net/core/bridge/bridge.py +5 -5
  43. pygpt_net/core/command/command.py +149 -219
  44. pygpt_net/core/ctx/ctx.py +94 -146
  45. pygpt_net/core/debug/debug.py +48 -58
  46. pygpt_net/core/experts/experts.py +3 -3
  47. pygpt_net/core/models/models.py +74 -112
  48. pygpt_net/core/modes/modes.py +13 -21
  49. pygpt_net/core/plugins/plugins.py +154 -177
  50. pygpt_net/core/presets/presets.py +103 -176
  51. pygpt_net/core/render/web/body.py +217 -215
  52. pygpt_net/core/render/web/renderer.py +330 -474
  53. pygpt_net/core/text/utils.py +28 -44
  54. pygpt_net/core/tokens/tokens.py +104 -203
  55. pygpt_net/data/config/config.json +3 -3
  56. pygpt_net/data/config/models.json +3 -3
  57. pygpt_net/data/locale/locale.de.ini +2 -0
  58. pygpt_net/data/locale/locale.en.ini +2 -0
  59. pygpt_net/data/locale/locale.es.ini +2 -0
  60. pygpt_net/data/locale/locale.fr.ini +2 -0
  61. pygpt_net/data/locale/locale.it.ini +2 -0
  62. pygpt_net/data/locale/locale.pl.ini +3 -1
  63. pygpt_net/data/locale/locale.uk.ini +2 -0
  64. pygpt_net/data/locale/locale.zh.ini +2 -0
  65. pygpt_net/item/ctx.py +141 -139
  66. pygpt_net/plugin/agent/plugin.py +2 -1
  67. pygpt_net/plugin/audio_output/plugin.py +5 -2
  68. pygpt_net/plugin/base/plugin.py +101 -85
  69. pygpt_net/plugin/bitbucket/__init__.py +12 -0
  70. pygpt_net/plugin/bitbucket/config.py +267 -0
  71. pygpt_net/plugin/bitbucket/plugin.py +126 -0
  72. pygpt_net/plugin/bitbucket/worker.py +569 -0
  73. pygpt_net/plugin/cmd_code_interpreter/plugin.py +3 -2
  74. pygpt_net/plugin/cmd_custom/plugin.py +3 -2
  75. pygpt_net/plugin/cmd_files/plugin.py +3 -2
  76. pygpt_net/plugin/cmd_history/plugin.py +3 -2
  77. pygpt_net/plugin/cmd_mouse_control/plugin.py +5 -2
  78. pygpt_net/plugin/cmd_serial/plugin.py +3 -2
  79. pygpt_net/plugin/cmd_system/plugin.py +3 -6
  80. pygpt_net/plugin/cmd_web/plugin.py +3 -2
  81. pygpt_net/plugin/experts/plugin.py +2 -2
  82. pygpt_net/plugin/facebook/__init__.py +12 -0
  83. pygpt_net/plugin/facebook/config.py +359 -0
  84. pygpt_net/plugin/facebook/plugin.py +113 -0
  85. pygpt_net/plugin/facebook/worker.py +698 -0
  86. pygpt_net/plugin/github/__init__.py +12 -0
  87. pygpt_net/plugin/github/config.py +441 -0
  88. pygpt_net/plugin/github/plugin.py +126 -0
  89. pygpt_net/plugin/github/worker.py +674 -0
  90. pygpt_net/plugin/google/__init__.py +12 -0
  91. pygpt_net/plugin/google/config.py +367 -0
  92. pygpt_net/plugin/google/plugin.py +126 -0
  93. pygpt_net/plugin/google/worker.py +826 -0
  94. pygpt_net/plugin/idx_llama_index/plugin.py +3 -2
  95. pygpt_net/plugin/mailer/plugin.py +3 -5
  96. pygpt_net/plugin/openai_vision/plugin.py +3 -2
  97. pygpt_net/plugin/real_time/plugin.py +52 -60
  98. pygpt_net/plugin/slack/__init__.py +12 -0
  99. pygpt_net/plugin/slack/config.py +349 -0
  100. pygpt_net/plugin/slack/plugin.py +115 -0
  101. pygpt_net/plugin/slack/worker.py +639 -0
  102. pygpt_net/plugin/telegram/__init__.py +12 -0
  103. pygpt_net/plugin/telegram/config.py +308 -0
  104. pygpt_net/plugin/telegram/plugin.py +117 -0
  105. pygpt_net/plugin/telegram/worker.py +563 -0
  106. pygpt_net/plugin/twitter/__init__.py +12 -0
  107. pygpt_net/plugin/twitter/config.py +491 -0
  108. pygpt_net/plugin/twitter/plugin.py +125 -0
  109. pygpt_net/plugin/twitter/worker.py +837 -0
  110. pygpt_net/provider/agents/llama_index/legacy/openai_assistant.py +35 -3
  111. pygpt_net/tools/code_interpreter/tool.py +0 -1
  112. pygpt_net/tools/translator/tool.py +1 -1
  113. pygpt_net/ui/base/config_dialog.py +86 -100
  114. pygpt_net/ui/base/context_menu.py +48 -46
  115. pygpt_net/ui/dialog/preset.py +34 -77
  116. pygpt_net/ui/layout/ctx/ctx_list.py +10 -6
  117. pygpt_net/ui/layout/toolbox/presets.py +41 -41
  118. pygpt_net/ui/main.py +49 -31
  119. pygpt_net/ui/tray.py +61 -60
  120. pygpt_net/ui/widget/calendar/select.py +86 -70
  121. pygpt_net/ui/widget/lists/attachment.py +86 -44
  122. pygpt_net/ui/widget/lists/base_list_combo.py +85 -33
  123. pygpt_net/ui/widget/lists/context.py +135 -188
  124. pygpt_net/ui/widget/lists/preset.py +59 -61
  125. pygpt_net/ui/widget/textarea/web.py +161 -48
  126. pygpt_net/utils.py +8 -1
  127. {pygpt_net-2.6.1.dist-info → pygpt_net-2.6.6.dist-info}/METADATA +164 -2
  128. {pygpt_net-2.6.1.dist-info → pygpt_net-2.6.6.dist-info}/RECORD +131 -103
  129. {pygpt_net-2.6.1.dist-info → pygpt_net-2.6.6.dist-info}/LICENSE +0 -0
  130. {pygpt_net-2.6.1.dist-info → pygpt_net-2.6.6.dist-info}/WHEEL +0 -0
  131. {pygpt_net-2.6.1.dist-info → pygpt_net-2.6.6.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pygpt-net
3
- Version: 2.6.1
3
+ Version: 2.6.6
4
4
  Summary: Desktop AI Assistant powered by: OpenAI GPT-5, o1, o3, GPT-4, Gemini, Claude, Grok, DeepSeek, and other models supported by Llama Index, and Ollama. Chatbot, agents, completion, image generation, vision analysis, speech-to-text, plugins, internet access, file handling, command execution and more.
5
5
  License: MIT
6
6
  Keywords: py_gpt,py-gpt,pygpt,desktop,app,o1,o3,gpt-5,gpt,gpt4,gpt-4o,gpt-4v,gpt3.5,gpt-4,gpt-4-vision,gpt-3.5,llama3,mistral,gemini,grok,deepseek,bielik,claude,tts,whisper,vision,chatgpt,dall-e,chat,chatbot,assistant,text completion,image generation,ai,api,openai,api key,langchain,llama-index,ollama,presets,ui,qt,pyside
@@ -31,6 +31,8 @@ Requires-Dist: chromadb (>=0.5.20,<0.6.0)
31
31
  Requires-Dist: croniter (>=2.0.7,<3.0.0)
32
32
  Requires-Dist: docker (>=7.1.0,<8.0.0)
33
33
  Requires-Dist: docx2txt (>=0.8,<0.9)
34
+ Requires-Dist: gkeepapi (>=0.15.1,<0.16.0)
35
+ Requires-Dist: google-api-python-client (>=2.173.0,<3.0.0)
34
36
  Requires-Dist: google-generativeai (>=0.8.5,<0.9.0)
35
37
  Requires-Dist: httpx (>=0.28.1,<0.29.0)
36
38
  Requires-Dist: httpx-socks (>=0.10.1,<0.11.0)
@@ -106,7 +108,7 @@ Description-Content-Type: text/markdown
106
108
 
107
109
  [![pygpt](https://snapcraft.io/pygpt/badge.svg)](https://snapcraft.io/pygpt)
108
110
 
109
- Release: **2.6.1** | build: **2025-08-14** | Python: **>=3.10, <3.14**
111
+ Release: **2.6.6** | build: **2025-08-16** | Python: **>=3.10, <3.14**
110
112
 
111
113
  > Official website: https://pygpt.net | Documentation: https://pygpt.readthedocs.io
112
114
  >
@@ -1448,6 +1450,20 @@ as well as list and create directories.
1448
1450
 
1449
1451
  - `Mailer` - Provides the ability to send, receive and read emails.
1450
1452
 
1453
+ - `Google` - Access Gmail, Drive, Calendar, Contacts, YouTube, Keep for managing emails, files, events, notes, video info, and contacts.
1454
+
1455
+ - `Facebook` - Manage user info, pages, posts, and photos on Facebook pages.
1456
+
1457
+ - `Slack` - Handle users, conversations, messages, and files on Slack.
1458
+
1459
+ - `Telegram` - Send messages, photos, and documents; manage chats and contacts.
1460
+
1461
+ - `X/Twitter` - Interact with tweets and users, manage bookmarks and media, perform likes, retweets, and more.
1462
+
1463
+ - `GitHub` - Access GitHub API to manage repositories, issues, and pull requests.
1464
+
1465
+ - `Bitbucket` - Access Bitbucket API to manage repositories, issues, and pull requests.
1466
+
1451
1467
  ## Audio Input
1452
1468
 
1453
1469
  The plugin facilitates speech recognition (by default using the `Whisper` model from OpenAI, `Google` and `Bing` are also available). It allows for voice commands to be relayed to the AI using your own voice. Whisper doesn't require any extra API keys or additional configurations; it uses the main OpenAI key. In the plugin's configuration options, you should adjust the volume level (min energy) at which the plugin will respond to your microphone. Once the plugin is activated, a new `Speak` option will appear at the bottom near the `Send` button - when this is enabled, the application will respond to the voice received from the microphone.
@@ -2745,6 +2761,129 @@ The plugin provides voice control command execution within a conversation.
2745
2761
 
2746
2762
  See the ``Accessibility`` section for more details.
2747
2763
 
2764
+ ## Google (Gmail, Drive, Calendar, Contacts, YT, Keep)
2765
+
2766
+ - Listing recent emails from Gmail.
2767
+ - Listing all emails from Gmail.
2768
+ - Searching emails in Gmail.
2769
+ - Retrieving email details by ID in Gmail.
2770
+ - Sending an email via Gmail.
2771
+ - Listing recent calendar events.
2772
+ - Listing today's calendar events.
2773
+ - Listing tomorrow's calendar events.
2774
+ - Listing all calendar events.
2775
+ - Retrieving calendar events by a specific date.
2776
+ - Adding a new event to the calendar.
2777
+ - Deleting an event from the calendar.
2778
+ - Listing notes from Google Keep.
2779
+ - Adding a new note to Google Keep.
2780
+ - Listing files from Google Drive.
2781
+ - Finding a file in Google Drive by its path.
2782
+ - Downloading a file from Google Drive.
2783
+ - Uploading a file to Google Drive.
2784
+ - Retrieving information about a YouTube video.
2785
+ - Retrieving the transcript of a YouTube video.
2786
+ - Listing contacts from Google Contacts.
2787
+ - Adding a new contact to Google Contacts.
2788
+
2789
+ ## Facebook
2790
+
2791
+ - Retrieving basic information about the authenticated user.
2792
+ - Listing all Facebook pages the user has access to.
2793
+ - Setting a specified Facebook page as the default.
2794
+ - Retrieving a list of posts from a Facebook page.
2795
+ - Creating a new post on a Facebook page.
2796
+ - Deleting a post from a Facebook page.
2797
+ - Uploading a photo to a Facebook page.
2798
+
2799
+ ## Slack
2800
+
2801
+ - Retrieving a list of users.
2802
+ - Listing all conversations.
2803
+ - Accessing conversation history.
2804
+ - Retrieving conversation replies.
2805
+ - Opening a conversation.
2806
+ - Posting a message in a chat.
2807
+ - Deleting a chat message.
2808
+ - Uploading files to Slack.
2809
+
2810
+ ## Telegram
2811
+
2812
+ - Sending text messages to a chat or channel.
2813
+ - Sending photos with an optional caption to a chat or channel.
2814
+ - Sending documents or files to a chat or channel.
2815
+ - Retrieving information about a specific chat or channel.
2816
+ - Polling for updates in bot mode.
2817
+ - Downloading files using a file identifier.
2818
+ - Listing contacts in user mode.
2819
+ - Listing recent dialogs or chats in user mode.
2820
+ - Retrieving recent messages from a specific chat or channel in user mode.
2821
+
2822
+ ## X/Twitter
2823
+
2824
+ - Retrieve user details by providing their username.
2825
+ - Fetch user information using their unique ID.
2826
+ - Access recent tweets from a specific user.
2827
+ - Search for recent tweets using specific keywords or hashtags.
2828
+ - Create a new tweet and post it on the platform.
2829
+ - Remove an existing tweet from your profile.
2830
+ - Reply to a specific tweet with a new comment.
2831
+ - Quote a tweet while adding your own comments or thoughts.
2832
+ - Like a tweet to show appreciation or support.
2833
+ - Remove a like from a previously liked tweet.
2834
+ - Retweet a tweet to share it with your followers.
2835
+ - Undo a retweet to remove it from your profile.
2836
+ - Hide a specific reply to a tweet.
2837
+ - List all bookmarked tweets for easy access.
2838
+ - Add a tweet to your bookmarks for later reference.
2839
+ - Remove a tweet from your bookmarks.
2840
+ - Upload media files such as images or videos for tweeting.
2841
+ - Set alternative text for uploaded media for accessibility.
2842
+
2843
+ ## GitHub
2844
+
2845
+ - Retrieve details about your GitHub profile.
2846
+ - Get information about a specific GitHub user.
2847
+ - List repositories for a user or organization.
2848
+ - Retrieve details about a specific repository.
2849
+ - Create a new repository.
2850
+ - Delete an existing repository.
2851
+ - Retrieve the contents of a file in a repository.
2852
+ - Upload or update a file in a repository.
2853
+ - Delete a file from a repository.
2854
+ - List issues in a repository.
2855
+ - Create a new issue in a repository.
2856
+ - Add a comment to an existing issue.
2857
+ - Close an existing issue.
2858
+ - List pull requests in a repository.
2859
+ - Create a new pull request.
2860
+ - Merge an existing pull request.
2861
+ - Search for repositories based on a query.
2862
+ - Search for issues based on a query.
2863
+ - Search for code based on a query.
2864
+
2865
+
2866
+ ## Bitbucket
2867
+
2868
+ - Retrieve details about the authenticated user.
2869
+ - Get information about a specific user.
2870
+ - List available workspaces.
2871
+ - List repositories in a workspace.
2872
+ - Get details about a specific repository.
2873
+ - Create a new repository.
2874
+ - Delete an existing repository.
2875
+ - Retrieve contents of a file in a repository.
2876
+ - Upload a file to a repository.
2877
+ - Delete a file from a repository.
2878
+ - List issues in a repository.
2879
+ - Create a new issue.
2880
+ - Comment on an existing issue.
2881
+ - Update details of an issue.
2882
+ - List pull requests in a repository.
2883
+ - Create a new pull request.
2884
+ - Merge an existing pull request.
2885
+ - Search for repositories.
2886
+
2748
2887
 
2749
2888
  # Creating Your Own Plugins
2750
2889
 
@@ -4375,6 +4514,29 @@ may consume additional tokens that are not displayed in the main window.
4375
4514
 
4376
4515
  ## Recent changes:
4377
4516
 
4517
+ **2.6.6 (2025-08-16)**
4518
+
4519
+ - Output rendering optimization.
4520
+
4521
+ **2.6.5 (2025-08-16)**
4522
+
4523
+ - Fix: crash when creating a context in a new group.
4524
+ - Fix: high CPU usage after switching profiles.
4525
+
4526
+ **2.6.4 (2025-08-15)**
4527
+
4528
+ - Fix: tool execution in OpenAI Agents.
4529
+ - Optimizations.
4530
+
4531
+ **2.6.3 (2025-08-15)**
4532
+
4533
+ - Optimized streaming and CPU usage.
4534
+ - Fixed crash on set label color and ctx duplicate.
4535
+
4536
+ **2.6.2 (2025-08-15)**
4537
+
4538
+ - Added plugins (beta): Google, Facebook, X/Twitter, Telegram, Slack, GitHub, Bitbucket.
4539
+
4378
4540
  **2.6.1 (2025-08-14)**
4379
4541
 
4380
4542
  - LlamaIndex Agents refactored to Workflows.