Skip to content

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
szczyglis-dev committed Dec 9, 2023
1 parent 7ca2441 commit c2b9867
Show file tree
Hide file tree
Showing 11 changed files with 461 additions and 209 deletions.
50 changes: 37 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,41 +527,64 @@ Plugin capabilities include:
- Reading files
- Appending to files
- Writing files
- Deleting files
- Deleting files and directories
- Listing files and directories
- Creating directories
- Downloading files
- Copying files and directories
- Moving (renaming) files and directories

If a file being created (with the same name) already exists, a prefix including the date and time is added to the file name.

**Options:**

- `Enable: Read file` *cmd_read_file*

Allow `read_file` command. *Default:* `True`
Allows `read_file` command. *Default:* `True`

- `Enable: Append to file` *cmd_append_file*

Allow `append_file` command. *Default:* `True`
Allows `append_file` command. *Default:* `True`

- `Enable: Save file` *cmd_save_file*

Allow `save_file` command. *Default:* `True`
Allows `save_file` command. *Default:* `True`

- `Enable: Delete file` *cmd_delete_file*

Allow `delete_file` command. *Default:* `True`
Allows `delete_file` command. *Default:* `True`

- `Enable: List files (ls)` *cmd_list_files*

Allow `list_files` command. *Default:* `True`
Allows `list_files` command. *Default:* `True`

- `Enable: List directories (ls)` *cmd_list_dirs*

Allow `list_dirs` command. *Default:* `True`
Allows `list_dirs` command. *Default:* `True`

- `Enable: Directory creation (mkdir)` *cmd_mkdir*

Allow `mkdir` command. *Default:* `True`
Allows `mkdir` command. *Default:* `True`

- `Enable: Downloading files` *cmd_download_file*

Allows `download_file` command. *Default:* `True`

- `Enable: Removing directories` *cmd_rmdir*

Allows `rmdir` command. *Default:* `True`

- `Enable: Copying files` *cmd_copy_file*

Allows `copy_file` command. *Default:* `True`

- `Enable: Copying directories (recursive)` *cmd_copy_dir*

Allows `copy_dir` command. *Default:* `True`

- `Enable: Move files and directories (rename)` *cmd_move*

Allows `move` command. *Default:* `True`


## Command: Code Interpreter
Expand All @@ -582,15 +605,15 @@ Python command template (use {filename} as path to file placeholder). *Default:*

- `Enable: Python Code Generate and Execute` *cmd_code_execute*

Allow Python code execution (generate and execute from file). *Default:* `True`
Allows Python code execution (generate and execute from file). *Default:* `True`

- `Enable: Python Code Execute (File)` *cmd_code_execute_file*

Allow Python code execution from existing file. *Default:* `True`
Allows Python code execution from existing file. *Default:* `True`

- `Enable: System Command Execute` *cmd_sys_exec*

Allow system commands execution. *Default:* `True`
Allows system commands execution. *Default:* `True`


## Command: Custom Commands
Expand Down Expand Up @@ -1021,7 +1044,8 @@ may consume additional tokens that are not displayed in the main window.

## 2.0.9 (2023-12-09)

- Added `Custom Commands` feature; it allows to easily create and execute custom commands
- Added `Command: Custom Commands` feature; plugin allows to easily create and execute custom commands
- Added new features to `Command: Files I/O`: downloading files, copying files and dirs, moving files and dirs

## 2.0.8 (2023-12-08)

Expand Down Expand Up @@ -1136,7 +1160,7 @@ New features in version 2.0.0:

**PyPI:** <https://pypi.org/project/pygpt-net>

**Author:** Marcin Szczygliński (Poland, UE)
**Author:** Marcin Szczygliński (Poland, EU)

**Contact:** <info@pygpt.net> <szczyglis@protonmail.com>

Expand Down
2 changes: 1 addition & 1 deletion docs/source/credits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ https://github.com/szczyglis-dev/py-gpt
https://pypi.org/project/pygpt-net

**Author:**
Marcin Szczygliński (Poland, UE)
Marcin Szczygliński (Poland, EU)

**Contact:**
info@pygpt.net
Expand Down
46 changes: 34 additions & 12 deletions docs/source/plugins_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,64 @@ Plugin capabilities include:
* Reading files
* Appending to files
* Writing files
* Deleting files
* Deleting files and directories
* Listing files and directories
* Creating directories
* Downloading files
* Copying files and directories
* Moving (renaming) files and directories

If a file being created (with the same name) already exists, a prefix including the date and time is added to the file name.

**Options:**

- ``Enable: Read file`` *cmd_read_file*

Allow `read_file` command. *Default:* `True`
Allows `read_file` command. *Default:* `True`

- ``Enable: Append to file`` *cmd_append_file*

Allow `append_file` command. *Default:* `True`
Allows `append_file` command. *Default:* `True`

- ``Enable: Save file`` *cmd_save_file*

Allow `save_file` command. *Default:* `True`
Allows `save_file` command. *Default:* `True`

- ``Enable: Delete file`` *cmd_delete_file*

Allow `delete_file` command. *Default:* `True`
Allows `delete_file` command. *Default:* `True`

- ``Enable: List files (ls)`` *cmd_list_files*

Allow `list_files` command. *Default:* `True`
Allows `list_files` command. *Default:* `True`

- ``Enable: List directories (ls)`` *cmd_list_dirs*

Allow `list_dirs` command. *Default:* `True`
Allows `list_dirs` command. *Default:* `True`

- ``Enable: Directory creation (mkdir)`` *cmd_mkdir*

Allow `mkdir` command. *Default:* `True`
Allows `mkdir` command. *Default:* `True`

- ``Enable: Downloading files`` *cmd_download_file*

Allows `download_file` command. *Default:* `True`

- ``Enable: Removing directories`` *cmd_rmdir*

Allows `rmdir` command. *Default:* `True`

- ``Enable: Copying files`` *cmd_copy_file*

Allows `copy_file` command. *Default:* `True`

- ``Enable: Copying directories (recursive)`` *cmd_copy_dir*

Allows `copy_dir` command. *Default:* `True`

- ``Enable: Move files and directories (rename)`` *cmd_move*

Allows `move` command. *Default:* `True`


Command: Code Interpreter
Expand All @@ -67,15 +90,15 @@ Python command template (use {filename} as path to file placeholder). *Default:*

- ``Enable: Python Code Generate and Execute`` *cmd_code_execute*

Allow Python code execution (generate and execute from file). *Default:* `True`
Allows Python code execution (generate and execute from file). *Default:* `True`

- ``Enable: Python Code Execute (File)`` *cmd_code_execute_file*

Allow Python code execution from existing file. *Default:* `True`
Allows Python code execution from existing file. *Default:* `True`

- ``Enable: System Command Execute`` *cmd_sys_exec*

Allow system commands execution. *Default:* `True`
Allows system commands execution. *Default:* `True`


Command: Custom Commands
Expand Down Expand Up @@ -128,7 +151,6 @@ You can connect predefined placeholders with your own params.
- **params**: song_text, title
- **cmd**: ``echo "{song_text}" > {_home}/{title}.txt``


With the setup above, every time you ask GPT to generate a song for you and save it to the disk, it will:

1. Generate a song.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pygpt-net"
version = "2.0.8"
version = "2.0.9"
description = "Desktop AI Assistant powered by GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 with chatbot, assistant, text completion, vision and image generation, real-time internet access, commands and code execution, files upload and download and more"
readme = "README.md"
authors = [{ name = "Marcin Szczygliński", email = "info@pygpt.net" }]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

VERSION = '2.0.8'
VERSION = '2.0.9'
DESCRIPTION = 'Desktop AI Assistant powered by GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 with chatbot, assistant, text completion, ' \
'vision and image generation, real-time internet access, commands and code execution, files upload and download and more'
LONG_DESCRIPTION = 'Package containing a GPT-4, GPT-4V, GPT-3, Whisper, TTS and DALL-E 3 AI desktop assistant with chatbot, ' \
Expand Down
5 changes: 5 additions & 0 deletions src/pygpt_net/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.0.9 (2023-12-09)

- Added Command: Custom Commands feature; plugin allows to easily create and execute custom commands
- Added new features to Command: Files I/O: downloading files, copying files and dirs, moving files and dirs

2.0.8 (2023-12-08)

- Improved Web Search plugin
Expand Down
4 changes: 2 additions & 2 deletions src/pygpt_net/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
__copyright__ = "Copyright 2023, Marcin Szczygliński"
__credits__ = ["Marcin Szczygliński"]
__license__ = "MIT"
__version__ = "2.0.8"
__build__ = "2023.12.08"
__version__ = "2.0.9"
__build__ = "2023.12.09"
__maintainer__ = "Marcin Szczygliński"
__github__ = "https://github.com/szczyglis-dev/py-gpt"
__website__ = "https://pygpt.net"
Expand Down
Loading

0 comments on commit c2b9867

Please sign in to comment.