Saravanan666/pypi-org huggingface dataset:
Package: qtmimport
QTMimportThis small module opens data files generated by the QTMtoolbox (.csv format) and parses the data into a single object (class).
Each variable that was measured is an attribute of this class, and contains the header name, data, etc.DependenciesThis module usesnumpy.UsageTo import the module, usefrom qtmimport import qtmimportThen, to parse data, usedata_object = qtmimport.parse_data(filename)Thedata_objectwill contain data in the following form:Data structure:
    
    list QTMdata:
        |
        |--> class "variable"
                |
                |--> index (must be unique!)
                |
                |--> header name (not unique, e.g. for <sweep> when 
                |                 you both sweep and read a variable)
                |
                |--> data array 
				|--> variable type (s = SETpoint, g = GET value (measured value))
Package: qtmodern
qtmodernis a Python package aimed to make PyQt/PySide applications look
better and consistent on multiple platforms. It provides a custom frameless
window and a dark theme. In order to be compatible with multiple Python Qt
wrappersQtPyis used. The initial idea
comes fromthis project.InstallationThe recommended way to install is by usingpip, i.e:pip install qtmodernUsageIn order to useqtmodern, simply apply the style you want to your
application and then, create aModernWindowenclosing the window you want tomodernize:import qtmodern.styles
import qtmodern.windows

...

app = QApplication()
win = YourWindow()

qtmodern.styles.dark(app)
mw = qtmodern.windows.ModernWindow(win)
mw.show()

...
Package: qt-module-manager
qt-module-managerA Qt widget to inspect all imported modules, and reload them. ⚡Speed up your development 🚀Featuresfilter submodules to only display base modules, e.g. showPySide2, but hidePySide2.QtWidgetsfilter by name to search for a module, e.g.numpyreload the selected module for faster developmentsearch modulessearch modules & submodules
Package: qtmonitor
qtmonitorSimple tool for creating a Qt-Dialog with updating values.The idea behind the project was the necessity to monitor some real-time values
on a robotic-prototype. The package allows you to create a simple UI with
a lot of values, that are updating constantly at specified intervals,
without any knowledge of QT / PySide packagesRepositoryPyPIPyPI TestSetupTo installqtmonitoruse pip or download it fromPyPI.pipinstallqtmonitorExampleThere is an example module, which demonstrates how to write your own monitor.
Feel free to dig down and explore the code. The file is located underyou-python-packages-folder/qtmonitor/example.pyTo run and see it in action feel free to use following command:python-mqtmonitor.exampleUsageFirst of all, you need to create some python methods, which would return
the value, you want to track. Here is a simple random int generator method.
It will be used to demonstrate the module, there is no practical use for it.importrandomdefrandom_int_value():returnrandom.randrange(0,1000)The easiest way to create you own monitor is to subclass theqtmonitor.MonitorclassfromqtmonitorimportMonitorclassMyMonitor(Monitor):def__init__(self,parent=None):super(MyMonitor,self).__init__(parent)Now add at least one group to put your values in:fromqtmonitorimportMonitorclassMyMonitor(Monitor):def__init__(self,parent=None):super(MyMonitor,self).__init__(parent)grp=self.add_group('My group')Add the values to the group and run the tool.
Feel free to use providedrunmethod:importrandomfromqtmonitorimportMonitordefrandom_int_value():returnrandom.randrange(0,1000)classMyMonitor(Monitor):def__init__(self,parent=None):super(MyMonitor,self).__init__(parent)grp=self.add_group('My group')grp.add_value('Value',random_int_value)grp.add_value('Value 10ms',random_int_value,interval=10)if__name__=='__main__':fromqtmonitorimportrunrun('My monitor',MyMonitor)
Package: qtneat
qtneatDON'T USE IT. I'M STILL WORKINGSet the Qt frameless titlebar/theme easilyRequirementsPyQt5 >= 5.8Included Packagesqtawesomepyqt-svg-buttonpyqt-svg-icon-text-widgetSetuppython -m pip install qtneatExamplefromPyQt5.QtWidgetsimportQApplicationfrompyqt_timer.settingsDialogimportSettingsDialogfromqtneatimportprepareQtApp,QtAppManagerif__name__=="__main__":importsysprepareQtApp()a=QApplication(sys.argv)w=SettingsDialog()m=QtAppManager(w)m.setTheme(theme='#6f478d')m.setTitleBar(icon_filename='settings.svg')m.show()a.exec()Result
Package: qtoml
qtoml is another Python TOML encoder/decoder. I wrote it because I found
uiri/toml too unstable, and PyTOML too slow.For information concerning the TOML language, seetoml-lang/toml.qtoml currently supports TOML v0.5.0.Usageqtoml is available onPyPI. You can install
it using pip:$pipinstallqtomlqtoml supports the standardload/loads/dump/dumpsAPI common to
most similar modules. Usage:>>>importqtoml>>>toml_string="""...test_value = 7...""">>>qtoml.loads(toml_string){'test_value': 7}>>>print(qtoml.dumps({'a':4,'b':5.0}))a = 4
b = 5.0>>>infile=open('filename.toml','r')>>>parsed_structure=qtoml.load(infile)>>>outfile=open('new_filename.toml','w')>>>qtoml.dump(parsed_structure,outfile)TOML supports a fairly complete subset of the Python data model, but notably
does not include a null orNonevalue. If you have a large dictionary from
somewhere else includingNonevalues, it can occasionally be useful to
substitute them on encode:>>>print(qtoml.dumps({'none':None}))qtoml.encoder.TOMLEncodeError: TOML cannot encode None>>>print(qtoml.dumps({'none':None},encode_none='None'))none = 'None'Theencode_nonevalue must be a replacement encodable by TOML, such as zero
or a string.This breaks reversibility of the encoding, by renderingNonevalues
indistinguishable from literal occurrences of whatever sentinel you chose. Thus,
it should not be used when exact representations are critical.Development/testingqtoml uses thepoetrytool for project
management. To check out the project for development, run:$gitclone--recurse-submoduleshttps://github.com/alethiophile/qtoml$cdqtoml$poetryinstallThis assumes poetry is already installed. The package and dependencies will be
installed in the currently active virtualenv if there is one, or a
project-specific new one created if not.qtoml is tested against thealethiophile/toml-testtest suite, forked from uiri’s
fork of the original by BurntSushi. To run the tests, after checking out the
project as shown above, enter thetestsdirectory and run:$pytest# if you already had a virtualenv active$poetryrunpytest# if you didn'tLicenseThis project is available under the terms of the MIT license.
Package: qtoolkit
Full Documentation[!WARNING]
🚧 This repository is still under construction. 🚧Need help?Ask questions about QToolKit on theQToolKit support forum.
If you've found an issue with QToolKit, please submit a bug report onGitHub Issues.What’s new?Track changes to qtoolkit through thechangelog.ContributingWe greatly appreciate any contributions in the form of a pull request.
Additional information on contributing to QToolKit can be foundhere.
We maintain a list of all contributorshere.Code of conductHelp us keep QToolKit open and inclusive.
Please read and follow ourCode of Conduct.LicenseQToolKit is released under a modified BSD license; the full text can be foundhere.AcknowledgementsQToolKit is developed and maintained by Matgenix SRL.A full list of all contributors can be foundhere.
Package: qtop
qtop: the fast text mode way to monitor your cluster’s utilization and
status; the time has come to take back control of your cluster’s
scheduling businessPython port by Sotiris Fragkiskos / Original bash version by Fotis
GeorgatosSummaryExampleqtop.py is the python rewrite of qtop, a tool to monitor Torque, PBS,
OAR or SGE clusters, etc. This release provides for theinstant replayfeature, which is handy for debugging scheduling mishaps as they occur.
qtop is and will remain a work-in-progress project; it is intended to
be built upon and extended - please come along ;)This is an initial release of the source code, and work continues to
make it better. We hope to build an active open source community that
drives the future of this tool, both by providing feedback and by
actively contributing to the source code.This program is currently in pre-release mode, with experimental features. If it works, peace :)InstallationTo install qtop, you can either dogit clone https://github.com/qtop/qtop.git
cd qtop
./qtop --versionorpip install qtop --user ## run it without --user to install it as root
$HOME/.local/bin/qtop --versionUsageTo run a demo, just run./qtop -b demo -FGTw  ## show demo, -F for full node names, -T to transpose the matrix, -G for full GECOS field, and -w for watch modeOtherwise, for daily usage you can run./qtop -b sge -FGw ## replace sge with pbs or oar, depending on your setup (this is often picked up automagically)Try--helpfor all available options.DocumentationDocumentation/tutorialhere.ProfileDescription: the fast text mode way to monitor your cluster’s utilization and status; the time has come to take back control of your cluster’s scheduling business
License: MIT
Version: 0.9.20161222 / Date: 2016-12-22
Homepage: https://github.com/qtop/qtop
Package: qtopic
qtopicA Python module to fetch and parse data Topic related data from Quora.InstallationInstall using pip:pip install qtopicUsagefrom qtopic import QTopicbest_questions = QTopic.get_best_questions (‘Computer-Programming’)#do stuff with the parsed databest_questions[‘links’]best_questions[‘title’]best_questions[‘published’]FeaturesCurrently implementedFollower CountSome followers nameRelated TopicsFeed last updatedBest questionsTop Storiesbreaked down links, title, published.Open questionbreaked down links, title, published.TodoInformation to be stored in a better way.
Package: qtorch-plus
QPytorch+: Extending Qpytorch for Posit format and moreAuthor: minhhn2910@github, himeshi@githubInstallInstall in developer mode:gitclonehttps://github.com/minhhn2910/QPyTorch.gitcdQPyTorch
pipinstall-e./Simple test if c-extension is working correctly :python test.pyImportant: if there are errors when running test.py, please export the environment variables indicating build directory and/or CUDA_HOME, otherwise we will have permission problem in multi-user-server.export TORCH_EXTENSIONS_DIR=/[your-home-folder]/torch_extension
export CUDA_HOME=/[your cuda instalation directory e.g. /usr/local/cuda-10.2] 
python test.pyFunctionality:SupportPosit Formatwith round to nearest mode.Scaling of value before & after conversion to/from posit is supported (Exponent bias when the scale is a  power of 2).For example:value x -> x*scale -> Posit(x*scale) -> xSupport Tanh approximation with Posit and correction of error:Whenxis in a posit format with es = 0 =>Sigmoid(x) = (x XOR 0x8000) >> 2 => PositTanh(x) = 2 · Sigmoid(2x) − 1More number formats (Table lookup, log2 system ...,  and new rounding modes will be supported on new versions).Currently under development and update to support more number formats and schemes.Demo and tutorial:Approximate Tanh Function with Posit is presented atexamples/tutorial/test_posit_func.ipynbMost functionalities can be tested by using the notebooks in posit tutorials: ./examples/tutorial/Notebook demo training Cifar10 with vanilla Posit 8 bit:examples/tutorial/CIFAR10_Posit_Training_Example.ipynbDemo of DCGAN Cifar10 training with Posit 8 bit:Google Colab LinkDemo of DCGAN Lsun inference using Posit 6 bit and Approximate Tanh :Google Colab LinkDemo of applying posit 6 bits & 8 bits toALBERTfor Question Answering Task:GoogleColab DemoIf you find this repo useful, please cite our paper(s) listed below. The below also explain the terms and usage of Posit's enhancements (exponent bias and tanh function).@inproceedings{ho2021posit,
  title={Posit Arithmetic for the Training and Deployment of Generative Adversarial Networks},
  author={Ho, Nhut-Minh and Nguyen, Duy-Thanh and De Silva, Himeshi and Gustafson, John L and Wong, Weng-Fai and Chang, Ik Joon},
  booktitle={2021 Design, Automation \& Test in Europe Conference \& Exhibition (DATE)},
  pages={1350--1355},
  year={2021},
  organization={IEEE}
}The original Qpytorch package which supports floating point and fixed point:The original README file is in REAME.original.mdCredit to the Qpytorch team and their original publication@misc{zhang2019qpytorch,
    title={QPyTorch: A Low-Precision Arithmetic Simulation Framework},
    author={Tianyi Zhang and Zhiqiu Lin and Guandao Yang and Christopher De Sa},
    year={2019},
    eprint={1910.04540},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}Qpytorch TeamTianyi ZhangZhiqiu LinGuandao YangChristopher De Sa
Package: qtorch-posit
Extended version of QPytorchAuthor: minhhn2910@github, himeshi@githubMigration and change of package nameWe have developed multiple new funcionalities and have published the updated version under the new name: qtoch-plus.The new version supports arbitrary number of bit for posit (instead of only 16,8,6,4 bitwidth are supported in this version). We also support crafting customized number format with no restriction on the number of bit and the generating rules. More details on our github and in the new pip page:https://pypi.org/project/qtorch-positThis is developed based on the original QPyTorch package. The below is the original README file and acknowlegementOriginal Qpytorch:Original QPyTorch teamTianyi ZhangZhiqiu LinGuandao YangChristopher De Sa
Package: qtpip
Qt pipThis project aims to provide a wrapper aroundpip, but handling the Qt
account authentication for installing commercial wheels.The expected behavior is to detect thepipcommand from a /hopefully/
activated virtual environment, falling back to all the commands, but not for
the install.Installpip install qtpipUsageqtpip install pyside6IssuesMajor tasks and discovered use-cases that need to be implemented need to have
a JIRA entry, using theQt pipcomponent.
You can open anissue here.
Package: qtpi-test-kernel
_kernelqtpi_test_kernelis an example of a modified Jupyter kernel python wrapper to
enable inputs written in Qtpi quantum language. This repository complements the
documentation on wrapper kernels here:http://jupyter-client.readthedocs.io/en/latest/wrapperkernels.htmlInstallationUser has to ensure that Python language is installed on the machine.User has to install package manager :pipin case of Python 2 orpip3in case of Python 3.Here are 2 options which depends on the previous installation -To installqtpi_test_kernelfrom PyPI usingPython 2::pip install qtpi_test_kernel
python -m qtpi_test_kernel.installTo installqtpi_test_kernelfrom PyPI usingPython 3::pip3 install qtpi_test_kernel
python3 -m qtpi_test_kernel.installUsing the Qtpi kernelNotebook: TheNewmenu in the notebook should show an option for an Qtpi notebook.Console frontends: To use it with the console frontends, add--kernel qtpito
their command line arguments.
Package: qtplotlib
Copyright (c) 2019 Jérémie DECOCK (www.jdhp.org)Web site:http://www.jdhp.org/software_en.html#qtplotlibOnline documentation:http://qtplotlib.readthedocs.orgExamples:http://qtplotlib.readthedocs.org/gallery/Notebooks:https://github.com/jeremiedecock/qtplotlib-python-notebooksSource code:https://github.com/jeremiedecock/qtplotlib-pythonIssue tracker:https://github.com/jeremiedecock/qtplotlib-python/issuesQtPlotLib on PyPI:https://pypi.org/project/qtplotlibQtPlotLib on Anaconda Cloud:https://anaconda.org/jdhp/qtplotlibDescriptionPlotting with Python and QtNote:This project is still in beta stage, so the API is not finalized yet.DependenciesPython >= 3.0InstallationGnu/LinuxYou can install, upgrade, uninstall QtPlotLib with these commands (in a
terminal):pip install --pre qtplotlib
pip install --upgrade qtplotlib
pip uninstall qtplotlibOr, if you have downloaded the QtPlotLib source code:python3 setup.py installWindowsYou can install, upgrade, uninstall QtPlotLib with these commands (in acommand prompt):py -m pip install --pre qtplotlib
py -m pip install --upgrade qtplotlib
py -m pip uninstall qtplotlibOr, if you have downloaded the QtPlotLib source code:py setup.py installMacOSXYou can install, upgrade, uninstall QtPlotLib with these commands (in a
terminal):pip install --pre qtplotlib
pip install --upgrade qtplotlib
pip uninstall qtplotlibOr, if you have downloaded the QtPlotLib source code:python3 setup.py installDocumentationOnline documentation:http://qtplotlib.readthedocs.orgAPI documentation:http://qtplotlib.readthedocs.org/en/latest/api.htmlExample usageTODOBug reportsTo search for bugs or report them, please use the QtPlotLib Bug Tracker at:https://github.com/jeremiedecock/qtplotlib-python/issuesLicenseThis project is provided under the terms and conditions of theMIT License.
Package: qtpygc
qtpygcAre you experiencing strange segfaults in your large multithreaded Qt program at seemingly random times? Maybe even data corruption?It might be because both PyQt and PySide have a longstanding bug that may never be fixed. This bug is the result of three things:Manipulating Qt objects is generallynotthread-safe. The only thread that can safely access a Qt object is the one thatownsthat objects. Deleting an object isespeciallynot safe. Almost all Qt objects are GUI objects and are owned by the GUI thread.Qt objects are generally arranged in a tree and are deleted manually, at least when coding in C++. In Python however, Qt objectscanget garbage-collected when they are no longer referenced. It is easy to create reference cycles, and Python willeventuallycollect such objects when the garbage collector runs.In CPython, garbage collection may run at any timeand from any thread. Typically this happens in threads that allocate and free a lot of objects, which is usually background threads (not the main GUI thread).This means that the garbage collector may run in a background thread and accidentally deallocate a GUI object that is owned by the GUI thread. QObject destruction is not thread-safe, so this results in anything from weird corruption to crashes.This module implements theworkaroundsuggested by Kovid Goyal on the PyQt mailing list: disable automatic garbage collection and periodically run garbage collection manually in the main (Qt GUI) thread.This isnota complete workaround: if you create QObjects in threads other than the GUI thread, you can still get a crash when the GUI thread runs the GC and destroys such objects. You must ensure that objects created in other threads are manually destroyed (for example usingdeleteLater).DependenciesWe try to keep dependencies light:QtPyabstraction layer for PyQt/PySideHeapDictexcellent heap-based priority queue module (88 LoC)To run the tests, you'll needpytest. In particular,tests/test_crash.pychecks that Qt crashes if the workaround in this module isn't active.ExamplesTypical usage would be something like:fromqtpy.QtWidgetsimportQApplicationfromqtpygcimportGarbageCollector# you should only ever create one instance of thisgaco=GarbageCollector()app=QtWidgets.QApplication(sys.argv)# start a timer inside the main Qt thread that collects garbagewithgaco.qt_loop():# run event loop (use app.quit() to exit)app.exec_()If you are running a tight Python loop that creates a lot of cyclic garbage, you can manually trigger a garbage collection if needed:whilesome_condition:do_stuff_that_generates_garbage()# check if the garbage collector should run and signal the GUI thread to run it if necessarygaco.maybe_collect_threadsafe()Alternatively, you can temporarily decrease the GC timer interval:# while inside the "with" block, check if the GC needs to be run every hundredth of a secondwithgaco.gc_interval_threadsafe(0.01):do_stuff_that_generates_a_lot_of_garbage()
Package: qtpy-led
qtpy_ledSimple LED widget for QtPy.Forked frompyqt_ledby Neur1n and modified to work with QtPy.Table of ContentsInstallationUsageTipsLicenseInstallationpip$ pip install qtpy-ledpoetry$ poetry installUsageThe following example is also provided in the package, and will result in the screenshots shown above.fromqtpy.QtCoreimportQtfromqtpy.QtWidgetsimportQApplicationfromqtpy.QtWidgetsimportQGridLayoutfromqtpy.QtWidgetsimportQWidgetfromqtpy_ledimportLedimportnumpyasnpimportsysclassDemo(QWidget):def__init__(self,parent=None):QWidget.__init__(self,parent)self._shape=np.array(["capsule","circle","rectangle"])self._color=np.array(["blue","green","orange","purple","red","yellow"])self._layout=QGridLayout(self)self._create_leds()self._arrange_leds()defkeyPressEvent(self,e):ife.key()==Qt.Key_Escape:self.close()def_create_leds(self):forsinself._shape:forcinself._color:exec('self._{}_{}= Led(self, on_color=Led.{},\shape=Led.{}, build="debug")'.format(s,c,c,s))exec("self._{}_{}.setFocusPolicy(Qt.NoFocus)".format(s,c))def_arrange_leds(self):forrinrange(3):forcinrange(6):exec("self._layout.addWidget(self._{}_{},{},{}, 1, 1,\Qt.AlignCenter)".format(self._shape[r],self._color[c],r,c))c+=1r+=1app=QApplication(sys.argv)# type: ignoredemo=Demo()demo.show()sys.exit(app.exec_())TipsIf you want to be able to toggle the LED, then either usesetEnable(True)or pass an empty string to thebuildargument in Led.Thestatus_changedsignal will emit a boolean when the LED's state has changed.Currently, the only way to shrink the LED beyond the default size is to usesetFixedSizeLicenseMIT License. Copyright (c) 2023 crash8229.
Package: qtpynodeeditor
qtpynodeeditorPython Qt node editorPure Python port ofNodeEditor,
supporting PyQt5 and PySide throughqtpy.RequirementsPython 3.6+qtpyPyQt5 / PySideDocumentationSphinx-generated documentationScreenshotsStyle exampleCalculator exampleInstallationWe recommend using conda to install qtpynodeeditor.$ conda create -n my_new_environment -c conda-forge python=3.7 qtpynodeeditor
$ conda activate my_new_environmentqtpynodeeditor may also be installed using pip from PyPI.$ python -m pip install qtpynodeeditor pyqt5Running the TestsTests must be run with pytest and pytest-qt.$ pip install -r dev-requirements.txt
$ pytest -v qtpynodeeditor/tests
Package: qtpyt
# pyqtA quantum transport library based on the non equilibrium Green’s function (NEGF) formalism written in Python.## Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.### Prerequisites> Asehttps://wiki.fysik.dtu.dk/ase/> numpyhttps://github.com/numpy### Installingpip install qtpyt## Running the testspytest subfolder/tests### Upload# change version number.twine upload –repository testpypi dist/qtpyt-0.0.tar.gz### Registerpython setup.py sdist### Build Cythonpython setup.py build_ext –inplace### Install developpip install -e .
Package: qtpyvcp
QtPyVCP - QtPy Virtual Control PanelQtPyVCP is a Qt and Python based framework for building virtual control panels
for the LinuxCNC machine control.The goal is to provide a no-code, drag-and-drop system for making simple VCPs,
as well as a straightforward, flexible and extensible framework to aid in
building complex VCPs.Installation and UsageSee thedocumentation.DevelopmentGitHub RepoIssue TrackerDocumentation and HelpDocumentationLinuxCNC ForumFreenode IRC(#hazzy)  (Issues joining? please try other network)The Matrix(#qtpyvcp:matrix.org)Gitter(Issues joining? please try other network)DiscordDependanciesLinuxCNC 2.8^ or masterPython 2.7PyQt5 or PySide2QtPyVCP is developed and tested using the LinuxCNC Debian 9 and 10 x64 (stretch and buster)Live ISO. It should run
on any system that can have PyQt5 installed, but Debian 9 and 10 x64 is the only OS
that is officially supported.DISCLAIMERTHE AUTHORS OF THIS SOFTWARE ACCEPT ABSOLUTELY NO LIABILITY FOR
ANY HARM OR LOSS RESULTING FROM ITS USE.  IT ISEXTREMELYUNWISE
TO RELY ON SOFTWARE ALONE FOR SAFETY.  Any machinery capable of
harming persons must have provisions for completely removing power
from all motors, etc, before persons enter any danger area.  All
machinery must be designed to comply with local and national safety
codes, and the authors of this software can not, and do not, take
any responsibility for such compliance.This software is released under the GPLv2.