Saravanan666/pypi-org huggingface dataset:
Package: pyqt-top-left-right-file-list-widget
pyqt-top-left-right-file-list-widgetSimple PyQt widget which contains QListWidget and add, delete QPushButton to add and delete file in the listRequirementsPyQt5 >= 5.8Setuppython -m pip install pyqt-top-left-right-file-list-widgetIncluded packagessimplePyQt5pyqt-file-list-widgetpyqt-svg-icon-pushbuttonDetailed DescriptionBeing able to add files to list, select multiple files on the list to delete, clear list.Being able to drop the files to the listCheck the duplicated files' nameUser can able to choose the option to show files' name as absolute name or base name with "Show file name only" checkbox.setLabel(text: str)- Set the label at the left side.setExtensions(ext_lst: list)- Define the specific extensions to add.setDuplicateEnabled(f: bool)- Allow to add duplicate name to list.isDuplicateEnabled() -> boolExampleCode ExamplefromPyQt5.QtWidgetsimportQApplicationfrompyqt_top_left_right_file_list_widget.topLeftRightFileListWidgetimportTopLeftRightFileListWidgetif__name__=="__main__":importsysapp=QApplication(sys.argv)topLeftRightFileListWidget=TopLeftRightFileListWidget()topLeftRightFileListWidget.show()app.exec_()ResultShow file name onlyYou can select multiple files on the list. If at least one file is selected, delete button(red dash icon) will be clickable.Click it and selected ones will be removed from the list.If some of files you want to add already exist in the list, Notice dialog will pop up to show you which files exist in the list. If you click OK, it will add files which are not duplicated. Otherwise none of files you want to add will be on the list.NoteI'm currently working with "Don't ask again" feature. Hope you don't mind.
Package: pyqt-top-titlebar-widget
pyqt-top-titlebar-widgetPyQt top title bar widget for frameless windowThis package is made forpyqt-custom-titlebar-window's title bar part. You can see the preview of this in the documentation at the link.I don't recommend that you use this on your own class, But if you want to do it, try it and please teach me that it works well or not.RequirementsPyQt5 >= 5.15Setuppython -m pip install pyqt-top-titlebar-widgetIncluded Packagespyqt-svg-icon-text-widgetMethods OverviewTopTitleBarWidget(base_widget: QWidget, text: str = '', font: QFont = QFont('Arial', 14), icon_filename: str = None, align=Qt.AlignCenter)- ConstructorsetButtons(btnWidget, align=Qt.AlignRight)- Set button widget(pyqt-titlebar-buttons-widget).alignis to set alignment of buttons widget. Size offontshould be at least 14.setBottomSeparator()- Set theQFrametype horizontal line separator which is used for the border between title bar and menu bar.getIconTitleWidget() -> SvgIconTextWidget(QWidget)- Get icon and title widgetgetIconLbl() -> QLabel- Get icon labelgetTitleLbl() -> QLabel- Get title labelgetBtnWidget() -> TitleBarButtonsWidget- Get buttons widget
Package: pyqt-transparent-centralwidget-window
pyqt-transparent-centralwidget-windowPyQt window which can set the QMainWindow as main widget and make central widget of QMainWindow transparent. Simply put, frame with no image.Frame will be removed when full screen is being activated.This module directly inherits thepyqt-custom-titlebar-window.RequirementsPyQt5 >= 5.15Setuppython -m pip install pyqt-transparent-centralwidget-windowIncluded Packagepyqt-custom-titlebar-window- Parent widgetExampleCode SamplefromPyQt5.QtWidgetsimportQMainWindow,QMenuBar,QMenu,QApplicationfrompyqt_transparent_centralwidget_windowimportTransparentCentralWidgetWindowclassMainWindow(QMainWindow):def__init__(self):super().__init__()self.__initUi()def__initUi(self):menuBar=QMenuBar()filemenu=QMenu('File',self)menuBar.addMenu(filemenu)self.setMenuBar(menuBar)if__name__=="__main__":importsysapp=QApplication(sys.argv)example=TransparentCentralWidgetWindow(MainWindow())example.setButtons()example.show()app.exec_()ResultExample by Apppyqt-capturer
Package: pyqt-vbounding-box
pyqt-vbounding-boxPyQt QGraphicsView with bounding box. User can move horizontal border of the box vertically.RequirementsPyQt5 >= 5.8Setuppython -m pip install pyqt-vbounding-boxFeatureBeing able to drag and drop horizontal border verticallyPressing mouse cursor to place more adjacent border on the spot.Right click to release the focus of the boxExampleCode SamplefromPyQt5.QtWidgetsimportQWidget,QGridLayout,QApplication,QPushButton,QFileDialogfrompyqt_vbounding_box.vBoundingBoximportVBoundingBoxclassVBoundingBoxExample(QWidget):def__init__(self):super().__init__()self.__initUi()def__initUi(self):addImageBtn=QPushButton('Add image')addImageBtn.clicked.connect(self.__addImage)self.__view=VBoundingBox()lay=QGridLayout()lay.addWidget(addImageBtn)lay.addWidget(self.__view)self.setLayout(lay)def__addImage(self):filename=QFileDialog.getOpenFileName(self,'Open','','Image Files (*.png *.jpg *.bmp)')iffilename[0]:filename=filename[0]self.__view.setFile(filename)if__name__=="__main__":importsysapp=QApplication(sys.argv)ex=VBoundingBoxExample()ex.show()sys.exit(app.exec_())Resulthttps://user-images.githubusercontent.com/55078043/157777737-a801f085-936e-4f08-95bc-9ae51313454a.mp4See Alsopyqt-hbounding-box- horizontal waypyqt-bounding-box- horizontal/vertical ways
Package: pyqt-vertical-tab-widget
pyqt-vertical-tab-widgetPyQt vertical tab widget (text is horizontal)RequirementsPyQt5 >= 5.8Setuppython -m pip install pyqt-vertical-tab-widgetExampleCode ExamplefromPyQt5.QtCoreimportQtfromPyQt5.QtGuiimportQFontfromPyQt5.QtWidgetsimportQApplication,QLabelfrompyqt_vertical_tab_widget.verticalTabWidgetimportVerticalTabWidgetif__name__=="__main__":importsysapp=QApplication(sys.argv)myWindow=VerticalTabWidget()foriinrange(3):label=QLabel()label.setAlignment(Qt.AlignCenter)label.setText(f'Widget{i}')label.setFont(QFont('Arial',30,QFont.Bold))myWindow.addTab(label,f'Tab{i}')myWindow.show()sys.exit(app.exec_())Resulthttps://user-images.githubusercontent.com/55078043/145132730-b2294734-118d-4fc4-b493-943a1482e607.mp4
Package: pyqt-windows-buttons-widget
pyqt-windows-buttons-widgetPyQt Windows titlebar buttons (e.g. min/max/close button) widgetRequirementsPyQt5 >= 5.8Setuppython -m pip install pyqt-windows-buttons-widgetImported Packagepyqt-titlebar-buttons-widget- Parent widgetUsageWindowsButtonsWidget(base_widget: QWidget, hint=['min', 'max', 'close'])- Constructor. The argumentbase_widgetis used for matching the color of buttons withQWidget(includingQMenuBar)'s base color.getMinimizedBtn(),getMaximizedBtn(),getCloseBtn().This module is used forpyqt-custom-titlebar-window's Windows style button. You can see the example of this module's usage on the documentation at the link above.
Package: pyqtx-widgets
This lib is in active use and makes knocking up PyQt5 apps a little quicker.It’s just a bunch of constructors and Xtended widgets to add some functionality.
Now some of you may scream about adding another layer!!
Instead is viewed as  DRY, as same stuff gets copied across projects## Layoutlay=QtWidgets.QVBoxLayout()lay.setContentMargins(10,10,10,10)lay.setSpacing(20)# vslay=xwidgets.vlayout(margin=10.spacing=20)## Toolbuttonbutt=QtWidgets.QToolButton()butt.setAutoRaise(True)butt.setText("Foo")butt.clicked.connect(self.on_button)# vsbutt=xwidgets.XToolButton(text="Foo",autoRaise=True,clicked=self.on_button)
Package: pyquac
pyquacUseful tools for quantum computing experiments inJupyter notebook, provided for BMSTU FMNDescriptionpackage consists of two main modules:fmn_plottools: Plot data with plotly packagefmn_datatools:(IN PROGRESS). Tools to work with data. Send signal to the machine, pull request, generate pandas DataFrame from it, get approximation result etc.There is alsodatatoolsmodule, but it just an simplier analog offmn_plottoolsthat soon would be removed.InstallationNormal installationpip install pyquacDevelopment installationgit clone https://github.com/ikaryss/pyquac.git
Package: pyquadkey2
🌍 pyquadkey2This is a feature-rich Python implementation ofQuadKeys, an approach togeographical tiling, popularized by Microsoft to be used for Bing Maps.In essence, the concept is torecursivelydivide the flat, two-dimensional world map into squares. Each square containsfour squaresas children, which again contain four squares and so on, upcentimeter-level precision. Each of these squares isuniquely identifiable with a stringlike021030032.For more details on the concept, please refer to
theoriginal article.muety/pyquadkey2originates from aforkofbuckhx/QuadKey, which is not maintained anymore. It builds on top of that
project and adds:✅ Several (critical)bug fixes✅ Python 3 support✅Type hintsfor all methods✅ Higher test coverage✅ Cython backend for improved performance✅ 64-bit integer representation of QuadKeys✅ Additional features and convenience methodsInstallationRequirementsThis library requiresPython 3.6or higher. To compile it from source, Cython is required in addition.Using Pip$pipinstallpyquadkey2Pip installation is only tested for Linux and Mac, yet. If you encounter problems with the installation on Windows, please report them as a new issue.From archive$wgethttps://github.com/muety/pyquadkey2/releases/download/0.2.2/pyquadkey2-0.2.2.tar.gz
$pipinstallpyquadkey2-0.2.2.tar.gzFrom sourcePrerequisites (Linux)gccFedora:dnf install @development-toolsUbuntu / Debian:apt install build-essentialpython3-develFedora:dnf install python3-develUbuntu / Debian:apt install python3-devOthers: SeeherePrerequisites (Windows)Visual C++ Build Tools 2015 (with Windows 10 SDK) (seehere)Build# Check out repo$gitclonehttps://github.com/muety/pyquadkey2# Create and active virtual environment (optional)$python-mvenv./venv
$sourcevenv/bin/activate# Install depencencies$pipinstall-rrequirements.txt# Compile$cdsrc/pyquadkey2/quadkey/tilesystem&&pythonsetup.pybuild_ext--inplace&&cd../../../..# Install as module$pipinstall.LicenseApache 2.0
Package: pyquadratic
PyquadraticDescriptionA python package designed to facilitate the solving and manipulation of quadratic equations.simplifyQuadratic()Returns a simplified quadratic functions from the given input quadratic function.ParametersParameterTypeValuesstdFormstr"2x^2+8x+2"Return typestrErrorsIf thestdFormvalue provided is not in the correct format a,Value Errorexception is raised.realSolution()Returns the solutions for a quadratic equation entered in the format ax^2+bx+cParametersParameterTypeValuesstdFormstr"2x^2+8x+2"Return typefloat[2]orint[2]ErrorsIf thestdFormvalue provided is not in the correct format, aValue Errorexception is raised.If a real solution does not exist, aValue Errorexception is raised.toFactoredForm()Returns the factored form of the corresponding standard form of quadratic equationParametersParameterTypeValuesstdFormstr"2x^2+8x+2"Return typestrErrorsIf thestdFormvalue provided is not in the correct format, aValue Errorexception is raised.If a real solution does not exist, aValue Errorexception is raised.toVertexForm()Returns the vertex form of the corresponding standard form of quadratic equationParametersParameterTypeValuesstdFormstr"2x^2+8x+2"Return typestrErrorsIf thestdFormvalue provided is not in the correct format, aValue Errorexception is raised.pyquadratic._readString()(Private: for contributors only)Returns the coefficients for an ax^2+bx+c string of a quadratic equationParametersParameterTypeValuesstdFormstr"2x^2+8x+2"Return typefloat[3]orint[3]ErrorsIf thestdFormvalue provided is not in the correct format, aValue Errorexception is raised.InstructionsUse the standard formax^2+bx+cto use pyquadratic functions (Always assume = 0)How to import:Go to terminal and run:pip install pyquadraticIn your python file, be sure to include:from pyquadratic.pyquadratic import *Now you will be able to use the functions included in the pyquadratic package!Example CodeHow to Contribute to the Project:How to Set Up the Virtual EnvironmentFork the Repository.Clone it to your local directory.Go to terminal, locate the project directory, and run:pip install pipenv.Runpipenv shellto activate the virtual environment.Runpipenv installto install all the required dependencies for developemnt.How to BuildBefore every build, make sure you deletedistandpyquadratic.egg-infodirectory.Update version number inpyproject.tomlif approved.Go to terminal, locate the project directory, and run:python -m buildorpython3 -m build.How to TestGo to terminal, locate the project directory, and run:pytest.Team MembersNicolas Izurieta:https://github.com/ni2050Patrick Zhao:https://github.com/PatrickZhao0Brad Yin:https://github.com/BREADLuVERYucheng Xu:https://github.com/Yucheng-XPHLink to Packagehttps://pypi.org/project/pyquadratic/
Package: pyquaero
pyquaeroThis is a Python library and web service for accessingAquaerofan and pump controllers by Aqua Computer GmbH & Co. KG.pyquaerois a community open source project. It is not endorsed by or affiliated with Aqua Computer.USE THIS SOFTWARE AT YOUR OWN RISK!Thepyquaeromain developer is running this software for several years now, without any negative side effects. However, it is a highly experimental software, and it is based on reverse engineering only.This software might damage your Aquaero device in a way that it must be repaired or replaced.The use of this software could lead to failure of cooling fans or aqua pumps, which might cause permanent damage to heat sensitive components of your system.Using this software might void your warranty.Neither thepyquaerodevelopers nor the manufacturer can be held liable for any damage caused by this software.It is strongly recommended to use only the official software!Usagepyquaerois only compatible to a limited number of Aquaero firmware versions. Please check first whether thefirmware versionon your Aquaero is actually supported bypyquaero.See thedocumentationfor how the library and tools are used.ContributeFork theSource code at GitHub. Feel free to send pull requests.Found a bug?File a bug report!Licensepyquaerois open source software. The source code is distributed under the terms ofGNU General Public License (GPLv3).AcknowledgementsAqua Computer GmbH & Co. KGfor donating an Aquaero LT for development purposes.JinTu foraerotools-ng. Without his work, pyquaero would not exist.The members of theAqua Computer Forumfor helping, reverse engineering and feedback.@DrTron for sending dump files and for testing.
Package: pyquafu
PyQuafuPython toolkit for submitting quantum circuits on the superconducting quantum computing cloudQuafu.IntroductionPyQuafu is developed for the users ofQuafuto construct, compile and execute quantum circuits on real quantum devices. One can use PyQuafu to interact with different quantum backends provides by the experimental group ofQuafu.InstallationYou can directly install via PyPI,pip install pyquafuor build from sourcepip install -r requirements.txt
python setup.py installGPU supportTo install PyQuafu with GPU-based circuit simulator, you need build from the source and make sure thatCUDA Toolkitis installed. You can runpython setup.py install -DUSE_GPU=ONto install the GPU version. If you further havecuQuantuminstalled, you can install PyQuafu with cuQuantum support.python setup.py install -DUSE_GPU=ON -DUSE_CUQUANTUM=ONDocumentPlease see the websitedocs.NoteIf you are using an Apple silicon Mac and meet the error "illegal hardware instruction", please confirm whether you have updated to the arm64 version of Anaconda (seehttps://github.com/abess-team/abess/issues/310).Examples1.quantum_rlThe example shows quantum reinforcement learning interacts with Quafu to solve CartPole environment.Refer tohttps://github.com/enchanted123/quantum-RL-with-quafufor more details.AuthorsThis project is developed by the quantum cloud computing team at the Beijing Academy of Quantum Information Sciences.
Package: pyquakes
PyQuakesPyQuakes is a Python wrapper forUSGS Earthquake Catalog APIthat manages data querying and result processing. PyEarthquake also integratesBing Map APIto manage geolocation of events.Features of PyQuakesHandles the HTTP requests, and the HTTP error. Only needs to focus on setting parameters and data processing.Supports setting the query parametersSupports searching with multiple time periods with easy-to-understand time format.Supports searching with multiple locations with pre-defined location classes.Provides geocoding functionality so that users are able to search the location without finding the coordinates.Supports filtering, sorting and organizing the result.Getting StartedFollow the instructions of Bing Map toget your own keyand copy your Bing Map Key in key.txt file under src foler.How to useThe EarthquakeQuery class has to be imported to use the API.Import other classes if you would like to search by time and location or set other parameters.ExampleTo use geocode API, please specify the path of the key file first:EarthquakeQuery.set_geocode_key_path("filepath")A typical usage to search a collection of results is:from pyquakes import GeoRectangle, EarthquakeQuery, TimeFrame
import datetime

query = EarthquakeQuery()
query.set_time([TimeFrame(datetime(2010, 1, 1), datetime(2015, 1, 1))])
query.set_max_depth(1.0)
result = query.search()A typical usage to search a specific earthquake by its event id is:from pyquakes import EarthquakeQuery

event_id = "usc000lvb5"
result = EarthquakeQuery.search_by_event_id(event_id)For more examples, please refer to theclientfolder. Several use cases are contained in the clinet folder with example codes. See the function withoutoriginalsuffix.TestTests are placed in the test folder.
Please cd into the folder and run each of the py files for testing.
Package: pyQualitas
PyQualitasThis project aims towards developing a python library ensure quality of the data. This project is an inspiration from deequ and
dataflare which are also aimed towards the quality of the data.Requirements:Pyspark - Version 3.3.0Pandas - Version 1.5.0Jinja2 - Version 3.1.2Slack-SDK - Version 3.19.3PyMSTeams - Version 0.2.2Installation:The package can be installed as follows:"pip install pyQualitas"The test version of this package can be installed as follows:"pip install -ihttps://test.pypi.org/simple/pyQualitas"Use Cases:The main agenda behind creating this library is to help the QA Engineers to ensure quality of the data. Given the volume of the data & the frequency of the releases happening in the industry, there is an enormous responsibility on the Quality Assurance team to ensure & sign-off the quality of the data generated by the application.It is very hard to achieve this using manual testing and scheduling an automated validation helps achieve the timelines and ensure a high quality of the data with less efforts.There are various tests in this library that would come in handy during the regression testing process. Since the project is implemented in Python, the learning curve is short when compared to the libraries that are available in Scala.The documentation can be found in the following link:https://github.com/IamVenkatesh/pyQualitas/wiki
Package: py-quality
Marketing Science | AdCuality libraryDeveloped by Carlos Trujillo, Marketing Scientist.IntroductionIf you are part of the marketing world you have surely heard about Admetricks, Comscore, Lotame or AdCuality. Tools that provide us with data
which we can use to carry out different types of studies to many of the phenomena that we face in this area.Every day, the adoption of technology is more important than ever in order to take our analysis a little beyond the conventional.
This can represent a very accomplished challenge, because many of the tools that we use every day do not have their connectors enabled for everyone.
users, resulting in not being able to do large data downloads.And those users who manage to obtain a connector to any of these platforms, a great way awaits them to understand the connector, its operability and
results, with the little information that exists on the internet.Therefore, I decided to start small projects where I will be creating pseudo packages, for those who are in the world of marketing and programming. Waiting
to be able to shorten the adaptation curve of some of the professionals that we meet here.The first package in this project is PyQuality, a simplification of the connection to the Adquality REST API in Python.I await your feedback!pipinstallpy_adqualityfrompy_adquality.pyqualityimportadquality_reportsInitially the package has two methods, where each one returns a DataFrame. The main method generates a report in Pandas format where you can see all
the data obtained by the AdCuality REST API.adquality=reports(username='my_email_or_adquality_user',password='my_password')publishers=adquality.report_generator_soi(country='CO',report_type='publishers')#You can also choose the methood "report_generator_sov"#Report options "publishers", "formats", "advertisers", "industries", "sources" or "categories"The second packet gets all the images captured by AdCuality within a given period.adquality=reports(username='my_email_or_adquality_user',password='my_password')images=adquality.image_extractor(country='CO')Very soon, automatic learning modules will be added to exploit the information we have within the platform.What do you think is the best module we can start with?
Package: py-qualtrics-api
This package includes methods for using the Qualtrics API to:Copy a surveyDelete a surveyActivate a surveyCreate a mailing listDelete a mailing listAdd contacts to a mailing listGenerate unique survey links for members of a mailing listCreate a message for the message libraryDistribute a survey to a mailing list using a message from the message libraryInstallationpip install py_qualtrics_apiOverviewSample usage:import py_qualtrics_api.tools as pq
import pandas as pd

q = pq.QualtricsAPI('config.yml')

# copy survey
sid = q.copy_survey('SV_0abc05URqqrhMOO', 'My new survey')

# delete survey
success = q.delete_survey(sid)

# copy survey, then activate the new survey
sid = q.copy_survey('SV_0abc05URqqrhMOO', 'My new survey')
success = q.activate_survey(sid)

# create mailing list and add records from a Pandas dataframe
# dataframe must contain an 'email' column (not case sensitive)
# other optional special columns are: 'firstname', 'lastname',
# 'externaldataref', 'unsubscribed' (defaults to false),
# 'language' (defaults to en)
# none of these special column names are case sensitive, so
# ExTeRnAlDaTaRef would be acceptable
mail_list = pd.read_csv('test_mailing_list.csv')
ml_id = q.create_mailing_list('New mailing list',
                              records_to_add=mail_list,
                              list_category='API')

# generate individual survey links for a mailing list
# optional parameter link_type defaults to 'Individual' but other
# valid values are 'Multiple' and 'Anonymous'
# return value is a pandas data frame of the core contact info with
# the following added columns: contactId, exceededContactFrequency,
# 'link', 'linkExpiration', 'status', 'unsubscribed'
links = q.get_links_for_mailing_list(sid, ml_id)Sample config file (config.yml):api_token: '4ru9we8fuper9ugergijergoijer34gierj876'
data_center: 'co1'
default_survey_owner: 'UR_3wjehoefof93s'
default_library_owner: 'UR_3wjehoefof93s'If you don’t wish to store your API token in the configuration file, you can
omit that line. If the API token isn’t present in the configuration file, you
will be prompted for it when you create a QualtricsAPI object.