Saravanan666/pypi-org huggingface dataset:
Package: scratchsession
scratchsessionThe easy way to set up scratch session objects.scratchsession allows you to set up a scratch HTTP session the right way. With just a single function, you never have to worry about unnecesary parsing times or bad request order. It does not use any RegEx or read HTML—just pure requests!Installing / Usingscratchsession can be installed via PyPI:python -m pip install scratchsessionIt can also just be copy/pasted into your own code. Make sure to copy all of theprepare_sessionfunction and importrequestsif you do this!Examplefromscratchsessionimportprepare_sessionsession=prepare_session("your_username_here","your_password_here")# Print your account navigation info:resp=session.get("https://scratch.mit.edu/fragment/account-nav.json")print(resp.text)Questions? Ask here:Nothing here yet!Still nothing :(
Package: scratchtrend
ScratchTrendScratchTrend retrieves popular works fromhttps://scratch.mit.edu/explore.(This library is not affiliated with the Scratch Foundation.)(日本語版はここからどうぞ。)UsageInstallTerminal$pipinstallscratchtrendImportimportscratchtrendassctfromscratchtrend.selectimportLang,SortRequired Libraries and AppsChrome BrowserSeleniumBeautifulSoupRecommended Librarieschromedriver_binarywebdriver_managerIf one of the above is installed, it will automatically ChromeDriver path through.Setupsct.CHROMEDRIVER_PATH="chromedriver path"If one of the recommended libraries is not included, you can specify it here.
(If they are installed, this will be ignored.)# exampledata=sct.connect(Lang.JAPANESE,Sort.POPULAR)The list of languages that can be specified is in Languages.md.
Specify language and sorting byconnect()method.Sort by:ChooseSortSort.TRENDINGTrendingSort.POPULARPopularSort.RECENTRecentMethod(Still in the process of development, so there are few.)data.get_by_page()# Get by specifying a pagedata.get_by_rank()# Get by specifying a rankTheget_by_page()method gets the works of the page from the start argument to the end argument.Be sure to use start<end.Theget_by_rank()method retrieves the works of rank from the start argument to the end argument.Be sure to use start<end.The term "rank" is a bit misleading. If you have a better way to say it, please contact Issues.Return value# Formatted for ease of viewing.[{'title':'project title','id':"project id"},{'title':'title','id':"ID"}]Thus, it is returned in the dictionary in the list.DEMOOtherLicenseScratchTrend is MIT licensed.CreditsLogo generated byDesignEvo free logo designerSeleniumBeautifulSoupTranslation was done usingDeepL.ContactIf you find a bug, please contactIssueorScratch.
Package: scratch-verify
scratch-verifyVerify the ownership of a Scratch account.Installpipinstallscratch-verifyUsagefromscratch_verifyimportcreate_code,verify_code# The user should go to https://scratch.mit.edu/projects/440710593 and provide `code`code=create_code()# Verify if the user provided itis_verified=verify_code(username,code)APIscratch_verify.create_code()Generate a verification code for the user to provide athttps://scratch.mit.edu/projects/440710593. This is just a convenience method - you can use any numerical code. Returns a 6-digit number.fromscratch_verifyimportcreate_codeprint(create_code())#=> "435543"scratch_verify.verify_code(username, code, completion_timeout?)Verify whether the user is authenticated.usernameType:stringThe username to authenticate.codeType:stringThe code to check for.completion_timeoutType:numberDefault:InfinityThe maximum amount of seconds that can pass since the user provided the code before it is no longer accepted.fromscratch_verifyimportverify_code# If the user has authenticatedprint(verify_code("RichieNB","435543"))#=> TrueRelatedscratch-verify- JavaScript version.
Package: scratch-verify-python
scratch-verifyVerify the ownership of a Scratch account.Installpipinstallscratch-verifyUsagefromscratch_verifyimportcreate_code,verify_code# The user should go to https://scratch.mit.edu/projects/440710593 and provide `code`code=create_code()# Verify if the user provided itis_verified=verify_code(username,code)APIscratch_verify.create_code()Generate a verification code for the user to provide athttps://scratch.mit.edu/projects/440710593. This is just a convenience method - you can use any numerical code. Returns a 6-digit number.fromscratch_verifyimportcreate_codeprint(create_code())#=> "435543"scratch_verify.verify_code(username, code, completion_timeout?)Verify whether the user is authenticated.usernameType:stringThe username to authenticate.codeType:stringThe code to check for.completion_timeoutType:numberDefault:InfinityThe maximum amount of seconds that can pass since the user provided the code before it is no longer accepted.fromscratch_verifyimportverify_code# If the user has authenticatedprint(verify_code("RichieNB","435543"))#=> True
Package: scratch-websocket-api
Scratch Websocket APIOverviewこのライブラリは、Websocketを通じてScratch（またはTurbowarp）に接続し、そのクラウド変数を変更するために作成されました。制作者:yosshi---InstallationPython3が必須となります。Python2は使えないと思います。pipinstallscratch-websocket-apiwebsocket-clientrequestswebsocket-clientとrequestsはこのライブラリで必要なのでインストールしてください。UsageConnectWebsocketを使用してサーバーに接続しますimportscratch_api.scratch_ws_apiasscratch3conn=scratch3.login("USERNAME","PASSWORD").connect(ProjectID,max_connections,isScratch)USERNAME: (string) あなたのユーザー名PASSWORD: (string) あなたのパスワードProjectID: (int) あなたのプロジェクトのID (https://scratch.mit.edu/projects/{projectid}) この部分がプロジェクトIDですmax_connections: (int) 最大同時送信数、この数の分、同時に変数を変更できますisScratch: (boolean or string) TrueならScratch、FalseならTurbowarp、URLを入力すると特定のサーバーに接続できます。Get Cloud Variableconn.get(var_NAME)var_NAME:list取得するクラウド変数の名前（例:["Sample1", "Sample2"]）
戻り値:list取得できなかった場合、Noneが返ります。 （例:[200, None]補足　クラウド変数の取得のみの場合には、最大接続数は0でもOKですSet Cloud Valiableconn.set(var_NAME,var_VALUE)var_NAME:list変更するクラウド変数の名前（例:["Sample1", "Sample2"]）
var_VALUE:list変更する数値 (intまたはstr)（例:["20", 1304]）Sampleimportrandomimportscratch_api.scratch_ws_apiasscratch3conn=scratch3.login("yosshi---","PASSWORD").connect(846708650,2,True)conn.send(["1","2"],[random.randint(1,10),random.randint(1,10)])print(conn.get(["1","2"]))ランダムに変数を変更するだけの単純なプログラムですこちらがそのプロジェクトです
Package: scrawl-engine
scrawlA game engine like Scratch which can run on Node.js Pygame & Kivy介绍Scrawl是一个游戏引擎，允许您使用Scratch的方式编写游戏。（克隆 事件）它支持Pygame Kivy 和 Node.js，这让它能运行在绝大多数平台。它包含大部分所有可能使用的功能（Api 文件读写 等）它支持开发者开发扩展包完全不用担心“While True”的问题，只需要自然的编程就可以示例fromscrawlimportScene,Sprite,GameclassCat(Sprite):def__init__(self):self.image="cat.png"defmain(self):whileTrue:self.move(10)yield1000self.clone()defevent(self):self.say("hello")defclones(self):self.turn_right(10)classBackground(Scene):def__init__(self):self.image="bg.png"defmain(self):whileTrue:yield500self.broadcast("event")classMain(Game):def__init__(self):self.scene=Background()self.sprite=[Cat(),]Main().run(engine="pygame")
Package: scrawler
“scrawler” = “scraper” + “crawler”Provides functionality for the automatic collection of website data
(web scraping) and
following links to map an entire domain
(crawling). It can
handle these tasks individually, or process several websites/domains in
parallel usingasyncioandmultithreading.This project was initially developed while working at theFraunhofer
Institute for Systems and Innovation
Research. Many thanks for the
opportunity and support!InstallationYou can install scrawler from PyPI:pip install scrawlerNoteAlternatively, you can find the.whland.tar.gzfiles on GitHub
for each respectiverelease.Getting StartedCheck out theGetting Started Guide.DocumentationDocumentation is available atRead the Docs.
Package: scrawler-itau
Scrawler Banco ItaúExtrator em Python de dados bancários do Banco Itaú pelo Internet Banking Desktop utilizando Selenium.Instale o módulo utilizando o pip:pip install scrawler-itauNecessário fazer download do geckodriver, conforme seu sistema operacional:https://github.com/mozilla/geckodriver/releasesfromscrawler_itauimportScrawlerItau,ExtratoTipo,CartaoFaturaTipo# definir instancia do scrawlerscrawler=ScrawlerItau(agencia='9999',# número da agênciaconta='999999',# número da conta com o dígito sem hífennome='FULANO',# nome igual exibido no botãosenha='999999'# senha eletrônica de 6 dígitos (não é a senha do cartão))# abrir navegadorscrawler.open('./geckodriver')# utilizar geckodriver baixado anteriormente# saldosaldo=scrawler.get_saldo()print(f'saldo atual ={saldo}\n')# extrato (para mais opções ver ExtratoTipo)extrato=scrawler.get_extrato(tipo=ExtratoTipo.Ultimos3dias)print(f'list de lançamentos dos últimos 3 dias ={extrato}\n')extrato=scrawler.get_extrato(tipo=ExtratoTipo.Ultimos60dias)print(f'list de lançamentos dos últimos 60 dias ={extrato}\n')extrato=scrawler.get_extrato(tipo=ExtratoTipo.MesCompleto,mes=1,ano=2021)print(f'list de lançamentos do mês ={extrato}\n')extrato=scrawler.get_extrato(tipo=ExtratoTipo.Futuro)print(f'list de lançamentos futuros ={extrato}\n')# cartões de créditoscartoes=scrawler.list_cartoes()print(f'list dos cartões de créditos ={cartoes}\n')forcartaoincartoes:fatura=scrawler.get_cartao_fatura(cartao['name'])print(f'dict da fatura atual ={fatura}\n')fatura=scrawler.get_cartao_fatura(cartao['name'],tipo=CartaoFaturaTipo.Anterior)print(f'dict da fatura anterior ={fatura}\n')fatura=scrawler.get_cartao_fatura(cartao['name'],tipo=CartaoFaturaTipo.Proximas)print(f'list das próximas faturas ={fatura}\n')# fechar navegadorscrawler.close()Check on GitHub:https://github.com/mbiemann/scrawler-banco-itau
Package: scrcpy-client
Python Scrcpy ClientThis package allows you to view and control android device in realtime.Note: This gif is compressed and experience lower quality than actual.How to useTo begin with, you need to install this package via pip:pipinstallscrcpy-client[ui]Then, you can startpy-scrcpyto view the demo:Note: you can ignore[ui]if you don't want to view the demo uiDocumentHere is the document GitHub page:DocumentationAlso, you can checkscrcpy_ui/main.pyfor a full functional demo.Contribution & DevelopmentAlready implemented all functions in scrcpy server 1.20.Please check scrcpy server 1.20 source code:LinkReference & AppreciationCore:scrcpyIdea:py-android-viewerCI:index.py
Package: scReadSim
scReadSimA single-cell RNA-seq and ATAC-seq read simulator.Quick InstallInstall scReadSim (most updated version) from Githubpipinstallgit+https://github.com/JSB-UCLA/scReadSim.gitor install from PyPIpipinstallscReadSimAboutSingle-cell sequencing technologies emerged and diversified rapidly in the past few years, along with the successful development of many computational tools. Realistic simulators can help researchers benchmark computational tools. However, few simulators can generate single-cell multi-omics data, and none can generate reads directly. To fill in this gap, we propose scReadSim, a simulator for single-cell multi-omics reads. Trained on real data, scReadSim generates synthetic sequencing reads in BAM or FASTQ formats. We deployed scReadSim on a sci-ATAC-seq dataset and a single-cell multimodal dataset to show the resemblance between synthetic data and real data at the read and count levels. Moreover, we show that scReadSim allows user-specified ground truths of accessible chromatin regions for single-cell chromatin accessibility data generation. In addition, scReadSim is flexible for allowing varying throughputs and library sizes as input parameters to guide experimental design.WebsiteFor tutorials and other details, checkour website.LicenseThis pacakge is licensed under the terms
of theMIT License.
Package: screem
SCREEM by c0mplh4cksPython3 package for creating graphical user interfaces inside a terminalInstallation from PyPiinstall package by using pippip3 install screemorpip install screemInstallation from Githubclone the repositorygit clone https://github.com/c0mplh4cks/screemmove inside the directorycd screeminstall the library by running the following commandpip3 install .Check installationcheck if the library is installed by opening pythonpython3and importing the libraryimport screem
Package: screen19
screen19Screening program for small-molecule single-crystal X-ray diffraction dataInstall as a userTo use screen19, you need to have a Python environment containingDIALS.
Instructions for installing DIALS can be foundhere.
You can then install screen19 with:libtbx.pip install screen19Install as a developerIf you want to develop screen19 then check out a local copy of the repository and install it with:git clone git@github.com:xia2/screen19.git
libtbx.pip install -e screen19You then need to rebuild libtbx to get the screen19 dispatcher.ChangelogScreen19 0.213 (2022-09-29)BugfixesFix a case of screen19 failing when trying to refine the different possible Bravais settings of the found lattice.
This was happening because screen19 was failing to filter out reflections with zero variance in the position of their observed centroids before performing the refinement. (#53)Fix broken help messages forscreen19andscreen19.minimum_exposure. (#58)Deprecations and Removalsscreen19 no longer supports DIALS 2.2 or Python 2.7.  To install screen19, it is recommended that you start byinstalling DIALSversion 3.4 or greater. (#52)Misc#43,#44,#46,#48,#50,#51,#55screen19 0.212 (2020-10-12)Update screen19 to work with upstream API changes inpython-procrunnerversion 2.1.x.Misc#37,#38,#39,#40,#41screen19 0.211 (2020-08-19)MiscThe way that dials.integrate code is called from screen19 has changed to accommodate code changes in DIALS.(#31)screen19 0.210 (2020-06-26)BugfixesAdd missing files to source releasescreen19 0.209 (2020-06-25)BugfixesSome overly verbose log messages from the French-Wilson calculation are now suppressed by default.
You can still see them, if you want to, by running screen19 in debug mode with:screen19 verbosity=1 <other arguments>(#30)screen19 0.208 (2020-06-25)Featuresscreen19 now supports DIALS 3 and DIALS 2.2.DIALS is available here.DIALS 3 is the latest major release and is actively supported.  It is currently Python 3.6 only.DIALS 2.2 is a long-term support release.  It only receives bug fixes and support will be withdrawn at the end of 2020.  It supports Python 2.7 and 3.6.DIALS 1.14 is no longer under active development and screen19 support for it has been withdrawn. (#25)BugfixesPerform French-Wilson scaling on the integrated intensities before performing the Wilson plot analysis.
This fixes screen19 failures for certain cases where the data consist of few reflections. (#29)
Package: screen3
screen3Thin Python wrapper for theSCREEN3point source dispersion modelpdocAPI documentation:https://zmoon.github.io/screen3/screen3.htmlInstallationStable:pip install screen3Latest:pip install git+https://github.com/zmoon/screen3SCREEN3Thescreen3Python installation viapipdoes not include the SCREEN3 model itself.
To download it (into./src/), you can use (within Python):importscreen3screen3.download()or on the command line:python -c "import screen3; screen3.download()"WindowsOn Windows, the above (download only) is sufficient to be able to usescreen3,
since EPA provides an executable compiled for Windows.Non-WindowsOn non-Windows platforms, the SCREEN3 model must be built from source.
Thescreen3.buildfunction, which requirespatchandgfortran, can be used:python -c "import screen3; screen3.build()"or combined with the download:python -c "import screen3; screen3.download(); screen3.build()"ExamplesTo obtain the examples,git clonethe repo, use Code > Download Zip (buttons), or use thisDownGitlink:https://downgit.github.io/#/home?url=https://github.com/zmoon/screen3/tree/main/examples
Package: screenai
Screen AIImplementation of the ScreenAI model from the paper: "A Vision-Language Model for UI and Infographics Understanding". The flow is:
img + text -> patch sizes -> vit -> embed + concat -> attn + ffn -> cross attn + ffn + self attn -> to out.PAPER LINK:Installpip3 install screenaiUsageimporttorchfromscreenai.mainimportScreenAI# Create a tensor for the imageimage=torch.rand(1,3,224,224)# Create a tensor for the texttext=torch.randn(1,1,512)# Create an instance of the ScreenAI model with specified parametersmodel=ScreenAI(patch_size=16,image_size=224,dim=512,depth=6,heads=8,vit_depth=4,multi_modal_encoder_depth=4,llm_decoder_depth=4,mm_encoder_ff_mult=4,)# Perform forward pass of the model with the given text and image tensorsout=model(text,image)# Print the shape of the output tensorprint(out)LicenseMITCitation@misc{baechler2024screenai,title={ScreenAI: A Vision-Language Model for UI and Infographics Understanding},author={Gilles Baechler and Srinivas Sunkara and Maria Wang and Fedir Zubach and Hassan Mansoor and Vincent Etter and Victor Cărbune and Jason Lin and Jindong Chen and Abhanshu Sharma},year={2024},eprint={2402.04615},archivePrefix={arXiv},primaryClass={cs.CV}}TodoImplement the nn.ModuleList([]) in the encoder and decoder
Package: screen-assembly
Screen assembliesPipeline that screens for presence of genes of interest (GOI) in bacterial assemblies. Generates multiple CSVs and plots that describe which genes are present and how variable their sequence is. Can use DNA or protein query sequences (GOIs) and DNA contigs/fastas or protein fastas as database (db) to search in.If you use this script in scientific publications, then please reference Davies et al., 2019., Nature Genetics.,http://dx.doi.org/10.1038/s41588-019-0417-8Getting StartedYou need one fasta file with all GOIs as the query and a folder with db contigs/fastas. Db files can only have one '.' in the name (i.e., sample_1.fa NOT sample.1.fa)PrerequisitesRequiredPython 3Command line blastftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/OptionalClustal Omegahttp://www.clustal.org/omega/IQtreehttp://www.iqtree.org/doc/QuickstartInstallingpip3 install --user screen_assemblyMake sure screen_assembly3.py is in you PATHIf tkinter is missing, do 'sudo apt-get install python3-tk' (on Ubuntu)Check for updatespip3 install --user screen_assemblyRunning the testsOnce screen_assembly3.py is in your PATH type screen_assembly3.py -h . If you have all dependencies then the help menu will display. Otherwise read the erorr and install whichever dependency is missing.Running the programPlease see the WIKIAuthorsLiam McIntyre-https://github.com/shimbalama/LicenseThis project is licensed under the MIT License - see the LICENSEhttps://github.com/shimbalama/screen_assembly/blob/master/LICENSEfile for detailsAcknowledgmentsMark Davies lab and Jake for testing
Package: screenbase
A very simple tool that monitors your desktop for new screenshots, moves them to
yourpublic Keybase filesystem, and copies the
link to your clipboard.Works on macOS and (probably) Linux.DependenciesOn macOS, installterminal-notifierfrom homebrew to have notifications when
complete.InstallationSimply:$pipinstallscreenbaseUsageBy default, screenbase watches your~/Desktopdirectory for files matching a regex
tailored to macOS screenshot filenames (Screen Shot2017-03-09at 5.29.50 PM.png).
This regex is configurable as a string passed with the-mflag. The watch
directory is configurable via the-dflag.Similarly, screenbase uses your current username (via Python’sgetpass.getuser())
as your keybase username by default, which it uses to move files into your kbfs public
folder and generate the URL to it. This can be configured via the-uflag.Screenbase will look for a YAML-formatted config file in~/.config/screenbase(this path configurable with the-cflag). If it
finds it, it will overload the default configs with the values it contains. The
keys should match the long form of the command line flags you can see via--help. Eg:---user:jlindseydirectory:/Users/jlindsey/screenshotsverbose:TrueLicenseCopyright (C) 2017 Joshua Lindsey <joshua.s.lindsey@gmail.com>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses>.
Package: screen-brightness-control
screen_brightness_controlA Python tool for controlling the brightness of your monitor. Supports Windows and most flavours of Linux.InstallationPip:pip install screen-brightness-controlGitHub:git clone https://github.com/Crozzers/screen_brightness_control
cd screen_brightness_control
pip install .Linux:Installing on Linux usually requires some extra work after installing the module.
Please see theinstalling on Linuxdocumentation for more details.UsageAPIimportscreen_brightness_controlassbc# get the brightnessbrightness=sbc.get_brightness()# get the brightness for the primary monitorprimary=sbc.get_brightness(display=0)# set the brightness to 100%sbc.set_brightness(100)# set the brightness to 100% for the primary monitorsbc.get_brightness(100,display=0)# show the current brightness for each detected monitorformonitorinsbc.list_monitors():print(monitor,':',sbc.get_brightness(display=monitor),'%')Check out thequick start guidefor more details on each of these functions.Full documentation for the project is also availablehere.Command Linepython -m screen_brightness_control --help
> usage: screen_brightness_control [-h] [-d DISPLAY] [-s VALUE] [-g] [-f VALUE] [-v]
>
> optional arguments:
>   -h, --help                         show this help message and exit
>   -d DISPLAY, --display DISPLAY      the display to be used
>   -s VALUE, --set VALUE              set the brightness to this value
>   -g, --get                          get the current screen brightness
>   -f VALUE, --fade VALUE             fade the brightness to this value
>   -m METHOD, --method METHOD         specify which method to use
>   -l, --list                         list all monitors
>   -v, --verbose                      some messages will be more detailed
>   -V, --version                      print the current versionContributingContributions are welcome. Issues, ideas and pull requests are all appreciated. For more informationsee hereSee AlsoAPI DocumentationFAQQuick Start GuideGitHub pagePyPI page
Package: screenconnect
# python-screenconnect An unofficial Python wrapper around the ScreenConnect APICurrently undergoing initial development## IntroductionThis library provides a pure Python interface for the ScreenConnect API. Note
that it’s undergoing initial development.## RequirementsPython 3.5+ and dependencies listed onrequirements.txtAn installed and publicly-accessible
[ScreenConnect](https://www.screenconnect.com/) server## InstallationYou can install latest release from PyPI by running:`shell pip install screenconnect `Or if you prefer to install from source, clone this repository and run:`shell pip install . `## Getting Started`python >>> import screenconnect >>> sc =screenconnect.ScreenConnect('https://examplesite.screenconnect.com',auth=('user','pass'))>>> sc.server_version '6.2.12646.6275' >>> sc.get_eligible_hosts() ['Cloud Account Administrator', 'Tech 1', 'Tech 2'] `## Running TestsComing soon
Package: screenctl
screenctlA tool for batch management of Linux Screen.Introductionscreenctlis a tool that can create, delete, stat screens in batch through a specified json configuration. A web-based admin page is in planning.Installation# BE SURE YOU HAVE INSTALLED 'SCREEN'# plan to release on pypi thus you can install it via pippipinstallscreenctl# to be doneUsage$pythonscreenctl.py-h
usage:screenctl.py[-h][-cCONF][-v]action

Controllerforscreen

positionalarguments:actioncreate,delete,stat,server

optionalarguments:-h,--helpshowthishelpmessageandexit-cCONF,--confCONFpathtoconfiguration-v,--verboseshowverboseoutputChangelog & Todov0.0.1: 2022-11-28 01:50support basiccreate,deleteandstat.v0.0.2: 2023-01-26 21:20update README and release onpypi.v0.0.3: 2023-01-26 21:55fix a tiny bug and release.v0.0.4: 2023-01-26 22:05update README page. (it requires anothor version even for such a readme-update ...)v0.0.5: 2023-02-21 20:25fix issue#1and try to fix#2(not verified)v0.0.6: 2023-02-21 21:15fix a typo bug in line 68 in screenctl.pyOpen-SourceWelcome stars and contributions!