Saravanan666/pypi-org huggingface dataset:
Package: s2c
S2CA secret video chat "in terminal" using PGP encryptions and AES encryptions.
No Browser needed !FeaturesVideo + Audio Chat in terminalRequirementsPython (3.x is recommended)Pip3PyAudioHow to useInstallationInstall bindings librairies for pyaudio !On linux/Mac :sudo apt install -y portaudio19-devandsudo apt install -y pyaudioBecause it's a pip package, you need to install it using pypi !pipinstalls2cManualClientThe manual of s2c :usage:s2c[-h][-sSESSION_ID][-cCLIENT_ID][-kKEY][-iIP][-pPORT]optionalarguments:-h,--helpshowthishelpmessageandexit-sSESSION_ID,--session_idSESSION_IDThesesion_id,ifnotingisprovide,itwillgenerateforyou-cCLIENT_ID,--client_idCLIENT_IDYouridornameinthesession,ifnotingisprovide,itwillgenerateforyou-kKEY,--keyKEYToprovidethecustomkeyfortheAESencryption-iIP,--ipIPThehostoftheserverwherewebsocketswilltransits-pPORT,--portPORTTheportofthehostFor example :$s2c -s 1 -c 1 -i 127.0.0.1 -p 1122Will connect you to the server '127.0.0.1:1122' in the session '1', your id is '1' !ServerNB : At this step, the server should be running on ip : 127.0.0.1 and on port 1122, don't forget to allow the port using ufw (on linux)To run the server :s2c_server -p 1122From sourcesHow to installInstall bindings librairies for pyaudio !On linux/Mac :sudo apt install -y portaudio19-devandsudo apt install -y pyaudioClone and set the virtualenvironment :# We clone the repositorygitclonehttps://github.com/sanix-darker/s2c# We Set the virtualenvvirtualenv-ppython3venvsourcevenv/bin/activate# We install requirementspipinstall-rrequirementsHow to launchThe serverThe server take only one parameter, the port, where it's going to run !python3-mserver.main-h

usage:main.py[-h][-pPORT]optionalarguments:-h,--helpshowthishelpmessageandexit-pPORT,--portPORTTheportwheretheserverwillberunningThe ClientJust as the section Manual under How to use, you just have to replaces2cbypython3 -m app.mainAboutd4rk3r
Package: s2cache
* Unofficial Semantic Scholar ClientPython Semantic Scholar https://www.semanticscholar.org/product/api clientwith a local cache.** Features- Async requests- Local JSON files based storage to avoid redundant requests- Can fetch citations > 10000 (Semantic Scholar API limit) when the fullparsed citation graph is on disk.- Filter the data based on certain predicates like+ Year+ Author+ Title+ Venue+ CitationCount- Local cache of dumped Semantic Scholar Citation Data, for fetchingcitations with papers > 10000.** Installation~pip install s2cache~** UsageThe package is a library for your Bibliography metadata managment needs.The intended use is applications which use Semantic Scholar data forgenerating bibliography management, visualizing citation graphs etc.It can fetch citations and references from Semantic Scholar APIhttps://www.semanticscholar.org/product/api and store in a local cacheto avoid redundant requests to the service as the citation data fetchescan be network intensive.There is also a filters module also which can be combined to filter the data*More to Follow*** LicenseMIT LicenseSee Semantic Scholar License page https://www.semanticscholar.org/product/api/licenseto view the API License.
Package: s2cholar
s2cholarClient for the new Semantic Scholar API.We used theSwagger Codegenproject to generate the initial version of this package, which was then
modified by the contributors.Details of the Swagger Codegen used:API version: 1.0Package version: 0.1.0Build package: io.swagger.codegen.languages.PythonClientCodegenAnnouncementThis project isactiveandunder development. Everyone is more than
welcome to help and contribute.Requirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/luizvbo/s2cholar.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/luizvbo/s2cholar.git)Then import the package:imports2cholarSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:imports2cholarGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimports2cholarfroms2cholar.restimportApiExceptionfrompprintimportpprint# create an instance of the API classapi_instance=s2cholar.AuthorApi(s2cholar.ApiClient(configuration))author_id='145872832'# strtry:# Details about an authorapi_response=api_instance.get_graph_get_author(author_id)pprint(api_response)exceptApiExceptionase:print("Exception when calling AuthorApi->get_graph_get_author:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.semanticscholar.org/graph/v1ClassMethodHTTP requestDescriptionAuthorApiget_graph_get_authorGET/author/{author_id}Details about an authorAuthorApiget_graph_get_author_papersGET/author/{author_id}/papersDetails about an author's papersPaperApiget_paperGET/paper/{paper_id}Details about a paperPaperApiget_paper_authorsGET/paper/{paper_id}/authorsDetails about a paper's authorsPaperApiget_paper_citationsGET/paper/{paper_id}/citationsDetails about a paper's citationsPaperApiget_paper_referencesGET/paper/{paper_id}/referencesDetails about a paper's referencesPaperApiget_paper_searchGET/paper/searchSearch for papers by keywordDocumentation For ModelsAuthorAuthorBatchAuthorInfoAuthorWithPapersBasePaperCitationCitationBatchCitationCitingPaperEmbeddingError400Error404FullPaperPaperBatchPaperInfoPaperSearchBatchPaperWithLinksReferenceReferenceBatchReferenceCitedPaperDocumentation For AuthorizationAll endpoints do not require authorization.AuthorLuiz Otavio Vilas Boas OliveiraContributionContributions are more than welcome to this package.Commit MessagesIn order to keep our git log clean, use the tags below in your commit messages
(adapted from thenumpy workflow):API: an (incompatible) API changeBUG: bug fixCICD: changes to the CI/CDDEP: deprecate something, or remove a deprecated objectDOC: documentationENH: enhancementMAINT: maintenance commit (refactoring, typos, etc.)REV: revert an earlier commitSTY: style fix (whitespace, PEP8)TST: addition or modification of tests
Package: s2cloudless
Sentinel Hub's cloud detector for Sentinel-2 imageryNOTE: s2cloudless masks are now available as a precomputed layer within Sentinel Hub. Check theannouncement blog postandtechnical documentation.Thes2cloudlessPython package provides automated cloud detection in
Sentinel-2 imagery. The classification is based on asingle-scene pixel-based cloud detectordeveloped by Sentinel Hub's research team and is described in more detailin this blog.Thes2cloudlessalgorithm was part of an international collaborative effort aimed at intercomparing cloud detection algorithms. The s2cloudless algorithm was validated together with 9 other algorithms on 4 different test datasets and in all cases found to be on the Pareto front. Seethe paperInstallationThe package requires a Python version >= 3.8. The package is available on
the PyPI package manager and can be installed with$ pip install s2cloudlessTo install the package manually, clone the repository and$ pip install .One ofs2cloudlessdependencies islightgbmpackage. If having problems during installation, please
check theLightGBM installation guide.Before installings2cloudlessonWindows, it is recommended to install packageshapelyfromUnofficial Windows wheels repositoryInput: Sentinel-2 scenesThe inputs to the cloud detector are Sentinel-2 images. In particular, the cloud detector requires the following 10 Sentinel-2 band reflectances: B01, B02, B04, B05, B08, B8A, B09, B10, B11, B12, which are obtained from raw reflectance values in the following way:B_i/10000. From product baseline04.00onward additional harmonization factors have to be applied to data according toinstructions from ESA.You don't need to worry about any of this, if you are using Sentinel-2 data obtained fromSentinel Hub Process API. By default, the data is already harmonized according todocumentation. The API is supported in Python withsentinelhub-pypackage and used withins2cloudless.CloudMaskRequestclass.ExamplesA Jupyter notebook on how to use the cloud detector to produce cloud mask or cloud probability map
can be found in theexamples folder.LicenseThis work is licensed under aCreative Commons Attribution-ShareAlike 4.0 International License.
Package: s2d2s
OverviewPixelShuffle/PixelUnshufflein PyTorch anddepth_to_space/space_to_depthin TensorFlow are very similar, but they are not numerically identical unless the upsampled image contains a single channel. This can be easyly verified by hand: while the tensor dimensions match between the PyTorch and TensorFlow worlds, the output channels do not follow the same order.However, in some deployment setups, there might be performance benefits to using the space-to-depth/depth-to-space variant. For example, at the moment of writing,Android NN APIonly supports depth-to-space and space-to-depth.This repository provides a unit-tested space-to-depth/depth-to-space implementation for PyTorch, supporting conversion toSpaceToDepth/DepthToSpaceONNX ops when exporting the model as an ONNX graph for further deployment.The provided implementation follows channels-first PyTorch standard, allowing for arbitrary number of outer dimensions, i.e. it supports tensors of[..., C, H, W]layouts.Installationpython3 -m pip install s2d2sUsageBoth functional implementations andnn.Modules are available and can be used as follows:from s2d2s import space_to_depth, depth_to_space

y = space_to_depth(x, 2)from s2d2s import SpaceToDepth, DepthToSpace

module = SpaceToDepth(2)
y = module(x)
Package: s2-data
s2-dataRepository for documenting and interacting with various formats for Spelunky 2.Currently we have documents for the following:Save FormatLeaderboards Formatas well as libraries for asset extraction and repacking.Installationpip install --upgrade s2-dataDevelopmentIf you'd like to contribute tos2-datahere are some steps to setup your environment.VirtualEnvWhile not required, a virtualenv is a nice way to keep this projects dependencies isolated from the rest of your system. This step is optional but recommendedIn the root directory you can make a virtualenv. It will be excluded from commits by defaultpython -m venv venvWhenever developing the project you'll want to activate the virtualenv in your terminal. This is platform dependent and there are more comprehensive docs available here:https://docs.python.org/3/library/venv.htmlSetupOnce you have your virtual environment setup and activated you'll want to finish setting up the development environment.> python setup.py developThis will install any dependencies as well as setting up links on your path to your local source files. Once this is done
you'll be able to execute the binaries right from your path after any changes to the source without the need to build or
install anything. If you add new source files you may have to runpython setup.py developagain to make sure they're linked.
Package: s2dl
S2DL - Sentinel 2 DownloaderS2DL is a Python library for downloading Sentinel-2 L1C and L2A satellite imagery data.FeaturesDownload Sentinel-2 product data using product IDsInstallationYou can install the S2DL library via pip:pipinstalls2dlUsageHere's a simple usage example:froms2dlimportfetch_single_sentinel_productfrompathlibimportPathproduct_id="S2A_MSIL2A_20220111T021351_N0301_R060_T50HLK_20220111T041611"target_directory=Path("./data")target_directory.mkdir(exist_ok=True)# Fetch and save a single Sentinel-2 product's datascene_dir=fetch_single_sentinel_product(product_id,target_directory)For downloading multiple products:froms2dlimportfetch_multiple_sentinel_productsfrompathlibimportPathproduct_ids=["S2A_MSIL2A_20220111T021351_N0301_R060_T50HLK_20220111T041611","S2A_MSIL1C_20230712T032521_N0509_R018_T52WFD_20230712T051642",]target_directory=Path("./data")target_directory.mkdir(exist_ok=True)# Fetch and save multiple Sentinel-2 products' datascene_dirs=fetch_multiple_sentinel_products(product_ids,target_directory)ContributionsWe welcome contributions from the community. Please submit a pull request with your improvements or bug fixes.LicenseS2DL is licensed under the MIT License.
Package: s2fft
Differentiable and accelerated spherical transforms with JAXS2FFTis a JAX package for computing Fourier transforms on the sphere
and rotation group. It leverages autodiff to provide differentiable
transforms, which are also deployable on hardware accelerators
(e.g. GPUs and TPUs).More specifically,S2FFTprovides support for spin spherical harmonic
and Wigner transforms (for both real and complex signals), with support
for adjoint transformations where needed, and comes with different
optimisations (precompute or not) that one may select depending on
available resources and desired angular resolution $L$.DocumentationRead the full documentationhere.AttributionShould this code be used in any way, we kindly request that the following article is
referenced. A BibTeX entry for this reference may look like:@article{price:s2fft,
    author      = "Matthew A. Price and Jason D. McEwen",
    title       = "Differentiable and accelerated spherical harmonic and Wigner transforms",
    journal     = "Journal of Computational Physics",
    year        = "2023",
    eprint      = "arXiv:2311.14670"
}You might also like to consider citing our related papers on which this
code builds:@article{mcewen:fssht,
    author      = "Jason D. McEwen and Yves Wiaux",
    title       = "A novel sampling theorem on the sphere",
    journal     = "IEEE Trans. Sig. Proc.",
    year        = "2011",
    volume      = "59",
    number      = "12",
    pages       = "5876--5887",
    eprint      = "arXiv:1110.6298",
    doi         = "10.1109/TSP.2011.2166394"
}@article{mcewen:so3,
    author      = "Jason D. McEwen and Martin B{\"u}ttner and Boris ~Leistedt and Hiranya V. Peiris and Yves Wiaux",
    title       = "A novel sampling theorem on the rotation group",
    journal     = "IEEE Sig. Proc. Let.",
    year        = "2015",
    volume      = "22",
    number      = "12",
    pages       = "2425--2429",
    eprint      = "arXiv:1508.03101",
    doi         = "10.1109/LSP.2015.2490676"
}LicenseWe provide this code under an MIT open-source licence with the hope that
it will be of use to a wider community.Copyright 2023 Matthew Price, Jason McEwen and contributors.S2FFTis free software made available under the MIT License. For
details see the LICENSE file.
Package: s2h-api
ENSimple API for stand2hacks
Methods:
    account:
        Returns json containing all information about account
    getKeys:
        Returns json containing all keys on account
    keyInfo:
        Returns json containing information about specified key
    unlinkKey:
        Unlinks key from all devices. 1 key can be unlincked every 40 minutes.RUПростое API для stand2hacks
Методы:
    account:
        Возвращает json содержащий всю информацию об аккаунте
    getKeys:
        Возвращает json содержащий все ключи на аккаунте
    keyInfo:
        Возвращает json содержащий всю информацию об определённом ключе
    unlinkKey:
        Отвязывает определенный ключ. 1 ключ можно отвязать раз в 40 минут.
Package: s2i2a
litreviewMaps a parameter sweep to an int and then back again.Installpip3 install s2i2aUsages2i2a <direction> <command> <sweep arguments>The goal is to support all the sweep syntax used byhydra'sdefault sweeper.But for now,s2i2ajust supports sweeps of the shapearg=val1,val2,val3,....A help message is also provideds2i2a --helpSample usageCalls2i2a s2iwith all the shell arguments necessary to run your script, plus your script's arguments, plus your sweeps.s2i2a s2i python3 train.py \
'non-sweep argument' another_non-sweep_arg \
arg1=val1,val2 arg2=val3,val4,val5This generates as2i.txtfile in your local directory containingarg1=val1 arg2=val3
arg1=val1 arg2=val4
arg1=val1 arg2=val5
arg1=val2 arg2=val3
arg1=val2 arg2=val4
arg1=val2 arg2=val5
python3 train.py 'non-sweep argument' another_non-sweep_argYou then build a Docker/Singularity image containing said file, and you
install s2i2a inside that image.Then you can call at the end of a.shfile (say, an SBATCH script containing$SLURM_ARRAY_TASK_ID):s2i2a i2a 3This callsexecvp, and replacess2i2a's process bypython3 train.py 'non-sweep argument' another_non-sweep_arg arg1=val2 arg2=val3Quick debuggingYou probably don't want to mess up your sweepsafteruploading to the cluster.
Instead, you can invoketest_s2i2a.py. This will run a dummyexecvpinvokation and will print
what arguments got passed to the script.Be aware that it will rewrite the path of the script to point to s2i2a's installation folder.
Package: s2k
s2k===============================version number: 1.0author: Haden PikeOverview--------Send files to your Kindle email.Installation------------To install use pip:$ pip install s2kOr clone the repo:$ git clone https://github.com/hadenpike/s2k.git$ python setup.py installUsage-----$ s2k -husage: s2k [-h] [-cf CONFIGFILE] [-c] f [f ...]Send files to your Kindle emailpositional arguments:f                     Files to send to Kindle.optional arguments:-h, --help            show this help message and exit-cf CONFIGFILE, --configfile CONFIGFILELocation of configuration file.-c, --convert         Request the Kindle service to convert files tointernal format.Configuration-------------First, follow the instructions [here](https://www.amazon.com/gp/help/customer/display.html?nodeId=201974220) to view your Send to Kindle email address. The default location of the configuration file is ~/.s2krc. Create it if it does not exist. The configuration file is written in the standard INI format, and supports the following values. Any key without a default value is required.| Option | Type | Description | Default || ----- | ---- | ----------- | ------- || from | string | The email address to send from | The $EMAIL environment variable || to | string | Your Kindle Email address | || server | string | The address of the SMTP server | || port | integer | The port the SMTP server is listening on | 587 || username | string | The username to log into the SMTP server | || password | string | The password to log into the SMTP server | |
Package: s2kindle
send-to-kindleA teeny tiny app that you can use to send stuff to your kindle.Installationpipinstalls2kindleRequirementsRequires theKindleGenapp. Download it and extract it.UsageAs simple as executing the s2k command with the url that you want to send:s2khttps://medium.com/@antonio.feregrino/lorem-ipsum-cb19745555eaYou can specify the configuration file outlined below via the--configargument.ConfigurationThis app requires a configuration file like the following:[mail_account]
from = send_to_kindle_01@disposable.com
password = 07JL68r6thb3
to = antonio.feregrino_0@kindle.com

[mail_server]
host = smtp.mail.com
port = 587

[kindlegen]
path = /Users/user/kindlegenThefromkey must be the email that will be used to send the email to your kindle, in the same sensepasswordis the password of such account. Thetokey is the email of your kindle device.Bothhostandportare used to authenticate against the email server that is in charge of sending the emails.Thekindlegenis a path to where thekindlegenapp has been extracted.Supported websitesMediumdev.to
Package: s2l2cardgames
S2L2 Card Games LibraryA simple Python library to play various card games, including High-Low, and Blackjack.InstallationInstall the package using pip:pip install s2l2cardgamesUsageHigh-Lowfroms2l2cardgames.high_lowimportHighLowgame=HighLow()game.start_game()# Draw cards, compare cards, etc.Blackjackfroms2l2cardgames.blackjackimportBlackjackgame=Blackjack()game.start_game()# Add players, deal cards, hit, stand, etc.LicenseThis project is licensed under the MIT License - see the LICENSE file for details.
Package: s2m
s2m is a Python program that acts as a bridge between the Scratch 2 off-line editorand the micro:bit computer. It allows you to easily create Scratch programs that interact with the micro:bit.MAJOR FEATURES:s2m is compatible with both Python 2 and Python 3.It runs on Windows, Mac, Raspberry Pi and Linux.It is easy to install.It is easy to use.It is a whole lot of fun!Scratch blocks are provided for the following languages:English (default)Brazilian-PortugueseHebrewJapaneseKoreanSpanishTraditional Chinese (Taiwanese)
Package: s2opy
API AssistantThe API assistant is aChatGPT assistanton top of an OpenAI IDL json file.
The CLI will based on prompts find the correct request and send it with the provided arguments.You can run the CLI from your terminal withapi-chat--idl=<OPENAI_IDL_PATH>InstallationThe tool is available atpypiand can be installed using pippipinstallapi-assistantExtra - convert a swagger to OpenAI IDLIf you have generated a swagger (OpenAPI) for you API then you can use the s2o (swagger to openai) tool to convert it to a OpenAI IDL format. The tool can be installed with the cargo CLI that follows therustinstallation.If you have cargo installed then you can install it withcargoinstalls2oIn order to interact with the cli there are some environment variables that needs to be present.Environment variables - REQUIREDOPENAI_API_KEY: An OpenAI api keyHOST: The host of the API that you wish to query. Ex:http://localhost:8000ASSISTANT_INSTRUCTIONS: A description (prompt) to the assistant of its purpose. Ex: For a payments api a typical instruction could be "ou are a wrapper around a payments api. Use the provided endpoints to answer user questions. Sometimes functions has to be combined to achieve the intended result."CLI ArgumentsThere is only one argument to the CLI itselfidl: The path to the OpenAI IDL json. Ex:api-chat --idl=./idls/openai.idl.
Package: s2-py
# s2-pyA setuptools wrapper around the [s2geometry library](https://github.com/google/s2geometry).### Requirements
The libs from s2geometry are still required. See [here](https://github.com/google/s2geometry/master/README.md)Note that currently it seems that the Google test framework is [mistakenly not optional](https://github.com/google/s2geometry/issues/67).### Notes
All credit goes to Google; this is just a wrapper around their lib.
Package: s2-python
This Python package implements the message validation for the EN50491-12-2 “S2” standard for home and building energy management. This implementation
is based on the asyncapi description of the protocol provided in thes2-ws-jsonrepository.Currently, the package supports thecommonandFILL RATE BASED CONTROLtypes and messages.To InstallYou can install this package using pip or any Python dependency manager that collects the packages from Pypi:pipinstalls2-pythonThe packages on Pypi may be foundhereExamplefroms2python.commonimportPowerRange,CommodityQuantity# create s2 messages as Python objectsnumber_range=PowerRange(start_of_range=4.0,end_of_range=5.0,commodity_quantity=CommodityQuantity.ELECTRIC_POWER_L1,)# serialize s2 messagesnumber_range.to_json()# deserialize s2 messagesjson_str='{"start_of_range": 4.0, "end_of_range": 5.0, "commodity_quantity": "ELECTRIC.POWER.L1"}'PowerRange.from_json(json_str)DevelopmentFor development, you can install the required dependencies using the following command:pip install -e .[testing,development]The tests can be run using tox:toxTo build the package, you can use tox as well:tox -e build,clean
Package: s2scm
Compile Scheme source code toMIT Scratchprojects.s2scm useskurtby blob8108.Statuss2scm is currently only able to compile very simple Scheme programs.s2scm aims for R5RS compliance.Installationpip install s2scmIfpipis for Python 3, you’ll then need to usepip2instead.Usagepython -m s2scm infile.scm outfile.sb2Ifpythonis Python 3, you’ll then need to usepython2instead.ManualThe GNU Texinfo manual source is stored indoc/s2scm.texi.You can read it online here:http://pythonhosted.org/s2scm/