Saravanan666/pypi-org huggingface dataset:
Package: screenpy-pyotp
ScreenPyTITLE CARD:
                                "ScreenPy PyOTP"
TITLE DISAPPEARS.
                                                                      FADE IN:
EXT. DOCUMENTATION - MIDNIGHT

AUDIENCE continues walking, guided by the mysterious voice of the NARRATOR.
AUDIENCE winds through a garden of large hedges, twisting past brambles,
until they arrive at a single large, glowing lock upon a pedestal.


                              NARRATOR (V.O.)
            ... and you have arrived at ScreenPy PyOTP, an
            extension which enables using One Time Passwords.

                              AUDIENCE
            Wait, how long has it been since I met you? How is this
            pedestal glowing like that? And what, there's only one
            tchotchke this time?

                              NARRATOR (V.O.)
            Extensions do not need to be all that large to enable
            great things. This library provides only the Ability
            an Actor needs for two-factor authentication.

                              AUDIENCE
            You always seem to ignore the questions I most want the
            answers to.

                              NARRATOR (V.O.)
            Continuing along, to your left...

                                                                      FADE OUTInstallationpip install screenpy_pyotporpip install screenpy[pyotp]DocumentationPlease check out theRead The Docs documentationfor the latest information about this module!You can also read theScreenPy Docsfor more information about ScreenPy in general.ContributingYou want to contribute? Great! Here are the things you should do before submitting your PR:Installpre-commitrunpre-commit installonce.runtoxto perform tests frequently.That's it! :)
Package: screenpy-requests
ScreenPy RequestsTITLE CARD:
                               "ScreenPy Requests"
TITLE DISAPPEARS.
                                                                      FADE IN:
INT. DOCUMENTATION - MIDDAY

AUDIENCE enters from a hidden door built into a bookcase, blinking their eyes
as they adjust to the relative darkness. Dimly lit shelves hold gizmos and
gadgets which give off a secretive air. NARRATOR continues.

                              NARRATOR (V.O.)
            ... these gathered curios enable your ScreenPy
            Actors to make API requests using the Requests
            library.

                              AUDIENCE
            These things look like they weren't meant to be seen.
            Will it be OK to expose them like this?

                              NARRATOR (V.O.)
            You could consider the "front end" to be an End User,
            of sorts. Then your Actors are simply a stand-in for
            your front end application.

                              AUDIENCE
            In that case, anything could be an End User, if I
            need them to be.

                              NARRATOR (V.O.)
            Now you're getting it. Come this way, there are more...

                                                                      FADE OUTInstallationpip install screenpy_requestsorpip install screenpy[requests]DocumentationPlease check out theRead The Docs documentationfor the latest information about this module!You can also read theScreenPy Docsfor more information about ScreenPy in general.ContributingYou want to contribute? Great! Here are the things you should do before submitting your PR:Installpre-commitrunpre-commit installonce.runtoxto perform tests frequently.That's it! :)
Package: screenpy-selenium
ScreenPy SeleniumTITLE CARD:
                               "ScreenPy Selenium"
TITLE DISAPPEARS.
                                                                      FADE IN:
EXT. DOCUMENTATION - AFTERNOON, CLOUDY

AUDIENCE appears through a wrought-iron gate, looking around. NARRATOR's
muffled voice can be heard growing louder as AUDIENCE approaches center.
Inside is a menagerie of loud, exotic-looking birds and animals. NARRATOR
speaks louder to be heard over the din.

                              NARRATOR (V.O.)
            You've wandered into ScreenPy Selenium. It allows
            Actors to test web applications using Selenium.

                              AUDIENCE
                              (shouting)
            What?? I can barely hear you!! Speak up! Why are there
            so many??

                              NARRATOR (V.O.)
            Selenium was the first extension for ScreenPy, so it is
            the most mature, and the largest.

                              AUDIENCE
                              (shouting, louder)
            I still can't hear you!! I'm going to find somewhere
            quieter!

                              NARRATOR (V.O.)
            Lead the way...

                                                                      FADE OUTInstallationpip install screenpy_seleniumorpip install screenpy[selenium]DocumentationPlease check out theRead The Docs documentationfor the latest information about this module!You can also read theScreenPy Docsfor more information about ScreenPy in general.ContributingYou want to contribute? Great! Here are the things you should do before submitting your PR:Fork the repo and git clone your fork.devinstall the project package:pip install -e .[dev]Optional (poetry users):poetry install --extras devRunpre-commit installonce.Runtoxto perform tests frequently.Create pull-request from your branch.That's it! :)
Package: screenrecord
SCREENRECORDRecord screen with python.C:\Users\singhs>recordusage.gif--bbox10101000450-d0.1UsageCommand line argumentsusage:record[-h][-iINITDELAY][-dDELAY][-durDURATION][--bboxBBOX[BBOX...]][-f]filenameScreenRecordingwithpythonpositionalarguments:filenamefilenamecanbemp4orgiformovoptionalarguments:-h,--helpshowthishelpmessageandexit-iINITDELAY,--initdelayINITDELAYInitialdelayinseconds,default5s-dDELAY,--delayDELAYDelaybetweenframesinseconds,default0.5s-durDURATION,--durationDURATIONDurationofcapture--bboxBBOX[BBOX...]Boundingbox,default(0,0,800,400)-f,--fullscreenInstallpipinstallscreenrecordorgitclonethis_repocdto/the/repopipinstall-e.
Package: screen-recorder
Screen RecorderRecord the screen of your Android or iOS devices and simulators, and convert them to GIFs with a single command.RequirementsScreen Recorder requires Python 3 or later.InstallationInstall Screen Recorder via PyPI:pipinstallscreen-recorderUsageAfter installation, run the following commands to record a screen:# To record an Android device or emulator>>screen-recorderandroid# To record an iOS device or simulator>>screen-recorderiosThat’s it—enjoy!
Package: screen-recorder-python
screen_recoderThis is a simple python package for recording your screen on WINDOWS 64 bitNOTE :- don't install it in other OSImportant NoteThis module requires stereo mix, enable it before using this module,
if you dont have stereo mix you can download it fromhereKey featuressimpleFastefficientInstallingpip install screen_recorderORgit clone https://github.com/Pranav433/screen_recorder
cd screen_recorder
pip install .Dependenciescffi==1.14.5future==0.18.2MouseInfo==0.1.3numpy==1.20.1opencv-python==4.5.1.48Pillow==8.1.2PyAutoGUI==0.9.52pycparser==2.20PyGetWindow==0.0.9PyMsgBox==1.0.9pyperclip==1.8.2PyRect==0.1.4PyScreeze==0.1.26PyTweening==1.0.3sounddevice==0.4.1SoundFile==0.10.3.post1Exampleyou have to usethreadingfor this module to workfromthreadingimportThreadfromscreen_recorderimportRecorderimporttimerec=Recorder()defrecord():rec.record_screen()# This will start the recordingprint(rec.get_screenshot())defstop():# This will stop the recording after 30 seconds considering it takes 0 seconds inside the loopi=0whileTrue:time.sleep(1)ifi==30:rec.stop()rec.save("recording.mp4")breaki+=1record_thread=Thread(target=record)stop_thread=Thread(target=stop)record_thread.start()stop_thread.start()Linksgithubpackage
Package: screen-recorder-sdk
Screen Recorder SDKLibrary to take screenshots and record videosI useDesktop Duplication APIto capture desktop andMedia Foundation APIto record video.For screenshots it cuts process window from desktop while for videos it captures full display without cutting for better performanceSystem RequirementsWindows >= 10, it may work on Windows 8.1 and Windows Server 2012, but we don't ensure itDirectX, you can install it fromMicrosoft WebsiteMedia Feature Pack, download ithere64 bits Java or Python, we don't provide x86 libsInstallationFirst option is:git clone https://github.com/Andrey1994/screen_recorder_sdk
cd screen_recorder_sdk
cd python
pip install .ALso you can install it from PYPI:pip install screen_recorder_sdkSimple Sampleimport sys
import time
import numpy

from screen_recorder_sdk import screen_recorder


def main ():
    screen_recorder.enable_dev_log ()
    pid = int (sys.argv[1]) # pid == 0 means capture full screen
    screen_recorder.init_resources (pid)

    screen_recorder.get_screenshot (5).save ('test_before.png')

    screen_recorder.start_video_recording ('video1.mp4', 30, 8000000, True)
    time.sleep (5)
    screen_recorder.get_screenshot (5).save ('test_during_video.png')
    time.sleep (5)
    screen_recorder.stop_video_recording ()

    screen_recorder.start_video_recording ('video2.mp4', 30, 8000000, True)
    time.sleep (5)
    screen_recorder.stop_video_recording ()

    screen_recorder.free_resources ()

if __name__ == "__main__":
    main ()More samples
Package: screenrun
ScreenRunScreenRun is a simple process management tool that allows you to keep a process running forever just by adding a single cron job. It utilizes Screen sessions to manage and monitor your processes, making it easy to start, stop, and restart them.InstallationTo install ScreenRun, run the following command:pipinstallscreenrunUsageYou can use ScreenRun via the command line or in Python scripts.Command Line# Start a new Screen session with the given name and command>screenrunexecute--namenapsleep60# List all running Screen sessions>screenrunlist
nap# Kill a running Screen session by its name>screenrunkill--namenap# Keep a command running indefinitely using the persist option>screenrunpersist--namenapsleep60# Start a command in a Screen session if it's not already running>screenrunpersist--namenapsleep60Add to cronTo ensure your command keeps running, add the following line to your cron configuration:*****screenruncronsleep60PythonYou can also use ScreenRun in your Python scripts:fromscreenrunimportScreenRunscreenrun=ScreenRun()screenrun.execute('sleep 60')Warning for macOS UsersOn macOS, the default version of "Screen" is outdated. For ScreenRun to work properly, you need to install the latest GNU version of Screen. You can do this using Homebrew:brewinstallscreenPlease note that this requiresHomebrewto be installed on your system. If you don't have Homebrew installed, follow theinstallation instructionsbefore running the above command.LicenseCreative Commons Zero v1.0 Universal
Package: screensaver-cli
Install$[sudo]pipinstallscreensaver-cliFeaturesstart/stop screensaverExamples# start default screensaver$screensaverstart# start screensaver by name$screensaverstart"Flurry"$screensaverstopsystem screensavers/System/Library/Screen Savers,/System/Library/Frameworks/ScreenSaver.framework/Resources:Arabesque
Flurry
Shell
iLifeslideshows
Word of the Day
iTunes Artwork
Computer Name
Package: screen-search
screen_search is small python library use to  Searchs for an image on the screeninstall:to install the library
type in your Terminalpipinstallscreen_searchrequirementsscreen_search supports Python 2 and 3.
If you are installing screen_search from PyPI using pip:
Windows has no dependencies.
The Win32 extensions do not need to be installed.
OS X needs the pyobjc-core and pyobjc module installed (in that order).
Linux needs the python3-xlib (or python-xlib for Python 2) module installed.
Pillow needs to be installed, and on Linux you may need to install additional libraries to make sure Pillow's PNG/JPEG works correctly.Examplethis is simple example of looking for a picture on the screen and moving the pointer to it.fromscreen_searchimport*# Search for the github logo on the whole screen# note that the search only works on your primary screen.search=Search("github.png")pos=search.imagesearch()ifpos[0]!=-1:print("position : ",pos[0],pos[1])pyautogui.moveTo(pos[0],pos[1])else:print("image not found")
Package: screenselector
screenselectorA small utility that allows selecting from running screen sessions by menu.PurposeIt happened several times to me that I closed a terminal window by accident or that
I lost something when my Xorg crashed.So my Idea was to start a new screen session instead of a plain shell in my terminal.This tool will now present me a list of unattached and attached screen sessions
and allow me to attach to them.UsageI change the command to be invoked in my terminal emulator to be screenselector,
so whenever I open a new terminal, I can start a new screen session or reconnect
to an already running.PlatformTested with debian and gnome-terminal and others.BugsScreen sessions that contain a whitespace it their name are not displayed.
Package: screenshot
# 📸 screenshot: Better macOS screenshots via the Terminal`screenshot` is a command line utility that lets you specify an *application name* and *window title* in order to take a screenshot of a specific window.Using `screenshot`, you can capture windows belonging to an application, or only an application's windows with certain titles.## Justification and Use CaseThe macOS `screencapture` utility is not developer friendly.To programmatically take a screenshot of an application, or a specific window, you must supply a *window ID* to `screencapture`.In order to find a window's *window ID*, you'll need call out to Quartz.In newer versions of macOS, the `screencapture` utility improves the user experience slightly: you can run the command and then click on the window you'd like to capture.However, that necessitates that the user clicks a window each time. You cannot include this as part of an automated pipeline.To that end, I use this utility to automatically generate screenshots of web, mobile and desktop applications.## ExampleTake a screenshot of the current Terminal window and view it with Preview.app:```bashopen "`screenshot Terminal`"```Take a screenshot of the Pycharm application with the *window title* containing "screenshot":```bashscreenshot Pycharm -t screenshot```## InstallationYou will need Python 3.6+. Please install it with `brew` or `ports` if you do not have it already.### PyPI```bashpip3 install screenshot```### Github SourceGrab the source, run the following in the source dir:```bashpip3 install -r requirements.txt```then run```bashpython3 setup.py install```## Usage`screenshot --help````Usage: screenshot [OPTIONS] APPLICATION_NAMEOptions:-w, --window_selection_options TEXTOptions: all_windows, on_screen_only,above_window, below_window, include_window,exclude_desktopDefault: exclude_desktopon_screen_only-t, --title TEXT                Title of window from APPLICATION_NAME tocapture.-f, --filename TEXT             Filename to save the captured PNG as.-a, --all_windows               Capture all windows matching parameters.-o, --output TEXT               Image format to create, default is png(other options include pdf, jpg, tiff)-s, --shadow                    Capture the shadow of the window.--help                          Show this message and exit.```## LicenseSee `LICENSE`
Package: screenshotapi
# ScreenshotAPI.io Python Client![Build Status](https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiVHpENmRNLzM5eDVGOUhSdmc5YXBpbURPQjMzMnRlSTBvVjRmbWUyalBDR3NCUWRsZ0RrZ25NTVQzSjhXaW0vaUMxRk55OVU1YjlXMmtuc2RMaXhWVjVvPSIsIml2UGFyYW1ldGVyU3BlYyI6IkNVTzZzNDhWdjhRcVRBTTMiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)An API Client for ScreenshotAPI.io (www.screenshotapi.io)Will perform a screenshot capture using ScreenshotAPI.io and store the resulting screenshot png file locally on disk given the path prefix specified in the `save_path` argument.## Installation```shellpip install screenshotapi```## Usage```pythonimport screenshotapiscreenshotapi.get_screenshot(apikey='get your free apikey at www.screenshotapi.io',capture_request = {'url': 'http://www.amazon.com','viewport': '1200x800','fullpage': False,'webdriver': 'firefox','javascript': True,'fresh': False},save_path = './')```## Command Line UsageThe installer also provids a command line interface.  You can use it as follows.```shell$ export SCREENSHOTAPI_KEY=your-key-goes-here$ screenshotapi --url http://amazon.com \--viewport 1200x800 \--webdriver firefox \--save-path ./```Note that you can provide a `SCREENSHOTAPI_KEY` environment variable that can then be used for subsequent calls, or you can use an `--apikey` argument on each call.API Key-------To get a free API key, go to www.screenshotapi.io.## LicenseMIT LicenseCopyright (c) 2018 Competitor Archive, LLCPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: screenshot-api
OverviewThe client library forScreenshot APIin Python language.The minimum Python version is 3.6.Installationpipinstallscreenshot-apiExamplesFull API documentation availablehereCreate a new clientfromscreenshotapiimport*client=Client('Your API key')Capture screenshotsclient.get(filename='screen.jpg',url='example.com')Extrascookies={'name1':'value1','name2':'value2'}# Pass cookies, emulate mobile device, disable JS, wait for network idle# event, output API errors in XML, capture PDF screenshot in full page# mode and get image data in base64.response=client.get_raw(url='example.com',type=ImageFormat.PDF,mode=Client.SLOW_MODE,full_page=True,mobile=True,output_format=Client.XML_FORMAT,image_output_format=Client.BASE64_FORMAT,no_js=True,cookies=cookies)Changelog1.0.0 (2021-12-16)First release
Package: screenshot-manager
screenshot-managerOrganize screenshot/screencast in a uniform manner.Why?I usually take screenshot/screencast just for logging in daily basis. It is quite useful if we put them in a single folder or cloud service (ie. Google Drive)
to synchronize them among multiple devices and platforms. However, sometimes this is difficult because of the default saving location
of screenshot (ie.~/Desktopon macOS) and difference of the name
(ie.Screenshot from %Y-%m-%d %H-%M-%S.pngon Ubuntu andScreen Shot %Y-%m-%d at %H.%M.%S.png,Kapture %Y-%m-%d at %H.%M.%S.mp4on macOS).
This software serves some solutions for this with a simple Python script and Cron job.How to use it?First, you need to install the python script:pip install screenshot-managerNext, you runcrontab -eto add the periodical job:*/5 * * * * /usr/local/bin/screenshot-manager --to-location ~/GoogleDrive/ScreenshotsThat's it!If you want to change some of the default behavior,
please refer toAdvanced usage.Advanced usage# To check the behavior.
screenshot-manager --verbose

# You can configure the source location and others.
# See screenshot-manager --help for more detail.
screenshot-manager --from-location ~/Documents ~/Desktop
screenshot-manager --from-format 'Video from %Y-%m-%d %H-%M-%S'
screenshot-manager --to-format '%Y-%m-%d-%H-%M-%S'Supported formatsIf it is not supported, the screenshot will be just copied without renaming.Please check output ofscreenshot-manager --verboseorscreenshot_manager/cli.pyto see the supported formats.
Package: screenshotone
pythonsdkAn official Python SDK forScreenshotOne.com APIto take screenshots of URLs, render HTML as images and PDF.It takes minutes to start taking screenshots. Justsign upto get access and secret keys, import the client, and you are ready to go.The SDK client is synchronized with the latestscreenshot API options.InstallationpipinstallscreenshotoneUsageGenerate a screenshot URL without executing the request. Or download the screenshot. It is up to you:importshutilfromscreenshotoneimportClient,TakeOptions# create API clientclient=Client('<your access key>','<your secret key>')# set up optionsoptions=(TakeOptions.url('https://screenshotone.com').format("png").viewport_width(1024).viewport_height(768).block_cookie_banners(True).block_chats(True))# generate the screenshot URL and share it with a userurl=client.generate_take_url(options)# expected output: https://api.screenshotone.com/take?url=https%3A%2F%2Fscreenshotone.com&viewport_width=1024&viewport_height=768&block_cookie_banners=True&block_chats=True&access_key=<your access key>&signature=6afc9417a523788580fa01a9f668ea82c78a9d2b41441d2a696010bf2743170f# or render a screenshot and download the image as streamimage=client.take(options)# store the screenshot the example.png filewithopen('example.png','wb')asresult_file:shutil.copyfileobj(image,result_file)ReleaseGithub Actionsis used to automate the release process and publishing to PyPI. Update the library version inpyproject.tomlandcreate a new releaseto launch thepublishworkflow.Licensescreenshotone/pythonsdkis released underthe MIT license.
Package: screenshotter
ScreenshotterA simple utility for automatically taking full-screen screenshots at a fixed rate.InstallationNote thatscreenshotterrequiresPython 3.git clone https://github.com/cvaugh/screenshotter.git
cd screenshotter
pip install -e .Usagescreenshotter [--screen <id>] [--outdir <path>] [--list-screens] <rate> <unit>ArgumentDescriptionrateThe rate at which to take screenshots.unitThe unit of the rate argument. This must be one ofseconds,minutes,hours,s,m, orh.--screenScreenshots will be taken of this screen. Use--list-screensto find your desired screen's ID. Defaults to the primary screen.--outdirScreenshots will be saved in this directory. Defaults to the current working directory.--list-screensList available screens and exit.--silentDo not print any output during normal operation.ExampleTake 15 screenshots per minute of screen1and save them in the directoryscreenshots:screenshotter --screen 1 --outdir 'screenshots' 15 m
Package: screens-py
screen.pyDescriptionA light-weight library for easy interaction between Python and GNU screen.This library allows you create, find and kill screen sessions programmatically from Python, as well as send (string) commands to these sessions. You can use this to start other software inside a screen session from a Python script, like this:importscreens# Start a new session and give it something to dosession=screens.Session('myName')session.send_command('echo hello')# Kill a screen session with a particular namesession=screens.get_session_by_name('myName')session.kill()# Print all the id of all sessionsforsessioninscreens.get_sessions():print(session.id)Installationpip install --upgrade screens.py