Saravanan666/pypi-org huggingface dataset:
Package: curator-opensearch
Have indices in Elasticsearch? This is the tool for you!Like a museum curator manages the exhibits and collections on display,
Elasticsearch Curator helps you curate, or manage your indices.Curator API DocumentationCurator ships with both an API and a wrapper script (which is actually defined
as an entry point).  The API allows you to write your own scripts to accomplish
similar goals, or even new and different things with theCurator API, and
theElasticsearch Python API.Curator CLI DocumentationTheCurator CLI Documentationis now a part of the document repository athttp://elastic.co/guideathttp://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.htmlGetting StartedSee theInstallation guideand thecommand-line usage guideRunningcurator--helpwill also show usage information.Contributingfork the repomake changes in your forkadd tests to cover your changes (if necessary)run testssign theCLAsend a pull request!To run from source, use therun_curator.pyscript in the root directory of
the project.Running TestsTo run the test suite just runpython setup.py testWhen changing code, contributing new code or fixing a bug please make sure you
include tests in your PR (or mark it as without tests so that someone else can
pick it up to add the tests). When fixing a bug please make sure the test
actually tests the bug - it should fail without the code changes and pass after
they’re applied (it can still be one commit of course).The tests will try to connect to your local elasticsearch instance and run
integration tests against it. This will delete all the data stored there! You
can use the env variableTEST_ES_SERVERto point to a different instance
(for example, ‘otherhost:9203’).OriginsCurator was first calledclearESindices.py[1]and was almost immediately
renamed tologstash_index_cleaner.py[1].  After a time it was migrated
under thelogstashrepository asexpire_logs.  Soon thereafter, Jordan Sissel was hired by Elasticsearch, as
was the original author of this tool.  It became Elasticsearch Curator after
that and is now hosted atelastic/curator.[1](1,2)LOGSTASH-211.
Package: curb
CurbA lightweight and simple hardware virtualisation CLI for resource consumption management.Use Cases:I'm developing a web app and my staging/prod VM has limits set on CPU/RAM - I want to test my app out locally with the same limits to make sure nothing goes wrongI want to run a process, and I don't want it to consume resources past a certain limit on my computerUsage:Sample Callpython -m curb --cmd="python scripts/empty.py"Sample Call With Limitspython -m curb --cmd="python scripts/empty.py" --cpu="100%" --ram="512mb"More Informationpython -m curb --help
Package: curc
curccurc is a currency converter.Installation:python -m pip install curcUsage:curc <amount> <from> <to>Example:curc 150 usd eurUse “curc--help” for more information.More:curc loads rates from ECB.rates are downloaded just once a day and cached.curc was written as everything sucks in response time.yes, I know Python sucks too if I want performance in CLI-applications.
Package: curcheck
CurcheckLibrary for parsing spa and mpa sites.InstallationpipinstallcurcheckHow useimportasynciofrompyppeteer.pageimportPagefromcurcheck.routerimportExecuteRouterfromcurcheck.dispatcherimportDispatcherdispatcher=Dispatcher()router=ExecuteRouter(domain="https://web.whatsapp.com",is_spa=True,is_login=True)@router.page(url="/",)asyncdefstart(page:Page):awaitasyncio.sleep(60)asyncdefmain():dispatcher.include_router(router)awaitdispatcher.start(headless=False)asyncio.run(main())
Package: curdling
Curdling is a command line tool for managing Python packages.It was designed to find, build and cache all the dependencies your
application needs to start up and run smoothly. A solid concurrency
model allows curdling to execute tasks asynchronously, resulting in a
considerable improve in speed overpipandeasy_install.You should definitely check theOfficial Documentationto learn more about the project.Installation$ easy_install curdlingUsage$ curd install flaskLicenseCurdling - Concurrent package manager for PythonCopyright (C) 2013  Lincoln Clarete <lincoln@clarete.li>This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Package: curie
CurieCurie is a python toolkit to aid in the analysis of experimental nuclear data.  Its name is inspired by Marie Curie, who developed the theory of radioactivity.The primary application for Curie is (gamma-ray) activation analysis, with specific utilities developed for the charged-particle stacked-target activation technique.
Curie also comes with access to a number of nuclear structure, and nuclear reactions databases.  It also has methods for accessing atomic properties,
such as attenuation coefficients and charged particle stopping powers.FeaturesCurie's features are primarily class based.  Here are a few examples:Spectrum - Peak fitting for HPGe detector dataCalibration - Energy & efficiency calibration tool (for HPGe detectors)Stack - Stacked-target energy loss characterizationDecayChain - General purpose Bateman equation solverIsotope - Isotopic mass and decay dataReaction - Cross sections from multiple librariesLibrary - Tool for searching and retrieving cross sections from multiple librariesMore detail can be found in theUser's Guideand theAPI.Quick InstallCurie is available through thePython Package index, which allows installation using Python's standard command line utilitypip.  Assuming Python and Pip are installed already, you can install Curie with the command:pip install --user curieor:python -m pip install --user curieDetailed installation instructions and troubleshooting can be found in the Curiedocumentation.
Package: curieutil
Curie UtilPython Library to translate CURIEs to IRIs and vice versa. Python version based on the Java Implementation:https://github.com/prefixcommons/curie-utiland the JavaScript Implementation:https://github.com/geneontology/curie-util-es5Installpip install curieutilUsageRetrieve a JSON-LD file such as:https://github.com/prefixcommons/biocontext/blob/master/registry/go_context.jsonldimportrequestsurl='https://raw.githubusercontent.com/prefixcommons/biocontext/master/registry/go_context.jsonld'r=requests.get(url)Then create a CurieUtil object:fromcurieutilimportCurieUtilmapping=CurieUtil.parseContext(r.json())curie=CurieUtil(mapping)Get IRIcurie.getIri("ZFIN:ZDB-GENE-031112-7")curie.getIri("MGI:MGI:34340")Get CURIEcurie.getCurie("http://identifiers.org/zfin/ZDB-GENE-031112-7")curie.getCurie("http://identifiers.org/mgi/MGI:34340")NotesLearn aboutJSON-LDLearn aboutIRILearn aboutCURIE
Package: curiosity
The official Python driver for Curiosity (https://curiosity.ai/).The Python driver makes it easy to:upload files to your workspaceadd nodes and relationships to the graphcreate users, teams and manage accessrun queries against the graphInstallationRunpip install curiosityto install the Python driver fromPyPI.Getting StartedReplace theserver,  andconnector_namein the code sample below.server: The full url to your Curiosity system. The used port is printed in the beginning of the log output of the Curiosity instance. The url has to end with/api.lib_token: You have to create a library token  first, in order to use this library with your Curiosity instance. See thedocumentationon how to create an API token.connector_name: A descriptive name for your Connector.You can use the methods on thegraphobject to interact with your Curiosity Workspace. Check out theAPI documentationto see examples on how to write a data connector.fromcuriosityimportGraphdefmain():# The url to you curiosity instanceserver="http://localhost:8080/api"# The library token you just createdlib_token="eqJHbGci..."# A descriptive name for your Connector. This is how the connector shows up in the Manage Data overview.connector_name="Python data connector"withGraph.connect(server,lib_token,connector_name)asgraph:# The graph objects provides plenty of methods to interact with your# Curiosity instance. A file can be uploaded like this:fullpath="./sample.pdf"filename="sample.pdf"source="Samples"graph.upload_file_by_path(fullpath,filename,source)if__name__=='__main__':main()
Package: curious-slido
curious-slidoSends your questions to asli.doeventHow to installpip install curious-slidoHow to usefromcurious_slidoimportSlidoClient# You can grab it from URL with event, for example# https://app.sli.do/event/abcd1234/live/questions -> event_hash = 'abcd1234'event_hash='abcd1234'# You can grab it from cookie Slido.EventAuthTokens (part after comma) or from# any api request:# Developer Tools -> Network -> (request to api.sli.do) -> Headers -> Request headers -> authorization (part after `Bearer`)auth_token='longlonglongstring'slido_client=SlidoClient(event_hash=event_hash,auth_token=auth_token)slido_client.send_question('Your question')
Package: curitiba-dados-abertos
# curitiba-dados-abertos![Linux Build](https://github.com/joepreludian/wiproite/workflows/Linux%20Build/badge.svg)[![codecov](https://codecov.io/gh/CodeForCuritiba/curitiba-dados-abertos/branch/master/graph/badge.svg)](https://codecov.io/gh/CodeForCuritiba/curitiba-dados-abertos)API de carga dos dados pré limpos do site do Curitiba Dados Abertos
Package: curitz
Python curses package to interface with Zino.Split from internal project PyRitz on 2023-03-30.TestingThis library is testable with unittests. When testing it starts a Zino emulator
that reponds correctly to requests as the real server would do.If you have all currently supported pythons in your path, you can test them
all, with an HTML coverage report placed inhtmlcov/:toxTo test on a specific python other than current, run:tox -e py{version}whereversionis of the form “311” for Python 3.11.InstallTo usecuritzwe recommend installing it to your local user, for instance
withpip`'s``--user-flag:pip install --user .if installing from source or:pip install --user curitzif installing from Pypi. This should normally put the binary and library under.localon Linux.DevelopmentSome minimal pre-commit hooks are included, install by runningpre-commitinstall.See the file.git-blame-ignore-revsfor commits to ignore when runninggit blame. Use it like so:git blame --ignore-revs-file .git-blame-ignore-revs FILE
Package: curl2
cURL2cURL code convert to some programming languages.Thanks for curlconverter!Currently supported languages: go, python, node, php, r, strest, rust, elixir, dart, json, ansible, matlab, etc.Install curl2pip3 install -U curl2How to usePythoncurl2 -c "curl https://leesoar.com"OutPutimportrequestsresponse=requests.get('https://leesoar.com/')Gocurl2 -c "curl https://leesoar.com -l go"OutPutpackagemainimport("fmt""io/ioutil""log""net/http")funcmain(){client:=&http.Client{}req,err:=http.NewRequest("GET","https://leesoar.com",nil)iferr!=nil{log.Fatal(err)}resp,err:=client.Do(req)iferr!=nil{log.Fatal(err)}bodyText,err:=ioutil.ReadAll(resp.Body)iferr!=nil{log.Fatal(err)}fmt.Printf("%s\n",bodyText)}nodecurl2 -c "curl https://leesoar.com -l node"OutPutvar request = require('request');

var options = {
    url: 'https://leesoar.com'
};

function callback(error, response, body) {
    if (!error && response.statusCode == 200) {
        console.log(body);
    }
}

request(options, callback);phpcurl2 -c "curl https://leesoar.com -l php"OutPut<?phpinclude('vendor/rmccue/requests/library/Requests.php');Requests::register_autoloader();$headers=array();$response=Requests::get('https://leesoar.com',$headers);
Package: curl2pyreqs
curl2pyreqsA library to convert curl to python requests file.RequirementPython >= 3.6pyperclip >= 1.8.0rich >= 9.13.0On Linux, xclip or xsel needed:sudoapt-getinstallxclip
or
sudoapt-getinstallxselInstall$pipinstallcurl2pyreqsUsageUse as binaryExport curl request file to python script.$curl2pyreqs-Fexample.curl
ConvertionFinished.
Pleaseopenexample.pytocheckthecode.Convert curl request in the clipboard and paste the requests code back$curl2pyreqs
ConvertionFinished.
Nowrequestscodeiscopyedinyourclipboard.Use by importingConvert a curl string to python-requests, copyed from Chrome or Firefox:>>>fromcurl2pyreqs.ultiimportparseCurlString>>>output=parseCurlString("""curl -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0' -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'accept-language: en-US,en;q=0.5' --compressed -H 'upgrade-insecure-requests: 1' -H 'te: trailers' https://pypi.org/""")>>>print(output)Convert curl file stream to python-requests, copyed from Chrome or Firefox:>>>fromcurl2pyreqs.ultiimportparseCurlFile>>>output=parseCurlFile('./example.curl')>>>print(output)README_CN中文版说明
Package: curl2requests
This module gets informations from cURL command and returns them in JSON format.I am still improving it … and the command maybe changeInstallationpip install curl2requests –userHow to UseI highly recommend you to make your linux machine supportpbpasteandpbcopyhere is a tutorialWhen or Before you are broswering some page in chrome , you can pressF12,switch toNetwork panneland refresh the page .choose the requests you are interested in ,right-click,chooseCopythenCopy as cURL.open a terminal ,typethe following commandpbpaste |curl2req -s -, Enjoy.DemoYou can view the demohere
Package: curlconverter
Here's an example of how to use the curlconverter library:from curlconverter import CurlConverterExample cURL command stringcurl_string = 'curl 'https://api.example.com\' -H 'Content-Type: application/json' -d '{"foo": "bar"}''Create an instance of CurlConverter with the cURL stringcurl_converter = CurlConverter(curl_string)Convert the cURL string to a dictionaryparsed_data = curl_converter.convert()Print the parsed dataprint(parsed_data)Output:
{'method': 'GET', 'url': 'https://api.example.com', 'headers': {'Content-Type': 'application/json'}, 'data': '{"foo": "bar"}'}In this example, we create an instance of CurlConverter with a cURL command string that makes a GET request tohttps://api.example.comwith a Content-Type header and a JSON payload. We then call the convert() method on the instance to parse the cURL string and return a dictionary with the parsed data. Finally, we print the parsed data to the console.
Package: curler
curlerImport curl command in python and use it with requests, httpx, etc. libraries.🎉 InstallationInstallcurlerpackage usingpipcommand:pipinstall-Ucurler🧩 Usageimportcurlercommand="""curl 'https://pypi.python.org/project/arv-easy-analysis'\-H 'Accept-Encoding:gzip,deflate,sdch'\-H 'Accept-Language:en-US,en;q=0.8'"""curler.parse_curl(command)# Output:ParsedCurl(method="GET",url="https://pypi.python.org/project/arv-easy-analysis",params={},data=None,data_binary=None,headers={"Accept-Encoding":"gzip,deflate,sdch","Accept-Language":"en-US,en;q=0.8",},cookies={},insecure=False,user=(),proxy={},compressed=False,include=False,silent=False,)🧪 You can also checkpackage teststo gain more insights about this package.😎 Acknowledgment🤗 This package is heavily inspired by@spulec/uncurl.
Package: curlify2
The library convert python 'requests' and 'httpx' object in curl command. Curlify2 is a enhancement ofcurlify.InstallationTo install the library use pip or poetry command, see:$pipinstallcurlify2or poetry:$poetryaddcurlify2Usageusingrequestsmodule:fromcurlify2importCurlifyimportrequestsURL="https://run.mocky.io/v3/b0f4ffd8-6696-4f90-8bab-4a3bcad9ef3f"request=requests.get(URL)response=Curlify(request.request)print(response.to_curl())# curl -X GET -H "User-Agent: python-requests/2.24.0" -H "Accept-Encoding: gzip, deflate" -H "Accept: */*" -H "Connection: keep-alive" -d 'None' https://run.mocky.io/v3/b0f4ffd8-6696-4f90-8bab-4a3bcad9ef3fusinghttpxmodule:importcurlify2importhttpxURL="https://run.mocky.io/v3/b0f4ffd8-6696-4f90-8bab-4a3bcad9ef3f"request=httpx.get(URL)response=Curlify(request.request)print(response.to_curl())# curl -X GET -H "User-Agent: python-requests/2.24.0" -H "Accept-Encoding: gzip, deflate" -H "Accept: */*" -H "Connection: keep-alive" -d 'None' https://run.mocky.io/v3/b0f4ffd8-6696-4f90-8bab-4a3bcad9ef3f
Package: curlish
// curlish - curl with flames on top.('/%/\\'(%(%))'curl'Ever had to speak to an OAuth 2.0 protectedresource for debugging purposes?  curl is anice tool, but it totally lacks helpers fordealing with oauth.curlish comes for the rescue.  It is able toremember access tokens for you and inject itinto requests.Facebook is preconfigured so that you can diveinto testing it:$ curlish https://graph.facebook.com/meTo add more sites you can directly modify theconfig file which is located, convenientlyin ~/.ftcurlish.jsonRequirements: Python 2.6 or higher.Full automated installation:$ curl -L http://bit.ly/curlish | bashInstalls curlish into ~/.bin for you.(If you want to know what it executes, have alook at the install.sh file in this repo)For advanced use see the ~/.ftcurlish.json filewhich can be used to automatically add extraheaders to all requests and more.  You canalso use the thing with non OAuth endpointsby just not configuring OAuth.  Then it justinjects extra headers and colorizes output.
Package: curlite
Curlitecurliteis a Python library that provides a simple interface to perform HTTP requests using thecurlcommand. It exposes a similar interface to the popularrequestslibrary.
Unlike many other wrappers aroundcurl,curlitedoes not require any external dependencies. as the name imply, the wrapper is pretty thin and should not require much maintenance.This wrapper supports simple usage only. It was implemented to solve edge cases that we faced withrequestsunable to fetch certificate files from windows certificate stores.InstallationYou can installcurliteusing pip:$pipinstallcurliteUsageYou can usecurliteto perform HTTP requests using thecurlcommand. Here’s an example of how to usecurlite.get()to retrieve data from a website:importcurliteresponse=curlite.get('http://www.example.com')print(response.text)Here’s an example of how to usecurlite.post()to send data to a website:importcurlitedata={'username':'foo','password':'bar'}response=curlite.post('http://www.example.com/login',json=data)print(response.text)You can also usecurlite.request()to send requests using any HTTP method:importcurliteresponse=curlite.request('PUT','http://www.example.com/data',json='new data')print(response.text)ContributingWe welcome contributions from the community. If you would like to contribute, please fork the repository and submit a pull request. Before submitting a pull request, please ensure that your changes pass the tests and follow our coding standards.Licensecurliteis distributed under the MIT license. SeeLICENSEfor more information.curliteis maintained as part of Workfellow’s open source projects. Seehttps://www.workfellow.aifor more information.Keywords: curl, requests, http, https, ssl, certificate, windows, curlite, curl wrapper, libcurl, httpxHome-page:https://github.com/Workfellow-Open-Source/curliteProject-URL: Bug Tracker,https://github.com/Workfellow-Open-Source/curliteProject-URL: Documentation,https://github.com/Workfellow-Open-Source/curliteRequires-Python: >=3.9Author: Mohammed Salman
Package: curljson
Home Page:https://github.com/mitnk/curljsoncurl with pretty JSON outputs.Install$ pip install curljsonUsagesUse as curl$ curljson -i https://httpbin.org/get

HTTP/1.1 200 OK
Connection: keep-alive
Server: gunicorn/19.8.1
Date: Mon, 23 Jul 2018 22:46:53 GMT
Content-Type: application/json
Content-Length: 166
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Via: 1.1 vegur

{
    "headers": {
        "Accept": "*/*",
        "Host": "httpbin.org",
        "User-Agent": "curl/7.43.0",
        "Connection": "close"
    },
    "origin": "12.13.7.19",
    "args": {},
    "url": "https://httpbin.org/get"
}Pretty json format via stdin$ echo '{"bin": "curl", "lang": "Python"}' | curljson
{
    "lang": "Python",
    "bin": "curl"
}
Package: cURL-light
cURL-lightpython library for transferring data specified with URL syntax using cURL.
Curl is a python library and a command line tool for transferring data
specified with URLsyntax. Find out how to use curl by reading the curlhelp page or the MANUAL document. Find out how to install Curl by reading
the INSTALL document.libcurl is the library curl is using to do its job. its heavy for pythonso I made this for you*Exampleimportcurls,data=curl.get('https://w3schools.com')print(s)print(data)NOTICECurl contains pieces of source code that is Copyright (c) 1998, 1999
Kungliga Tekniska Högskolan. This notice is included here to comply with the
distribution terms.
cURL-light is licensed under MIT.
Package: curl-navi
Curl_NaviClass and functions of curriculum reinforcement learning for robot navigation0. SetupWe setup a docker container for running the code.0.1 Dockerhost $ source ipc_run.sh0.2 Generate README and Documentationsdocker $ nbdev_build_docs0.3 Generate Python Librarydocker $ nbdev_build_lib1. Get Started1.1 Download Environments1.2 Visualize Paires of Start and End Points1.3 Visualize Environment Difficulty2. Inference2.1 Download Pre-trained Weights2.2 Run Single Inference2.3 Run Evaluationscd ~/curl_navi3. Training3.1 Training in Single Environment3.2 Curriculum RL Training in 2 Environmets3.3 Curriculum Scheduler
Package: curlparser
cURL ParserParse cURL commands returning object representing the request.How to install?curlparseris available on PyPi:Using pip$pipinstallcurlparserUsing poetry$poetryaddcurlparserUsing pipenv$pipenvinstallcurlparserHow to use?>>>importcurlparser>>>result=curlparser.parse("""curl \--header 'Content-Type: application/json' \--request PUT \--user nlecoy:my_password \--data '{"username":"xyz", "password":"xyz"}' \https://api.github.com/repos/nlecoy/curlparser""")>>>result.url'https://api.github.com/repos/nlecoy/curlparser'>>>result.auth('nlecoy','my_password')>>>result.json{'username':'xyz','password':'xyz'}Available parameterscurlparser's parse method will return aParsedCommandobject containing the following fields:methodurlauthcookiesdatajsonheaderverifyLicensecURL Parser is distributed under the Apache 2.0. SeeLICENSEfor more information.