Saravanan666/pypi-org huggingface dataset:
Package: wre-commit
Wrapper forhttps://pre-commit.com, sowre-commitExtensionsRunpre-commit:in Docker container when### wre-commit-docker-image: ...is found
in the config fileor directly calling locally installedpre-commitSupport multiple configurations using:multiple config files using shell wildcards in option--config,
by default.pre-commit-config*.yaml, with respecting thefail_fastconfig setting.multi-doc YAML config files, with respecting thefail_fastconfig
setting.Installation into systemInstall the wraper into system by command:pip3install--upgradewre-commitThen a scriptwre-commitis available in the$PATH.Installation into Git repositoryInstall this script as.git/hooks/pre-commitinto your Git repository
by running the command:wre-commitinstallAdd option-tor--hook-typeto specify another/more hook(s) to install.Uninstallation from Git repositoryUninstall this script as.git/hooks/pre-commitfrom your Git repository
by running the commandwre-commituninstallAdd option-tor--hook-typeto specify another/more hook(s) to uninstall.UsagePlace the line### wre-commit-docker-image: DOCKER_IMAGE(without quotes)
into yourpre-commitconfig file, typically.pre-commit-config.yaml.
Replace theDOCKER_IMAGEwith the Docker image name in format expected by commanddocker run. That image should havepre-commitinstalled, possibly with other binaries and hook repository dependencies. Thenpre-commitin that
container will be triggered with your repository dir read-write visible.You can also call thepre-commitin the Docker container directly,
f.e.:wre-commitrun--all-filesIf no such line is present in thepre-commitconfig file, then the locally
installedpre-commitwill be called as usuall.DebuggingSet environment variableWRE_COMMIT_DEBUGto see debug messages on standard error:of the executed commandsabout splitting multi-doc config filesRequirementspython3
AND:locally installed and runningdockerOR:locally installedpre-commitDevelopingUpdate versionsinwre_commit/main.pyinsetup.cfgEnsure local dependenciespython3-mpipinstall--user--upgradesetuptoolswheeltwineBuild PyPi packagerm-rfdist
python3setup.pysdistbdist_wheelUpload package to PyPipython3-mtwineuploaddist/*
Package: wrecon
WReconWRecon is an open source no intussive web scanner. It is designed to discover all URL in a website recursively, without using bruteforce or unauthorized access. It comes with a camouflage engine and nice features for pentesting.ScreenshotsInstallationYou can download WRecon by cloning theGitrepository:git clone https://github.com/fabiodelgadopereira/wrecon.gitWRecon works out of the box withPythonversion3.xon any platform.UsageTo get a list of basic options and switches use:wrecon -hSimple usage:wrecon -u http://target -r 1LicenseThis project is licensed under the MIT license. See theLICENSEfile for more info.
Package: wrench
WARNINGThis project has been split up into pieces to better handle the varying
change rates of the component parts.No more changes will be done to this library.  Instead, see:screwdriverlogthingpywheneenumcontext_tempwaelstowwrenchAnother tool for your python toolset.  General odds and ends that kept coming
up in projects.Installation$pipinstallwrenchSupportsPython wrench has been tested with Python 2.7, 3.4, and 3.5Docs & SourceDocs:http://python-wrench.readthedocs.io/en/latest/Source:https://github.com/cltrudeau/wrench
Package: wrench-api
Cyberinfrastructure Simulation WorkbenchUNDER DEVELOPMENTObjectiveThe objective of this repo is to implement a tiny "hello world" proof-of-concept of the envisioned system architecture for the WRENCH (re-?)implementation as part of the NSF-funded CSSI grant. The key ideas are:Current DesignA simulation consists of a "client" (in this repo a Python client) that interacts with a "WRENCH daemon" process.The "WRENCH daemon" process, when asked to run a simulation starts a 2-thread process:A "Simulation Daemon" thread that handles all communication with the clientA simulation thread that runs the WRENCH simulationThe reason for the two threads is that all SimGrid calls must be placed by the same thread. So the Simulation Daemon thread, which has to acts as an HTTP server, places "please do this" requests in some thread-safe data structure that the simulation thread will then execute via WRENCH calls.The client, simulation daemon, and the simulation thread operate in locked-step w.r.t. the simulation clock.How to run itStart the daemon:./wrench-daemon/build/wrench-daemon(use--helpfor all options)Run the Python simulator:./python-client-demo/simulator.py
Package: w-render
DescriptionWeb-render is a method of rendering dynamic web pages using Selenium.CommandsTo start the rendering service, use the following command:render-server"web-render -f selenium --headless --proxy=185.105.91.140:1021""flask-backend"To run a test, use the following command:python-Wignore:ResourceWarning-munittestweb_render/base/test_webrender.pyrender-server\"web-render -f selenium --chrome-driver-version=116.0.5845.110 --proxy 95.213.10.169:1022 --port 21000"\"flask-backend --port 5000 --render-address localhost:21000"
Package: wres
━━━━━━━━README━━━━━━━━Table of Contents─────────────────1 wres.. 1.1 Install.. 1.2 Usage.. 1.3 Util.. 1.4 details..... 1.4.1 `set_resolution'..... 1.4.2 `query_resolution'.. 1.5 License1 wres══════Set/Get Winsows Timer Resolution.wres is short for Windows RESolution.The function of this module is like Windows API [timeBeginPeriod] and[timeEndPeriod].  But the implementation used Undocumented[NtSetTimerResolution] of NTDLL. It offers microsecond level control.[timeBeginPeriod]https://msdn.microsoft.com/en-us/library/dd757624(VS.85).aspx[timeEndPeriod]https://msdn.microsoft.com/en-us/library/dd757626(v%3Dvs.85).aspx[NtSetTimerResolution]http://undocumented.ntinternals.net/index.html?page%3DUserMode%252FUndocumented%2520Functions%252FTime%252FNtSetTimerResolution.html1.1 Install───────────┌────│ pip install wres└────1.2 Usage─────────┌────│ import wres││ # Query windows timer resolution in 100-ns units│ minres, maxres, curres = wres.query_resolution()││ # Set resolution to 1.5 ms│ # Automatically restore previous resolution when exit with statement│ with wres.set_resolution(15000):│     pass││ # Set resolution to max resolution│ with wres.set_resolution():│     pass└────1.3 Util────────After installing `wres', command `windows-resolution' is available.┌────│ usage: windows-resolution [-h] [-s RESOLUTION] [--setmax] [--setmin] [-v]││ Set system timer tesolution. Show current system timer resolution without│ argument.││ optional arguments:│ -h, --help            show this help message and exit│     -s RESOLUTION, --set RESOLUTION│     set resolution in 100-ns units│     --setmax              set maximum resolution│     --setmin              set minimum resolution│     -v, --version         show version└────1.4 details───────────1.4.1 `set_resolution'╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌Set resolution of system timer.Input:`DesiredResolution' [default 0], in 100-ns units.  This functionwill auto revision the value if it is out of range, so default 0 meansset maximum resolution.Should be used in `with' statement, target is current resolution, in100-ns units.1.4.2 `query_resolution'╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌Query resolution of system timer.Return a tuple of (min, max, current) resolution, in 100-ns units.Ref to [NtQueryTimerResolution].[NtQueryTimerResolution]http://undocumented.ntinternals.net/index.html?page%3DUserMode%252FUndocumented%2520Functions%252FTime%252FNtQueryTimerResolution.html1.5 License───────────Meme Kagurazaka (c) 2017, Public Domain.
Package: wrest
Thin rest client with no dependenciesUsageHere is a sample usage:from wrest import Client
client = Client('https://api.twitter.com/1')
tweets = client.get('statuses', 'user_timeline.json',
                      query={'screen_name':'kadirpekel', 'count':'10'}).as_json()
for tweet in tweets:
  print(tweet.get('text'))LicenceCopyright (c) 2012 Kadir Pekel.Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: wrestling
WrestlingThis project is for generating and tracking wrestling statistics.Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.DocsDocumentation live on ReadTheDocshereInstallingIn order to install this project you must have a working installation of python and the pip package manager.Install via CLIpip install wrestlingEnd with an example of getting some data out of the system or using it for a little demoRunning the testsI chose to usepytestandcoverage.Tests cover most of the functionality not covered by validators from the attrs library in addition to testing the validators themselves.All tests w/ coverage:coverage run -m pytestThen to see report:coverage htmland open htmlcov/index.htmlBuilt WithAttrs- Classes without BoilerplateVersioningI useSemVerfor versioning. For the versions available, see thetags on this repository.AuthorsNick Anthony-Initial workLicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: wrf4g
WRF4GWRF4G is a framework for executing and monitoring weather and climate experiments with the WRF Modeling System (see this presentation) for an introduction to WRF). It provides a flexible and easy way of designing complex experiments involving many simulations (multiple start/end dates, multi-ensemble simulations, long climate runs and so on). The monitor allows a precise control of the experiment's state, where broken simulations are automatically detected and relaunched at the next submission.Given a list of computing resources that the user can access, WRF4G submits the experiment to them according to the experiment needs. Users can configure different (Distributed Computing Infrastructures (DCIs) such as HPC, Grid and Cloud resources. The output files are going to be stored depending on the resources used to run the simulations.WRF4G can be installed in any Linux Computer. It provides the services needed to prepare, run and monitor experiments and it can manage many computing resources and use them at the same time to run different simulations of a WRF experiment.Requirements and InstallationWRF4G can be installed in any 64-bit linux operating systems. Before installing WRF4G, make sure that thegcccompiler,python3(>3.5)andpip3are present in your environment.WRF4G has been tested under the following operating systems:Ubuntu 16.04, 18.04, 20.04 : Issues not known.Centos 7: It is necesary to upgrade the default version of pip3 to the most recent. To do that you can run the following command:sudo pip3 install --upgrade pipThe recommended way to install WRF4G is by using the commandpip3 install wrf4gMore information about WRF4G installation can be found in theWRF4G wiki.QuickStartExample for deploy WRF4G and run a simple test experimentwrf4gstart
wrf4gresource
wrf4gexptestdefine--from-template=single
wrf4gexptestcreate--dirtestwrf4gexptestsubmit
wrf4gexptest1submit--rerunUsageCheck theWRF4G wikifor detailed documentation.
Package: wrfhydropy
WRF-HYDRO-PYIMPORTANT:This package is in the very early stages of development and the package API may change at any time. It is not recommended that this package be used for significant work until version 0.1Descriptionwrfhydropyprovides an end-to-end python interface to support reproducible research and construction of workflows involving the
WRF-Hydro model. See the docs for an extended description ofwhat-and-why wrfhydropy.DocumentationDocumentation is available on-line throughhelp()and viareadthedocs. Documentation is a work in progress, please feel free to help improve the documentation or to make an issue when the docs are inaccurate!Contributing standardsFailure to adhere to contributing standards may result in your Pull Request being rejected.pep8speaksAll pull requests will be linted automatically by pep8speaks and reported as a comment into the pull request. The pep8speaks configuration is specified in .pep8speaks.yml. All pull requests must satisfy pep8speaks.Local linting can be performed after apip installofpycodestyle. Pep8speaks linting reports also update with updated pull requests.Additional Style GuidelinesMax line length: 100 chars.docstrings:Google styleAll other guidance followsGoogle style guideGeneral advice:Hitchhiker's guide to code styleTestingAll pull requests must pass automated testing (via TravisCI). Testing can be performed locally by runningpytestin thewrfhydropy/testsdirectory. Currently, this testing relies on thenccpbinary for comparing netcdf files. A docker container can be supplied for testing on request (and documentation will subsequently be placed here).CoverageTesting concludes by submitting a request tocoveralls. This will automatically report changes of code coverage by the testing. Coverage should be maximized with every pull request. That is all new functions or classes must be accompanied by comprehensive additional unit/integration tests in thewrf_hydro_py/wrfhydropy/testsdirectory. Running coverage locally can be achieved bypipinstallingcoverageandpytest-covfollowing a process similar to the following:cd wrfhydropy/tests/
pytest --cov=wrfhydropy 
coverage html -d coverage_html
chrome coverage_html/index.html  # or your browser of choice
Package: wrftamer
WRFtamerWRFtamer is a tool to organize WRF simulations. This includes organizing experiments into projects, creating simulations, running WPS, postprocessing data and archiving completed runs. This tool also provides an overview on how long a simulation runs and how much disk space it takes.
The programm can be used from the command line and using a graphical user interface (GUI).
WRFtamer is designed to run WRF with em_real. Is is able to create sumbit-scripts for the cluster, but only for the SLURM job scheduler.RequirementsThis repository has been tested with python 3.7.12External python modulesSee requirements.txtInstallationIt can be installed using pippipinstallwrftameror condacondainstall-cos-simoptwrftamerOptional python modulesThe Cartopy package is required to display maps of your data. If you want to use these features, you need to install this package manually.Info:The pip installer for cartopy does not work (as of 26.04.2022).
It is required to install cartopy and geoviews>=1.9.5 using conda or mamba before the map tools can be used.First Steps and documentationTo get started with WRFtamer, got tofirst stepsThe full documentation is availablehereOwnersMartin Felder, Linda Menger, Daniel LeukaufLicenceMIT
Package: wrfy
wrfy/wharfie/minimal CLI tool to smooth your docker local dev experiencewrfyprovides a dozen or so commands to automate common operations on a docker development or CI host. Want to pull all images? Delete images matching a regexp? Clean up dangling volumes? You've come to the right place.installation$ pip3 install wrfywrfycommandsdoctorwrfy doctorwill check your docker host for common issues. The checks are:containers running from an old version of the image they were launched from. for example,
if you were to dodocker run -it alpine:latest /bin/sh, leave that
container going, and then pull a newer version ofalpine:latest,wrfywill let you know that your Alpine container is running from an old
image.dangling volumes. dangling volumes, which are not attached to a container.dangling images. dangling images, which do not have a tag.stopped containers. docker hosts can build up a large number of stopped containers
whose purpose was ephemeral.Each check suggests awrfytool to address each particular issue identified.kill-allwrfy kill-allwill kill all running containers.
It asks for confirmation, unless--forceis passed as an argument.pull-allwrfy pull-allwill pull all images present on the docker host. This is very useful when you want to make sure everything is up to date.rm-matchingwrfy rm-matching <pattern>will remove containers matching the provided glob pattern.
If-eis passed, the pattern is interpreted as a regular expression.
It asks for confirmation, unless--forceis passed as an argument.A useful command iswrfy rm-matching -e '^[a-z]+_[a-z]+$', which will remove all containers with a name
comprised of two words seperated by an underscore. This will match containers with names automatically
generated by docker.rm-stoppedwrfy rm-stoppedwill remove all containers which are not running. It is somewhat of a blunt instrument,
you might want to userm-matchinginstead.
It asks for confirmation, unless--forceis passed as an argument.rmi-danglingwrfy rmi-danglingwill remove all dangling images - images which haven't got a name.
It asks for confirmation, unless--forceis passed as an argument.rmi-matchingwrfy rmi-matching <pattern>will remove images matching the provided glob pattern.
If-eis passed, the pattern is interpreted as a regular expression.
It asks for confirmation, unless--forceis passed as an argument.A useful command to clean up afterdocker-composeiswrfy rmi-matching -e '^[a-z]+_[a-z]+:latest$',
which will remove all containers with a name comprised of two words
seperated by an underscore, and a tag oflatest. Such images
probably came fromdocker-compose.rmv-danglingwrfy rmv-danglingwill remove all dangling volumes - volumes not attached to any container.
It asks for confirmation, unless--forceis passed as an argument.scrubwrfy scrubchains togetherrm_stopped,rmi_dangling, andrmv_dangling.
It asks for confirmation at each stage, unless--forceis passed as an argument.
Package: wrilytextaligner
Aligns text lines and characters within an imageTested against Windows 10 / Python 3.11 / Anacondapip install wrilytextalignerOriginalAlignedi(Any):Theinputimageorfilepath.blured_kernel(Tuple[int,int],optional):Thekernelsizeforblurringtheinputimage.Defaultsto(5,5).blured_dst(int,optional):Thedestinationfortheblurredimage.Defaultsto0.adaptiveThreshold_max_value(int,optional):Themaximumpixelvaluefortheadaptivethresholding.Defaultsto255.adaptiveTreshold_method(int,optional):Theadaptivethresholdingmethod.Defaultstocv2.ADAPTIVE_THRESH_GAUSSIAN_C.adaptiveThreshold_block_size(int,optional):Theblocksizeforadaptivethresholding.Defaultsto11.adaptiveThreshold_C(int,optional):Theconstantsubtractedfromthemeaninadaptivethresholding.Defaultsto2.rect_kernel_size(Tuple[int,int],optional):Thekernelsizeformorphologicaloperations.Defaultsto(10,10).otsu_threshold(int,optional):ThethresholdvalueforOtsu's thresholding. Defaults to 0.otsu_max_value(int,optional):ThemaximumpixelvalueforOtsu's thresholding. Defaults to 255.max_line_join_distance(int,optional):Themaximumdistanceforjoininglines.Defaultsto30.border_color_letters(Tuple[int,int,int],optional):Thecolorofbordersaroundcharacters.Defaultsto(255,255,255).letter_border_top(int,optional):Thetopbordersizeforcharacters.Defaultsto10.letter_border_bottom(int,optional):Thebottombordersizeforcharacters.Defaultsto10.letter_border_right(int,optional):Therightbordersizeforcharacters.Defaultsto10.letter_border_left(int,optional):Theleftbordersizeforcharacters.Defaultsto10.line_border_top(int,optional):Thetopbordersizeforlines.Defaultsto10.line_border_bottom(int,optional):Thebottombordersizeforlines.Defaultsto10.line_border_right(int,optional):Therightbordersizeforlines.Defaultsto10.line_border_left(int,optional):Theleftbordersizeforlines.Defaultsto10.image2crop(Union[None,np.ndarray],optional):Anoptionalimagetobecroppedinsteadoftheinputimage.DefaultstoNone.importos,cv2importnumpyasnpfromwrilytextalignerimportalign_wrily_textoutputfolder=r"C:\readx2"ifnotos.path.exists(outputfolder):os.makedirs(outputfolder)forini,fiinenumerate([r"https://github.com/hansalemaos/screenshots/raw/main/16_2.png"]):allines=align_wrily_text(i=fi,blured_kernel=(5,5),blured_dst=0,adaptiveThreshold_max_value=255,adaptiveTreshold_method=cv2.ADAPTIVE_THRESH_GAUSSIAN_C,adaptiveThreshold_block_size=11,adaptiveThreshold_C=2,rect_kernel_size=(8,8),otsu_threshold=0,otsu_max_value=255,max_line_join_distance=30,border_color_letters=(255,255,255),letter_border_top=10,letter_border_bottom=10,letter_border_right=10,letter_border_left=10,line_border_top=10,line_border_bottom=10,line_border_right=10,line_border_left=10,image2crop=None,)vstacked=np.vstack(allines)cv2.imwrite(rf"{outputfolder}\{ini}.png",vstacked)
Package: wrimg
wrimgis an alternative for dd to write images to removable media. It has
the following advantages:Syncs buffers after each chunk is written, allowingC-cto workFor the same reasonwrimgcan make accurate predictions about the remaining timeAutomatically adjusts buffer size when copyingContains extra safety-checks to keep you from accidentally erasing your
hard drives!It is slightly slower thandd, with common SD-card/USB data rates usually a
second or two. Copying between two very fast devices (like SSD-to-SSD) is
better left todd.Installationwrimgcan be installed fromPyPI:$ pip install wrimgUsageUsage is straightforward:$ wrimg someimg.iso -t /dev/sdXThe--target/-tcan be omitted, causing wrimg to display a menu of suitable
targets. For other options, check the--helpoption.
Package: writ
Writ - Source file creation toolSave and create commonly used source files for your projects.MotivationBuilt this as a tool to speed up placing commonly used files.Screen ShotsTechnologiesPythonNative ModulesInstallAvailable on PyPipip install writ
writ help (To list available commands)DevelopmentSource on GitHubgit clone https://github.com/jackson-elfers/writ.git
Package: write2list
write2listA simple python package which accepts a Tuple of Lists and converts it to a List. I wrote this to learn how custom packages work in Python. Here is the quick difference between a Tuple and a List-TupleListImmutable bindingsMutable via Append and ExtendHow to use?pipinstallwrite2list# test.pyimportwrite2listexampleTuple=(["Hi I am the first example list"],["123456"],["Wow these are one too many lists for a simple example. Let's end this object here."])resultList=write2list.create(exampleTuple)print(resultList)pythontest.py['Hi I am the first example list','123456',"Wow these are one too many lists for a simple example. Let's end this object here."]
Package: writeas-anon
Write as anonAs simple as possible package to post onwrite.as.At current version you can only post as anonymous, and retrieve posts. Update, delete and any other operation are not supported (yet).Created to learn how to publish package on PyPiInstallationAs simple as:pipinstallwriteas-anonUsagefromwriteas_anonimportpost,build_urltext='''# Hello world!I've created a simple package called `writeas_anon`. You can find it [here](https://gitlab.com/chgrzegorz/writeas-anon)I hope you will find this useful 😃'''post_id=post(text)print(build_url(post_id))https://write.as/1mky7cnx4ozq9.m——————Change log[0.1.0] - 2018-11-18Addedgetfunctionbuild_urlfunctionUpdatedpostfunction returns only post id[0.0.1] - 2018-11-13Addedpostfunction