Saravanan666/pypi-org huggingface dataset:
Package: witsub
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/nicolargo/witsub/trend.png)](https://bitdeli.com/free "Bitdeli Badge")Witsub======Where Is The (fuck...) SubtitleA simple command line software to automaticaly download video subtitle.It use the [OpenSubtitles.org](http://www.opensubtitles.org/) database and its wonderfull API.## How it work ?Before...videos├── A wonderfull movies.avi├── A top serie│   ├── A top serie - S1E01.avi│   └── A top serie - S1E02.avi└── Not a video file.txtLet's go...witsub -f ./videosAfter...videos├── A wonderfull movies.avi├── A wonderfull movies.srt├── A top serie│   ├── A top serie - S1E01.avi│   ├── A top serie - S1E01.srt│   ├── A top serie - S1E02.avi│   └── A top serie - S1E02.srt└── Not a video file.txtKeep it simple...## How to installThe simple way to install Witsub is to use the PyPI package index:pip install witsubor to upgrade to the latest versionpip install --upgrade witsub## How to use it ?It can work with file (video file) or path (recursive to video files).-f <path>: Path can be video file or folderOptions:-v: Display version and exit-V: Switch on debug mode (verbose)-l <lang>: Set the subtitle language search (default is 'eng' for English)Use the ISO 639-2 standard (example 'fre' for French)-w: Force download and overwrite of existing subtitle
Package: witter
WitterWhat's Witter?Witter accepts text input, splits it into sections, or "chains", and then works out which character is most likely to follow that "chain" whenever it appears in the source text.Once it has analyzed the source text, it generates a number of random sample pieces of text based on the source text.Because of the way it uses the source text, the text that it produces will be "in the style" of the original text.It's worth noting that this isn't Machine Learning (ML), or any kind of Artificial Intelligence (AI). It's statistics.How Do I Use Witter?Runwitterfrom within a virtual environment using the syntax:witter--helpor from the command line using:python-mwitter--helpBoth of these examples will display the command line options.A simple example to get you started is:download a large text file - perhapsThe Complete Works of Shakespeare from Project Gutenbergpass the contents of the file towitterIn Windows or Linux, in a Python virtual environment, the following command will produce samples:witterfilepath.txtor, if you want to use piping in Linux:catfilepath.txt|witter
Package: wittiot
Wittiot get dataData access for some Wittiot models.LAN data acquisition: request_loc_allinfo().Use the ip of the device to get data.
example:fromwittiotimportWittiotfromaiohttpimportClientSessionasyncdefmain()->None:asyncwithClientSession()assession:try:api=Wittiot("10.255.172.105",session=session)res=awaitapi._request_loc_allinfo()_LOGGER.info("_request_loc_allinfo==============:%s",res)
Package: witty-flow-sms
WITTY FLOW SMS PIP PACKAGEStep 1: Install The Package Via PipVia Pippipinstallwitty-flow-smsStep 2: Initialize#IMPORTfromwitty_flow_smsimportWittyFlowSmsAPP_ID=XXXXXXXXXXXXAPP_SECRET=XXXXXXXXclient=WittyFlowSms(APP_ID,APP_SECRET)UsageSend Text Message// SEND SMS// sendMessage Takes 3 Params (phone, sender, message)// sender => string should not be more than 14 characters// phone => string should take the 0244XXXXXX format// message => string should not me more than 180 charactersres=client.send_sms('0507565349','Possitech','Test Message')// OnSuccess Response{"status":"success","code":2020,"message":"Accpeted for delivery","data":{"status":"accepted","message_id":"ebb04f7f-147f-4d17-877b-8dd8af4ed2fe","message":"New message","date_created":"2020-08-24T00:17:09.000000Z","direction":"MT","from":"Ghana","to":"233541348180","type":"plain","message_segments":1,"cost":"0.03","service_rate":"0.030000","callback_url":null}}Send Flash Message// SEND SMS// sendMessage Takes 3 Params (phone, sender, message)// sender => string should not be more than 14 characters// phone => string should take the 0244XXXXXX format// message => string should not me more than 180 charactersres=client.send_sms('0507565349','Possitech','Test Message')// OnSuccess Response{"status":"success","code":2020,"message":"Accpeted for delivery","data":{"status":"accepted","message_id":"ebb04f7f-147f-4d17-877b-8dd8af4ed2fe","message":"New message","date_created":"2020-08-24T00:17:09.000000Z","direction":"MT","from":"Ghana","to":"233541348180","type":"plain","message_segments":0,"cost":"0.03","service_rate":"0.030000","callback_url":null}}Get Sms Status// Get Sms Status// getSmsStatus Takes 1 Param (message_id)// message_id => stringres=client.check_sms_status('21776c6f-3c84-40c0-b0a5-14c3b0c6f514')// OnSuccess Response{"status":"success","code":2000,"message":"Message retrieved","data":{"message_id":"21776c6f-3c84-40c0-b0a5-14c3b0c6f514","status":"delivered","message":"New message","date":"2020-08-23T23:54:04.000000Z","readable_date":"Sun August 23, 2020 11:54:04 PM","direction":"MT","type":"1","sender":"Ghana","recipient":"233541348180","message_segments":1,"cost":"0.03","rate":"0.030000","billing":"charged"}}Get Account Balanceres=client.get_account_balance()// OnSuccess Response{"status":"success","code":2000,"message":"Balance Retrieved","data":{"balance":"19.19","currency":"GHS"}}
Package: wittyPy
wittyPyA Python Wrapper for theWittyPi 2Realtime Clock for the RaspberryPi.ExampleimportwittyPywitty=wittyPy.WittyPy('path/to/wittyPi/Software')print(witty.next_start)witty.set_startup(10,9,8,7)print(witty.next_start)witty.reset('startup')print(witty.next_start)Output:>>> WittyTime(type="boot", day="unset", hour="unset", minute="unset", second="unset", as_date="unset")
   >>> WittyTime(type="boot", day=10, hour=9, minute=8, second=7, as_date="2018-08-10 09:08:07")
   >>> WittyTime(type="boot", day="unset", hour="unset", minute="unset", second="unset", as_date="unset")InstallationTo install wittyPy, simply use pip:pip install wittyPyDocumentationYou can find the documentation ondocs.elpunkt.eu.How to contribute:Test wittyPy and open an issue to report a bug or discuss a feature idea.Give general feedback on the code and the package structure.Fork the repository and make your changes.
Package: witwidget
What-If Tool notebook widget.The witwidget package adds theWhat-If Toolto Jupyter and Colaboratory notebooks as a widget.
Installation and usage instructions can be found in thistutorial.The What-If Tool is an interactive visual probe for ML model understanding.The source code for the package, and the entire What-If Tool, can be found athttps://github.com/pair-code/what-if-tool.
Package: wiu
WIU Python LibraryUsageimportfrom wiu import Calculator as calc

mult = calc.multiply(2, 3)
print(mult)returns:6FeaturesBasic operationsadd = calc.add(2, 3)
sub = calc.subtract(2, 3)
mult = calc.multiply(2, 3)
div = calc.divide(2, 3)

print(add, sub, mult, div)returns:5 -1 6 0.6666666666666666Product of many numbersmy_numbers = [1, 3, 6, 4, 5, 9]

prod = calc.product(my_numbers)
print(prod)returns:3240Factorialfact = calc.factorial(6)
print(fact)returns:720
Package: wiutils
wiutilswiutilshas several utilities for exploring and manipulating (filtering, plotting and summarizing) information fromWildlife Insightsprojects. These functions are useful to compute basic statistics, prepare the information for further analysis (e.g.occupancy models) and translate it into other standards (i.e.Darwin Core) that facilitate its publication on biodiversity information centers (e.g.GBIF).InstallationCurrently,wiutilsworks with Python versions 3.6 through 3.10.Usingpip:pipinstallwiutilsUsingconda:condainstall-cconda-forgewiutilsExecutionTo check whether the installation ofwiutilswas successful, execute the following command:python-c"import wiutils"If this does not throw any error, the installation was successful.You can usewiutilsfunctions by importing the package from a Python console or script. For more information about the available functions, check thedocumentation.How to contributeEverybody is welcome to contribute towiutils. People can contribute to the development of the package but also to the improvement of the documentation and byreporting potential bugs.SetupIt is recommended to install the package using avirtual environmentto avoid tampering other Python installations in your system.Clone this repo in your computer:gitclonehttps://github.com/PEM-Humboldt/wiutils.gitGo to the project's root:cdwiutilsInstall the package in development mode:pipinstall--editable.[dev,docs,test]Make sure that any new development is done in a new branch. After you are finished, submit apull requestto incorporate the changes.Unit testsExecute the following command inside the project's root:pytesttests/Python versionswiutilsworks with Python versions 3.6 through 3.10. To make sure that the code works for all these versions,toxis used. Make sure you have installed these Python versions on your system and then run the following command inside the project's root:toxThis will run all the unit tests for every Python version to make sure everything works correctly.If you add any new depedency to the project, make sure to run tox as follows so it can recreate the environments:tox-rCode coverageWe make sure the code coverage is 100%. Ideally, when implementing new features or making changes, you should make sure that the code coverage is still 100%. For this, run the coverage for the tests:coveragerun-mpytesttests/And then run the report:coveragereport-m-iCode styleWe use pre-commit hooks to make sure new changes adhere to different coding guidelines. You need to install these hooks just once (ideally before doing any commit) by running:pre-commitinstallAfter that, every commit you try to make will run the hooks before committing the changes. If the hooks modified your changes, you'll have to add those files and commit again.Authors and contributorsAdriana Restrepo-IsazaAngélica Diaz-PulidoMarcelo Villa-Piñeros -marcelovillaLicenseThis project is licensed under the MIT License - see theLICENSE.txtfile for details.
Package: wivw-demo
简介我的工具一.上传步骤:1.生成 dist 目录用于上传pythonsetup.pysdistbdist_wheel2.上传包到私有 pypi 源cat~/.pypirc[distutils]index-servers=pypilocal[pypi]repository:https://www.python.org/pypiusername=__token__password='xxxxxxxxxxx'[local]repository:http://localhost:3141
username:yehaiquanpassword:123456783.上传到 local 仓库twineuploaddist/*-rlocal4.测试是否上传访问http://localhost:3141/simple/5.安装pipsearch-ihttp://localhost:3141wivw_demo#查找包pipinstall-ihttp://localhost:3141/simplewivw_demo#安装包 pipinstall-U-ihttp://localhost:3141/simplewivw_demo#安装最新包6.测试是否安装importwivw_demofromwivw_demoimportmytoolwivw_demo.show()mytool.mytest()7.卸载包pipuninstallwivw-demo二.上传到 pypi 仓库1.登陆个人pypi后台(如没有账号需要先注册)https://pypi.org/manage/projects/2.创建token.登陆https://pypi.org/manage/account/,找到apitoken,添加一个新的token3.配置tokencat~/.pypirc[pypi]username:__token__
password:pypi-AgEIcHlwaS5vcmcCYxxzI0WuBg-zgyXxBO1r4ZW6hX450jdsw用户名和密码也可以用自己的个人登陆账号,但不推荐,推荐用token方式验证.4.上传包到pypitwinecheckdist/*
twineuploaddist/*5.安装pipinstallwivw-demo6.测试是否安装importwivw_demofromwivw_demoimportmytoolwivw_demo.show()mytool.mytest()7.卸载包pipuninstallwivw-demo完毕!
Package: wiwb
WIWB APIA Python API on the WIWB API. It includes:authorizationgetdatasourcesgetvariablesgetgridssamplegridsto a set of geometries (points and/or polygons)Getting startedRequest a wiwb client-id and client-secret. Provide them aswiwb_client_idandwiwb_client_secretos environment variables for your convenience. Alternatively it can be specified at init.Import wiwb Api and Auth. GetGrids is not implemented in the Api module (yet) so we import it seperatelyfrom wiwb import Auth, Api
from wiwb.api_calls import GetGridsGet sourcesFind data_sources. You'll noticeMeteobase.Precipitationbeing one of themdata_sources = api.get_data_sources()Get variablesFind variables underMeteobase.Precipitation. You'll noticePbeing the only variable:variables = api.get_variables(
    data_source_codes=["Meteobase.Precipitation"]
    )Get gridsWe'll specify a download for WIWB MeteoBase Precipitation. If we don't specify aboundsorgeometries,GetGridswill be set for the extent of Water Authority HDSR.grids = GetGrids(
    auth=auth,
    base_url=api.base_url,
    data_source_code="Meteobase.Precipitation",
    variable_code="P",
    start_date=date(2018,1,1),
    end_date=date(2018,1,2),
    data_format_code="netcdf4.cf1p6",
)We can write the grids to an output directory. If we don't callgrids.run()before, it will first request the data at WIWB:grids.write(output_dir="")Sample gridsLet's sample the grids. We'll first make some geometries and assign it togrids:from geopandas import GeoSeries
from shapely.geometry import Point, box

LL_POINT = Point(119865,449665)
UR_POINT = Point(127325,453565)
OTHER_POINT = Point(135125,453394)
POLYGON = box(LL_POINT.x, LL_POINT.y, UR_POINT.x, UR_POINT.y)
GEOSERIES = GeoSeries(
    [LL_POINT,
     UR_POINT,
     OTHER_POINT,
     POLYGON],
     index=["ll_point", "ur_point", "other_point", "polygon"],
     crs=28992
     )

grids.geometries = GEOSERIESNow we sample on geometries. We'll write the result to a CSV.df = grids.sample()
df.to_csv("samples.csv")Sample existing netcdf filesIf you have a directory with netcdf-files you can sample them into one DataFrame. You can slice the NetCDFs using astart_dateandend_date.In the example below we take a set of Van der Sat soil-moisture as example. NeCDFs with one variable are stored in a directory with a variable name. So, netcdfs containing the variableDRZSM-AMSR2-C1N-DESC-T10_V003_100are stored in a directory with nameDRZSM-AMSR2-C1N-DESC-T10_V003_100from pathlib import Path
from datetime import date

START_DATE = date(2015, 1, 1)
END_DATE = date(2015, 1, 2)
DIR = Path("path_to_netcdf_directory")

# get variables from directory names and take the first
variables = [i.name for i in DIR.glob(r"*/")]
variable = variables[0]

# go to the directory with the variable
dir = DIR.joinpath(variable)

# sample all netcdf's in the directory over the variable
df = sample_nc_dir(dir, variable, geoseries, start_date=START_DATE, end_date=END_DATE)
Package: wixot-auth
=====Wixot Auth=====Wixot AuthQuick start-----------1. Settings::INSTALLED_APPS = [...'wAuth',]1. Add "wAuth" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [...'wAuth',]2. Include the polls URLconf in your project urls.py like this::url(r'^',include('wAuth.urls')),3. Run `python manage.py migrate` to create the polls models.4. Start the development server and visit http://127.0.0.1:8000/wlogin/to auth with wixot mail.
Package: wiz2
cog2 a modified version of cogUse this command to start the virtual environmentpoetry shellinstall to current the program virtual environmentpeotry installbuild the whlpoetry buildPyPi token configpoetry config pypi-token.pypi pypi-wubalubadubdub-deadbeef1234build and publishpoetry publish --buildinstall from pippip install --user cog2
Package: wizart-vision
Wizart Computer Vision SDK for PythonThe Computer Vision service provides developers with access to advanced algorithms for processing images and returning information. Computer Vision algorithms analyze the content of an image in different ways, depending on the visual features you're interested in.You can use Computer Vision in your application to:Indoor semantic segmentationInterior 3d reconstructionIndoor layout and object detectionAnalytics data such as image quality, interior type, camera parametersLooking for more documentation?SDK reference documentationWizart Vision reviewIf you need access to Wizart Vision API, you can getAPI tokenby sending a requestInstallationpip3installwizart-visionAuthenticationOnce you received Vision API token, you need initialize vision clientfromwizart.visionimportComputerVisionClientasvcclient=vc(token="Your token")UsageSee notebook with examples.The client allows you to perform requests similar to those described in the documentation.segmentationdetectionreconstructionanalysisinteriorYou will operate just with few parameters.resource - file system path or http link to the imagefeature - some entity available in Wizart Vision SDKfromwizart.visionimportComputerVisionClientasvc# use it for segmentation, detection, reconstruction and interior callsvc.feature# contains next entitiesvc.feature.WALLvc.feature.CEILINGvc.feature.FLOORvc.feature.WINDOW# use it for analysis callvc.analysis_types# contains next entitiesvc.analysis_types.CAMERAvc.analysis_types.IMAGE_INFOvc.analysis_types.INTERIOR_TYPESegmentationSemantic segmentationmask=client.segmentation(resource="file system path or http link to image")Segmentation by featuremask=client.segmentation(resource="file system path or http link to image",feature=vc.feature.CEILING)To get mask contoursmask=client.segmentation(resource="file system path or http link to image",feature=vc.feature.CEILING,vectorized=True)DetectionAll entities detectionfeature=client.detection(resource="path to image")Single entity detectionfeature=client.detection(resource="path to image",feature=vc.feature.WALL)ReconstructionMultiplefeature=client.reconstruction(resource="path to image")Singlefeature=client.reconstruction(resource="path to image",feature=vc.feature.FLOOR)AnalyzeMultiplefeature=client.analysis(resource="path to image")Singlefeature=client.analysis(resource="path to image",feature=vc.analysis_types.CAMERA)InteriorAllfeature=client.interior(resource="path to image")Singlefeature=client.interior(resource="path to image",feature=vc.feature.CEILING)To get masks in vector formmask=client.interior(resource="file system path or http link to image",vectorized=True)Release History1.0.2 (2022-08-23)Added the ability to receive masks in vector form for interior requests1.0.0 (2022-07-18)Initial Release
Package: wizcli
wizcliControl your WiZ light from the CLI.InstallpipinstallwizcliUse# turn onwizon# turn offwizoff# dim to 20%wizdim20# set temp to 50%wiztemp50# set coldwizcold# set warmwizwarm# set RGB colorwizrgb2554090HelpUsage:wiz[OPTIONS]COMMAND[ARGS]...

Options:-h,--hostTEXTWiZbulbhost[envvar:WIZ_HOST]-p,--portINTEGERWiZbulbport[envvar:WIZ_PORT;default:38899]-t,--timeoutINTEGERTimeoutinseconds[envvar:WIZ_TIMEOUT;default:5]-v,--verbose--helpShowthismessageandexit.

Commands:colddimgetoffonrgbswitchtempwarm
Package: wizcon
wizconControl Philips WiZ Connected smart light bulbsRequirementsPython 3pywizlightInstallationpip install wizconUsageusage: wizcon [-h] [-si {1-32}] [-b {0-255}] [-v] IP {ON,OFF,SWITCH}

Control Philips WiZ Connected smart light bulbs

positional arguments:
  IP                    IP address of smart bulb
  {ON,OFF,SWITCH}       Command sent to the smart bulb

optional arguments:
  -h, --help            show this help message and exit
  -si {1-32}, --scene_id {1-32}
                        Set scene of smart bulb using scene ID
  -b {0-255}, --brightness {0-255}
                        Set brightness of smart bulb
  -rgb {0-255} {0-255} {0-255}, --rgb {0-255} {0-255} {0-255}
                        Set RGB color of smart bulb
  -v, --version         show program's version number and exit

Scene Table
1: "Ocean"
2: "Romance"
3: "Sunset"
4: "Party"
5: "Fireplace"
6: "Cozy"
7: "Forest"
8: "Pastel Colors"
9: "Wake up"
10: "Bedtime"
11: "Warm White"
12: "Daylight"
13: "Cool white"
14: "Night light"
15: "Focus"
16: "Relax"
17: "True colors"
18: "TV time"
19: "Plantgrowth"
20: "Spring"
21: "Summer"
22: "Fall"
23: "Deepdive"
24: "Jungle"
25: "Mojito"
26: "Club"
27: "Christmas"
28: "Halloween"
29: "Candlelight"
30: "Golden white"
31: "Pulse"
32: "Steampunk"

Examples

Turn smart bulb on:
wizcon 192.168.1.100 ON

Turn smart bulb off:
wizcon 192.168.1.100 OFF

Switch smart bulb between on and off states:
wizcon 192.168.1.100 SWITCH

Set scene to "Deepdive" using scene ID:
wizcon --scene_id 23 192.168.1.100 ON

Set brightness to 255 (max brightness):
wizcon --brightness 255 192.168.1.100 ON

Set smart bulb color to blue:
wizcon -rgb 0 0 255 192.168.1.100 ONTested bulbsModelA19 (RGB)AE27 (White)Firmware Version1.22.01.17.1Model ID2300723032RelatedSmart-Bulb-Control- Rainmeter skin for controlling smart light bulbsSupportIf you find an issue or have any feedback please submit an issue onGitHub.If you would like to show your support donations are greatly appeciated via:GitHub SponsorsPayPalBitcoin:bc1qh46qmztl77d9dl8f6ezswvqdqxcaurrqegca2pEthereum:0xAB443e578c9eA629088e26A9009e44Ed40f68678AuthorsRobert Gomez, Jr.Ariq FadlanSource codehttps://github.com/rgomezjnr/wizconLicenseMIT
Package: wizconfig
wizconfigAn incomplete configuration shall not pass.InstallpipinstallwizconfigExampleclassTestConfig(WizConfig):TEST_KEY=os.getenv("TEST_KEY")# mandatoryTEST_API_KEY=os.getenv("TEST_API_KEY"),False# optionalTEST_DEBUG=os.getenv("TEST_DEBUG"),True# mandatory (verbose)TEST_MODE=os.getenv("TEST_MODE","DEV")# mandatory with default value
Package: wiz-craft
WizCraft - CLI-Based Dataset Preprocessing ToolWizCraft is a cutting-edge Command Line Interface (CLI) tool developed to simplify the process of dataset preprocessing for machine learning tasks. It aims to provide a seamless and efficient experience for data scientists of all levels, facilitating the preparation of data for various machine-learning applications.Try the tool online hereTable of ContentsFeaturesGetting StartedInstallationTasksData DescriptionHandle Null ValuesEncode Categorical ValuesFeature ScalingSave Preprocessed DatasetFeaturesLoad and preprocess your dataset effortlessly through a Command Line Interface (CLI).View dataset statistics, null value counts, and perform data imputation.Encode categorical variables using one-hot encoding.Normalize and standardize numerical features for better model performance.Download the preprocessed dataset with your desired modifications.Getting StartedInstallationRun the pip command:pipinstallwiz-craftTo use the module, use the commands:fromwizcraft.preprocessimportPreprocesswiz_obj=Preprocess()wiz_obj.start()Follow the on-screen prompts to load your dataset, select target variables, and perform preprocessing tasks.Features AvailableData DescriptionView statistics and properties of numeric columns.Explore unique values and statistics of categorical columns.Display a snapshot of the dataset.Handle Null ValuesShow NULL value counts in each column.Remove specific columns or fill NULL values with mean, median, or mode, or even using KNN technique.Encode Categorical ValuesIdentify and list categorical columns.Perform one-hot encoding on categorical columns.Feature ScalingNormalize the data in a column using Min-Max scaling or Standard Scaler.Save Preprocessed DatasetDownload the modified dataset with applied preprocessing steps.
Package: wiz-env
Wiz is an environment management framework which consists of a Python API and a
command line tool. It can be used to run a command within a deterministic
environment resolved from one or several package requests.The packages are defined in package definitions which are stored in one or
several registries.The command line tool can be used as follows:>>> wiz use "app==2.*" my-plugin -- AppExe /path/to/scriptEquivalent commands can be executed using the Python API:importsubprocessimportwiz# Resolve context.context=wiz.resolve_context(["app==2.*","my-plugin"])# Run command within environment.command=context["command"]["AppExe"]subprocess.call(command,environ=context["environ"])DocumentationFull documentation, including installation and setup guides, can be found athttps://wiz.readthedocs.io/en/stable/CopyrightCopyright (C) 2018, The MillThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser 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 Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.