Saravanan666/pypi-org huggingface dataset:
Package: clifold
ClifoldClifold is a command line tool that can quickly scaffold the python projects.RequirementsMinimum Python 3.6 installedPip 3 installedInstallationFirst, make sure you have at leastpython3.6andpip3installed.LinuxIn linux distributions, at least python3.6 is normally preinstalled, but pip3 isn't. To install pip3 and clifold in linux distributions,Arch Linuxsudo pacman -S python-pip
pip3 install clifoldDebian/Ubuntusudo apt install python3-venv python3-pip
pip3 install clifoldopenSUSEsudo zypper install python3-pip python3-setuptools python3-wheel
pip3 install clifoldFedorasudo dnf install python3 python3-wheel
pip3 install clifoldCentOS/RHELFor CentOS/RHEL, please followthis link.macOSPip3 probably have been installed if python3 has been installed from python.org. After that,pip3 install clifoldWindowspip3 install clifoldUsageAfter clifold has been installed, you will haveclifcommand to start using.usage: clif <arg> [options]

🚀 A CLI tool for scaffolding any Python Projects 🚀

Argument:
  project_name    Project name to create with venv

Options:
  -g, --git       Make git initialization (Default: True)
  -ng, --no-git   Skip git initialization
  -p, --pkg       Ask packages to install (Default: True)
  -np, --no-pkg   Skip packages installation
  -i, --init      Create setup.py file (Default: True)
  -ni, --no-init  Skip setup.py file
  -V, --version   Output version number
  -h, --help      Output usage informationLICENSEMIT
Package: cli-forge
CLI ForgeA tool for building simple CLIsInstallationpip install pickInputBasicfromcli_forgeimportcli_forgebasic_input=cli_forge.cli_prompt("What is your name?")Selectfromcli_forgeimportcli_forgeselect_input=cli_forge.cli_prompt("What currency will you be using?",options=["£","$"],select=True)Multi-selectfromcli_forgeimportcli_forgemulti_select_input=cli_forge.cli_prompt("Which languages would you like to include?",options=["English","Italian","Spanish"],options_format=["EN","IT","ES"],multiselect=True)Optionsprompt: prompt above the optionsoptions: (optional) list of optionsselect: (optional) if True, allows you select an optionmultiselect: (optional) if True, allows you to select multiple optionsoptions_format: (optional) allows you to format your output for use in your programInputUsagefromcli_forgeimportcli_forgecli_forge.cli_progress(10,1,"Fetching data...")# functioncli_forge.cli_progress(10,2,"Fetching data...")# ...Optionslength: number of progress unitsprogress: progress level (out of length)prefix: text before the progress barsize: (optional) progress bar size on screenend: (optional) if True, allows you to end the progress bar before it completes
Package: cli-formatter
cli-formattercli-formatter is a python3 utility for formatting console output for cli scripts.Current FeaturesColored outputAbility to control the verbosity levelTwo table factories for ASCII tablesInstallationInstall the package with pippip3 install cli-formatterExamplesExample 1fromcli_formatter.output_formattingimportinfo,warning,set_verbosity_levelset_verbosity_level(level=3)info(message='This is a Info message')info(message='This is a Info message with very low verbosity level',verbosity_level=1)warning(message='This is a warning')[+] This is a Info message
[!] This is a warningExample 2fromcli_formatter.table_builderimportTableBuilderClassic,TableBuilderAlternativeheader=['Column 1','Column 2','Column 3']data=[['This is a test','123','abc'],['cli-formatter','is','awesome']]print('classic design:')classic_builder=TableBuilderClassic()classic_builder.build_table(header=header,data=data)print('\nalterative design:')alternative_builder=TableBuilderAlternative()alternative_builder.build_table(header=header,data=data)classic design:
+----------------+----------+----------+
| Column 1       | Column 2 | Column 3 |
+----------------+----------+----------+
| This is a test | 123      | abc      |
| cli-formatter  | is       | awesome  |
+----------------+----------+----------+

alterative design:
 Column 1       | Column 2 | Column 3
--------------------------------------
 This is a test | 123      | abc
 cli-formatter  | is       | awesome
Package: cli-for-tools
Cli Guadalupe Datapaco_el_chatoPaco el chato es el asistente para las tareas de gabinete en el proyecto de erradicación de gato
feral en Isla Guadalupe.Tiene tres habilidades:clasificar fotos con gatosgenerar un esbozo del mapa con trampas activas y desactivas de Isla Guadalupeactualizar la paquetería para hacer las tareas anterioresInstalación 🏗️Podemos instalar esta aplicación usandopip:pipuninstallcli_for_tools
pipinstallgit+https://github.com/IslasGECI/cli_guadalupe_data@latestModo de usoPara utilizarhaz-mapaoclasifica-fotosdebemos abrir la terminal desde la carpeta de trabajo:damos dobleclicka la carpeta de trabajodamosclickderecho al ratón y escogemos la opciónOpen Terminalescribimos el comandopaco_el_chato --helpy tendremos la ayuda generalescribimos el comandopaco_el_chato haz-mapa --helpy tendremos la ayuda del comandohaz-mapaescribimos el comandopaco_el_chato clasifica-fotos --helpy tendremos la ayuda del comandoclasifica-fotoshaz-mapaHace un esbozo del mapa de Isla Guadalupe con las trampas activas e inactivas.Requerimiento: En la carpeta de trabajo debe estar:IG_POSICION_{fecha}.txt         : Archivo que obtenemos de mapsourceIG_POSICION_TRAMPAS_{fecha}.xlsx: Archivos con los esfuerzos de la semanaAl final generará el archivomap_of_traps.jpg.clasifica-fotosClasifica las fotos que vienen de las trampas cámara.Requerimiento: En la carpeta de trabajo debe estar una carpeta (varias carpetas) con las fotos.
El nombre de la carpeta principal debe ser sin espacios. Por ejemplo:FOTOS GATOS: es un nombre incorrecto,FOTOS_GATOS: es un nombre correcto.Al final generará la carpetacat_detectedcon las fotos en las que detectó gato.actualiza-comandosActualiza los comandos:haz-mapaclasifica-fotos
Package: clifs
clifsMulti-platform command line interface for file system operations.For installation run:pipinstallclifsAfter installation all functionality can be accessed typingclifsin the command line, which alone will show a list of installed plugins.To implement your own plugin best inherit from theclifs.ClifsPluginclass.Plugins installed by default:Rename (ren)Rename files or directories using regular expressions. Supports options such as selecting files and folders by sub-string filter, time of the last modification or creation/change, or by list. Typeclifs ren --helpfor a list of options. By default a preview mode is running to prevent unpleasant surprises.Example:Command:clifsren".\some_dir"--recursive--pattern"(?<!_suffix)\.(.*)"--replacement"_suffix.\1"Output:Disc Usage (du)Show disc usage for one or more directories.Example:Command:clifsdu"some\dir\on\some_drive""some\other\dir\on\some_other_drive""some\other\dir\on\yet_another_drive"Output:Directory Tree (tree)Show a directory tree including sizes of folders and files. Supports options such as controlling the tree depth or showing folders only. Typeclifs tree --helpfor a list of options.Example:Command:clifstree.\clifs--depth2Output:Streaming Editor (sed)Edit text files using regular expressions. Runs line by line and gives a preview of the changes by default. Supports options such as picking lines by number, selection of files by sub-string filter, time of the last modification or creation/change, or by list. Typeclifs sed --helpfor a list of options.You can e.g. remove specific lines choosing-pt ".*[\r\n]+" -l 5or add lines in specific locations using-pt "[\r\n]+" -rp "\nadded line\n" -l 3,4".Example:clifssed".\some\place"--pattern"(s\w*)"--replacement"no \1"--lines4-6--recursiveOutput:Copy (cp)Copy files from one location to the other.
Supports selection of files and folders by sub-string filter, time of the last modification or creation/change, or by list. Also supports flattening the folder hierarchy. Typeclifs cp --helpfor a full list of options.Example:Command:clifscp".\some_source_dir"".\some_dest_dir"--recursive--flatten--keep_allOutput:Move (mv)Move files from one location to the other.
Supports selection of files and folders by sub-string filter, time of the last modification or creation/change, or by list. Also supports flattening the folder hierarchy. Typeclifs mv --helpfor a full list of options.Example:Command:clifsmv".\some_source_dir"".\some_dest_dir"--recursive--skip_existingOutput:Delete (del)Delete files from the drive.
Supports options such as selecting files and folders by sub-string filter, time of the last modification or creation/change, or by list. Typeclifs del --helpfor a full list of options.Example:Command:clifsdel".\some_dir"--recursive--filterstring".py"Output:Backup (backup)Back up files and folders. Supports backing up via a config file giving multiple source/target pairs and the option to delete files which are not present in the source directory from the corresponding target directory.
Typeclifs backup --helpfor a full list of options.Example:Command:clifsbackup--dir_source".\some_source_dir"--dir_dest".\some_dest_dir"--delete--verboseOutput:
Package: cli-FSD
cli-FSDNatural language driven autopilot for interfacing with your command line.A lightweight and portable autopilot utility for your CLI. Takes natural language as input and uses the OpenAI API to take the appropriate actions by generating and parsing shell scripts. Run '''safe mode.py''' to run as a terminal companion that creates, stored and asks permission to execute scripts incrementally to accomplish the user's request.Warning: Giving LLMs shell-level access to your computer is dangerous and should only be done in sandbox or otherwise expendable environments.Getting StartedPrerequisitesPython 3.10 or later (may work with earlier versions)pip 24.0 or laterAn OpenAI API keyA Replicate API keyInstallationPre-requisites:Upgrade pippython3-mpipinstall--upgradepipClone the repository:gitclonehttps://github.com/WazaCraft/cli-FSDcdcli-FSDSet up a Python virtual environment:python-mvenvFSDActivate the virtual environment:On Windows:.\FSD\Scripts\activateOn Unix or MacOS:sourceFSD/bin/activateInstall the cli-FSD Python package:pipinstall.UsageTo start in safe-mode in your Terminal:@whattimeisit-sTo run in companion mode and process a specific task using autopilot type '@' from anywhere in your terminal followed by a command:@whattimeisitFor additional options, you can enterCMDmode by typingCMDat any prompt.ContributingContributions to this project are welcome. Please fork the repository, make your changes, and submit a pull request for review.LicenseThis project is licensed under the GNU GPL - see theLICENSE.mdfile for details.AcknowledgmentsOpenAI for providing the API used for generating chat responses.Flask and Flask-CORS for the web server functionality.
Package: clifun
clifunBecause cli's should be fun(ctions) ;).import clifun

def my_program(a: int, b: str = "not provided"):
  print(f"Running some code with: a={a}, b={b}")

if __name__ == "__main__":
  clifun.call(my_program)That's all it takes. Clifun will inspect your function and collect the values it needs it from command line arguments, environment variables, or config files, and then call it.python examples/function --a 1Running some code with: a=1, b=not providedYou can even run functions in any module without modifying the module at allpython clifun.py examples/module.py my_program --a 1if you have the code checked out. Or if you pip installedpython -m clifun some_module.py function ...Or if you have environment variables definedexport A=1
export B=hi
python example.pyagain yields without you having to provide valuesBasic(a=1, b='hi')clifunalso supports nested objects (or functions taking complex objects as inputs)from typing import Optional
import datetime as dt

import attr
import clifun


@attr.s(auto_attribs=True, frozen=True)
class Foo:
    a: dt.datetime
    b: Optional[str] = None


@attr.s(auto_attribs=True, frozen=True)
class Bar:
    f: Foo
    c: int

def my_program(f: Foo, c: int):
    print(Bar(f, c))


if __name__ == "__main__":
    bar = clifun.call(my_program)You specify values for the fields in the nested class by referring to them with a their field name in the outer classpython examples/advanced.py --c 1 --f.a 2020-01-01 --f.b hiBar(f=Foo(a=datetime.datetime(2021, 1, 1, 0, 0), b='hi'), c=1)You can also supply one or morejsonformattedconfigfiles. Provide the name(s) of these files as positional arguments.clifunwill search them, last file first, for any keys fields that are not provided at the command line before searching the environment.python examples/advanced.py --c 1 examples/foo.jsonBar(f=Foo(a=datetime.datetime(2021, 1, 1, 0, 0), b='str'), c=1)clifunis inspired byclout, but I wanted to try being a bit more opinionated to make both the library and code using it simpler.
Package: clifunction
clifunctionIntroductionclifunction makes building and maintaining command line utilities easier than ever by using the annotations included in modern python versions, Here is a quick look:How your code looks:@cli_functiondefmigrate_data_base(*,start_version:int=0,end_version:int=3):"""Runs DB migrations."""print(f"Migrating DB from{start_version}to{end_version}")How you invoke that function:isaak@laptop:/mnt/c/Users/isaak/dev/clifunction$ python3 Example.py migrate_data_base
migrate_data_base:  {}
Migrating DB from 0 to 3Getting StartedFully annotate a python function you want to call externally, and add the cli_function decorator:@cli_functiondefmigrate_data_base(*,start_version:int=0,end_version:int=3):"""Runs DB migrations."""print(f"Migrating DB from{start_version}to{end_version}")Call your function from the command line:isaak@laptop:/mnt/c/Users/isaak/dev/clifunction$ python3 Example.py migrate_data_base
migrate_data_base:  {}
Migrating DB from 0 to 3Call your functions by auto-generated alias's, and handle Pythons built-in types:isaak@laptop:/mnt/c/Users/isaak/dev/clifunction$ python3 Example.py mdb -sv=4 --end_version=5
migrate_data_base:  {'start_version': 4, 'end_version': 5}
Migrating DB from 4 to 5Documentation, Error handling, and Man pages are all automatically generated:isaak@laptop:/mnt/c/Users/isaak/dev/clifunction$ python3 Example.py
Example.py
        deploy -- builds*, tests*, and then deploys the project
                build_first | default:True | type:<class 'bool'>
                test_first | default:True | type:<class 'bool'>
                
        build -- Bundles python project for distribution

        test -- Execs out to PyTest to run the test suite

        migrate_data_base -- Runs DB migrations
                start_version | default:0 | type:<class 'int'>
                end_version | default:3 | type:<class 'int'>
Package: clifx
CLIFXCross-platform CLI for LIFX devicesTable of ContentsInstallationUsageInteractiveExamplesOptionsScript TemplateWindowsLinux/MacDevelopmentInstallationUsageBuildContributingLinksInstallationpipinstallclifxUsageInteractiveclifx# interactive prompt - specify device and new hue, saturation, brightness and colour tempExamples# set the device labelled 'Strip' to...clifx-lStrip-h50-s50-v50-k6500# soft cyan with a daylight colour tempclifx-lStrip-h0-s100-v100-k6500# pure red at 100% brightnessOptionsclifx--help# display helpScript TemplateWindowsContents of<your-preset>.ps1# TODOLinux/MacContents of<your-preset>.sh:#!/bin/bashclifx-l<device-label>-h<hue>-s<saturation>-v<value>-k<kelvin>DevelopmentInstallationgitclonehttps://gitlab.com/DrTexx/CLIFX/cdCLIFX
poetryinstallUsageIdentical to typical usage except commands must be prefixed bypoetry run.For example, instead of writing the following:clifxYou would write this:poetryrunclifxBuild./development-scripts/build.shContributingIssuesandpull requestswelcome!LinksDocumentation:https://gitlab.com/DrTexx/CLIFX#clifxPyPI Releases:https://pypi.org/project/clifxSource Code:https://gitlab.com/DrTexx/CLIFX/Issue Tracker:https://gitlab.com/DrTexx/CLIFX/-/issuesTwitter:@DrTexxEmail:denver.opensource@tutanota.com
Package: cligames
cligamesBoard games in your terminalConnect4 and Tic-tac-toe with a text-based interface.Playable computer opponent, implemented using the minimax algorithm (with alpha–beta pruning).Each board game can be played as human versus human, human versus computer or computer versus computer.SetupInstall via pip$ pip install cligamesBuild from source$ git clone https://github.com/tombch/cligames.git
$ cd cligames/
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install .How to playConnect4To start a game of Connect4 against the computer, enter:$ cligames connect4
A new game has started.
┌───┬───┬───┬───┬───┬───┬───┐
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│ 0 │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │
└───┴───┴───┴───┴───┴───┴───┘
Player X - choose a move:To make a move, enter the column number you wish to make a move in:Player X - choose a move: 3   
┌───┬───┬───┬───┬───┬───┬───┐
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │ X │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│ 0 │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │
└───┴───┴───┴───┴───┴───┴───┘
Player X chose move 3.
Decision time: 2.556 seconds
Player O is choosing... 
┌───┬───┬───┬───┬───┬───┬───┐
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │   │   │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│   │   │ O │ X │   │   │   │
├───┼───┼───┼───┼───┼───┼───┤
│ 0 │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │
└───┴───┴───┴───┴───┴───┴───┘
Player O chose move 2.
Decision time: 1.437 seconds
Player X - choose a move:Tic-tac-toeTo start a game of Tic-tac-toe against the computer, enter:$ cligames tictactoe
A new game has started.
┌───┬───┬───┬───┐
│ 2 │   │   │   │
├───┼───┼───┼───┤
│ 1 │   │   │   │
├───┼───┼───┼───┤
│ 0 │   │   │   │
├───┼───┼───┼───┤
│   │ 0 │ 1 │ 2 │
└───┴───┴───┴───┘
Player X - choose a move:To make a move, enter the(x, y)coordinates of the position you wish to make a move in:Player X - choose a move: (1, 1)
┌───┬───┬───┬───┐
│ 2 │   │   │   │
├───┼───┼───┼───┤
│ 1 │   │ X │   │
├───┼───┼───┼───┤
│ 0 │   │   │   │
├───┼───┼───┼───┤
│   │ 0 │ 1 │ 2 │
└───┴───┴───┴───┘
Player X chose move (1, 1).
Decision time: 1.567 seconds
Player O is choosing... 
┌───┬───┬───┬───┐
│ 2 │   │   │   │
├───┼───┼───┼───┤
│ 1 │   │ X │   │
├───┼───┼───┼───┤
│ 0 │ O │   │   │
├───┼───┼───┼───┤
│   │ 0 │ 1 │ 2 │
└───┴───┴───┴───┘
Player O chose move (0, 0).
Decision time: 0.02 seconds
Player X - choose a move:
Package: cli-gh-auto
gh-autogh-autois a cli-tool by developers for developers. It will speed up your github workflow! This, by not only managing your online repo's, but also managing your local repositories!InstallationInstall gh-auto with PyPiComing soon!Authenticationgh-auto works with github, so naturally, you need to authenticate with github aswell.
Checkout thegithub documentationif you don't know how to do this.When using gh-auto for the first time, you will be asked for your authentication token. The token will then be  stored locally for futrure use.Authors - LinkedIn@JefvdARoadmapIf you want to view the roadmap of this project, take a look at ourgithub projectLicenseMIT
Package: cli-github
cli-githubA Python App to display Github from the command-line!VersionDownloadsVersion 1.0.9Option to show the contents of a file/folderConformed to pep8 guidelinesURL input parsing made betterList the user followersLive DemoDEMO: Display the list of a user’s repositories from the username/URL, along with the number of stargazersDEMO: Display all the folders and files within a repository recursively from the repository URL, along with their sizesDEMO: To get the RAW version of the readme file of a repository from the repository URLDEMO: To get the list of releases from the user’s repository URLDEMO: Download the tarball from the user’s repository URLDEMO: Download the zipball from the user’s repository URLDEMO: To show the contents of a file/folderDEMO: List the followers of the userInstallationUsingpip$pipinstallcli-githubLatest build from the SourceClone the repo$gitclonehttps://github.com/harshasrinivas/cli-github.gitRun$pythonsetup.pyinstallDependenciesprettytable$pipinstallprettytablefuture$pipinstallfuturepython-dateutil$pipinstallpython-dateutilSetting UpGithub Token as Permanent Environment VariableSet your Github Personal Access Token as the environment variable
GITHUB_TOKEN$echo"export GITHUB_TOKEN=<your-token-with-quotes>"|sudotee-a/etc/environmentGithub Token as Temporary Environment Variable$GITHUB_TOKEN=<your-token-with-quotes>Without saving your Environment Variable$catcli_github/mains.py|sed-e"s/API_TOKEN = os.environ.get('GITHUB_TOKEN')/API_TOKEN = <your-token-with-quotes>/">cli_github/mains.pyOptions-h,--helpshowthishelpmessageandexit-nURL,--urlURLGetreposfromtheuserprofileURL/username-rRECURSIVE,--recursiveRECURSIVEGetthefilestructurefromtherepolinkURL-RREADME,--readmeREADMEGettherawversionoftherepositoryreadmefilefromrepolinkURL-reRELEASES,--releasesRELEASESGetthelistofreleasesfromrepolink-dtTARBALL,--tarballTARBALLDownloadthetarballfromrepolink-dzZIPBALL,--zipballZIPBALLDownloadthezipballfromrepolink-opOPENFILE,--openfileOPENFILEShowthecontentsofthegivenfileinarepo-fFOLLOWERS,--followersFOLLOWERSGetfollowersoftheuserUsageDisplay the list of a user’s repositories from the username/URL$cli-github-nharshasrinivasDisplay all the files and folders within a repository recursively from
the repository URL$cli-github-rharshasrinivas/cli-githubGet the RAW version of the readme file of a repository from the
repository URL$cli-github-Rharshasrinivas/cli-githubGet the list of releases from the user’s repository URL$cli-github-reharshasrinivas/cli-githubDownload the tarball of the any repo$cli-github-dtharshasrinivas/cli-githubDownload the zipball of the any repo$cli-github-dzharshasrinivas/cli-githubShow the contents of a file/folder$cli-github-opharshasrinivas/cli-github/setup.pyList the followers of a user$cli-github-fharshasrinivasContributeIf you want to add features, improve them, or report issues, feel free
to send a pull request.Contributorsharshasrinivassananth12SanketDGPratik151
Package: cligon
C.L.I.G.O.NIntroductionC.L.I.G.O.N or Cligon is an acronym that stands for Check if Link Is Good Or Not.
It is designed to check all website links inside a file. This program was written in Python 3.8.2.
It will return a list of good, bad, or unknown URL statuses.good urls are status code 200.bad urls are status codes 400 or 404.unknowns are status codes that aren't bad or good.UsageTo use please create a virtual environment.
Please seehereorCONTRIBUTING.mdon how to set up a virtual env.Once in your environment, please run:pipinstallcligonto install the program in your env. Once installed you can...test URLs of a file:cligon[filenamewithURLlinks]get a list of usage options:cligonsee the help page:cligon-hContributingPlease check out my repo foundhereand look atCONTRIBUTING.md.FeaturesColorized output: good = green, red = back, grey/white = unknownVersion number argumentParallelism / Multi-threading (It's fast-ish)Grabs HEAD onlyURL timeout (default 2.5 milliseconds)Output JSON formatOutput only good or bad urlsLicenseMIT