Saravanan666/pypi-org huggingface dataset:
Package: clicarriots
clicarriots (version 0.2.0)The unofficial simple client for carriots platform (in progress) (python 2.x/3.x)You can find more information about carriots inhttp://www.carriots.com/This client only support part of API from Carriots.com: Stream and Device.Forum:http://forum.carriots.com/Blog:https://blog.carriots.com/AuthorSamuel de Ancos Martín (Core developer Carriots)My Email:sdeancos@gmail.comMy Website:http://www.deancos.comInstall$ pip install clicarriotsUsageStreamExample send streamfrom clicarriots import api
from datetime import datetime

client_stream = api.Stream("YOUR APIKEY")
my_at = datetime.now()
#my_at = 'now'
data = {"KEY":"VALUE"}
code, response = client_stream.send('ID_DEVELOPER_DEVICE', data, my_at, 'stream')
print(code, response)Example get streamfrom clicarriots import api
from datetime import datetime

client_stream = api.Stream("YOUR APIKEY")

code, response = client_stream.get("ID_DEVELOPER_Stream")
print(code, response)Example get list streamsfrom clicarriots import api
from datetime import datetime

client_stream = api.Stream("YOUR APIKEY")

#without params
code, response = client_stream.list()

#with params
code, response = client_stream.list({"device": "MY ID DEVELOPER DEVICE"})

print(code, response)DropboxExample get urls dropboxfrom clicarriots import api

client_dropbox = api.Dropbox("YOUR APIKEY")
code, response = client_dropbox.get("YOUR FILE IN DROPBOX", op = "all", mime = "video") 
print(code, response)DeviceExample get a devicefrom clicarriots import api

client_device = api.Device("YOUR APIKEY")
code, response = client_device.get("ID_DEVELOPER_DEVICE")
print(code, response)Example get list devicesfrom clicarriots import api

client_device = api.Device("YOUR APIKEY")

#without params
code, response = client_device.list()

#with params
code, response = client_device.list({"name": "MY DEVICE NAME"})

print(code, response)Example create a devicefrom clicarriots import api

client_device = api.Device("YOUR APIKEY")
data = {} # Valid json
code, response = client_device.create(data)
print(code, response)Example update a devicefrom clicarriots import api

client_device = api.Device("YOUR APIKEY")
data = {} # Valid json
code, response = client_device.update("ID_DEVELOPER_DEVICE", data)
print(code, response)Example delete a devicefrom clicarriots import api

client_device = api.Device("YOUR APIKEY")
code, response = client_device.delete("ID_DEVELOPER_DEVICE")
print(code, response)Example get types and sensorsfrom clicarriots import api

client_device = api.Device("YOUR APIKEY")

# Get Types
code, response = client_device.get_types()

# Get Sensors
code, response = client_device.get_sensors()

print(code, response)
Package: clicast
clicastBroadcast messages for CLI tools, such as a warning for critical bug or notification about new features.Quick Start TutorialAs easy as 1-2-3:Install:pip install clicastCreate your own cast file and make it accessible as an URL.
I.e.https://raw.githubusercontent.com/maxzheng/clicast/master/tests/example.castcast "New Message" -f example.cast
# See 'cast -h' for more options to edit cast fileImport and call check_message:from clicast import check_message

def main():
    check_message('https://raw.githubusercontent.com/maxzheng/clicast/master/tests/example.cast',
                  allow_exit=True,
                  header='=' * 80,
                  footer='=' * 80)CLI ExampleDon’t even want to write the bin script to try? I got you covered! :)$ wget https://raw.githubusercontent.com/maxzheng/clicast/master/bin/cast-example
$ chmod +x cast-exampleIf you run cast-example for the first time, you will see:$ ./cast-example
================================================================================
We found a big bad bug. Please try not to step on it!! Icky...
No worries. It will be fixed soon! :)

Version 0.1 has been released! If you upgrade, you will get:
1) Cool feature 1
2) Cool feature 2
So what are you waiting for? :)

Version 0.2 has been released! Upgrade today to get cool features.

There is a small bug over there, so watch out!
================================================================================
Hello World! Pass in '-f' to see message targeted for that optionAnd run it again:$ ./cast-example
================================================================================
We found a big bad bug. Please try not to step on it!! Icky...
No worries. It will be fixed soon! :)
================================================================================
Hello World! Pass in '-f' to see message targeted for that optionAnd now with -f option:$ ./cast-example -f
================================================================================
We found a big bad bug. Please try not to step on it!! Icky...
No worries. It will be fixed soon! :)

A bug that affects the -f option. (applies only if `clicast.filters.match_cli_args` filter is used)
================================================================================
Hello World! Pass in '-f' to see message targeted for that optionThat’s it!MoreDocumentation:http://clicast.readthedocs.org/PyPI:https://pypi.python.org/pypi/clicastGitHub Project:https://github.com/maxzheng/clicastReport Issues/Bugs:https://github.com/maxzheng/clicast/issuesConnect:https://www.linkedin.com/in/maxzhengContact: maxzheng.os @t gmail.com
Package: clichain
clichainCreate a command line interface to chain tasks as a pipelineclichainis a framework to easily define task types and chain them
from a command line interface.The goal of this framework is to useDavid Beazle’s ideato implement
task types as coroutines and use them to create and run a pipeline.The goal isnotto parallelize tasks but to be able to reuse task
types in different configurations without need for coding and in some
cases reuse a result from a long computational task for different
purposes without running it several times.install and testinstall from pypiusing pip:$pipinstallclichaininstall using requirementsThere is a makefile in the project root directory:$makeinstallUsing pip, the above is equivalent to:$pipinstall-rrequirements.txt$pipinstall-e.dev installThere is a makefile in the project root directory:$makedevUsing pip, the above is equivalent to:$pipinstall-rrequirements-dev.txt$pipinstall-e.run the testsUse the makefile in the project root directory:$maketestThis runs the tests generating a coverage html reportbuild the docThe documentation is made with sphinx, you can use the makefile in the
project root directory to build html doc:$makedocDocumentationDocumentation onRead The Docs.Metaloicpw -peronloic.us@gmail.comDistributed under the MIT license. SeeLICENSE.txtfor more information.https://github.com/loicpw
Package: cli-changelog
changelog-cliThis tool is aiming at reducing conflicts in trunk-based or feature-based git developement.Install>pipinstallcli_changelogUsageusage: changelog [-h] [-c message] [-r version] [-f FILENAME]

Changelog administration tool.

optional arguments:
  -h, --help            show this help message and exit
  -c message, --create message
                        creates an entry with this actual message to be added
                        to the changelog
  -r version, --release version
                        releases the changelog byt gathering all entries
  -f FILENAME, --filename FILENAME
                        the filename to put the message in if you don't want
                        to use the branch name
  -t, --commit          commit the created/deleted/modified files by this
                        commandFlow example>changelog-c"Initial import"-finit
>changelog-c"Added readme content"-freadmewill give this layout├── CHANGELOG.md
├── README.md
├── changelog.py
└── changelogs/
│  └──── unreleased/
│     ├──── init.md
│     └──── readme.md
└── requirements.txtAnd now releasing version 1.0.0 like this>changelog-r1.0.0will give this layout├── CHANGELOG.md
├── README.md
├── changelog.py
└── requirements.txtRequirementstested with python3
Package: cli-chat
cli-chatcli-chatis a command-line tool that allows you to have a conversation with ChatGPT from your terminal.DocumentationThe documentation forcli-chatcan be foundhere.InstallationMaccli-chatcan be installed on Mac usingHomebrew. To installcli-chatusing Homebrew,
simply execute the following command in your terminal:brewtaptefx/tap
brewinstallcli-chatOther PlatformsTo installcli-chat, execute the following command in your terminal:pipinstallcli-chatAlternatively, you can clone the repository and install the dependencies usingpoetry. Here are the steps to follow:Installpoetry.Clone the repository.Navigate to the repository's root directory.Executepoetry install.UsageTo start a conversation with ChatGPT, execute the following command in your terminal:cli-chatOr, you can start the script in poetry's virtual environment:poetryruncli-chatHere are a few things to keep in mind when usingcli-chat:Before being able to use the tool, you must obtain an API key by registering for
ithere.To end the conversation, typethanks,thx,tq, or a similar phrase.You can navigate through your conversation history with the arrow keys.Common key-bindings and auto-suggestions are supported, thanks
toprompt_toolkit.Control CommandsYou can use special control commands to modifycli-chat's behavior. These commands should be placed at the
beginning of your question string and should start with a backslash.The supported control commands are listed below:CommandArgumentsTagsDescription\no-renderPrevent the answer from being rendered in markdown.\load-fileLoad a file and use the contents as the remaining part of your question.\longAccept multi-line inputs from now on. UseMeta+EnterorESCfollowed byEnterto finish.\saveappendSave the last answer to a file.\hide-answerDo not show the answer.WARNING: Always check the answer first toavoid losing it if you want to save it later.\continueidxResume the conversation from a previous answer.idxshould be a negative number as shown by the\historycommand.\forgetDelete your conversation history.\historyShow your entire conversation history.You can combine multiple control commands by separating them with|. For instance,\no-render|load-filewill load a
file and prevent the answer from being rendered in markdown.For some commands, additional arguments and tags may be specified by using the
syntaxcommand(arg1, arg2, ...){tag1, tag2, ..}. For example,\save{append}will append the answer to the file
instead of overwriting it, while\continue(-1)will resume the conversation from the answer with index-1in the
history.ExampleHere are a few examples of what a conversation withcli-chatmight look like:Show answer in markdownMulti-line inputNot rendering the answer in markdown, loading a file, and saving the answer to a fileCheck answer history and continue from a previous answerConfigurationUsecli-chat-configto manage key and input history.TODOAdd autocomplete for control commands.Add support for searching and using prompts from theAwesome ChatGPT Prompts
Package: clichessdrill
clichessdrillpractice chess drills in a command line interfaceInstallationfrom PyPI:pip install clichessdrillor from source:poetry installPlayTo run and play one round:clichessdrilland then follow the menu options.Custom drill training plansThe user has the option to use their own custom training plan. The layout of the drill plan is a representation of the decision tree. As an example:{"name":"my drill plan","play":{"white":{"c4":{"e5":{"e4":{"Nf6":{"Nc3":{}},"c5":{"d3":{}}}},"e6":{"Nc3":{}}},"Nf6":{"Nc3":{}}},"b6":{"d4":{}}}},"black":{"e4":{"c6":{}},"d4":{"d5":{"Bf4":{"e6":{"Nf3":{"Nf6":{}}}}}}}}}The subsections for the respective game color represent the decision branches according to which the user should
respond while playing either of the sides. The decision trees can be arbitrarily deep and leaves should terminate
with empty brackets{}Example Game Play
Package: cli-chronicler
Cli ChroniclerA command line app for keeping track of project/work times.FeaturesKeep track of when you punch in and out for the day.Keep track of project times by using an optional description flag.View a report of hours for the current day.Installationpipinstallcli-chroniclerUsagePunch In/Out Without DescriptionpunchPunch In/Out With Descriptionpunch-d'pypi project development'View Today's Reportpunch-rView Open Punchespunch-o
Package: click
Click is a Python package for creating beautiful command line interfaces
in a composable way with as little code as necessary. It’s the “Command
Line Interface Creation Kit”. It’s highly configurable but comes with
sensible defaults out of the box.It aims to make the process of writing command line tools quick and fun
while also preventing any frustration caused by the inability to
implement an intended CLI API.Click in three points:Arbitrary nesting of commandsAutomatic help page generationSupports lazy loading of subcommands at runtimeInstallingInstall and update usingpip:$ pip install -U clickA Simple Exampleimportclick@click.command()@click.option("--count",default=1,help="Number of greetings.")@click.option("--name",prompt="Your name",help="The person to greet.")defhello(count,name):"""Simple program that greets NAME for a total of COUNT times."""for_inrange(count):click.echo(f"Hello,{name}!")if__name__=='__main__':hello()$ python hello.py --count=3
Your name: Click
Hello, Click!
Hello, Click!
Hello, Click!DonateThe Pallets organization develops and supports Click and other popular
packages. In order to grow the community of contributors and users, and
allow the maintainers to devote more time to the projects,please
donate today.LinksDocumentation:https://click.palletsprojects.com/Changes:https://click.palletsprojects.com/changes/PyPI Releases:https://pypi.org/project/click/Source Code:https://github.com/pallets/clickIssue Tracker:https://github.com/pallets/click/issuesChat:https://discord.gg/pallets
Package: clickable-ansible
clickable\_ansibleprovides ansible helpers forclickable.ReleaseStable branch ismaster; development branch isdev. Usual release steps are :# install dev tools and switch in pipenv
pipenv install --dev
pipenv shell

# update setup.py to target clickable release
# (use a git branch)

# update Pipfile.lock
pipenv lock --clear
pipenv install --dev

# prepare dev branch for release...
# update version
# increase version; may be launch multiple time to cycle dev, rc, ...
bump2version --verbose prerel [--allow-dirty] [--no-commit] [--no-tag]

# merge on main
git checkout main
git pull
git merge dev

# prepare next development version (+1dev0)
git checkout dev
bump2version --verbose --no-tag minor

# push all (launch with --dry-run to check before actual update)
# delete (git tag -d <tag> unneeded tags - dev, rc)
git push --all
git push --tag

# publish (pypi credentials required)
git checkout tag
pipenv shell
python setup.py clean --all
rm -rf dist/*
python setup.py sdist
python setup.py bdist_wheel
# fake upload
# run pypi-server in another shell
mkdir -p /tmp/packages && pypi-server -P . -a . /tmp/packages/
twine upload  -u "" -p "" --repository-url http://localhost:8080/ dist/*.whl dist/*.tar.gz

# real upload
twine upload dist/*.whl dist/*.tar.gzHistoryv1.4Publishing procedure update.v1.3fix bugs with multiple args and click 8.0
(if multiple is not set and default is [],
a string '[]' is given as argument)v1.2updated clickable (v1.3)v1.1updated clickable (v1.1)some build enhancements (wip)v1.0 (2021-08-31)reworked versioning and build system
Package: clickable-igloo
clickable\_iglooprovides igloo helpers forclickable.ReleaseStable branch ismaster; development branch isdev. Usual release steps are :# install dev tools and switch in pipenv
pipenv install --dev
pipenv shell

# update setup.py to target clickable release
# (use a git branch)

# update Pipfile.lock
pipenv lock --clear
pipenv install --dev

# prepare dev branch for release...
# update version
# increase version; may be launch multiple time to cycle dev, rc, ...
bump2version --verbose prerel [--allow-dirty] [--no-commit] [--no-tag]

# merge on main
git checkout main
git pull
git merge dev

# prepare next development version (+1dev0)
git checkout dev
bump2version --verbose --no-tag minor

# push all (launch with --dry-run to check before actual update)
# delete (git tag -d <tag> unneeded tags - dev, rc)
git push --all
git push --tag

# publish (pypi credentials required)
git checkout tag
pipenv shell
python setup.py clean --all
rm -rf dist/*
python setup.py sdist
python setup.py bdist_wheel
# fake upload
# run pypi-server in another shell
mkdir -p /tmp/packages && pypi-server -P . -a . /tmp/packages/
twine upload  -u "" -p "" --repository-url http://localhost:8080/ dist/*.whl dist/*.tar.gz

# real upload
twine upload dist/*.whl dist/*.tar.gzHistoryv1.1 (2012-12-24)Publishing procedure update.v1.0 (2021-09-25)reworked versioning and build system
Package: clickable-ut
ClickableCompile, build, deploy an debug Ubuntu Touch click packages all from the command line.DocsInstallGetting StartedUsageCommandsProject Config FormatApp TemplatesBuildersCode Editor IntegrationsStart QtCreator shipped by Clickable in a project folder viaclickable ide.DevelopmentPlease base any development on the branchdevand file merge requests against it.Run Clickable from RepositoryYou can run Clickable directly from sources via theclickable-devscript.
Add the--verboseoption for additional output.It is recommended to add your clickable repo folder toPATH.
This can be done by addingexport PATH="$PATH:$HOME/clickable"to your.bashrc.
Replace$HOME/clickablewith your path.To enable configuration validation either installjsonschemavia pip
(pip3 install jsonschema) or apt (apt install python3-jsonschema). If you
got Clickable regularly installed, you already have jsonschema, too.LintingClickable uses flake8 and pylint for linting as well as autopep8 for formatting.
Install them usingpip3 install flake8 pylint autopep8.
Runmake lintto lint andmake formatto format the source code.Run the testsInstall the pytest modules:pip3 install pytest pytest-cov.Run pytest to complete the tests:make test.Related RepositoriesClickable docker images and app templatesLicenseCopyright (C) 2022 Clickable TeamThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published
by the Free Software Foundation.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program.  If not, seehttp://www.gnu.org/licenses/.
Package: click-aliases
click-aliasesAdd (multiple) aliases to a click_ group or command.In yourclickapp:importclickfromclick_aliasesimportClickAliasedGroup@click.group(cls=ClickAliasedGroup)defcli():pass@cli.command(aliases=['bar','baz','qux'])deffoo():"""Run a command."""click.echo('foo')Will result in:Usage: cli [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  foo (bar,baz,qux)  Run a command.
Package: click-aliasing
click-aliasingAdd (multiple) aliasing to a click_ group or command.In yourclickapp:importclickfromclick_aliasingimportClickAliasedGroup@click.group(cls=ClickAliasedGroup)defcli():pass@cli.command(aliases=["bar","baz","qux"])deffoo():"""Run a command."""click.echo("foo")Will result in:Usage:cli[OPTIONS]COMMAND[ARGS]...

Options:--helpShowthismessageandexit.

Commands:foo(bar,baz,qux)Runacommand.Command can also be called with a unique short match:clif

>>foo
Package: clickandcollectnz
Click and Collect NZUsageusage: python -m clickandcollectnz [-h] [--json] [{Countdown,NewWorld,PakNSave}] [store_id]

NZ Click and Collect time slots.

positional arguments:
  {Countdown,NewWorld,PakNSave}
  store_id

optional arguments:
  -h, --help            show this help message and exit
  --json                output in JSON formatExamples$python-mclickandcollectnzCountdown--json|jq[{"id":"951739","name":"Countdown Hawera","available":0,"next_available":null,"days":[]},...]$python-mclickandcollectnzCountdown951739--json|jq{"id":"951739","name":"Countdown Hawera","available":43,"next_available":{"time":"09:00AM - 10:00AM","available":true,"raw_status":"Closing Soon"},"days":[{"date":"2020-04-06","slots":[{"time":"09:00AM - 10:00AM","available":false,"raw_status":"Closed"},...]},...]}
Package: click-app-template-demo
click-app-template-demoDemonstratinghttps://github.com/simonw/click-appInstallationInstall this plugin usingpip:$ pip install click-app-template-demoUsageUsage instructions go here.DevelopmentTo contribute to this tool, first checkout the code. Then create a new virtual environment:cd click-app-template-demo
python -mvenv venv
source venv/bin/activateOr if you are usingpipenv:pipenv shellNow install the dependencies and tests:pip install -e '.[test]'To run the tests:pytest
Package: clickatell
Clickatell Python Library================================Master: [![Build Status](https://secure.travis-ci.org/arcturial/clickatell-python.png?branch=master)](http://travis-ci.org/arcturial/clickatell-python)This library allows easy access to connecting the [Clickatell's](http://www.clickatell.com) different messenging API's.The library supports both version **2** and **3** of Python.1. Installation------------------You can install this library via PIP as part of you requirements file.```pip install clickatell```[Clickatell Python PyPI](https://pypi.python.org/pypi?name=clickatell&version=0.0.1&:action=display)2. Usage------------------The library currently supports the `Http` and `Rest` protocols.### HTTP API``` pythonfrom clickatell.http import Httpclickatell = Http(username, password, apiID)response = clickatell.sendMessage(['1111111111'], "My Message")for entry in response:print(entry['id'])# entry['id']# entry['destination']# entry['error']# entry['errorCode']```### REST API``` pythonfrom clickatell.rest import Restclickatell = Rest(token);response = clickatell.sendMessage(['1111111111'], "My Message")for entry in response:print(entry['id'])# entry['id']# entry['destination']# entry['error']# entry['errorCode']```### Sending to multiple numbersThe `sendMessage` call `to` parameter can take an array of numbers. If you specify only a single number like `clickatell.sendMessage(1111111111, "Message")` the library will automatically convert it to an array for your convenience.3. Supported API calls------------------The available calls are defined in the `clickatell.Transport` interface.``` pythondef sendMessage(self, to, message, extra={})def getBalance(self)def stopMessage(self, apiMsgId)def queryMessage(self, apiMsgId)def routeCoverage(self, msisdn)def getMessageCharge(self, apiMsgId)```4. Dealing with extra parameters in sendMessage--------------------------------------For usability purposes the `sendMessage` call focuses on the recipients and the content. In order to specify and of the additional parameters definedin the [Clickatell document](http://www.clickatell.com), you can use the `extra` parameter and pass them as a dictionary.
Package: click-bash4.2-completion
click-bash4.2-completionBash 4.2 completion support for Click 8.0.xBeginning with Click 8.0.x, completion support for older Bash versions was dropped. Seehttps://github.com/pallets/click/issues/2152andhttps://github.com/pallets/click/issues/2200This package adds support for Bash version 4.2
Package: click-command-tree
click-command-treeclick-command-treeis aclickplugin to show the command tree of your CLIInstallationpip install click-command-treeTested against Python 3.4, 3.5, and 3.6 and click >= 5.0Examplefrompkg_resourcesimportiter_entry_pointsimportclickfromclick_pluginsimportwith_plugins@with_plugins(iter_entry_points('click_command_tree'))@click.group()defroot():pass@root.group()defcommand_group():pass@command_group.command()defnested_command():pass@root.command()defstandard_command():passif__name__=='__main__':root()↪ python example.py --help
Usage: example.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  command-group
  standard-command
  tree              show the command tree of your CLI


↪ python example.py tree
root
├── command-group
│   └── nested-command
├── standard-command
└── tree