diff --git a/.gitignore b/.gitignore index 00c5735..4a9f11a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ config.ini *.egg-info experimental/ conversations/ +agentic_env/ +agentic_env/* .env */.env diff --git a/agentic_env/bin/Activate.ps1 b/agentic_env/bin/Activate.ps1 deleted file mode 100644 index b49d77b..0000000 --- a/agentic_env/bin/Activate.ps1 +++ /dev/null @@ -1,247 +0,0 @@ -<# -.Synopsis -Activate a Python virtual environment for the current PowerShell session. - -.Description -Pushes the python executable for a virtual environment to the front of the -$Env:PATH environment variable and sets the prompt to signify that you are -in a Python virtual environment. Makes use of the command line switches as -well as the `pyvenv.cfg` file values present in the virtual environment. - -.Parameter VenvDir -Path to the directory that contains the virtual environment to activate. The -default value for this is the parent of the directory that the Activate.ps1 -script is located within. - -.Parameter Prompt -The prompt prefix to display when this virtual environment is activated. By -default, this prompt is the name of the virtual environment folder (VenvDir) -surrounded by parentheses and followed by a single space (ie. '(.venv) '). - -.Example -Activate.ps1 -Activates the Python virtual environment that contains the Activate.ps1 script. - -.Example -Activate.ps1 -Verbose -Activates the Python virtual environment that contains the Activate.ps1 script, -and shows extra information about the activation as it executes. - -.Example -Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv -Activates the Python virtual environment located in the specified location. - -.Example -Activate.ps1 -Prompt "MyPython" -Activates the Python virtual environment that contains the Activate.ps1 script, -and prefixes the current prompt with the specified string (surrounded in -parentheses) while the virtual environment is active. - -.Notes -On Windows, it may be required to enable this Activate.ps1 script by setting the -execution policy for the user. You can do this by issuing the following PowerShell -command: - -PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser - -For more information on Execution Policies: -https://go.microsoft.com/fwlink/?LinkID=135170 - -#> -Param( - [Parameter(Mandatory = $false)] - [String] - $VenvDir, - [Parameter(Mandatory = $false)] - [String] - $Prompt -) - -<# Function declarations --------------------------------------------------- #> - -<# -.Synopsis -Remove all shell session elements added by the Activate script, including the -addition of the virtual environment's Python executable from the beginning of -the PATH variable. - -.Parameter NonDestructive -If present, do not remove this function from the global namespace for the -session. - -#> -function global:deactivate ([switch]$NonDestructive) { - # Revert to original values - - # The prior prompt: - if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) { - Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt - Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT - } - - # The prior PYTHONHOME: - if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) { - Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME - Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME - } - - # The prior PATH: - if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) { - Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH - Remove-Item -Path Env:_OLD_VIRTUAL_PATH - } - - # Just remove the VIRTUAL_ENV altogether: - if (Test-Path -Path Env:VIRTUAL_ENV) { - Remove-Item -Path env:VIRTUAL_ENV - } - - # Just remove VIRTUAL_ENV_PROMPT altogether. - if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) { - Remove-Item -Path env:VIRTUAL_ENV_PROMPT - } - - # Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether: - if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) { - Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force - } - - # Leave deactivate function in the global namespace if requested: - if (-not $NonDestructive) { - Remove-Item -Path function:deactivate - } -} - -<# -.Description -Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the -given folder, and returns them in a map. - -For each line in the pyvenv.cfg file, if that line can be parsed into exactly -two strings separated by `=` (with any amount of whitespace surrounding the =) -then it is considered a `key = value` line. The left hand string is the key, -the right hand is the value. - -If the value starts with a `'` or a `"` then the first and last character is -stripped from the value before being captured. - -.Parameter ConfigDir -Path to the directory that contains the `pyvenv.cfg` file. -#> -function Get-PyVenvConfig( - [String] - $ConfigDir -) { - Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg" - - # Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue). - $pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue - - # An empty map will be returned if no config file is found. - $pyvenvConfig = @{ } - - if ($pyvenvConfigPath) { - - Write-Verbose "File exists, parse `key = value` lines" - $pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath - - $pyvenvConfigContent | ForEach-Object { - $keyval = $PSItem -split "\s*=\s*", 2 - if ($keyval[0] -and $keyval[1]) { - $val = $keyval[1] - - # Remove extraneous quotations around a string value. - if ("'""".Contains($val.Substring(0, 1))) { - $val = $val.Substring(1, $val.Length - 2) - } - - $pyvenvConfig[$keyval[0]] = $val - Write-Verbose "Adding Key: '$($keyval[0])'='$val'" - } - } - } - return $pyvenvConfig -} - - -<# Begin Activate script --------------------------------------------------- #> - -# Determine the containing directory of this script -$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition -$VenvExecDir = Get-Item -Path $VenvExecPath - -Write-Verbose "Activation script is located in path: '$VenvExecPath'" -Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)" -Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)" - -# Set values required in priority: CmdLine, ConfigFile, Default -# First, get the location of the virtual environment, it might not be -# VenvExecDir if specified on the command line. -if ($VenvDir) { - Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values" -} -else { - Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir." - $VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/") - Write-Verbose "VenvDir=$VenvDir" -} - -# Next, read the `pyvenv.cfg` file to determine any required value such -# as `prompt`. -$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir - -# Next, set the prompt from the command line, or the config file, or -# just use the name of the virtual environment folder. -if ($Prompt) { - Write-Verbose "Prompt specified as argument, using '$Prompt'" -} -else { - Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value" - if ($pyvenvCfg -and $pyvenvCfg['prompt']) { - Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'" - $Prompt = $pyvenvCfg['prompt']; - } - else { - Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)" - Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'" - $Prompt = Split-Path -Path $venvDir -Leaf - } -} - -Write-Verbose "Prompt = '$Prompt'" -Write-Verbose "VenvDir='$VenvDir'" - -# Deactivate any currently active virtual environment, but leave the -# deactivate function in place. -deactivate -nondestructive - -# Now set the environment variable VIRTUAL_ENV, used by many tools to determine -# that there is an activated venv. -$env:VIRTUAL_ENV = $VenvDir - -if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) { - - Write-Verbose "Setting prompt to '$Prompt'" - - # Set the prompt to include the env name - # Make sure _OLD_VIRTUAL_PROMPT is global - function global:_OLD_VIRTUAL_PROMPT { "" } - Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT - New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt - - function global:prompt { - Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) " - _OLD_VIRTUAL_PROMPT - } - $env:VIRTUAL_ENV_PROMPT = $Prompt -} - -# Clear PYTHONHOME -if (Test-Path -Path Env:PYTHONHOME) { - Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME - Remove-Item -Path Env:PYTHONHOME -} - -# Add the venv to the PATH -Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH -$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH" diff --git a/agentic_env/bin/activate b/agentic_env/bin/activate deleted file mode 100644 index 25436fe..0000000 --- a/agentic_env/bin/activate +++ /dev/null @@ -1,69 +0,0 @@ -# This file must be used with "source bin/activate" *from bash* -# you cannot run it directly - -deactivate () { - # reset old environment variables - if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then - PATH="${_OLD_VIRTUAL_PATH:-}" - export PATH - unset _OLD_VIRTUAL_PATH - fi - if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then - PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}" - export PYTHONHOME - unset _OLD_VIRTUAL_PYTHONHOME - fi - - # This should detect bash and zsh, which have a hash command that must - # be called to get it to forget past commands. Without forgetting - # past commands the $PATH changes we made may not be respected - if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then - hash -r 2> /dev/null - fi - - if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then - PS1="${_OLD_VIRTUAL_PS1:-}" - export PS1 - unset _OLD_VIRTUAL_PS1 - fi - - unset VIRTUAL_ENV - unset VIRTUAL_ENV_PROMPT - if [ ! "${1:-}" = "nondestructive" ] ; then - # Self destruct! - unset -f deactivate - fi -} - -# unset irrelevant variables -deactivate nondestructive - -VIRTUAL_ENV="/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env" -export VIRTUAL_ENV - -_OLD_VIRTUAL_PATH="$PATH" -PATH="$VIRTUAL_ENV/bin:$PATH" -export PATH - -# unset PYTHONHOME if set -# this will fail if PYTHONHOME is set to the empty string (which is bad anyway) -# could use `if (set -u; : $PYTHONHOME) ;` in bash -if [ -n "${PYTHONHOME:-}" ] ; then - _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}" - unset PYTHONHOME -fi - -if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then - _OLD_VIRTUAL_PS1="${PS1:-}" - PS1="(agentic_env) ${PS1:-}" - export PS1 - VIRTUAL_ENV_PROMPT="(agentic_env) " - export VIRTUAL_ENV_PROMPT -fi - -# This should detect bash and zsh, which have a hash command that must -# be called to get it to forget past commands. Without forgetting -# past commands the $PATH changes we made may not be respected -if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then - hash -r 2> /dev/null -fi diff --git a/agentic_env/bin/activate.csh b/agentic_env/bin/activate.csh deleted file mode 100644 index 938d207..0000000 --- a/agentic_env/bin/activate.csh +++ /dev/null @@ -1,26 +0,0 @@ -# This file must be used with "source bin/activate.csh" *from csh*. -# You cannot run it directly. -# Created by Davide Di Blasi . -# Ported to Python 3.3 venv by Andrew Svetlov - -alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate' - -# Unset irrelevant variables. -deactivate nondestructive - -setenv VIRTUAL_ENV "/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env" - -set _OLD_VIRTUAL_PATH="$PATH" -setenv PATH "$VIRTUAL_ENV/bin:$PATH" - - -set _OLD_VIRTUAL_PROMPT="$prompt" - -if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then - set prompt = "(agentic_env) $prompt" - setenv VIRTUAL_ENV_PROMPT "(agentic_env) " -endif - -alias pydoc python -m pydoc - -rehash diff --git a/agentic_env/bin/activate.fish b/agentic_env/bin/activate.fish deleted file mode 100644 index 3daa4f3..0000000 --- a/agentic_env/bin/activate.fish +++ /dev/null @@ -1,69 +0,0 @@ -# This file must be used with "source /bin/activate.fish" *from fish* -# (https://fishshell.com/); you cannot run it directly. - -function deactivate -d "Exit virtual environment and return to normal shell environment" - # reset old environment variables - if test -n "$_OLD_VIRTUAL_PATH" - set -gx PATH $_OLD_VIRTUAL_PATH - set -e _OLD_VIRTUAL_PATH - end - if test -n "$_OLD_VIRTUAL_PYTHONHOME" - set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME - set -e _OLD_VIRTUAL_PYTHONHOME - end - - if test -n "$_OLD_FISH_PROMPT_OVERRIDE" - set -e _OLD_FISH_PROMPT_OVERRIDE - # prevents error when using nested fish instances (Issue #93858) - if functions -q _old_fish_prompt - functions -e fish_prompt - functions -c _old_fish_prompt fish_prompt - functions -e _old_fish_prompt - end - end - - set -e VIRTUAL_ENV - set -e VIRTUAL_ENV_PROMPT - if test "$argv[1]" != "nondestructive" - # Self-destruct! - functions -e deactivate - end -end - -# Unset irrelevant variables. -deactivate nondestructive - -set -gx VIRTUAL_ENV "/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env" - -set -gx _OLD_VIRTUAL_PATH $PATH -set -gx PATH "$VIRTUAL_ENV/bin" $PATH - -# Unset PYTHONHOME if set. -if set -q PYTHONHOME - set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME - set -e PYTHONHOME -end - -if test -z "$VIRTUAL_ENV_DISABLE_PROMPT" - # fish uses a function instead of an env var to generate the prompt. - - # Save the current fish_prompt function as the function _old_fish_prompt. - functions -c fish_prompt _old_fish_prompt - - # With the original prompt function renamed, we can override with our own. - function fish_prompt - # Save the return status of the last command. - set -l old_status $status - - # Output the venv prompt; color taken from the blue of the Python logo. - printf "%s%s%s" (set_color 4B8BBE) "(agentic_env) " (set_color normal) - - # Restore the return status of the previous command. - echo "exit $old_status" | . - # Output the original/"old" prompt. - _old_fish_prompt - end - - set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV" - set -gx VIRTUAL_ENV_PROMPT "(agentic_env) " -end diff --git a/agentic_env/bin/agenticseek b/agentic_env/bin/agenticseek deleted file mode 100755 index fa4c105..0000000 --- a/agentic_env/bin/agenticseek +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'agenticSeek==0.1.0','console_scripts','agenticseek' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'agenticSeek==0.1.0' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('agenticSeek==0.1.0', 'console_scripts', 'agenticseek')()) diff --git a/agentic_env/bin/convert-caffe2-to-onnx b/agentic_env/bin/convert-caffe2-to-onnx deleted file mode 100755 index c829467..0000000 --- a/agentic_env/bin/convert-caffe2-to-onnx +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'torch==2.5.1','console_scripts','convert-caffe2-to-onnx' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'torch==2.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('torch==2.5.1', 'console_scripts', 'convert-caffe2-to-onnx')()) diff --git a/agentic_env/bin/convert-onnx-to-caffe2 b/agentic_env/bin/convert-onnx-to-caffe2 deleted file mode 100755 index 422b233..0000000 --- a/agentic_env/bin/convert-onnx-to-caffe2 +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'torch==2.5.1','console_scripts','convert-onnx-to-caffe2' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'torch==2.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('torch==2.5.1', 'console_scripts', 'convert-onnx-to-caffe2')()) diff --git a/agentic_env/bin/csv2rdf b/agentic_env/bin/csv2rdf deleted file mode 100755 index 9d09590..0000000 --- a/agentic_env/bin/csv2rdf +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'rdflib==7.1.3','console_scripts','csv2rdf' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'rdflib==7.1.3' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('rdflib==7.1.3', 'console_scripts', 'csv2rdf')()) diff --git a/agentic_env/bin/csvw2datasette b/agentic_env/bin/csvw2datasette deleted file mode 100755 index b416afc..0000000 --- a/agentic_env/bin/csvw2datasette +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'csvw==3.5.1','console_scripts','csvw2datasette' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'csvw==3.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('csvw==3.5.1', 'console_scripts', 'csvw2datasette')()) diff --git a/agentic_env/bin/csvw2json b/agentic_env/bin/csvw2json deleted file mode 100755 index 65d9454..0000000 --- a/agentic_env/bin/csvw2json +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'csvw==3.5.1','console_scripts','csvw2json' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'csvw==3.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('csvw==3.5.1', 'console_scripts', 'csvw2json')()) diff --git a/agentic_env/bin/csvw2markdown b/agentic_env/bin/csvw2markdown deleted file mode 100755 index 6991023..0000000 --- a/agentic_env/bin/csvw2markdown +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'csvw==3.5.1','console_scripts','csvw2markdown' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'csvw==3.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('csvw==3.5.1', 'console_scripts', 'csvw2markdown')()) diff --git a/agentic_env/bin/csvw2sqlite b/agentic_env/bin/csvw2sqlite deleted file mode 100755 index 66e3589..0000000 --- a/agentic_env/bin/csvw2sqlite +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'csvw==3.5.1','console_scripts','csvw2sqlite' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'csvw==3.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('csvw==3.5.1', 'console_scripts', 'csvw2sqlite')()) diff --git a/agentic_env/bin/csvwdescribe b/agentic_env/bin/csvwdescribe deleted file mode 100755 index 943fa3f..0000000 --- a/agentic_env/bin/csvwdescribe +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'csvw==3.5.1','console_scripts','csvwdescribe' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'csvw==3.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('csvw==3.5.1', 'console_scripts', 'csvwdescribe')()) diff --git a/agentic_env/bin/csvwvalidate b/agentic_env/bin/csvwvalidate deleted file mode 100755 index 72b1e15..0000000 --- a/agentic_env/bin/csvwvalidate +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'csvw==3.5.1','console_scripts','csvwvalidate' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'csvw==3.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('csvw==3.5.1', 'console_scripts', 'csvwvalidate')()) diff --git a/agentic_env/bin/distro b/agentic_env/bin/distro deleted file mode 100755 index 448fc86..0000000 --- a/agentic_env/bin/distro +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'distro==1.9.0','console_scripts','distro' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'distro==1.9.0' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('distro==1.9.0', 'console_scripts', 'distro')()) diff --git a/agentic_env/bin/dotenv b/agentic_env/bin/dotenv deleted file mode 100755 index 0f76a29..0000000 --- a/agentic_env/bin/dotenv +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'python-dotenv==1.0.0','console_scripts','dotenv' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'python-dotenv==1.0.0' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('python-dotenv==1.0.0', 'console_scripts', 'dotenv')()) diff --git a/agentic_env/bin/f2py b/agentic_env/bin/f2py deleted file mode 100755 index 1ab1972..0000000 --- a/agentic_env/bin/f2py +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'numpy==1.26.4','console_scripts','f2py' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'numpy==1.26.4' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('numpy==1.26.4', 'console_scripts', 'f2py')()) diff --git a/agentic_env/bin/flask b/agentic_env/bin/flask deleted file mode 100755 index 67c62b9..0000000 --- a/agentic_env/bin/flask +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'flask==3.1.0','console_scripts','flask' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'flask==3.1.0' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('flask==3.1.0', 'console_scripts', 'flask')()) diff --git a/agentic_env/bin/httpx b/agentic_env/bin/httpx deleted file mode 100755 index 5005eb1..0000000 --- a/agentic_env/bin/httpx +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'httpx==0.28.1','console_scripts','httpx' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'httpx==0.28.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('httpx==0.28.1', 'console_scripts', 'httpx')()) diff --git a/agentic_env/bin/huggingface-cli b/agentic_env/bin/huggingface-cli deleted file mode 100755 index aa527d5..0000000 --- a/agentic_env/bin/huggingface-cli +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'huggingface-hub==0.29.2','console_scripts','huggingface-cli' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'huggingface-hub==0.29.2' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('huggingface-hub==0.29.2', 'console_scripts', 'huggingface-cli')()) diff --git a/agentic_env/bin/iptest b/agentic_env/bin/iptest deleted file mode 100755 index b448654..0000000 --- a/agentic_env/bin/iptest +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'ipython==7.16.1','console_scripts','iptest' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'ipython==7.16.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('ipython==7.16.1', 'console_scripts', 'iptest')()) diff --git a/agentic_env/bin/iptest3 b/agentic_env/bin/iptest3 deleted file mode 100755 index 2097f09..0000000 --- a/agentic_env/bin/iptest3 +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'ipython==7.16.1','console_scripts','iptest3' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'ipython==7.16.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('ipython==7.16.1', 'console_scripts', 'iptest3')()) diff --git a/agentic_env/bin/ipython b/agentic_env/bin/ipython deleted file mode 100755 index 963dbc7..0000000 --- a/agentic_env/bin/ipython +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'ipython==7.16.1','console_scripts','ipython' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'ipython==7.16.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('ipython==7.16.1', 'console_scripts', 'ipython')()) diff --git a/agentic_env/bin/ipython3 b/agentic_env/bin/ipython3 deleted file mode 100755 index da3fbe2..0000000 --- a/agentic_env/bin/ipython3 +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'ipython==7.16.1','console_scripts','ipython3' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'ipython==7.16.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('ipython==7.16.1', 'console_scripts', 'ipython3')()) diff --git a/agentic_env/bin/isympy b/agentic_env/bin/isympy deleted file mode 100755 index 55e2c4c..0000000 --- a/agentic_env/bin/isympy +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'sympy==1.13.1','console_scripts','isympy' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'sympy==1.13.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('sympy==1.13.1', 'console_scripts', 'isympy')()) diff --git a/agentic_env/bin/jsonschema b/agentic_env/bin/jsonschema deleted file mode 100755 index 77ed66b..0000000 --- a/agentic_env/bin/jsonschema +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'jsonschema==4.23.0','console_scripts','jsonschema' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'jsonschema==4.23.0' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('jsonschema==4.23.0', 'console_scripts', 'jsonschema')()) diff --git a/agentic_env/bin/markdown-it b/agentic_env/bin/markdown-it deleted file mode 100755 index 205380b..0000000 --- a/agentic_env/bin/markdown-it +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'markdown-it-py==3.0.0','console_scripts','markdown-it' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'markdown-it-py==3.0.0' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('markdown-it-py==3.0.0', 'console_scripts', 'markdown-it')()) diff --git a/agentic_env/bin/normalizer b/agentic_env/bin/normalizer deleted file mode 100755 index c49192a..0000000 --- a/agentic_env/bin/normalizer +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'charset-normalizer==3.4.1','console_scripts','normalizer' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'charset-normalizer==3.4.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('charset-normalizer==3.4.1', 'console_scripts', 'normalizer')()) diff --git a/agentic_env/bin/num2words b/agentic_env/bin/num2words deleted file mode 100755 index 42e146c..0000000 --- a/agentic_env/bin/num2words +++ /dev/null @@ -1,95 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python -# -*- coding: utf-8 -*- -# Copyright (c) 2003, Taro Ogawa. All Rights Reserved. -# Copyright (c) 2013, Savoir-faire Linux inc. All Rights Reserved. - -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -# MA 02110-1301 USA - -"""num2words: convert numbers into words. - -Usage: - num2words [options] - num2words --list-languages - num2words --list-converters - num2words --help - -Arguments: - Number you want to convert into words - -Options: - -L --list-languages Show all languages. - -C --list-converters Show all converters. - -l --lang= Output language [default: en]. - -t --to= Output converter [default: cardinal]. - -h --help Show this message. - -v --version Show version. - -Examples: - $ num2words 10001 - ten thousand and one - - $ num2words 24,120.10 - twenty-four thousand, one hundred and twenty point one - - $ num2words 24,120.10 -l es - veinticuatro mil ciento veinte punto uno - - $num2words 2.14 -l es --to currency - dos euros con catorce céntimos -""" - -from __future__ import print_function, unicode_literals -import os -import sys -from docopt import docopt -import num2words - -__version__ = "0.5.14" -__license__ = "LGPL" - - -def get_languages(): - return sorted(list(num2words.CONVERTER_CLASSES.keys())) - - -def get_converters(): - return sorted(list(num2words.CONVERTES_TYPES)) - - -def main(): - version = "{}=={}".format(os.path.basename(__file__), __version__) - args = docopt(__doc__, argv=None, help=True, version=version, options_first=False) - if args["--list-languages"]: - for lang in get_languages(): - sys.stdout.write(lang) - sys.stdout.write(os.linesep) - sys.exit(0) - if args["--list-converters"]: - for cvt in get_converters(): - sys.stdout.write(cvt) - sys.stdout.write(os.linesep) - sys.exit(0) - try: - words = num2words.num2words(args[''], lang=args['--lang'], to=args['--to']) - sys.stdout.write(words + os.linesep) - sys.exit(0) - except Exception as err: - sys.stderr.write(str(args[''])) - sys.stderr.write(str(err) + os.linesep) - sys.stderr.write(__doc__) - sys.exit(1) - - -if __name__ == '__main__': - main() diff --git a/agentic_env/bin/numba b/agentic_env/bin/numba deleted file mode 100755 index 10230eb..0000000 --- a/agentic_env/bin/numba +++ /dev/null @@ -1,8 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python -# -*- coding: UTF-8 -*- -from __future__ import print_function, division, absolute_import - -from numba.misc.numba_entry import main - -if __name__ == "__main__": - main() diff --git a/agentic_env/bin/openai b/agentic_env/bin/openai deleted file mode 100755 index eddffd3..0000000 --- a/agentic_env/bin/openai +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'openai==1.61.1','console_scripts','openai' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'openai==1.61.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('openai==1.61.1', 'console_scripts', 'openai')()) diff --git a/agentic_env/bin/phonemize b/agentic_env/bin/phonemize deleted file mode 100755 index 610f342..0000000 --- a/agentic_env/bin/phonemize +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'phonemizer-fork==3.3.2','console_scripts','phonemize' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'phonemizer-fork==3.3.2' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('phonemizer-fork==3.3.2', 'console_scripts', 'phonemize')()) diff --git a/agentic_env/bin/pip b/agentic_env/bin/pip deleted file mode 100755 index 02c94d5..0000000 --- a/agentic_env/bin/pip +++ /dev/null @@ -1,8 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python -# -*- coding: utf-8 -*- -import re -import sys -from pip._internal.cli.main import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/agentic_env/bin/pip3 b/agentic_env/bin/pip3 deleted file mode 100755 index 02c94d5..0000000 --- a/agentic_env/bin/pip3 +++ /dev/null @@ -1,8 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python -# -*- coding: utf-8 -*- -import re -import sys -from pip._internal.cli.main import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/agentic_env/bin/pip3.10 b/agentic_env/bin/pip3.10 deleted file mode 100755 index 02c94d5..0000000 --- a/agentic_env/bin/pip3.10 +++ /dev/null @@ -1,8 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python -# -*- coding: utf-8 -*- -import re -import sys -from pip._internal.cli.main import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/agentic_env/bin/pybabel b/agentic_env/bin/pybabel deleted file mode 100755 index efaa0d4..0000000 --- a/agentic_env/bin/pybabel +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'babel==2.17.0','console_scripts','pybabel' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'babel==2.17.0' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('babel==2.17.0', 'console_scripts', 'pybabel')()) diff --git a/agentic_env/bin/pygmentize b/agentic_env/bin/pygmentize deleted file mode 100755 index 1c13b91..0000000 --- a/agentic_env/bin/pygmentize +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'pygments==2.19.1','console_scripts','pygmentize' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'pygments==2.19.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('pygments==2.19.1', 'console_scripts', 'pygmentize')()) diff --git a/agentic_env/bin/pypinyin b/agentic_env/bin/pypinyin deleted file mode 100755 index 4d58301..0000000 --- a/agentic_env/bin/pypinyin +++ /dev/null @@ -1,8 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python -# -*- coding: utf-8 -*- -import re -import sys -from pypinyin.__main__ import main -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main()) diff --git a/agentic_env/bin/python b/agentic_env/bin/python deleted file mode 120000 index 80bd101..0000000 --- a/agentic_env/bin/python +++ /dev/null @@ -1 +0,0 @@ -/Users/mlg/miniforge3/bin/python \ No newline at end of file diff --git a/agentic_env/bin/python3 b/agentic_env/bin/python3 deleted file mode 120000 index d8654aa..0000000 --- a/agentic_env/bin/python3 +++ /dev/null @@ -1 +0,0 @@ -python \ No newline at end of file diff --git a/agentic_env/bin/python3.10 b/agentic_env/bin/python3.10 deleted file mode 120000 index d8654aa..0000000 --- a/agentic_env/bin/python3.10 +++ /dev/null @@ -1 +0,0 @@ -python \ No newline at end of file diff --git a/agentic_env/bin/rdf2dot b/agentic_env/bin/rdf2dot deleted file mode 100755 index d453ba1..0000000 --- a/agentic_env/bin/rdf2dot +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'rdflib==7.1.3','console_scripts','rdf2dot' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'rdflib==7.1.3' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('rdflib==7.1.3', 'console_scripts', 'rdf2dot')()) diff --git a/agentic_env/bin/rdfgraphisomorphism b/agentic_env/bin/rdfgraphisomorphism deleted file mode 100755 index 7bb7f25..0000000 --- a/agentic_env/bin/rdfgraphisomorphism +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'rdflib==7.1.3','console_scripts','rdfgraphisomorphism' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'rdflib==7.1.3' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('rdflib==7.1.3', 'console_scripts', 'rdfgraphisomorphism')()) diff --git a/agentic_env/bin/rdfpipe b/agentic_env/bin/rdfpipe deleted file mode 100755 index 8420b2b..0000000 --- a/agentic_env/bin/rdfpipe +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'rdflib==7.1.3','console_scripts','rdfpipe' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'rdflib==7.1.3' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('rdflib==7.1.3', 'console_scripts', 'rdfpipe')()) diff --git a/agentic_env/bin/rdfs2dot b/agentic_env/bin/rdfs2dot deleted file mode 100755 index f9ec6ca..0000000 --- a/agentic_env/bin/rdfs2dot +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'rdflib==7.1.3','console_scripts','rdfs2dot' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'rdflib==7.1.3' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('rdflib==7.1.3', 'console_scripts', 'rdfs2dot')()) diff --git a/agentic_env/bin/segments b/agentic_env/bin/segments deleted file mode 100755 index 8aab7c7..0000000 --- a/agentic_env/bin/segments +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'segments==2.3.0','console_scripts','segments' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'segments==2.3.0' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('segments==2.3.0', 'console_scripts', 'segments')()) diff --git a/agentic_env/bin/spacy b/agentic_env/bin/spacy deleted file mode 100755 index e8e684e..0000000 --- a/agentic_env/bin/spacy +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'spacy==3.8.4','console_scripts','spacy' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'spacy==3.8.4' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('spacy==3.8.4', 'console_scripts', 'spacy')()) diff --git a/agentic_env/bin/torchfrtrace b/agentic_env/bin/torchfrtrace deleted file mode 100755 index d4d038b..0000000 --- a/agentic_env/bin/torchfrtrace +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'torch==2.5.1','console_scripts','torchfrtrace' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'torch==2.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('torch==2.5.1', 'console_scripts', 'torchfrtrace')()) diff --git a/agentic_env/bin/torchrun b/agentic_env/bin/torchrun deleted file mode 100755 index a2cfa9e..0000000 --- a/agentic_env/bin/torchrun +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'torch==2.5.1','console_scripts','torchrun' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'torch==2.5.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('torch==2.5.1', 'console_scripts', 'torchrun')()) diff --git a/agentic_env/bin/tqdm b/agentic_env/bin/tqdm deleted file mode 100755 index 1d7f4f9..0000000 --- a/agentic_env/bin/tqdm +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'tqdm==4.67.1','console_scripts','tqdm' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'tqdm==4.67.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('tqdm==4.67.1', 'console_scripts', 'tqdm')()) diff --git a/agentic_env/bin/transformers-cli b/agentic_env/bin/transformers-cli deleted file mode 100755 index a1c3a14..0000000 --- a/agentic_env/bin/transformers-cli +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'transformers==4.48.3','console_scripts','transformers-cli' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'transformers==4.48.3' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('transformers==4.48.3', 'console_scripts', 'transformers-cli')()) diff --git a/agentic_env/bin/typer b/agentic_env/bin/typer deleted file mode 100755 index 4d95c64..0000000 --- a/agentic_env/bin/typer +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'typer==0.15.2','console_scripts','typer' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'typer==0.15.2' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('typer==0.15.2', 'console_scripts', 'typer')()) diff --git a/agentic_env/bin/weasel b/agentic_env/bin/weasel deleted file mode 100755 index 15e2721..0000000 --- a/agentic_env/bin/weasel +++ /dev/null @@ -1,33 +0,0 @@ -#!/Users/mlg/Documents/A-project/AI/Agents/agenticSeek/agentic_env/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'weasel==0.4.1','console_scripts','weasel' -import re -import sys - -# for compatibility with easy_install; see #2198 -__requires__ = 'weasel==0.4.1' - -try: - from importlib.metadata import distribution -except ImportError: - try: - from importlib_metadata import distribution - except ImportError: - from pkg_resources import load_entry_point - - -def importlib_load_entry_point(spec, group, name): - dist_name, _, _ = spec.partition('==') - matches = ( - entry_point - for entry_point in distribution(dist_name).entry_points - if entry_point.group == group and entry_point.name == name - ) - return next(matches).load() - - -globals().setdefault('load_entry_point', importlib_load_entry_point) - - -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) - sys.exit(load_entry_point('weasel==0.4.1', 'console_scripts', 'weasel')()) diff --git a/agentic_env/pyvenv.cfg b/agentic_env/pyvenv.cfg deleted file mode 100644 index c55b506..0000000 --- a/agentic_env/pyvenv.cfg +++ /dev/null @@ -1,3 +0,0 @@ -home = /Users/mlg/miniforge3/bin -include-system-site-packages = false -version = 3.10.12 diff --git a/agentic_env/share/man/man1/isympy.1 b/agentic_env/share/man/man1/isympy.1 deleted file mode 100644 index 0ff9661..0000000 --- a/agentic_env/share/man/man1/isympy.1 +++ /dev/null @@ -1,188 +0,0 @@ -'\" -*- coding: us-ascii -*- -.if \n(.g .ds T< \\FC -.if \n(.g .ds T> \\F[\n[.fam]] -.de URL -\\$2 \(la\\$1\(ra\\$3 -.. -.if \n(.g .mso www.tmac -.TH isympy 1 2007-10-8 "" "" -.SH NAME -isympy \- interactive shell for SymPy -.SH SYNOPSIS -'nh -.fi -.ad l -\fBisympy\fR \kx -.if (\nx>(\n(.l/2)) .nr x (\n(.l/5) -'in \n(.iu+\nxu -[\fB-c\fR | \fB--console\fR] [\fB-p\fR ENCODING | \fB--pretty\fR ENCODING] [\fB-t\fR TYPE | \fB--types\fR TYPE] [\fB-o\fR ORDER | \fB--order\fR ORDER] [\fB-q\fR | \fB--quiet\fR] [\fB-d\fR | \fB--doctest\fR] [\fB-C\fR | \fB--no-cache\fR] [\fB-a\fR | \fB--auto\fR] [\fB-D\fR | \fB--debug\fR] [ --- | PYTHONOPTIONS] -'in \n(.iu-\nxu -.ad b -'hy -'nh -.fi -.ad l -\fBisympy\fR \kx -.if (\nx>(\n(.l/2)) .nr x (\n(.l/5) -'in \n(.iu+\nxu -[ -{\fB-h\fR | \fB--help\fR} -| -{\fB-v\fR | \fB--version\fR} -] -'in \n(.iu-\nxu -.ad b -'hy -.SH DESCRIPTION -isympy is a Python shell for SymPy. It is just a normal python shell -(ipython shell if you have the ipython package installed) that executes -the following commands so that you don't have to: -.PP -.nf -\*(T< ->>> from __future__ import division ->>> from sympy import * ->>> x, y, z = symbols("x,y,z") ->>> k, m, n = symbols("k,m,n", integer=True) - \*(T> -.fi -.PP -So starting isympy is equivalent to starting python (or ipython) and -executing the above commands by hand. It is intended for easy and quick -experimentation with SymPy. For more complicated programs, it is recommended -to write a script and import things explicitly (using the "from sympy -import sin, log, Symbol, ..." idiom). -.SH OPTIONS -.TP -\*(T<\fB\-c \fR\*(T>\fISHELL\fR, \*(T<\fB\-\-console=\fR\*(T>\fISHELL\fR -Use the specified shell (python or ipython) as -console backend instead of the default one (ipython -if present or python otherwise). - -Example: isympy -c python - -\fISHELL\fR could be either -\&'ipython' or 'python' -.TP -\*(T<\fB\-p \fR\*(T>\fIENCODING\fR, \*(T<\fB\-\-pretty=\fR\*(T>\fIENCODING\fR -Setup pretty printing in SymPy. By default, the most pretty, unicode -printing is enabled (if the terminal supports it). You can use less -pretty ASCII printing instead or no pretty printing at all. - -Example: isympy -p no - -\fIENCODING\fR must be one of 'unicode', -\&'ascii' or 'no'. -.TP -\*(T<\fB\-t \fR\*(T>\fITYPE\fR, \*(T<\fB\-\-types=\fR\*(T>\fITYPE\fR -Setup the ground types for the polys. By default, gmpy ground types -are used if gmpy2 or gmpy is installed, otherwise it falls back to python -ground types, which are a little bit slower. You can manually -choose python ground types even if gmpy is installed (e.g., for testing purposes). - -Note that sympy ground types are not supported, and should be used -only for experimental purposes. - -Note that the gmpy1 ground type is primarily intended for testing; it the -use of gmpy even if gmpy2 is available. - -This is the same as setting the environment variable -SYMPY_GROUND_TYPES to the given ground type (e.g., -SYMPY_GROUND_TYPES='gmpy') - -The ground types can be determined interactively from the variable -sympy.polys.domains.GROUND_TYPES inside the isympy shell itself. - -Example: isympy -t python - -\fITYPE\fR must be one of 'gmpy', -\&'gmpy1' or 'python'. -.TP -\*(T<\fB\-o \fR\*(T>\fIORDER\fR, \*(T<\fB\-\-order=\fR\*(T>\fIORDER\fR -Setup the ordering of terms for printing. The default is lex, which -orders terms lexicographically (e.g., x**2 + x + 1). You can choose -other orderings, such as rev-lex, which will use reverse -lexicographic ordering (e.g., 1 + x + x**2). - -Note that for very large expressions, ORDER='none' may speed up -printing considerably, with the tradeoff that the order of the terms -in the printed expression will have no canonical order - -Example: isympy -o rev-lax - -\fIORDER\fR must be one of 'lex', 'rev-lex', 'grlex', -\&'rev-grlex', 'grevlex', 'rev-grevlex', 'old', or 'none'. -.TP -\*(T<\fB\-q\fR\*(T>, \*(T<\fB\-\-quiet\fR\*(T> -Print only Python's and SymPy's versions to stdout at startup, and nothing else. -.TP -\*(T<\fB\-d\fR\*(T>, \*(T<\fB\-\-doctest\fR\*(T> -Use the same format that should be used for doctests. This is -equivalent to '\fIisympy -c python -p no\fR'. -.TP -\*(T<\fB\-C\fR\*(T>, \*(T<\fB\-\-no\-cache\fR\*(T> -Disable the caching mechanism. Disabling the cache may slow certain -operations down considerably. This is useful for testing the cache, -or for benchmarking, as the cache can result in deceptive benchmark timings. - -This is the same as setting the environment variable SYMPY_USE_CACHE -to 'no'. -.TP -\*(T<\fB\-a\fR\*(T>, \*(T<\fB\-\-auto\fR\*(T> -Automatically create missing symbols. Normally, typing a name of a -Symbol that has not been instantiated first would raise NameError, -but with this option enabled, any undefined name will be -automatically created as a Symbol. This only works in IPython 0.11. - -Note that this is intended only for interactive, calculator style -usage. In a script that uses SymPy, Symbols should be instantiated -at the top, so that it's clear what they are. - -This will not override any names that are already defined, which -includes the single character letters represented by the mnemonic -QCOSINE (see the "Gotchas and Pitfalls" document in the -documentation). You can delete existing names by executing "del -name" in the shell itself. You can see if a name is defined by typing -"'name' in globals()". - -The Symbols that are created using this have default assumptions. -If you want to place assumptions on symbols, you should create them -using symbols() or var(). - -Finally, this only works in the top level namespace. So, for -example, if you define a function in isympy with an undefined -Symbol, it will not work. -.TP -\*(T<\fB\-D\fR\*(T>, \*(T<\fB\-\-debug\fR\*(T> -Enable debugging output. This is the same as setting the -environment variable SYMPY_DEBUG to 'True'. The debug status is set -in the variable SYMPY_DEBUG within isympy. -.TP --- \fIPYTHONOPTIONS\fR -These options will be passed on to \fIipython (1)\fR shell. -Only supported when ipython is being used (standard python shell not supported). - -Two dashes (--) are required to separate \fIPYTHONOPTIONS\fR -from the other isympy options. - -For example, to run iSymPy without startup banner and colors: - -isympy -q -c ipython -- --colors=NoColor -.TP -\*(T<\fB\-h\fR\*(T>, \*(T<\fB\-\-help\fR\*(T> -Print help output and exit. -.TP -\*(T<\fB\-v\fR\*(T>, \*(T<\fB\-\-version\fR\*(T> -Print isympy version information and exit. -.SH FILES -.TP -\*(T<\fI${HOME}/.sympy\-history\fR\*(T> -Saves the history of commands when using the python -shell as backend. -.SH BUGS -The upstreams BTS can be found at \(lahttps://github.com/sympy/sympy/issues\(ra -Please report all bugs that you find in there, this will help improve -the overall quality of SymPy. -.SH "SEE ALSO" -\fBipython\fR(1), \fBpython\fR(1) diff --git a/media/exemples/basic_web_search.png b/media/exemples/basic_web_search.png deleted file mode 100644 index c1eaab2..0000000 Binary files a/media/exemples/basic_web_search.png and /dev/null differ diff --git a/media/exemples/web_search.png b/media/exemples/search_event.png similarity index 100% rename from media/exemples/web_search.png rename to media/exemples/search_event.png diff --git a/media/exemples/search_jobs.png b/media/exemples/search_jobs.png new file mode 100644 index 0000000..3a64988 Binary files /dev/null and b/media/exemples/search_jobs.png differ diff --git a/media/exemples/advanced_web.png b/media/exemples/search_politics.png similarity index 100% rename from media/exemples/advanced_web.png rename to media/exemples/search_politics.png diff --git a/requirements.txt b/requirements.txt index 97e15e6..d8fa3ac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,10 +13,12 @@ flask==3.1.0 soundfile==0.13.1 protobuf==3.20.3 termcolor==2.5.0 -ipython==9.0.2 +ipython==8.34.0 gliclass==0.1.8 pyaudio==0.2.14 librosa==0.10.2.post1 +selenium==4.29.0 +markdownify==1.1.0 # if use chinese ordered_set pypinyin diff --git a/setup.py b/setup.py index b5f3076..856783a 100644 --- a/setup.py +++ b/setup.py @@ -30,9 +30,11 @@ setup( "protobuf==3.20.3", "termcolor==2.5.0", "gliclass==0.1.8", - "ipython==7.16.1", - "pyaudio-0.2.14", - "librosa==0.10.2.post1" + "ipython==8.34.0", + "pyaudio==0.2.14", + "librosa==0.10.2.post1", + "selenium==4.29.0", + "markdownify==1.1.0" ], extras_require={ "chinese": [ diff --git a/sources/agents/browser_agent.py b/sources/agents/browser_agent.py index c97afa7..47246dd 100644 --- a/sources/agents/browser_agent.py +++ b/sources/agents/browser_agent.py @@ -17,6 +17,7 @@ class BrowserAgent(Agent): self.role = "deep research and web search" self.browser = Browser() self.browser.goTo("https://github.com/") + self.search_history = [] def make_init_prompt(self, user_prompt: str, search_result: str): return f""" @@ -31,7 +32,7 @@ class BrowserAgent(Agent): return re.findall(r'https?://[^\s]+', search_result) def make_navigation_prompt(self, user_prompt: str, page_text: str, navigable_links: list): - format_links = "\n".join([f"[{i}] {link['text']} - {link['url']}" for i, link in enumerate(navigable_links)]) + remaining_links = "\n".join([f"[{i}] {link}" for i, link in enumerate(navigable_links) if link not in self.search_history]) return f""" \nYou are browsing the web. Not the user, you are the browser. @@ -39,7 +40,7 @@ class BrowserAgent(Agent): {page_text} Navigable links: - {format_links} + {remaining_links} You must choose a link to navigate to or do a new search. @@ -51,6 +52,7 @@ class BrowserAgent(Agent): weather in tokyo ``` If you have an answer and want to exit the browser, please say "REQUEST_EXIT". + If you don't choose a link or do a new search I will cut my fucking arm off. """ def clean_links(self, links: list): @@ -88,6 +90,7 @@ class BrowserAgent(Agent): animate_thinking(f"Navigating to {links[0]}", color="status") speech_module.speak(f"Navigating to {links[0]}") self.browser.goTo(links[0]) + self.search_history.append(links[0]) page_text = self.browser.getText()[:2048] navigable_links = self.browser.getNavigable()[:15] prompt = self.make_navigation_prompt(user_prompt, page_text, navigable_links)