Saravanan666/pypi-org huggingface dataset:
Package: shrinkwrap
Shrinkwrap provides tools to create lightweight Python package
wrappers around non-Python software, and to install such software from
project-specific repositories using virtualenv and pip.A shrinkwrap package is a minimal python package that downloads,
compiles and installs software to the virtualenv base directory.  The
shrinkwrap package behaves just like a regular python package, so both
shrinkwrap and non-shrinkwrap packages can be dependencies of each
other.  We find that this greatly simplifies deployment of Python
packages that depend on compiled librarieswithoutrequiring the use
of system-wide packaging tools, like apt or yum.  Shrinkwrap isnotan API wrapper generator likeSWIG,
but does make it easier to install C libraries into a virtualenv
before installing a separate Python wrapper around its API.Full documentation can be found at ReadTheDocs:http://shrinkwrap.rtfd.org
Package: shrinkx
ShrinkxShrinkx is a Python tool for effortlessly compressing media files using ffmpeg. The tool is inspired by the websitehttps://8mb.videoand the annoyance of memorizing ffmpeg command arguments 😩.Demohttps://github.com/stormedx/shrinkx/assets/88412569/1937f006-138b-4cea-b86b-2b10a71ce76aRequirementsPython 3.8 or higherffmpeg 5.x or higher is required and needs to be a $PATH variable on your system. Please readffmpegfor additional information.Commands'-f', '--format': Choose the file format you want to encode the output to (i.e .mp4, .webm, .mov, .mkv).'-s', '--size': Allows you to compress a file to a specific size (kilobytes, megabytes, gigabytes).'-o', '--output': Output directory for the compressed file. If no location is given, the output file will output to the parent working directory of the source file.'--no-audio' : Removes all audio in the output file.'--chan' : Shortcut for compressing files into a .webm suitable for 4chan (<3.5mb in size, no audio).'--discord' : Shortcut for compressing files into an .mp4 >8mb in sizeUsage ExamplesIn it's simplest form,shrinkx file.movwill automatically compress & encode to .mp4 for sharing easily on platforms such as Discord.shrinkx --size 5mb -f webm video.mp4ffmpeg installationWIP
Package: shrinky
shrinkyShrinks images in the way I wantInstallationInstall this library usingpip:$ python -m pip install shrinkyUsageIt's a CLI program, runshrinky [OPTIONS] FILENAMEOptions:
-o, --output FILE
-t, --output-type TEXT  New file type (eg jpg, png etc.)
-g, --geometry TEXT     Geometry, 1x1, 1x, x1 etc.
-q, --quality INTEGER   If JPEG, set quality
-f, --force             Overwrite destination
--delete-source         Delete the source file once done
-d, --debug             Enable debug logging
--remove
--help                  Show this message and exit.For example, if you want to turnexample.pngto a JPEG file at quality 45, shrunk within an 800x800 bounding box, you can go:shrinky -t jpg -q 45 -g 800x00 example.pngYou'll end up withexample.jpg.DevelopmentTo contribute to this library, first checkout the code. Then create a new virtual environment:cd shrinky
poetry install
poetry run python -m shrinky etc etc
Package: shrt
SHRT - Shortened URL serviceAn MVP to serve shortened URLsUsageServe usinguvicornby runninguvicorn--host=0.0.0.0shrt.web:appManage URLs from the CLI# List URLsshrturllist# Create a random short pathshrturladdhttps://x59.us# Create a custom short pathshrturladdhttps://x59.co--pathx59# Create a new short path, even if the target exists in the DBshrturladdhttps://x59.co--create-new# Get details for a given short pathshrturlgetx59# Delete a given short pathshrturldeletex59
Package: shrtcodes
shrtcodespip install shrtcodesShortcodes for Python.Example:A toy example.Define our shortcodes:# example.pyfromshrtcodesimportShrtcodesshortcodes=Shrtcodes()# {% img src alt %} will create an image.@shortcodes.register_inline("img")defhandle_img(src:str,alt:str)->str:returnf'<img src="{src}" alt="{alt}"/>'# {% repeat n %}...{% / %} will repeat a block n times.@shortcodes.register_block("repeat")defhandle_repeat(block:str,n:str)->str:returnblock*int(n)# we can call process_text to get the final text.in_text="..."out_text=shortcodes.process_text(in_text)# or, we can create a CLI.shortcodes.create_cli()python example.py --helpusage: example.py [-h] [--check_file CHECK_FILE] in_file

positional arguments:
  in_file               File to be processed

options:
  -h, --help            show this help message and exit
  --check_file CHECK_FILE
                        Checks the output against this file and errors if
                        there is a diffWrite some text:# example.txt
Hello!

{% img http://cutedogs.com/dog123.jpg "A very cute dog" %}

Foo bar baz...

{% repeat 3 %}
Woop
{% / %}

Bye!Process the text:python example.py example.txtHello!

<img src="http://cutedogs.com/dog123.jpg" alt="A very cute dog"/>

Foo bar baz...

Woop
Woop
Woop

Bye!A more useful example would be the generation of this README itself.
Seemake_readme.pyand.README.template.md.
Package: shrtfly
InstallPypipip install shrtflyGitHubpip install git+https://github.com/1Marcuth/shrtfly-py.gitSimple use examplefromShrtFlyimportShrtFly,MAINSTREAM,ADULTshortener=ShrtFly("YOUR API TOKEN HERE")url_info=shortener.shorten(url="https://1marcuth.github.io/",# URL you want to shortenalias="url-alias",# URL aliasis_text_format=False,# Whether the result from the server is going to be textads_type=MAINSTREAM# Ads type, you can define two types, there is no way to define banner and also you don't need to define if you want url with ads)url_info.get_raw_data()# Result of allurl_info.get_shortened_url()# Resulting URLurl_info.get_status()# Resulting status ("success" | "error")url_info.get_message()# Resulting message (if the api sent a message)
Package: shrub
Shrub - Better Experience of Developping Deep Learning SystemsHave you been tired of writing similar testing code for your deep learning system?
Have you asked yourself why I am repeating test example one after another?Shrubis here for you, a collection of utilities that aims to
improve your experience of developping deep learning system.Create tensors, manipulate layouts and data types of them;
use same model description with layout-aware for different systems;
manage data for numerous frameworks, or engines, and validate them;
and son on.UsageInstall viapip install shrub.A lot dependency will be installed too, take care of that.shrub.networkis where theTensorandModellocates.
Others are basically runners, try and hack them!API documentsContributingContributions are welcome!Bring any greate idea here, bring any barrier here, bring the code here,
to help engineers and reseachers who are just like yourself.
And they will certainly help you back.LicenseApache License Version 2.0
Package: shrub.py
shrub.pyA python based Evergreen project config generation libraryOverviewBased onshrub, shrub.py is a library for programatically
building Evergreen project configurations describedhere.ExampleThe following snippet will create a set of parallel tasks reported under a single display task. It
would generate json used bygenerate.tasks:from shrub.v2 import ShrubProject, Task, BuildVariant

n_tasks = 10
def define_task(index):
    name = f"task_name_{index}"

    return Task(
        name,
        [
            FunctionCall("do setup"),
            FunctionCall(
                "run test generator",
                {"parameter_1": "value 1", "parameter_2": "value 2"}
            ),
            FunctionCall("run tests")
        ],
    ).dependency("compile")

tasks = {define_task(i) for i in range(n_tasks)}
variant = BuildVariant("linux-64").display_task("test_suite", tasks)
project = ShrubProject({variant})

project.json()Run testspoetry run pytest
Package: shrug-lang
ShrugProgrammingLanguageInterpreter for the Shrug Programming LanguageShrug is a imperative, dynamically-typed, very very high-level, general-purpose programming languageExample>>a10>>b11>>
>># Arithmetic operations>>¯\_(ツ)_/¯a313>>¯\_(ツ)_/¯"str""ing"string
>>¯\_(ツ)_/¯a¯\_(ツ)_/¯37>>¯\_(ツ)_/¯a¯\_(ツ)_/¯¯\_(ツ)_/¯b110>>¯\_(ツ)_/¯a¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯33>>¯\_(ツ)_/¯b¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯43>>
>># Comparisons>>¯\_(ツ)_/¯¯\_(ツ)_/¯ab
False
>>¯\_(ツ)_/¯¯\_(ツ)_/¯a¯\_(ツ)_/¯¯\_(ツ)_/¯b
False
>>¯\_(ツ)_/¯¯\_(ツ)_/¯a¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯b
True
>>
>># Conditional statements>>¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯True
>>"printed"printed
>>¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯False
>>"not printed">>¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯a¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯b
>>"a is less than b"aislessthanbUsageRequires Python 3.6+Installpipinstallshrug-langStart interpretershruglangTo run a file:catprogram.shrug|shruglangLanguage specLanguage spec can be foundhereSyntax highlightingSyntax highlighting for sublime can be foundhere
Package: shrynk
You can read theintroductory blog postor try it live athttps://shrynk.aiFeatures✓ Compress your data smartly based onMachine Learning✓ TakesUser Requirementsin the form of weights forsize,write_timeandread_time✓ Trains & caches a model based oncompression methods availablein the system, using packaged data✓CLIfor compressing and decompressing✓ Works withCSV,JSONandBytesin generalCLIshrynk compress myfile.json       # will yield e.g. myfile.json.gz or myfile.json.bz2
shrynk decompress myfile.json.gz  # will yield myfile.json

shrynk compress myfile.csv --size 0 --write 1 --read 0

shrynk benchmark myfile.csv                  # shows benchmark results
shrynk benchmark --predict myfile.csv        # will also show the current prediction
shrynk benchmark --save --predict myfile.csv # will add the result to the training data tooUsageInstallation:pip install shrynkThen in Python:importpandasaspdfromshrynkimportsave,load# save dataframe compressedmy_df=pd.DataFrame({"a":[1]})file_path=save(my_df,"mypath.csv")# e.g. mypath.csv.bz2# load compressed fileloaded_df=load(file_path)If you just want the prediction, you can also:importpandasaspdfromshrynkimportinferinfer(pd.DataFrame({"a":[1]}))# {"engine": "csv", "compression": "bz2"}Add your own dataIf you want more control you can do the following:importpandasaspdfromshrynkimportPandasCompressordf=pd.DataFrame({"a":[1,2,3]})pdc=PandasCompressor("default")pdc.run_benchmarks(df)# adds data to the defaultpdc.train_model(size=3,write=1,read=1)pdc.predict(df)
Package: shshsh
shshsh 🐍❤️🐚Shshsh is a bridge connects python and shell.A simple way to write shell in python.Flexable.Support directly chain a python function in pipe.InstallationTo install shshsh with pip, run:pip install shshshTo install shshsh with conda, run:conda install shshsh -c conda-forgeTo install shshsh from source, clone the repository and run:pip install poetry;poetry install⚠️If you are using python3.8: Be very careful with python function Pipe, there are known bugs!Basic UsageYou can useI >> "[command]"orSh("[command]")in any Python project.Here's an example of getting all file which name contains "test":fromshshshimportIforfilenameinI>>"ls"|"grep test":print(filename)Also, you can safely pass parameter without command injection, shshsh will help you escape all bash control character:fromshshshimportIfromsysimportstdoutres=(I>>"echo #{}")%"dangerous; cat /etc/passwd"|stdoutres.wait()# dangerous; cat /etc/passwdThe way to operate cwd:fromshshsh.utilsimportcwd# change dirafter_change_path=cwd("../../")# to get current cwd, just don't give any parametercwd()Python function or iterable can be part of chain, you no longer have to search Google (or chatgpt) repeatedly to write sed or awk😇:fromshshshimportIfromsysimportstdout# as map functiondefadd_suffix(line:str)->str:returnline+".py"res=I>>"ls -alh"|add_suffix|"grep test"|stdoutres.wait()# as data sourcedefdata_source():foriinrange(10):yieldf"test{i}"res=I>>data_source()|"grep test1"|stdoutres.wait()By default, the stderr will directly redirect to current python process's stderr.But you can also keep its result by redirect expr>=for stderr and>for stdout:fromshshshimportI,keepres=I>>"ls not_exist">=keepres.wait()print(res.stderr.read())The redirect expr can redirect the stream to any kind of IO object:fromshshshimportIwithopen("res","w")asf:# redirect stdout to file.res=I>>"echo 123">f# redirect stderr to file.res1=I>>"ls not_exist">=fres1.wait()res.wait()
Package: shs-identification
This repository contains a module for identifying the mini-grid (MG) and the solar home system (SHS) area in the context of hybrid MG/SHS village electrification.The main function is nodes_and_links_to_discard, it enables to identify the nodes and links that could be discared in order to reduce the installation cost.The algorithm considers the minimum spanning tree (mst) connecting all nodes, a price per unit lenght provides the price associated with each link (cable). It then takes into account the load and max power required by each node to estimate the price of the shs for that node. Then, for each link of the mst, the algorithm determines the nodes and the links on each side of that link, which provides two clusters (written A and B). If the shs price associated with the nodes of the clusters is lower than the sum of an unitary price per nodes in the cluster and of the price associated with each links in the cluser, the link is discared together with all the nodes and links of the cluster.
Package: sht20
SHT20 Temperature & Humidity Sensor Driver for Python3SHT20 is a Temperature & Humidity sensor manufactured by Sensirion. With this driver, you can use SHT20 with Python3 over I2C.DependenciesOnly smbus2 other than Python.Installationpip3installsht20Usagerun-sht20orfromsht20importSHT20fromtimeimportsleepsht=SHT20(1,resolution=SHT20.TEMP_RES_14bit)temp=sht.read_temp()humid=sht.read_humid()#   ordata=sht.read_all()temp=data[0]humid=data[1]print("Temperature (°C): "+str(temp))print("Humidity (%RH): "+str(humid))ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: shtab
shtabWhat: Automatically generate shell tab completion scripts for Python CLI appsWhy: Speed & correctness. Alternatives likeargcompleteandpyzshcompleteare slow and have
side-effectsHow:shtabprocesses anargparse.ArgumentParserobject to generate a
tab completion script for your shellFeaturesOutputs tab completion scripts forbashzshtcshSupportsargparsedocopt(viaargopt)Supports arguments, options and subparsersSupports choices (e.g.--say={hello,goodbye})Supports file and directory path completionSupports custom path completion (e.g.--file={*.txt})Table of ContentsshtabFeaturesInstallationUsageExamplesFAQsAlternativesContributionsInstallationChoose one of:pip install shtab, orconda install-cconda-forgeshtabSeeoperating system-specific instructions in the docs.UsageThere are two ways of usingshtab:CLI Usage:shtab’s own CLI interface for external applicationsmay not require any code modifications whatsoeverend-users executeshtab your_cli_app.your_parser_objectLibrary Usage: as a library integrated into your CLI applicationadds a couple of lines to your applicationargument mode: end-users executeyour_cli_app--print-completion{bash,zsh,tcsh}subparser mode: end-users executeyour_cli_app completion {bash,zsh,tcsh}ExamplesSeethe docs for usage examples.FAQsNot working? Check outfrequently asked questions.Alternativesargcompleteexecutes the underlying scripteverytime<TAB>is pressed (slow and
has side-effects)only providesbashcompletionpyzshcompleteexecutes the underlying scripteverytime<TAB>is pressed (slow and
has side-effects)only provideszshcompletionclickdifferent framework completely replacing the builtinargparsesolves multiple problems (rather than POSIX-style “do one thing well”)ContributionsPlease do openissues&pull requests! Some ideas:supportfishsupportpowershellSeeCONTRIBUTING.mdfor more guidance.
Package: shtl-ink-api
shtl.ink apiURL Shortener built with Python and FastAPIgithub repositoryRead API DocsRun AppNavigate tohttp://localhost:8000/docsorhttp://localhost:8000/redocConfigure environment variables# requires postgres database
export BASE_URL=http://localhost:8000
# where to redirect / to
export ROOT_REDIRECT_URL=http://shtl.ink
export DB_HOST=abcd
export DB_NAME=abcd
export DB_USER=abcd
export DB_PASS=abcdBuild Localpip install -r requirements.txtpython -m buildRun Localpip install shtl-ink-apiuvicorn shtl_ink_api.app:appDocker ComposeSee docker-compose.ymlBuild Dockerdocker build -t skymoore/shtl-ink-api .Run Dockerdocker pull skymoore/shtl-ink-apidocker run --rm -it  -p 8000:8000/tcp skymoore/shtl-ink-api:latest
Package: shtns
This is the python module to useSHTns, a high performance spherical harmonic transform and rotationlibrary.
It requires FFTW installed in your system.GETTING STARTEDBasic Installation:make sure FFTW is installed in your system; if not, install it using your system package manager.run:pip install shtnsThis simple installation should work and be enough for most use cases.
However,in order to have the highest possible performance, FFTW should be compiled and tuned for your machine,
which is not the case with pre-compiled system packages.Cuda GPU support:Make sure the environment variableCUDA_PATHpoints to the installed cuda toolkit before runningpip install shtns.
This will automatically add transparent support for nvidia gpus, in "offload" mode (that means data transfers are
performed by shtns).Example code:Seehttps://bitbucket.org/nschaeff/shtns/src/master/examples/SHT_example.pyandhttps://bitbucket.org/nschaeff/shtns/src/master/examples/shallow_water.py.
For using the GPU from python, seehttps://bitbucket.org/nschaeff/shtns/src/master/examples/SHT_gpu_example.pyMORE INFOSeehttps://bitbucket.org/nschaeff/shtns/src/master/README.md
Package: shtools
SHTools - some useful bash tools write in pure python.About纯Python实现的一些CLI命令工具集合.RequirementsPython3Install通过pip命令安装：pipinstallshtools[ssh]或者通过下载源码包或clone代码至本地，然后通过如下命令安装：pythonsetup.pyinstallcli commandcurl: transfer a URLmongo: mongodb climysql: mysql clinc: concatenate and redirect socketsntpdate: set the date and time via NTPping: send ICMP ECHO_REQUEST to network hostspsql: postgresql clirediscli: redis cliscp: secure copy (remote file copy program)bash: local shell commandssh: OpenSSH SSH client (remote login program)Examplefromshtools.bash.mysqlimportmysql# print helpmysql.print_help()# runwithmysql('-h 127.0.0.1 -P 3306 -u root -p ****** -D database')asclient:result=client.execute("SELECT * FROM table")
Package: shtop
# Slurm htop (shtop)![shtop](shtop.png)Simple tui slurm job viewer. Using/etc/hostsandsshto get CPU and RAM utilization of all cluster nodes.
Distrubuted using PIP and writen in python.### Installpip install shtop### Before runningMake sure if you have all slurm nodes in/etc/hostswith# slurmheader` # slurm cluster 192.0.0.0betynda-login01192.0.0.1betynda-node01192.0.0.2betynda-node02192.0.0.3betynda-node03192.0.0.4betynda-node04`then make sure if you manualy ssh on all nodes and you have added nodes keys to knowed (by ssh to all hosts).### Runningsimple writeshtop
Package: shtrie
shtrieSingle-hash-table TrieUsage>>> import shtrie
>>> trie = shtrie.list_to_trie([("CAT", 100), ("RAT", 200), ("DOG", 300)])
>>> from shtrie import PAYLOAD_KEY, ROW_KEY, TERMINAL_KEY
>>> from shtrie import lookup
>>> val0 = lookup(trie, 0, 0, "C")
>>> val0[TERMINAL_KEY]
False
>>> val1 = lookup(trie, val0[ROW_KEY], 1, "A")
>>> val2 = lookup(trie, val1[ROW_KEY], 2, "T")
>>> val2
(0, True, 100)
>>> lookup(trie, 0, 0, "O")
Package: shtRipper-cpp
shtRipperНа винде в зависимостях MSVS140Код для извлечения данных из .sht файлов. На текущий момент файлы версии ниже 2 не поддерживаются, что будет исправлено при необходимости.Перед обновлением пакета остановить все запущенные питоновские интерпретаторы!Надёжнее удалять предыдущую версию, чтобы гарантированно обновились бинарные файлы.Пример кода для чтения всего sht файла:import shtRipper



filename = 'd:/data/cfm/original/sht40808.SHT'

res = shtRipper.ripper.read(filename)

print(res.keys())Пример кода для чтения только выбранных сигналов:import shtRipper



filename = 'd:/data/cfm/original/sht40808.SHT'

res = shtRipper.ripper.read(filename, ['Лазер', 'Emission electrode voltage', 'Emission electrode current'])

print(res.keys())Пример кода для упаковки данных в формат .sht:import shtRipper

import math  # used only for example sin() signal



to_pack = {

   'signal with error': {

       'comment': 'Точки хранят ещё и погрешность, требует много памяти.',

       'unit': 'T_e(eV)',

       'x': x,

       'y': T_c,

       'err': T_err

   },

   'X Y signal': {

       'comment': 'Точки хранятся парой значений, требует много памяти.',

       'unit': 'T_e(eV)',

       'x': x,

       'y': n_c

   },

   'Y signal with fixed X-grid': {

       'comment': 'Этот тип хранения данных предназначен для данных 16-бит АЦП',

       'unit': 'U(V)',

       'tMin': 0.0,  # mininun time

       'tMax': 100.0,  # maximum time

       'offset': 0.0,  # ADC zero level offset

       'yRes': 0.0001,  # ADC resolution: 0.0001 Volt per adc bit

       'y': [math.sin(i / 10) for i in range(100)]

   }

}



packed = shtRipper.ripper.write(path='D:/tmp/', filename='example.SHT', data=to_pack)

if len(packed) != 0:

    print('packed error = "%s"' % packed)
Package: shtst
shtst - simple cli testingshtstis a command-line tool for testing command-line programs
against a simple specification of their expected output and exit code
given certain options and input.It is inspired by (and similar to)shelltestrunner.Test Specification Format# '#' starts a comment line; blank lines are ignored# '$' starts a command line$true# '?' specifies the expected return code [default: 0]$false?1# '>' starts a stdout specification (which ends at the first line that# is either blank or starts with a '#', '$', '?', '<', or '>')$echofoo
>
foo# '<' starts an input specification (which ends the same way)$cat
<
foo
bar
>
foo
bar# input from the previous command (if any) is reused if not specified$wc-l2# prefixing the input/output lines with '|' allows blank lines and# other input/output that would otherwise end the specification (and# lines that start with '|')$printf"foo\n\n<>\n">|foo||<># instead of literal lines of output, you can provide a regex# (delimited by '/' and optionally followed by flags: 'i' for case# insensitive, 'm' for multiline, and 's' for dotall) immediately# after '>' or '>2'$printf"Line 1 foo\nLine 2 bar\nLine 3 baz\n">/^line1.*^line2/ims# use '>2' instead of '>' to specify stderr instead of stdout$cat--oops
>2/unrecognizedoption/
?1# use a '!' before the exit code to negate the test$echo'does not return 42'?!42# no stdout/stderr specification means anything is accepted;# explicitly use an empty specification if necessary$echoOK
>2A test case always starts with a command line.  All input/output/exit
code specifications belong to the preceding command line.  With one
exception: you can specify input before the first command, which will
then be used for all subsequent commands until the next input
specification.<
foo
bar
baz

$cat
>
foo
bar
baz

$wc-l
>3Help$shtst--helpTab CompletionFor Bash, add this to~/.bashrc:eval"$(_SHTST_COMPLETE=source_bashshtst)"For Zsh, add this to~/.zshrc:eval"$(_SHTST_COMPLETE=source_zshshtst)"For Fish, add this to~/.config/fish/completions/shtst.fish:eval(env_SHTST_COMPLETE=source_fish shtst)RequirementsPython >= 3.7 + click.Debian/Ubuntu$aptinstallpython3-clickInstallingUsing pip$pipinstallshtstNB: depending on your system you may need to use e.g.pip3 --userinstead of justpip.From gitNB: this installs the latest development version, not the latest
release.$gitclonehttps://github.com/obfusk/shtst.git
$cdshtst
$pipinstall-e.NB: you may need to add e.g.~/.local/binto your$PATHin order
to runshtst.To update to the latest development version:$cdshtst
$gitpull--rebaseLicense
Package: shttp-cli
An extremely tiny and straightforward HTTP clientInstallationshttp is a Python script. You may install it usingpip:pipinstallshttp-cliBasic usageSend a GET requestshttphttp://httpbin.org/getSend a POST requestshttp--methodPOSThttp://httpbin.org/postorshttp-mPOSThttp://httpbin.org/postSend a POST request with a bodyshttp-mPOSThttp://httpbin.org/post-d'{"foo": "bar"}'LicensingThis code is released under theGPLv3 license.