Saravanan666/pypi-org huggingface dataset:
Package: qtradingview
QTradingViewPyQt App for TradingView.Recommends simple login to autosave your draws.IndexFeaturesInstallationUsageFeaturesIncludes the most cryptocurrencies exchanges available in tradingview.Complete lists of available markets, with symbol filter.Favorite and margin lists.Portfolio.Ads remove.InstallationQTradingView needs an environment with Python3 and Qt5Prepare environmentInstallAnacondaCreate and active environment.conda create -n env_name python=3.7
conda activate env_nameInstall PyQt5conda install -c anaconda pyqtQTradingView from source codepip install poetry
    git clone https://github.com/katmai1/qtradingview
    cd qtradingviewUsageInstall PyQt5 libs using anacondaCreate and active environment.conda create -n env_name python=3.7
conda activate env_nameInstall PyQt5 and dependenciesconda install -c anaconda pyqtinstallpip install qtradingviewRunning from source using AnacondaCreate and active environment.conda create -n env_name python=3.7
conda activate env_nameInstall PyQt5 and dependenciesconda install -c anaconda pyqt
pip install -r requirements.txtRunpython apprun.py*Can be install without Anaconda if install all PyQt5 dependencies manually.TroubleshotDatabase issues after an updateProbably the last update does changes into database and this changes are not applied automatically. You can try update tables manually.- If running from source:
    python apprun.py --updatedb

- If running compiled release:
    qtradingview --updatedb

* This function works fine whe running from source code, with a compiled version sometimes not update correctly.If issue persist you can delete database to force his create again.- If running from source:
    python apprun.py --deletedb

- If running compiled release:
    qtradingview --deletedb
Package: qt-reactor
QReactorForked from qt5reactor which was forked from qt4reactor and now uses
[qtpy](https://github.com/spyder-ide/qtpy) to provide to support both.Using the QtReactorInstall using pippip install qt-reactorBefore running / importing any other Twisted code, invoke:app = QApplication(sys.argv) # your code to init QtCore
from twisted.application import reactors
reactors.installReactor('qt')orapp = QApplication(sys.argv) # your code to init QtCore
import qreactor
qreactor.install()Testingtrial --reactor=qt5 [twisted] [twisted.test] [twisted.test.test_internet]Make sure the plugin directory is in path or in the current directory for
reactor discovery to work.Testing on Python 3trialdoes not work on Python3 yet. Use Twisted’sPython 3 test runnerinstead.Install the reactor before callingunittest.main().import qreactor
qreactor.install()
unittest.main(...)
Package: qtregpy
qtregpyThis package provides the software tools to implement Quantile Transformation Regression introduced inSpady and Stouli (2020).With the tools in this package it is possible to obtain inference and estimation results for conditional distribution,
quantile and density functions implied by flexible Gaussian representations.For further details, please refer to the original text.InstallationYou can install gtregpy with pip directly from PyPI.pip install qtregpyUsageHere's a simple example of how to use gtregpy:importqtregpyasqtrmel_data_path='filepath/melbeourne.csv'x,y=qtr.load_mel_data(mel_data_path)mel_answer=qtr.compute_basic(x,y)DocumentationYou can find more detailed documentation for each function in docstrings.TestingTo run the tests, use the following command:pytesttests/ContributingWe welcome contributions! Please see theContribution Guidefile for details on how to contribute.LicenseThis package is licensed under the MIT license. See the LICENSE file for details.
Package: qtreload
qtreloadQt utilities to enable hot-reloading of python/Qt codeHave you been using Jupyter Notebook's magic functions such as%load_ext autoreload
%autoreload 2where you might have been editing code in VSCode or Pycharm and executing actions in Jupyter Notebook?Or have you previously usedLiClipsewhich hasDebugger Auto-Reload?Well,qtreloadprovides similar capabilities by 'hot-reloading' python modules when there are changes to
the source code. It operates by generating a list of all possible modules/submodules for a specific project and
then usingQFileWatcherto observe any changes to these files.This library should be used when developing Qt code in Python and you are not interested in continually having to restart your application. (See limitations to find out when its still required).UsageYou can instantiate theQtReloadWidgetmanually or using theinstall_hot_reloadfunction.Note! Make sure to instantiate QApplication before running this code.UsingQtReloadWidget:from qtreload.qt_reload import QtReloadWidget

# you can specify list of modules that should be monitored
list_of_widgets = ["napari", "spyder", "..."]

widget = QtReloadWidget(list_of_modules)That's pretty much it. Now every time you make changes to your source code in e.g.napariwill be reflected in your interpreter.Usinginstall_hot_reloadrequires two environment variabels being set, namely:QTRELOAD_HOT_RELOAD=1
QTRELOAD_HOT_RELOAD_MODULES="napari, spyder"Then you can just execute the following:from qtreload.install import install_hot_reload

install_hot_reload()When it works like magicThere are countless examples where this approach really well. Some examples:You are running your application where you have methodon_runbut when you execute this function, you notice that you misspelled some variable. In normal circumstances you would need to restart the application. Now, however, you can correct it in your IDE, save, and try running again.You are running your application and are modifying the layout of a popup window. Now you can do this and each time the dialog is reshown, the new version of the dialog will be shown.LimitationsWhile this approach can be extremely useful and can save a lot of time, it has a couple of limitations:code within the___init__.pycannot be reloadedsome changes to GUI code cannot be reloaded - if e.g. you are modying theQMainWindowand just added a new button, this button will now be shown. In order to show it, you will still need to restart the application. If, however, you were modyfing a plugin or a dialog that is shown upon clicking on e.g. menu item, these changes WILL take place.modifying python properties (@setter/@getter) is not always reloadedAcknowledgementsThe hot-reload code is directly copied from the PyDev debugger developed byfabiozwith minimal changes to remove any dependenciesSeehttps://github.com/fabioz/PyDev.Debugger/blob/main/_pydevd_bundle/pydevd_reload.py
Package: qtrename
QtRenamefeature-rich app to rename files for GNU/Linux and WindowsInstallationDescriptionLicenseFeaturesReport a bug - Request featureScreenshotsChangelogInstallationLinux:pip install qtrenameTo avoid running the app from the command line, you need to add it to your apps menu:Download thisscriptOpen the terminal andcdto the location ofsetup.shrun:chmod u+x setup.shrun:./setup.shHead to your apps menu, type qtfind or you can find it under Accessories.Windows:Download the installer fromhere[RequireMicrosoft Visual C++ 2015 Redistributable]Description:heavy_check_mark:QtRenameis a graphical interface for bulk renaming.:heavy_check_mark:QtRenameeasy to use.:heavy_check_mark:QtRenameis for for Linux and Windows.:heavy_check_mark:QtRenameis made with PyQt5LicenseThis program comes with absolutely no warranty. See theGNU General Public Licence, version 3 or later for details.FeaturesFind and Replace:Skip the firstNoccurrencesReplace maxNoccurrencesCase sensitiveSwap chunks of charactersfind occurrences using RegExCasing:Change case file, extension or both (upper, lower, sentence, title, invert, random)Ignore upper and/or mixed caseAdd/RemoveInsert/Overwrite/Remove characters at a specific position (backwards option available)Combine Insert/Overwrite/RemoveMovecharacters from onne position to another (absolute/relative position, backwards,)Spaces:Remove leading/trailing/multiple spacesKeep a space before/after a set of charactersReplace specific character with a spacesReplace a consecutive set of a specific characters with 1 spaceCounter:Insert numbers at the begining/end of the filenameReplace the filename with a unified nameSet a seperator between counter and filenameEnumerate:Start counter from a specific numbersCounter stepSet a separatorZero paddingExtra:Realtime previewSelective previewRename filename, extension or bothNavigate directories (folders): from the list, open dialog, type in completerfilter by extensionRename files / directories (folders) / subdirectories (sub-folders)Themes: default and dark (4 tones: blue, green, orange and pink)Undo renaming (only last one)Errors LogReport a bug - Request featurehttps://github.com/amad3v/QtRename/issuesScreenshotsDark theme (Linux):Default theme (Windows):ScreenshotsScreenshotsChangelog1.1.1:Fix treating directories as files when Process Extension is selected.Fix animation doesn't stop if RegEx is invalid.Fix no preview in some cases.Fixed error message shown multiple times.1.1.0:Fixed MVC bugsFixed folders/Files opened incrementallyAdjusted GUI for low resolution screensAdded french translationMinor improvements1.0.0:Initial releaseCopyright :copyright: 2020 - amad3v
Package: qtrex
qtrexQuery template rendering and execution library written in Python.The goal ofqtrexis to provide a simple API that supports loading.sqlfiles that can be templated withjinja, and provide extensible configuration
options to either compile the files, and execute the rendered templates against
various databases.Getting Startedqtrexis installable athttps://pypi.org/project/qtrex/viapipusing:We currently only supportbigquery, but plan on adding other DB support as
optional dependencies.pip install 'qtrex[bigquery]==0.0.5'ExamplesHere is a brief example usage ofqtrex.Assuming you have query templates in a directory on a local filesystem, using
our test suite as an example:|tests
    |--test_*.py
    |--testdata
        |--mytemplate.sql
        |--ingest
            |--another_file_ext.j2
            |--another_query.sqlWhere./tests/testdata/mytemplate.sqlhas the following contents:SELECTSUM(x)FROMUNNEST({{params.test_array}})ASxand./tests/testdata/ingest/another_query.sqlhas:SELECT*FROM`{{params.my_project_id}}.{{params.my_dataset}}.{{params.my_table}}`and lastly,./tests/testdata/nested_params.sqlhas:SELECT{{params.test_dict_key.one}}+{{params.test_dict_key.two}}Next, we want to have our.yamlconfig (or extendqtrex.config.BaseConfig)
to implement your own config mechanism.Our./tests/example.yamlwill look like:params:-key:test_string_keyvalue:"string_value"-key:test_array_keyvalue:[1,2,3]-key:test_dict_keyvalue:one:1two:2three:3We can now run the following script (./tests/example.py) after changing
into the./testsdirectoryfromqtrex.executorimportBigQueryExecutorfromqtrex.storeimportStorefromqtrex.configimportYAMLConfigdefmain():withopen("./example.yaml","r")asf:cfg=YAMLConfig(f)store=Store.from_path(cfg,"./testdata")ex=BigQueryExecutor()forquery_refinstore:print(f"{query_ref.name}:{query_ref.template}\n")res=ex.execute(query_ref,dry_run=True)print(f"results:{res}")if__name__=="__main__":main()When we run this script:cd./tests
pythonexample.pywe should see the following instdoutmytemplate.sql: SELECT SUM(x)
FROM UNNEST([1, 2, 3]) AS x

results: QueryResult(query_ref=QueryRef(filename='./testdata\\mytemplate.sql', template='SELECT SUM(x)\nFROM UNNEST([1, 2, 3]) AS x', name='mytemplate.sql'), df=None, error=None)
nested_params.sql: SELECT
    1 + 2

results: QueryResult(query_ref=QueryRef(filename='./testdata\\nested_params.sql', template='SELECT\n    1 + 2', name='nested_params.sql'), df=None, error=None)
Package: qtrotate
Quicktime/MP4 rotation tool============================.. image:: https://badge.fury.io/py/qtrotate.svg:target: https://badge.fury.io/py/qtrotateTool to read or change a new rotation meta of mp4 (Quicktime) files (e.g. from iphones and similar).Installation------------.. code-block:: bash$ pip install qtrotateQuickstart------------.. code-block:: pythonimport qtrotaterotation = qtrotate.get_set_rotation(file_path)From terminal------------.. code-block:: bash$ ./qtrotate.py myfile.mp4  # Read rotation from mp490$ ./qtrotate.py myfile2.mp4 -90 # Set rotation$ ./qtrotate.py myfile2.mp4270
Package: qtrunner
中文说明introductionrunneris aconfigurablequick launcher forstarting (running)commonly usedcommands (programs). It comes
with alogoutput interface, which is convenient for users toview (color)andsavelog. And the log output in a special
format can also drive the program to draw aprogress bar.main-uiinstallpip install -r requirements.txtonly tested on thewindwosplatform, recommended to use thepython 3.7version.start uppython runner.py - run from codebaserunner - run after installconfiguremain configuration fileconfig.json{"maxLogLines":1000,// max lines to view"maxStdout":40960,// max block of stdout"defaultEncoding":"gbk",// default stdout encodding"configs":[// sub configuration item{"file":"runner_common.json",// sub configuration file"title":"通用(测试)"// title in ui}]}sub configuration filerunner_xxxx.json[{"title":"change codepage to gbk(use with caution)",// title in ui"cmd":"cmd /c  chcp 936",// command ling"encoding":"gbk",// output encoding"qss":"color: rgb(150, 0, 0);",// ui styles in qss format"cwd":"",// current working directory"env":{// environment variables"GP_LANGUAGE":"zh_CN"}}]
Package: qts
ResourcesDocumentationRead the DocsIssuesGitHubRepositoryGitHubTestsGitHub ActionsDistributionPyPIIntroductionNoteqts is presently an exploratory project.
It does have test coverage and is significantly documented.
It only covers a few Qt modules.qts is a Qt5/6 and PyQt/PySide compatibility layer for your libraries and applications.
It is designed to work with mypy and includes a CLI utility to notify mypy of the needed conditions.
To keep the scope reasonable, qts will focus on the variances that all code using Qt will need such as imports and signals.
Nuanced detailed differences will not be abstracted away.
Helper functions and similar may be provided on a case by case basis.importqtsimportqts.utildefmain():qts.set_wrapper(qts.available_wrappers()[0])fromqtsimportQtWidgetsapplication=QtWidgets.QApplication([])widget=QtWidgets.QLabel("this is qts")widget.show()qts.util.exec(application)main()
Package: qt-sass-theme-getter
qt-sass-theme-getterSet the Qt theme (e.g. dark/light/darkblue/lightblue) easilyThis is using SCSS to set the light/dark theme to PyQt GUI, which is quite efficient.Setuppython -m pip install qt-sass-theme-getterIncluded Packagesqtsass- for converting sass into csspyqt-svg-button- for supporting svg buttonMethod OverviewgetThemeFiles(theme: str = 'dark', output_path=os.getcwd())Supporting theme:darkdark_bluelightlight_blueTheme files will be saved in 'res' directory ofoutput_pathafter you calledgetThemeFiles.'res' directory looks like this:icodirectory holds icon files which will be being used in theme. For example, light icons will be being used in dark theme, dark icons will be being used in light theme._icons.scssmakes sass files insassdirectory refer to icons in this directory.sassdirectory holds the scss files which will be converted into css files.vardirectory holds the_variables.scsswhich contains the color(e.g. color of background/widget/border...) variables. You can change the_variables.scss's variables whatever you want, if you want to set custom variables.setThemeFiles(main_window: QWidget, input_path='res', exclude_type_lst: list = [])Right after callinggetThemeFiles, you can set the style with callingsetThemeFiles.After calling it, 'res' directory looks like this:scss files successfully convert into css files.Note: Don't change the current directory with function such asos.chdirafter callinggetThemeFilesand before callingsetThemeFiles.FileNotFoundErrorwill be most likely occurred.ExampleCode SamplefromPyQt5.QtWidgetsimportQApplicationfrompyqt_timer.settingsDialogimportSettingsDialogfromqt_sass_theme_getterimportQtSassThemeGetterif__name__=="__main__":importsysapp=QApplication(sys.argv)widget=SettingsDialog()g=QtSassThemeGetter()g.getThemeFiles(theme='dark')# g.getThemeFiles(theme='dark_blue') - if you want to set dark blue themeg.setThemeFiles(main_window=widget)widget.show()app.exec_()ResultDark themeDark blue themeLight themeLight blue theme
Package: qtsix
QtSix provides a compatibility layer that allows to write Pythonapplications that work with different Qt bindings: PyQt5, PyQt4 orPySide.An application that used QtSix can work correctly if any of thesupported Qt bindings is installed on the system.QtSix automatically detects available bindings and uses themtransparently.If more than one Qt_ binding is present on the system then it is selectedthe first one available in the following order: PyQt5, PyQt4, PySide.
Package: qtstrap
QtStrap: Qt application bootstrapping frameworkQt is excellent, but it's also enormous. There's a lot of topics, and many of them have hidden gotchas. PySide2 and PyQt are also excellent, letting us leverage the powerful Qt libraries from up in the clouds in PythonLand, but this arrangement has its own gotchas.The goal of qtstrap is get your applications up and running quickly, so you can focus on your problem instead of on Qt's idiosyncracies.FeaturesMore complete docs are availablehere.qtstrapcommand line tool to bootstrap new projectscrossplatform makefile with useful development commandspreconfigured build system using PyInstaller and InnoSetupcustom Qt widgets with useful behaviorsPythonic layout system using ContextLayoutsSome other stuff I haven't remembered yetCustom WidgetsLabelEditHLineandVLineLinkLabelButtons:StateButtonIconToggleButtonConfirmToggleButtonMenuButtonPersistent Widgets (for rapid prototyping of saved data):PersistentCheckableActionPersistentCheckBoxPersistentComboBoxPersistentLineEditPersistentListWidgetPersistentPlainTextEditPersistentTabWidgetPersistentTextEditPersistentTreeWidgetUtility Classes and FunctionsAdapterTimeStampStringBuildercall_later()decorators:@accepts_file_drops@trace@singletoncontext managers:DeferSignalBlockerqtstrap.extras:CommandPalette, like VSCode or SublimeTextLogging Subsystem: log to local database + log viewer widgetsCodeEditor: Custom QTextEditor subclass customized for code editingDependenciesPython 3PySide2 or PyQt5Make(optional, but recommended)InstallationpipinstallqtstrapContributingContributions are always welcome. Feel free toopen an issueorstart a new discussionon our GitHub.
Package: qtstyles
[![Build Status](https://travis-ci.org/simongarisch/qtstyles.svg?branch=master)](https://travis-ci.org/simongarisch/qtstyles)[![Coverage Status](https://coveralls.io/repos/github/simongarisch/qtstyles/badge.svg?branch=master&service=github)](https://coveralls.io/github/simongarisch/qtstyles?branch=master)[![PyPI version](https://badge.fury.io/py/qtstyles.svg)](https://badge.fury.io/py/qtstyles)# qtstylesA collection of Qt Style Sheets accompanied by useful classes.## Installationqtstyles is python 2 and 3 compatible.```bashpip install qtstyles```## OverviewProvided are **Two ways** to change your Qt application style sheet:## 1. With the StylePicker classView available styles with:```pythonfrom qtstyles import StylePickerStylePicker().available_styles```And change the Qt application style using the get_sheet() method:```pythonfrom qtpy import QtWidgetsfrom qtstyles import StylePickerapp = QtWidgets.QApplication([])win = QtWidgets.QMainWindow()app.setStyleSheet(StylePicker("qdark").get_sheet()) # <-- changing the style herewin.show()app.exec_()```## 2. We can also change the style sheet with an instance of StylePickerWidget (inherits from QComboBox)```pythonfrom qtpy import QtWidgetsfrom qtstyles import StylePickerWidgetapp = QtWidgets.QApplication([])win = QtWidgets.QMainWindow()picker_widget = StylePickerWidget() # <-- this QComboBox allows the user to change style sheetswin.setCentralWidget(picker_widget)win.show()app.exec_()```See the 'Overview Notebook.ipynb' for additional details.## MotivationWhen looking for Qt ('.qss') style sheets most were scattered across different sites.Disclaimer: I've collected these style sheets from different repositories and they are not my own work.Attribution, links and the associated licenses have been provided at the top of each qss file.If you'd like to add a style sheet please create a pull request and I'll be happy to take a look.## What does it look likeThe StylePickerWidget is in the bottom left hand side of this window:![qstyles demo](https://github.com/simongarisch/qtstyles/blob/master/demo.PNG?raw=true)
Package: qt-style-sheet-inspector
Qt Style Sheet InspectorA inspector widget to view and modify style sheet of a Qt app in runtime.Free software: MIT licenseObservationIt need PyQt5 to work but it doesn’t have it as a dependency, as testing with PyQt5 pypi proved
unreliable (may be changed in the future).FeaturesCan view current style sheet of application during runtimeStyle sheet can be changed in runtime, facilitating the process of designing a custom GUIHas a search bar to help find specific types or namesCan undo/redo changesHistory0.1.0 (2016-09-28)First release.
Package: qtstylish
AboutThis package provides a modern light and dark theme for PyQt5. I made this because I was not satisfied with alternatives:qtmodernoverrides QPalette but I needed a purely stylesheet-based solutionQDarkStyleSheetandBreezeStyleSheetshad some visual bugs and a different aesthetic than what I wantedScreenshotsInstallationpip install qtstylishUsageimport qtstylish
my_widget.setStyleSheet(qtstylish.light())More InfoWorks best with app style set to FusionIcons are mostly modified fromhttps://github.com/microsoft/fluentui-system-iconsUses qtsass for compiling to QSShttps://github.com/spyder-ide/qtsassTook some SCSS & ideas fromhttps://github.com/ColinDuquesnoy/QDarkStyleSheetandhttps://github.com/Alexhuszagh/BreezeStyleSheetsAlternativesQDarkStyleSheetBreezeStyleSheets
Package: qttk
qttk[qttk] Quantitative Trading ToolKit - Quant trading library developed by Conlan Scientific Open-Source Research CohortDesign PhilosophyConsistentDate-indexedpandasobjects are the core data structure.TransparentTest cases are clear and serve as an additional layer of documentation. Type hints are used liberally.PerformantExecution speed tests are built into test cases. Only the fastest functions get published.Getting Started withqttkInstall from PyPI usingpip install qttk. Try the following sample.# Indicators module contains core qttk functionalityfromqttk.indicatorsimportcompute_rsi# qttk is 'batteries included' with simulated datafromqttk.utils.sample_dataimportload_sample_data# Load a ticker from csv into dataframedf=load_sample_data('AWU')print(df.head())rsi=compute_rsi(df)print(rsi[-10:])Next StepsCheck outsome demos on GitHub.Feel free to create a bug or feature request ticket:qttk issue tracker.
Package: qt-tree
QtTreeQtTree provides a graphical user interface for editing and visualizing tree data structure.Installationpip install qt-treeUsageCheckdemo.pyto know how this library can use.LicenseMIT License.ReferenceQtTree exploits the following libraries:https://github.com/LeGoffLoic/Nodzhttps://github.com/c0fec0de/anytree