Saravanan666/pypi-org huggingface dataset:
Package: sauceclient
Python client library for Sauce Labs API.InfoAuthor:Corey Goldberg(2013-2017)Docs:https://readthedocs.org/projects/sauceclientReleases:https://pypi.python.org/pypi/sauceclientDev:https://github.com/cgoldberg/sauceclientLicense: Apache v2.0About sauceclientsauceclientis a Python client library for Sauce Labs API.  You can manage
a Selenium test environment and retrieve test assets from Sauce.The API gives remote access to:Test Jobs & Assets (Results, Logs, Videos, Screenshots)AccountPlatform InformationJavaScript Unit TestsTemporary StorageTunnelsNote:sauceclientis not used for running tests on Sauce Labs’ services.
Test execution is handled bySelenium WebDriver.About Sauce LabsSauce Labsis a service for running remote Selenium
WebDriver tests. It ghas VM’s with 800+ browser/OS combinations, allowing
comprehensive cross-browser cross-platform test coverage.Installwithpip:pip install sauceclientExample Usagepublic access:import sauceclient

sc = sauceclient.SauceClient()
status = sc.information.get_status()with authorization:import sauceclient

sc = sauceclient.SauceClient(
    'sauce-username',
    'sauce-access-key',
)
jobs = sc.jobs.get_jobs(full=True, limit=5)Related LinksSauce LabsSauce Labs REST API documentationPython bindings for Selenium WebDriverCompatibility NoteDue to changes in the SauceLabs REST API, some of sauceclient’s
classes and methods have been changed or renamed since the pre-1.0 releases.
Package: sauce-finder
Sauce finderProductionMastersauce_finderis a Python script to find sauce for anime images (and to download them).
It will try to find the sauce usingdanbooru.iqdb.orgwith URL of the image you want to search. You can also download the found image automatically to current folder.UsageSeewikifor full usageFind only sauceThis will try to find sauce for the image and show similarity percentage.
When no relevant match is found, it will list all possible matches.sauce_finder https://url/to/img


example output:

Match found, with 94% similarity
http://danbooru.donmai.us/posts/xxxxxxxFind and download the found imageThis will try to find sauce for the image, show similarity percentage and save the image to current folder.
If no relevant match is found, it will list all and download only the first possible match.sauce_finder -d https://url/to/img


example output:

Match found, with 94% similarity
http://danbooru.donmai.us/posts/xxxxxxx
Downloading image
Image saved as image_name.pngAuthorMiika LauniainenDonatingIf you want to support me, feel free to use paypalLicenseThis library is licensed under GPLv3
Package: saucelab-api-client
saucelab-api-clientsaucelab-api-client - is a client for provide integration with SauceLabGeneral information aboutSauceLab ApiRequirementsrequestsInstallationpipinstallsaucelab-api-clientConfigurationStarting from version 0.3 you can configure saucelab client credentials with 3 way:Way 1. Directly set credentials in class constructorfromsaucelab_api_client.saucelab_api_clientimportSauceLabsaucelab=SauceLab('your_host','your_username','your_token')Way 2. Set credentials in pytest.ini or in saucelab.ini This files must be in root folder project path Add
group [saucelab]
Add variables:saucelab_usernamesaucelab_tokensaucelab_hostExamplepytest.iniorsaucelab.ini[saucelab]saucelab_username=your_usernamesaucelab_token=your_tokensaucelab_host=your_hostWhen you add credentials to ini file:fromsaucelab_api_client.saucelab_api_clientimportSauceLabsaucelab=SauceLab()Way 3. You can set environment variables:SAUCELAB_USERNAMESAUCELAB_TOKENSAUCELAB_HOSTWhen you add credentials to environment variables:fromsaucelab_api_client.saucelab_api_clientimportSauceLabsaucelab=SauceLab()Features in version: 0.5Supported api:accountsplatformreal devicesreal devices jobsjobsstoragesauce connectPowerful device filter - saucelab.devices.filter_devices()Added list support for parameters in devices filterAdded driver generationAdded base64 credentials encodingTODOAdd support:performanceUsage examplesteams=saucelab.accounts.account_team.teams()devices=saucelab.devices.filter_devices(min_os_version='14.4.1',max_os_version='14.9')apps=saucelab.storage.files()
Package: saucelabsfixture
A Python fixture for working with SauceLabs’ services.For more information see theLaunchpad project page.Getting startedUse like any other fixture:from saucelabsfixture import (
    SauceConnectFixture,
    SauceOnDemandFixture,
    )

capabilities = {...}

def test_something(self):
    connect = self.useFixture(SauceConnectFixture())
    on_demand = SauceOnDemandFixture(
        capabilities, connect.control_url)
    self.useFixture(on_demand)
    driver = on_demand.driver
    ...This will start up a Connect service using your credentials (see
below). It will also downloadSauce-Connect.jarif it’s not
already available. The driver will be set up to send commands via the
secure tunnel that the Connect service provides.Credentials for the Connect serviceCredentials for the Connect service can be passed into theSauceConnectFixtureconstructor, but otherwise they can be put
into a file in your home directory:$ mkdir -p ~/.saucelabs/connect
$ touch ~/.saucelabs/connect/credentials
$ chmod go-rwx ~/.saucelabs/connect/credentials
$ echo "$username $api_key" > ~/.saucelabs/connect/credentials
Package: sauce-lib-nltk
A python library for extracting inflections and synonymsfrom sauce.nltkrdf.wordnet import WordnetEnricherdata = """[{"@id":"https://api.sauce-project.tech/assets/1234","@type":["https://vocabularies.sauce-project.tech/core/Asset"],"https://vocabularies.sauce-project.tech/core/depicts":[{"@id":"https://api.sauce-project.tech/depictions/1234"}]},{"@id":"https://api.sauce-project.tech/depictions/1234","@type":["https://vocabularies.sauce-project.tech/core/Depiction"],"https://vocabularies.sauce-project.tech/core/label":[{"@value":"running"}]},{"@id":"https://vocabularies.sauce-project.tech/core/Asset"},{"@id":"https://vocabularies.sauce-project.tech/core/Depiction"}]"""enricher = WordnetEnricher(data)
enriched_asset = enricher.enrich()
Package: saucenao-api
saucenao_api“The rough edges are a part of its charm”Unofficial wrapper for theSauceNAOJSON APIInstallationThis package requires Python 3.6 or later.pip install -U saucenao_apiUsagefromsaucenao_apiimportSauceNao# Replace the key with your ownsauce=SauceNao('077f16b38a2452401790540f41246c7d951330c0')results=sauce.from_url('https://i.imgur.com/oZjCxGo.jpg')# or from_file()best=results[0]# results sorted by similarityThe library attempts to provide a developer friendly container format for all results. Meaning, no matter if SauceNao returns a Pixiv source result or a more obscure source, you'll be able to easily pull thetitle,urls,authorand other useful information:fromsaucenao_apiimportSauceNaoresults=SauceNao('077f16b38a2452401790540f41246c7d951330c0').from_url('https://i.imgur.com/oZjCxGo.jpg')len(results)# 6bool(results)# True# Request limitsresults.short_remaining# 4  (per 30 seconds limit)results.long_remaining# 99 (per day limit)results[0].thumbnail# temporary URL for picture previewresults[0].similarity# 93.3results[0].title# めぐみんresults[0].urls# ['https://www.pixiv.net/member_illust.php?mode=medium&illust_id=77630170']results[0].author# frgsresults[0].raw# raw resultVideo search results and book search results provide additional attributes:fromsaucenao_apiimportSauceNao,VideoSauce,BookSauceresult=SauceNao('077f16b38a2452401790540f41246c7d951330c0').from_url('https://i.imgur.com/k9xlw6f.jpg')[0]ifisinstance(result,VideoSauce):result.part# 02result.year# 2009-2009result.est_time# 00:05:32 / 00:21:10elifisinstance(result,BookSauce):result.partYou can use thedirfunction to see all the attributes.Asyncioimportasynciofromsaucenao_apiimportAIOSauceNaoasyncdefmain():# async requesting is also supported via the AIOSauceNao classasyncwithAIOSauceNao('077f16b38a2452401790540f41246c7d951330c0')asaio:results=awaitaio.from_url('https://i.imgur.com/k9xlw6f.jpg')asyncio.run(main())The async with functionality is pretty useful if you want to make multiple requests.
Note that you can still search without theasync withsyntax by simply callingawait AIOSauceNao(...).from_url(...).Advanced usagefromsaucenao_apiimportSauceNaofromsaucenao_api.paramsimportDB,Hide,BgColorsauce=SauceNao(api_key=None,# Optional[str]testmode=0,# intdbmask=None,# Optional[int]dbmaski=None,# Optional[int]db=DB.ALL,# intnumres=6,# intframe=1,# inthide=Hide.NONE,# intbgcolor=BgColor.NONE,# int)The parametersframe,hideandbgcolorare taken from the main page and from thetesting page, so their performance is not guaranteed. For the rest seeSauceNAO User Configpage (registration required).ExceptionsAll exceptions inherit fromSauceNaoApiErrorfor easy catching and handling. Seeerrors.pyfile for details.Note: SauceNao doesn't have good documentation. Exceptions are created only based on observations of changes in the returned status codes. If you find a specific error that is not being processed, please report it.LicenseThis package is based onpysaucenao.
Package: sauce-storage-api
Sauce Application StorageThis repository has the purpose of abstracting the use of the Application Store of Sauce Labs for real devices tests -https://wiki.saucelabs.com/display/DOCS/Application+StorageUsageInstantiatefromsauce_storage_apiimportSauceStorageApisauce_api=SauceStorageApi(username='<username>',access_key='<access_key>')if you need different endpoint ofhttps://api.us-west-1.saucelabs.com/v1fromsauce_storage_apiimportSauceStorageApisauce_api=SauceStorageApi(username='<username>',access_key='<access_key>',sauce_api_endpoint='<your_sauceserver_endpoint>')Upload your appFor upload your app to application storagesauce_api.upload('<app_path>')If you want to save your app with a different name of your computersauce_api.upload('<app_path>','<remote_name>')#### Get App Id
```
sauce_api.get_file_id()
```Download uploaded appIf you need to download your appsauce_api.download('<file_id>',)Edit uploaded app informationsIf your need to upload some info of your appresponse=api.edit('<file_id>',{'item':{'description':'string'}})#### Response will you get will be something like this
```json
{
   "item":{
      "id": "str",
      "owner":{
         "id": "str",
         "org_id": "str"
      },
      "name": "str",
      "upload_timestamp": "timestamp",
      "etag": "str",
      "kind": "str",
      "group_id": "int",
      "description": "str",
      "metadata":{
         "identifier": "str",
         "name": "str",
         "version": "str",
         "is_test_runner": "bool",
         "icon": "str",
         "version_code": "int",
         "min_sdk": "int",
         "target_sdk": "int"
      },
      "access":{
         "team_ids":[
            "str"
         ],
         "org_ids":[
            "str"
         ]
      }
   },
   "changed": true
}
```
#### Warning !
#### The SauceLabs documentation doesn't explicit the fields you can change, so try your luckDelete AppIf want delete specific fileresponse=api.delete_app(file_id='<file_id>')If want delete specific group of filesresponse=api.delete_app(group_id='<group_id>')FilesIf want to list all your files and propertiesapi.files(q='<query>',kind='<kind>',file_id='<file_id>',team_id='<team_id>',page='<page>',per_page='<per_page>')Groups (App)If want to list all your app's grouped and propertiesapi.files(q='<query>',kind='<kind>',file_id='<file_id>',team_id='<team_id>',page='<page>',per_page='<per_page>')
Package: sauci-pyelf
package descriptionthe purpose of this package is to provide high level API to work
withelffiles.installationusingpipinstall the package by running the following command:pip install sauci-pyelffrom sourcethis package usespyelftoolspackage. if it is not already installed, install it
first. once the above prerequisite is installed:download thepyelfpackageunzip itmove to the directory containing the setup.py filerun the commandpython setup.py installnote:the above command might require privileged access to succeed.example of usagethe bellow code snippet shows how to load an elf file and get some of its properties.frompyelfimportElfFileelf=ElfFile('tests/input.elf')# get a list of all symbols in file tests/input.elf.symbols=elf.symbols()assert'symbol_uint8'insymbols# get an instance of Symbol class for symbol named symbol_uint8.symbol=elf.get_symbol('symbol_uint8')# get address of symbol symbol_uint8.assertisinstance(symbol.address,int)# get size of symbol symbol_uint8.assertsymbol.size==1
Package: saudi-ids-validator
saudi-id-validatorA tiny package that helps you validate Saudi national or iqama ids. Inspired by the original repoSaudi-ID-Validatorso special thanks to them!FeaturesAccepts number or stringAccepts both eastern and western Arabic numbersInstallationTo install the package run:pipinstallsaudi-id-validatorUsageHere's a basic example on how you can use the package:fromsaudi_id_validatorimportis_valid_saudi_idprint(is_valid_saudi_id("1000000008"))# => true if this's your id please don't sue me :)print(is_valid_saudi_id(1000000008))# => trueprint(is_valid_saudi_id("١٠٠٠٠٠٠٠٠٨"))# => trueprint(is_valid_saudi_id("1000000000"))# => falseprint(is_valid_saudi_id("100000000"))# => falseprint(is_valid_saudi_id("not a number"))# => false
Package: saul
saulYou need a license for your project? 'saul good, man!Saul is a license generator based onchoosealicense.com.how to installFrom PyPI:$ pip install saulFrom source:$ python setup.py installhow to useFirst off, you can list the licenses that are available to you:$ saul listOnce you've chosen a license, you can generate it by running:$ saul generate <license>For example, to generate the MIT license you can run:$ saul generate mitBy default, this will trigger an interactive mode where you have to provide data if any
is needed for the license. For MIT for example, you need the year range and the
copyright holders:$ saul generate mit
Year range? (example: 1999-2020)> 2022
Copyright holder(s)? (example: John Doe (doe@foo.com), Jane Doe (doe2@foo.com))> meBy default, your license will be placed in aLICENSEfile at the current directory.
You can change that by providing the path to an output file via the-o/--outputoption. You can also choose to just dump the generated license text in stdout by using
the-n/--no-fileoption.If you know what information is needed by the license, you can also provide it via CLI
options. For example, the one-liner to generate the exact same MIT license as the
previous example is:$ saul generate mit -y 2022 -c me
Package: sauna
Sauna is a lightweight daemon designed to run health checks and send the results to a monitoring
server.Sauna comes batteries included, it is able run many system checks (load, memory, disk…) as well
as monitor applications (redis, memcached, puppet…). It is easily extensible to include your own
checks and can even run the thousands of existing Nagios plugins.InstallationYou can install it with pip:pip install saunaSee thedocumentationfor other
installation methods.DocumentationDocumentation for sauna is available atsauna.readthedocs.io.PluginsPlugins are optional modules that provide a set of checks. You only opt-in for the plugins that
make sense for your setup. Available plugins are:Load averageMemory and swap usageDisk partition usageProcesses and file descriptorsRedisExternal commandPuppet agentPostfixMemcachedHTTP serversConsumersConsumers on the other hand provide a way for checks to be processed by a monitoring server.
Available consumers are:NSCAHTTPTCP serverStdoutContributingSauna is written in Python 3. Adding a check plugin or a consumer should be straightforward. Clone
the repository and install it in development mode in a virtualenv:pip install -e .The code base follows pep8, test the code for compliance with:pep8 sauna testsRun the test suite:nosetestsMore information about how to contribute are available on thedevelopment guide.LicenseBSD
Package: saures-api-client
SAURES API ClientSAURESAPI clientStage: AlphaInstallationFrom this repository (poetryrequired)git clone https://github.com/Yurzs/saures_api_client.gitcd saures_api_clientpoetry install --no-devFrom PyPipip install saures_api_clientUsageYou can use all the api methods like they are named inSAURES API docs:fromsaures_api_clientimportSauresAPIClientasyncdefmain():client=SauresAPIClient("your email","your password")objects=awaitclient.user_objects()...Or you can use more user-friendly wrapper around the client:fromsaures_api_clientimportSauresAPIClientfromsaures_api_clientimporttypesasyncdefmain():user=SauresAPIClient.get_user("your email","your password")locations=awaituser.get_locations()# returns typing.List[types.Location]location=locations[0]location_controllers=awaitlocation.get_controllers()# returns typing.List[types.Controller]# so you can easily propagate deeper in entities without# specifically providing their IDs to the client.
Package: sauron
Sauron is meant to act as an all-seeing eye for pushing data to monitoring. It
works based on extendable “metrics”, which are just python classes that report
back values. For example, it comes with metrics to monitor disk space, mysql
health, pinging servers, etc. These metrics are then pushed to “emitters” which
describe where that data should go. Multiple emitters can be used, and are meant
to be interchangeable.
Package: saurongaze
A demo program of MPIIGaze and MPIIFaceGazeWith this program, you can runs gaze estimation on images and videos.
By default, the video from a webcam is used.(The original video is fromthis public domain.)(The original image is fromthis public domain.)To train a model, usethis repository.Quick startInstallationpipinstallsaurongazeRun demosaurongaze--modeeyeUsageusage: saurongaze [-h] [--config CONFIG] [--mode {eye,face}]
              [--face-detector {dlib,face_alignment_dlib,face_alignement_sfd}]
              [--device {cpu,cuda}] [--image IMAGE] [--video VIDEO]
              [--camera CAMERA] [--output-dir OUTPUT_DIR] [--ext {avi,mp4}]
              [--no-screen] [--debug]

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG       Config file for YACS. When using a config file, all
                        the other commandline arguments are ignored. See https
                        ://github.com/hysts/pytorch_mpiigaze_demo/configs/demo
                        _mpiigaze.yaml
  --mode {eye,face}     With 'eye', MPIIGaze model will be used. With 'face',
                        MPIIFaceGaze model will be used. (default: 'eye')
  --face-detector {dlib,face_alignment_dlib,face_alignement_sfd}
                        The method used to detect faces and find face
                        landmarks (default: 'dlib')
  --device {cpu,cuda}   Device used for model inference.
  --image IMAGE         Path to an input image file.
  --video VIDEO         Path to an input video file.
  --camera CAMERA       Camera calibration file. See https://github.com/hysts/
                        pytorch_mpiigaze_demo/saurongaze/data/calib/sample_params.
                        yaml
  --output-dir OUTPUT_DIR, -o OUTPUT_DIR
                        If specified, the overlaid video will be saved to this
                        directory.
  --ext {avi,mp4}, -e {avi,mp4}
                        Output video file extension.
  --no-screen           If specified, the video is not displayed on screen,
                        and saved to the output directory.
  --debugWhile processing an image or video, press the following keys on the window
to show or hide intermediate results:l: landmarksh: head poset: projected points of 3D face modelb: face bounding boxReferencesZhang, Xucong, Yusuke Sugano, Mario Fritz, and Andreas Bulling. "Appearance-based Gaze Estimation in the Wild." Proc. of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2015.arXiv:1504.02863,Project PageZhang, Xucong, Yusuke Sugano, Mario Fritz, and Andreas Bulling. "It's Written All Over Your Face: Full-Face Appearance-Based Gaze Estimation." Proc. of the IEEE Conference on Computer Vision and Pattern Recognition Workshops(CVPRW), 2017.arXiv:1611.08860,Project PageZhang, Xucong, Yusuke Sugano, Mario Fritz, and Andreas Bulling. "MPIIGaze: Real-World Dataset and Deep Appearance-Based Gaze Estimation." IEEE transactions on pattern analysis and machine intelligence 41 (2017).arXiv:1711.09017
Package: sausage-bot
Sausage Discord BotOverview•Red-DiscordBot•LicenseOverviewThis bot is to service a small community. It has been forked fromRed-DiscordBot.
Please visit their page for more information and installation instructions.Please also consider contributing to the Red Patreon using the badge above.LicenseReleased under theGNU GPL v3license.Sausage is named after the main character (the leek spray) of "Overwatch", a video game byBlizzard.Background of Artwork created bySinlaireon Deviant Art for the Red Discord
Bot Project.
OG artwork of the Leek is created byBlizzard.
Package: sausage-bot-dev
Sausage Discord BotOverview•Red-DiscordBot•LicenseOverviewThis bot is to service a small community. It has been forked fromRed-DiscordBot.
Please visit their page for more information and installation instructions.Please also consider contributing to the Red Patreon using the badge above.LicenseReleased under theGNU GPL v3license.Sausage is named after the main character (the leek spray) of "Overwatch", a video game byBlizzard.Background of Artwork created bySinlaireon Deviant Art for the Red Discord
Bot Project.
OG artwork of the Leek is created byBlizzard.
Package: sausagelink
Aboutsausagelink is like Blockchain, but tastier. The package allows you to maintain aLink(chain) ofSausage(blocks) such that the data contained within eachSausageand the order of theLinkcannot be tampered with.UsagefromsausagelinkimportSausage,Linklink=Link()link.append('Hello, World!')link.append(2019)link.append({'foo':'bar'})print(link)# [⎨0⎬, ⎨1⎬, ⎨2⎬, ⎨3⎬]print([sausage.dataforsausageinlink])# [None, 'Hello, World!', 2019, {'foo': 'bar'}]link.refrigerate('foo.sl')dellinklink=Link('foo.sl')print([sausage.dataforsausageinlink])# [None, 'Hello, World!', 2019, {'foo': 'bar'}]Auditprint(link.rancid())# []sausage=link[2]print(sausage.data)# 2019print(sausage.rancid())# Falsesausage.data=2020print(sausage.rancid())# Trueprint(link.rancid())# ['⎨2⎬']Installpip install sausagelink