Saravanan666/pypi-org huggingface dataset:
Package: browserinfo
A lightwight python wrapper forbrowser-info.netto retrieve UA
stringsWhat does browserinfo do?It allows you to retrieve user agent strings, sorted by popularity or
most recent.Usage example>>>importbrowserinfo>>>browserinfo.recent(1)['Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.85 Safari/537.36\n']>>>browserinfo.popular(1)['Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FSL 7.0.6.01001)']InstallationUse pip:pip install -U browserinfoBuilding docFrom the root of the directory run:sphinx-apidoc -o docs/ browserinfo -f && cd docs && make html && cd ..Building Dist PackageTo build a distributable package run:python setup.py sdist
Package: browserjquery
BrowserJQuery: Streamline Selenium with jQueryEnhance your Selenium-driven web automation tasks withBrowserJQuery, a Python package that empowers you to use jQuery effortlessly. This straightforward yet robust package simplifies the execution of jQuery scripts and includes built-in utility methods.InstallationGet started quickly by installingBrowserJQueryfrom PyPI:pipinstallbrowserjqueryUsageHere's how you can harness the power ofBrowserJQueryin your Selenium scripts:importtimefromselenium.webdriverimportChromefrombrowserjqueryimportBrowserJQuery# Initialize a Selenium driverdriver=Chrome()# Navigate to a websitedriver.get("https://www.yahoo.com")# Pause to allow page loading (you can adjust the duration)time.sleep(10)# Create a jQuery object for the driverjquery=BrowserJQuery(driver)# Execute a jQuery scriptjquery.execute("""return $("div.stream-item")""")# Use the jQuery object to find and select itemsstream=jquery(".stream-item")# Access methods and attributes of the jQuery objectprint(jquery.document)# Find elements within the selected itemsprint(jquery.find(".stream-item a"))# Find elements with specific textprint(jquery.find_elements_with_text("Hello"))# Find elements with specific text within a specific elementprint(jquery.find_elements_with_text("Hello",element=stream[0]))# Get the parent element of a selected itemprint(jquery.parent(stream[0]))WithBrowserJQuery, you can effortlessly integrate jQuery into your Selenium workflows, making web automation more efficient and powerful.
Package: browserlify
Browserlify Python SDKTheBrowserlify APIPython LibraryUsageRequirementsYou should be signed up as a developer on thebrowserlify.comso that you can create and manage your API token, It's free Sign up.InstallationTo easily install or upgrade to the latest release, usepip.pipinstall--upgradebrowserlifyTable of ContentsGetting StartedPDF generationScreenshotWeb ScrapingcliGetting StartedFirst create a new api key in theDashboard, and retrieve your API Token.We then need to supply these keys to the browserlifyOptionclass so that it knows how to authenticate.frombrowserlifyimportpdf,Optionopt=Option(YOUR_TOKEN)PDF generationfrombrowserlifyimportpdf,Optionopt=Option(YOUR_TOKEN)opt.paper='A4'opt.full_page=Trueopt.wait_load=5000# Wait document loaded <= 5,000 mstry:content=pdf('https://example.org',opt)open('example.org.pdf','wb+').write(content)exceptExceptionasbre:print('pdf fail',bre)Screenshotfrombrowserlifyimportscreenshot,Optionopt=Option(YOUR_TOKEN)opt.full_page=Trueopt.wait_load=5000# Wait document loaded <= 5,000 mstry:content=screenshot('https://example.org',opt)open('example.org.png','wb+').write(content)exceptExceptionasbre:print('screenshot fail',bre)Web Scrapingfrombrowserlifyimportscrape,Option,Flowopt=Option(YOUR_TOKEN)opt.flows=[Flow(action="waitload",timeout=5000),# Wait document loaded <= 5,000 msFlow(name="title",action="text",selector="h1")]try:content=scrape('https://example.org',opt)print(content)# output:# {"page":1,"data":{"title":"Example Domain"}}exceptExceptionasbre:print('scrape fail',bre)cliscripts/browserlify:  Theclitool has a free token:cli_oss_free_tokenpdfpdf generationscreenshottake screenshotcontentget website contentscrapeget website contentbrowserlifyclitool

positionalarguments:{pdf,screenshot,content,scrape}commandshelppdfpdfgenerationhelpscreenshottakescreenshothelpcontentgetcontenthelpscrapewebscrapehelpoptionalarguments:-h,--helpshowthishelpmessageandexit--version,-vshowprogram'sversionnumberandexitConvert Url To PDFbrowserlifypdf-tYOUR_TOKEN-obrowserlify.com.pdf-w5000--paperA3https://example.orgTake Screenshotbrowserlifyscreenshot-tYOUR_TOKEN-obrowserlify.com.png-w5000--fullpagehttps://example.orgGet Page Contentbrowserlifycontent-tYOUR_TOKEN-obrowserlify.com.json-w5000https://example.orgScrape Pageflows.jsonis written in browserlify's IDE, and you can get web page content without code[{"action":"waitload","timeout":5000},{"action":"text","name":"title","selector":"title"}]browserlifyscrape-tYOUR_TOKEN-oexample.com.json-fflows.jsonhttps://example.org
Package: browserlog
BrowserlogLog Viewer for Masonite FrameworkRead our Blog|Follow us on TwitterTable of ContentsPreviewInstallationSupportPreviewInstallation# Using pip$pipinstallbrowserlog# Using Pipenv$pipenvinstallbrowserlog# Using Poetry$poetryaddbrowserlogAddBrowserlogProviderto your providers list inconfig/providers.py:frombrowserlog.providersimportBrowserlogProviderPROVIDERS=[# Third Party ProvidersBrowserlogProvider,]This will add a newbrowserlog:installcommand to craft. Then run in your terminal:craftbrowserlog:installGo tohttp://myapp/logs.SupportBrowserlogappreciates help from a wide range of different backgrounds. Small improvements or fixes are always appreciated and issues labeled as easy may be a good starting point. If you are considering larger contributions outside the traditional coding work, please contact us throughhellomasonite@gmail.com.
Package: browser-memory-monitor
Browser Memory Monitor is a Python tool to track and limit the amount of memory used by a subprocess such as a browser under test.usage: bmm [-h] [--force] [--format {mprof,csv}] [--interval INTERVAL] [--limit LIMIT] [--pre-interval PRE_INTERVAL] [--time-limit TIME_LIMIT] [--verbose] [--version] browser data command [...]

Memory profiler/limiter for browsers

positional arguments:
  browser               Browser process name to monitor (eg. 'firefox')
  data                  Profiling data output filename
  command [...]         Command (and args) to execute as a subprocess

options:
  -h, --help            show this help message and exit
  --force, -f           Overwrite existing data output file.
  --format {mprof,csv}, -F {mprof,csv}
                        Output format (choices: mprof, csv, default: mprof)
  --interval INTERVAL, -T INTERVAL
                        Memory profiling interval (default: 0.1)
  --limit LIMIT, -m LIMIT
                        Memory limit in MiB (0 for no limit, default: 12288)
  --pre-interval PRE_INTERVAL, -P PRE_INTERVAL
                        Process start interval (default: 0.01)
  --time-limit TIME_LIMIT, -t TIME_LIMIT
                        Maximum time to run (in seconds, 0 for no limit, default: 0)
  --verbose, -v         Enable verbose logging
  --version, -V         Show version number
Package: browserpedals
Control any video or audio in a web browser with foot pedals (pause/play or jump back),
even when the web browser is not in focus (for example, while typing in text editor).This may be helpful during transcribing (listening to a video and typing the spoken text).The program will attempt to recognize new foot pedals automatically.There is an option to create subtitles: After every Play and Pause using pedals,SRT subtitle timing for the played video fragment is copied to clipboard and can be pastedinto any text file before corresponding text fragment to make it an SRT subtitle.There is an option to periodically pause a video and copy timestamps to clipboard.(Under the hood, the program uses Selenium project to control the browser.)To install the program on Linux, open command line and type:$ python3 -m pip install --no-cache-dir browserpedalsTo use subtitles option on Linux, additionally install xclip:$ sudo apt-get install xclipTo install the program on Windows, open command line or Windows PowerShell and type:$ py -m pip install --no-cache-dir browserpedalsDuring the installation,BrowserPedalsicon will be created on the Desktop.
To run the program, double-click on this icon and wait for new browser window to open.
In the browser, home page will open with information about the program and
a pop-up dialog for detecting and testing the pedals.
Package: browserstep
Browser StepBrowser step provides common steps to be used by Behave for running browser tests with SeleniumFree software: MIT licenseDocumentation:https://browserstep.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.9 (2016-08-08)Added ‘I hover over “{container_selector}”’Added ‘I follow the “{text}” link in “{container_selector}”’Thanks to Chris Adams for help with these.0.1.8 (2016-07-26)Added ‘”{selector}” is not checked’Added ‘”{selector}” has the following text with all whitespace removed’0.1.7 (2016-07-26)Added ‘the browser is at the formatted URL /{path}’Added ‘I capture the value of “{regex}” in the URL to the “{name}” variable’0.1.6 (2106-07-25)Added ‘I choose “{choice}” from “{selector}”’Support whole number of seconds when waiting0.1.5 (2016-07-18)Added ‘type “” into a selector’Added ‘”{selector}” is checked’Added ‘I capture the value of “{regex}” in the message to the “{name}” variable’Addedbrowserstep/debug.pyAddedbrowserstep/popup.pyAddedbrowserstep/timetravel.py0.1.4 (2016-06-20)Fields are cleared before text is sent to themFixed an ordering issue with ‘the browser is still at /’‘I follow the “{text}” link’ also works with image alt textAdded ‘I click the “{text}” label’ to allow clicking on labels in formsAdded ‘the value of “{selector}” is “{value}”’ for input values0.1.3 (2016-06-10)Added ability to capture values from fields and apply them to URLs to
naviagate to or checks inside email bodiesAdded “I switch to the {name} browser” as an alias for “I’m using the
{name} browser”0.1.2 (2016-06-10)Improved support for input buttonsAbility to switch browsers (if present set up inenvironment.py)0.1.1 (2016-06-09)Added steps for interacting withlathermailto inspect email messages sent
via SMTP (you need to installrequestsseparately if you want to use them)0.1.0 (2016-06-07)First release on PyPI.
Package: browser-useragent
简介browser_useragent 库共包含246个浏览器请求头参考fake_useragent库，对其进行了简化，解决网络不好文件下载失败的问题chrome, opera, firefox, safari, internetexplorer来源： fake_useragent:http://d2g6u4gh6d9rq0.cloudfront.net/browsers/fake_useragent_0.1.9.json快速开始安装pip install browser_useragent使用>>frombrowser_useragentimportget_user_agent>>get_user_agent()>>'Mozilla/5.0 (X11; OpenBSD amd64; rv:28.0) Gecko/20100101 Firefox/28.0'
Package: browser_vulnerabilities
This small library detects vulnerable operating systems and browsers
based on browser user-agent string. No active checks are included.from browser_vulnerabilities import BrowserVulnerability

ua1 = 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0'
ua2 = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0'
bv = BrowserVulnerability(ua1)
print bv.vulnerabilities()
# {'priority': 'recommended', 'readable_version': 'Firefox older than 27.0',
# 'name': 'Firefox', 'version__smaller': '27.0'}
bv = BrowserVulnerability(ua2)
print bv.vulnerabilities()
# FalseMinimal database is available inbrowser_vulnerabilities/data.pyfile. The database is updated manually.
Order of criteria is important. The most important and most strict criteria should be first. Matching is aborted
on the first hit.Mandatory keywords:platform/flavor/name: first two are for OS, andnamefor browser (feature of httpagentparser)priority:“mandatory” - user action is required, and actions should be either denied or delayed with message.“recommended” - updating is highly recommended but not mandatory.“optional” - the warning should be shown to user only when user requests more information.Optional keywords:version__smaller: any version larger than this will not match the rule.version__larger: any version smaller than this will not match the rule.version__extra: compiledrefor additional checks.vuln: link to related website describing the vulnerabilities / why specific update is important.readable_name: user-readable product nameversion: user-readable version criteria for warningsLicenseLicensed under MIT license:Copyright (c) 2014 Olli jarvaolli@jarva.fiPermission 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: browsing
Python Browser DriverA Python based SDK for web automation usingSelenium.LicenseReleased underMITby@Mauricio.Email:MauricioOverviewTo use this application you must have any of the following browsers installed:Wiki - Full documentationTable of contents1.IntroductionShows how to get access to your API key.2.Getting StartedShows how to log in to the client and use the basic code interface3.ServicesData provided outside of the game server. Like server status, user id, and auto extension plan.4.GameServerData directly related to the game server. This includes the player list, game settings, etc.InstallationIn your terminal install theBrowsingpackage with pip.pipinstallbrowserdriverBrowser DriversChoose the driver from one of the browsers you have installed:ChromeFirefoxOperaEdgeChromeDownload the Chrome DriverLocate your Chrome browser version. Open the menu list on Chrome and navigate
down to theHelpoption. Then click onAbout Google Chrome. In the example
below, the driver to download is version111.Chrome is up-to-date.Version 111.#.####.### (Official Build) (64-bit)Navigate over toChromeDriverand download
the driver which compliments your browser.Environment VariablesPlace the Chrome Driver somewhere accessible by your project. Copy the path location of
the Chrome Driver.Windows PCOpen the system properties in the control panel. At the bottom right, click onEnvironments Variables.... A new window should pop up.Create a newUser variable:Variable Name: CHROME_DRIVERVariable Value: C:/YOUR_CHROME_DRIVER_PATHMacOS - BashOpen the terminal and open the bash profile.vi~/.bash_profileWrite into the editor:exportCHROME_DRIVER=./YOUR_CHROME_DRIVER_PATHExampleStarting theBrowsingpackage.frombrowsingimportDriverfrombrowsing.chromeimportChromeimportoschrome=Chrome(os.getenv('CHROME_DRIVER'))driver=Driver(chrome)driver.get('https://www.google.com')# Must quit chrome before quitting the application# else the driver will remain hanging until PC reboot.chrome.quit()
Package: browsr
browsrbrowsr🗂️ is a pleasantfile explorerin your terminal. It's a command lineTUI(text-based user interface) application that empowers you to browse the contents of local
and remote filesystems with your keyboard or mouse.You can quickly navigate through directories and peek at files whether they're hostedlocally,
inGitHub, overSSH, inAWS S3,Google Cloud Storage, orAzure Blob Storage. View code files
with syntax highlighting, format JSON files, render images, convert data files to navigable
datatables, and more.ScreenshotsScreen Recordinghttps://user-images.githubusercontent.com/49741340/238535232-459847af-a15c-4d9b-91ac-fab9958bc74f.mp4InstallationIt's recommended to usepipxinstead of pip.pipxinstalls the package in
an isolated environment and makes it available everywhere. If you'd like to usepipinstead, just replacepipxwithpipin the below command.pipxinstallbrowsrExtra InstallationIf you're looking to usebrowsron remote file systems, like GitHub or AWS S3, you'll need to install theremoteextra.
If you'd like to browse parquet / feather files, you'll need to install thedataextra. Or, even simpler,
you can install theallextra to get all the extras.pipxinstall"browsr[all]"UsageSimply givebrowsra path to a local or remote file / directory.Check out the Documentationfor more information
about the file systems supported.Localbrowsr~/Downloads/GitHubbrowsr github://juftin:browsrexport GITHUB_TOKEN="ghp_1234567890"
browsr github://juftin:browsr-private@mainCloudbrowsrs3://my-bucket**Currently AWS S3, Google Cloud Storage, and Azure Blob Storage / Data Lake are supported.SSH / SFTPbrowsrssh://username@example.com:22Licensebrowsris distributed under the terms of theMIT license.
Package: broxus-api-client
Set of API clients for Broxus APIs in EverscaleAll models and requests automatically generated from Broxus swagger schemas:Token indexer -http://token-indexer.broxus.com/v1/swagger.yamlExplorer -https://explorer-api.broxus.com/v1/swagger.yamlLICENSEThis project is licensed under the terms of theMITlicense.
Package: brp
brpbrpis a simple tool to convert request fromburpsuite's HTTP History export topython-requests.To obtain the HTTP History export file just intercept some requests, go to HTTP History, select them, right click and clickSave Items.installpip3 install brpusageI mainly use it to embed requests in a python notebooks, by using:brp-iburp.xml-otemplate.ipynbThere is not much more to say, if in doubt runpython3 brp.py --helprelease new versionbump versionpython3 -m buildpython3 -m twine upload dist/*q
Package: brplotviz
brplotvizare plot utilities for outputting plots usingmatplotliband nicely formatted tables according to the personal taste of Bertram Richter.Getting startedThis package provides functions to simplify the output of nicely fomatted graphs.
The main focus is to enable consistent graphical style suited for printing.
Thus, a monochrome (black-white) style is used.Let's start plotting.
First, we need some data:import numpy as np
import brplotviz
x_list = np.linspace(0, 2, 17)
y_list_sin = np.sin(x_list)
y_list_cos = np.cos(x_list)
x_table = [x_list, x_list]
y_table = [y_list_sin, y_list_cos]
record_names = ["sine", "cosine"]Plotting a single line-graph and a scatter plot is as simple as:brplotviz.plot.single_line(x_list, y_list_sin)
brplotviz.plot.single_scatter(x_list, y_list_sin)Plotting several line plots or mutliple scatter plots is:brplotviz.plot.multi_line(x_table, y_table, record_names)
brplotviz.plot.multi_scatter(x_table, y_table, record_names)To mix line and scatter plot we need to construct a list of data record tuples first:record_list = [(x_list, y_list_sin, "scatter", {"label": "sine"}), (x_list, y_list_cos, "line", {"label": "cosine"})]
brplotviz.plot.mixed_graphs(record_list)Finally, let's plot a bar chart first with one data record, then with multiple records:brplotviz.plot.bar_categories([y_list_sin], category_names=x_list)
brplotviz.plot.bar_categories(y_table, category_names=x_list)Plotting graphs is not the only thing, which can be done withbrplotviz.
Presenting data in tabular form is also supported.
The killer feature here are the possibilities to format the entries either alltogether or each one separately.brplotviz.table.print_table(
	table=y_table,
	head_row=x_list,
	head_col=record_names,
	top_left="Values",
	caption="Sine and cosine Values",
	formatter=":.2f",
	)We can put out the table formatted as a LaTeX table as well.
After copying into a.texfile and compiling it with LaTeX, it is typeset with professional quality.
For this to work, follow the additional steps as described in \ref brplotviz.table.print_table_LaTeX().brplotviz.table.print_table_LaTeX(
	table=y_table,
	head_row=x_list,
	head_col=record_names,
	top_left="Values",
	formatter=":.2f",
	caption="Sine and cosine Values",
	LaTeX_label="sinecosine",
	)The content can be written to disk, if the keyword argumentfile=<file path here>is passed, which works for all presented functions.
Warning: the file is overwritten without further questions.All of the presented functions are compiled in \ref example.py ready to run.Installation and Building documentationInstall this package viapip install -U brplotviz.
To build the documentation, rundoxygenin this directory to generate it to the directory./DocumentationLicence and CopyrightAuthor:Bertram RichterCopyright:Copyright by the author, 2023.License:This software is released under GPLv3, seeLICENSEfor detailsDependenciesPython >=3.?(Developed under Python 3.9)matplotlib >=3.5.0for plotting and drawing graphs. Seematplotlib.orgfor the documentation.numpyfor array operations. Seenumpy.orgfor the documentation.
Package: brreg
📇 python-brregAPI client for Brønnøysundregistrene's open API.python-brregis a Python library for interacting with the open APIs of the
Norwegian Business Registry,Brønnøysundregistrene.InstallationThe library requires Python 3.8 or newer.The library can be installed fromPyPI:python3 -m pip install brregProject resourcesDocumentationSource codeReleasesIssue trackerContributorsFeaturesEnhetsregistretThebrreg.enhetsregisteretpart of this library wraps the openEnhetsregistret API.This is a list of all features this library could implement on top of this API.
However, I will not attempt to make the project cover all parts of
Brønnøysundregisterene's API. I am open to requests, so that time is spent on
the parts of the API that there is an actual demand for.EnheterSearch - ImplementedGet one by organization number - ImplementedGet one's roles by organization number - ImplementedGet all updates since given time - Request if neededUnderenheterSearch - ImplementedGet one by organization number - ImplementedGet all updates since given time - Request if neededOrganisasjonsformGet all - Request if neededRolletypeGet all - Request if neededGet one - Request if neededRollegruppetypeGet all - Request if neededGet one - Request if neededRepresentantGet all - Request if neededGet one - Request if neededKommunerGet all - Request if neededMatrikkelenhetGet one by matrikkelnummer - Request if neededGet one by matrikkelenhet-ID - Request if neededLicenseCopyright
2019Otovo ASA,
2023-2024Cardboard AS.Licensed under theApache License, Version 2.0.