Saravanan666/pypi-org huggingface dataset:
Package: q1ss
This library contains experimental implementations of quantum one-shot signatures by authors from the QSig Commission and other contributors, with special focus on blockchain technology.ContentsInstallUsageAPILicenseInstallThe library is currently in pre-alpha development, but you can install the latest release fromPyPIas follows:$pipinstall--upgradeq1ssLow-level operations are vectorised usingnumpy, which is a required dependency of this library.Ifnumbais installed, it is automatically used to JIT-compile certain low-level operations for additional performance:$pipinstall--upgradenumbaIfcupyis installed additionally tonumba, GPU acceleration can be used for certain operations:$pipinstall--upgradecupyUsageComing soon.APIFor the full API documentation, seehttps://q1ss.readthedocs.io/LicenseLGPL © Hashberg Ltd and 20squares UG.
Package: q2
# q2A reinforcement learning framework and command line tool.## Get it` pip install q2 q2--help`## Use itMake a folder,cdto it, then run` q2 init `to generate a new reinforcement learning project.## DocsDocumentation is available athttps://q2.readthedocs.io/.## DevelopYou’ll need Python >= 3.5 (this is because q2 makes use of type annotations)Clone this repositoryI recommend setting up a virtual env in which to develop:python -m venv envpip install -r requirements.txtTo test out the command line tools from your working copy of q2, run` pip install-e. `then run` q2--help`to test that it worked.## ContributingIf you want to submit a bug fix or minor change, feel free to make a pull request.If you want to discuss bigger improvements, send an email to tdbalcorn at gmail dot com.
Package: q26-alphatrading
Q26_QuanTesterQ26 Backtest System is a financial investment simulation tool dedicated for algorithmic traders developped in Python 3.Main features :Python based : very simple configuration file & strategies design modelHigh personnalisation and very wide way of use of the toolEnvironment free of any development bias :No access to future data during the simulationPre-Backtest data preparation :Missing data filling modelsPossibility to resample data to any timeframeMultiple asset synchronizationHigh realism portfolio :Leverage, margin constraints, other security constraintsHigh precision symbols characteristics : lot size, minimum lot size, open/close/off trading hours, fees ...Fully personnalisable strategies & outputsParallelisable backtest, performance optimisation & MC approachAnd a lot more features ...And a lot of new features soon !To get more informations about the Backtest System and the other products of Q26, you can visit our web site by clickinghere. Get access to the detailled documentationhereGetting the Q26 Backtest SystemDownload the code by cloning the git repository usinggit clone https://github.com/LoannData/Q26_QuanTester.gitor install the latest stable version usingpip install q26-quanTesterHands-onHereyou can find a tutorial which shows how to hands-on the Q26 Backtest system
Package: q26-quanTester
Q26_BacktestSystemQ26 Backtest System is a financial investment simulation tool dedicated for algorithmic traders developped in Python 3.Main features :Python based : very simple configuration file & strategies design modelHigh personnalisation and very wide way of use of the toolEnvironment free of any development bias :No access to future data during the simulationPre-Backtest data preparation :Missing data filling modelsPossibility to resample data to any timeframeMultiple asset synchronizationHigh realism portfolio :Leverage, margin constraints, other security constraintsHigh precision symbols characteristics : lot size, minimum lot size, open/close/off trading hours, fees ...Fully personnalisable strategies & outputsParallelisable backtest, performance optimisation & MC approachAnd a lot more features ...And a lot of new features soon !To get more informations about the Backtest System and the other products of Q26, you can visit our web site by clickinghere. Get access to the detailled documentationhereGetting the Q26 Backtest SystemDownload the code by cloning the git repository using$ git clone https://github.com/LoannData/Q26_BacktestSystem.gitHands-onHereyou can find a tutorial which shows how to hands-on the Q26 Backtest system
Package: q26-quanTrader
Q26_QuanTraderQ26 QuanTrader is a financial investment system dedicated to algorithmic trading developers who only whant to focus on the development of their trading strategies and not on all the structural framework around. I recommend to the users to use this project with theQ26 QuanTesterdedicated to trading strategies development. This tool is developed thanks to Python 3.Main featuresPython based : very simple confiduration file & strategies design model.Trading strategies developed withQ26 QuanTesterare immediately compatible with this tool.Multi-brokerage choice : With connexion to IBKR (TWS) and MT4 trading platforms, the user has choice to a very large panel of compatible brokers.Precise trading actions record : Every action of the trading algorithm is stored in a log and can be used for futher studies.A lot more interesting features are coming !To get more informations about the Backtest System and the other products of Q26, you can visit our web site by clickinghere. Get access to the detailled documentation [here][2]Getting the Q26 Trading SystemDownload the code by cloning the git repository usinggit clone https://github.com/LoannData/Q26_QuanTrader.gitor install the latest stable version usingpip install q26-quanTraderHands-on(Soon) you can find a tutorial which shows how to hands-on the Q26 Trading System
Package: q2db
The light Python DB API wrapper with some ORM functions (MySQL, PostgreSQL, SQLite)Quick start (run demo files)- in docker:gitclonehttps://github.com/AndreiPuchko/q2db&&cdq2db/database.docker
./up.sh
./down.sh- on your system:pipinstallq2db
gitclonehttps://github.com/AndreiPuchko/q2db&&cdq2db# sqlite:python3./demo/demo.py# mysql and postgresql:pipinstallmysql-connector-pythonpsycopg2-binarypushddatabase.docker&&docker-composeup-d&&popdpython3./demo/demo_mysql.py
python3./demo/demo_postgresql.pypushddatabase.docker&&docker-composedown-v&&popdFeatures:Connectfromq2db.dbimportQ2Dbdatabase_sqlite=Q2Db("sqlite3",database_name=":memory:")# or justdatabase_sqlite=Q2Db()database_mysql=Q2Db("mysql",user="root",password="q2test"host="0.0.0.0",port="3308",database_name="q2test",)# or justdatabase_mysql=Q2Db(url="mysql://root:q2test@0.0.0.0:3308/q2test")database_postgresql=Q2Db("postgresql",user="q2user",password="q2test"host="0.0.0.0",port=5432,database_name="q2test1",)Define & migrate database schema (ADD COLUMN only).q2db.schemaimportQ2DbSchemaschema=Q2DbSchema()schema.add(table="topic_table",column="uid",datatype="int",datalen=9,pk=True)schema.add(table="topic_table",column="name",datatype="varchar",datalen=100)schema.add(table="message_table",column="uid",datatype="int",datalen=9,pk=True)schema.add(table="message_table",column="message",datatype="varchar",datalen=100)schema.add(table="message_table",column="parent_uid",to_table="topic_table",to_column="uid",related="name")database.set_schema(schema)INSERT, UPDATE, DELETEdatabase.insert("topic_table",{"name":"topic 0"})database.insert("topic_table",{"name":"topic 1"})database.insert("topic_table",{"name":"topic 2"})database.insert("topic_table",{"name":"topic 3"})database.insert("message_table",{"message":"Message 0 in 0","parent_uid":0})database.insert("message_table",{"message":"Message 1 in 0","parent_uid":0})database.insert("message_table",{"message":"Message 0 in 1","parent_uid":1})database.insert("message_table",{"message":"Message 1 in 1","parent_uid":1})# this returns False because there is no value 2 in topic_table.id - schema works!database.insert("message_table",{"message":"Message 1 in 1","parent_uid":2})database.delete("message_table",{"uid":2})database.update("message_table",{"uid":0,"message":"updated message"})Cursorcursor=database.cursor(table_name="topic_table")cursor=database.cursor(table_name="topic_table",where=" name like '%2%'",order="name desc")cursor.insert({"name":"insert record via cursor"})cursor.delete({"uid":2})cursor.update({"uid":0,"message":"updated message"})cursor=database.cursor(sql="select name from topic_table")forxincursor.records():print(x)print(cursor.r.name)cursor.record(0)['name']cursor.row_count()cursor.first()cursor.last()cursor.next()cursor.prev()cursor.bof()cursor.eof()
Package: q2gui
The light Python GUI builder (currently based on PyQt6)How to startWith docker && x11:gitclonehttps://github.com/AndreiPuchko/q2gui.git#                      sudo if necessarycdq2gui/docker-x11&&./build_and_run_menu.shWith PyPI package:poetrynewproject_01&&cdproject_01&&poetryshell
poetryaddq2guicdproject_01
python-mq2gui>example_app.py&&pythonexample_app.pyExplore sources:gitclonehttps://github.com/AndreiPuchko/q2gui.gitcdq2gui
pip3installpoetry
poetryshell
poetryinstall
python3demo/demo_00.py# All demo launcherpython3demo/demo_01.py# basic: main menu, form & widgetspython3demo/demo_02.py# forms and forms in formpython3demo/demo_03.py# grid form (CSV data), automatic creation of forms based on datapython3demo/demo_04.py# progressbar, data loading, sorting and filteringpython3demo/demo_05.py# nonmodal formpython3demo/demo_06.py# code editorpython3demo/demo_07.py# database app (4 tables, mock data loading) - requires a q2db packagepython3demo/demo_08.py# database app, requires a q2db package, autoschemademo/demo_07.py screenshot=======Build standalone executable(The resulting executable file will appear in the folder  dist/)One filepyinstaller-Fdemo/demo.pyOne directorypyinstaller-Ddemo/demo.py
Package: q2-micom
A QIIME 2 plugin for MICOM.InstallationYou will need an existing QIIME 2 environment. Follow the instructions on (how to install QIIME 2) otherwise.q2-micomis compatible with all QIIME 2 distributions.
Let's assume that environment was calledqiime2-2023.9for all further steps.Add q2-micom to the QIIME 2 environmentThis will be the same step for any supported QIIME 2 version but will vary depending on your operating system
(similar to the normal QIIME 2 installation).Linuxwgethttps://raw.githubusercontent.com/micom-dev/q2-micom/main/q2-micom-linux.yml
condaenvupdate-nqiime2-2023.8-fq2-micom-linux.yml# OPTIONAL CLEANUPrmq2-micom-*.ymlMacwgethttps://raw.githubusercontent.com/micom-dev/q2-micom/main/q2-micom-osx.yml
condaenvupdate-nqiime2-2023.9-fq2-micom-osx.yml# OPTIONAL CLEANUPrmq2-micom-*.ymlFinally, you activate your environment.condaactivateqiime2-2023.9q2-micomwill now install an open source solver that can be used with MICOM. If you use MICOM
regularly we do recommend to obtain an academic license for CPLEX or Gurobi which will be faster.Install a faster solver (recommended but optional)CPLEXQIIME 2 versions before 2021.4 are only compatible with CPLEX 12.10 or earlier (later version require at least Python 3.7).After registering and downloading the CPLEX studio for your OS unpack it (by running the provided installer) to a directory of your choice (we will assume it's calledibm).Now install the CPLEX python package into your activated environment:pipinstallibm/cplex/python/3.8/x86-64_linuxSubstitute3.8with the Python version in your QIIME 2 environment,3.6for QIIME 2 up to 2021.2 and3.8for QIIME 2 2021.4 and newer.
Substitutex86-64_linuxwith the folder corresponding to your system (there will only be one subfolder in that directory).GurobiGurobi can be installed with conda.condainstall-cgurobigurobiYou will now have to register the installation using your license key.grbgetkeyYOUR-LICENSE-KEYFinish your installationIf you installedq2-micomin an already existing QIIME 2 environment, update the plugin cache:condaactivateqiime2-2023.9# or whatever you called your environmentqiimedevrefresh-cacheYou are now ready to runq2-micom!UsageHere is a graphical overview of aq2-micomanalysis.The best way to get started is to work through thecommunity tutorial.Supported QIIME 2 versionsq2-micomis tested against:the currentQIIME 2 versionthe previous versionIt should also work withthedevelopment versionHowever, this may occasionally break. Checkhere for the current status.ReferencesMICOM: Metagenome-Scale Modeling To Infer Metabolic Interactions in the Gut MicrobiotaChristian Diener, Sean M. Gibbons, Osbaldo Resendis-AntoniomSystems 5:e00606-19https://doi.org/10.1128/mSystems.00606-19
Package: q2rad
The RAD (rapid application development) system.(code less, make more)Based on:q2db        (https://pypi.org/project/q2db)q2gui       (https://pypi.org/project/q2gui)q2report    (https://pypi.org/project/q2report)Read the docsSystem requirements:Python >= 3.8.1onLinuxand Python >=3.11 make sure you have pip and virtualenv installed, if not:sudoaptinstallpython3-pippython3-virtualenvInstall & run - Launcher (https://github.com/AndreiPuchko/q2radlauncher)Go to the download pagehttps://github.com/AndreiPuchko/q2radlauncher/releases/latestand download file for your OS:Windows: q2radlauncher.exeLinux: q2radlauncher-linux.zipmacOS: q2radlauncher-macos.zipInstall & run - Python scriptWindowswgethttps://raw.githubusercontent.com/AndreiPuchko/q2rad/main/install/get-q2rad.py-Oget-q2rad.py|pyget-q2rad.py;delget-q2rad.pyLinuxwgethttps://raw.githubusercontent.com/AndreiPuchko/q2rad/main/install/get-q2rad.py-O-|python3macOScurlhttps://raw.githubusercontent.com/AndreiPuchko/q2rad/main/install/get-q2rad.py|python3Install & run - terminalWindows (Powershell)mkdirq2rad;`cdq2rad;`py-mpipinstall--upgradepip;`py-mvenvq2rad;q2rad/scripts/activate;`py-mpipinstall--upgradeq2rad;`q2radLinuxsudoaptinstallpython3-venvpython3-pip-y&&\mkdir-pq2rad&&\cdq2rad&&\python3-mpipinstall--upgradepip&&\python3-mvenvq2rad&&\sourceq2rad/bin/activate&&\python3-mpipinstall--upgradeq2rad&&\q2radmacOSmkdir-pq2rad&&\cdq2rad&&\python3-mpipinstall--upgradepip&&\python3-mvenvq2rad&&\sourceq2rad/bin/activate&&\python3-mpipinstall--upgradeq2rad&&\q2radConcept:Application as a databaseForms:#  may have main menu (menubar) definitions#  may be linked to database tableLines:#  form fields(type of data and type of form control) and#  layout definitions#  when form is linked to database - database columns definitionsActions:#  applies for database linked forms#  may be standard CRUD-action#  or#  run a script (run reports, forms and etc)#  or#  may have linked subforms (one-to-many)Modules:#  python scriptsQueries:#  query development and debugging toolReports:#  multiformat (HTML, DOCX, XLSX) reporting tool
Package: q2report
The light Python report builder.Converts data into formatted text (HTML,DOCX,XLSX):data={'data_source1':[{'col1':'value row1',....},...],'data_source2':[{'col_1':'valie_row1',....},...],}Available formatting (styling options):"style":{"font-family":"Arial","font-size":"10pt","font-weight":"normal","border-width":"0 0 0 0","padding":"0.05cm 0.05cm 0.05cm 0.05cm","text-align":"left","vertical-align":"top"}ConceptThe report definition consists of sections (Report, Pages, Columns, Rows, Cells).Each section inherits style from previous and may override some styling options.see examples in foldertest_dataReport:# contains basic stylePages:# page & margins sizesColumns:# columns widths - exact, % or autowidthRows:# rows heights - auto, exact, min or max# can be linked to data and then have header, footer and grouping subsections#Cells# contains simple text and data links - {col1}# and aggregate functions - {sum:coll}# support html formatting with <b> <i> <u> <br># cells may be merged (span)Rows:Cells....Columns:....Pages:........
Package: q2terminal
Interaction with a terminal sessionfromq2terminal.q2terminalimportQ2Terminalimportsyst=Q2Terminal()t.run("programm",echo=True)assertt.exit_code!=0assertt.run("$q2 = 123")==[]assertt.run("echo $q2")==["123"]if"win32"insys.platform:t.run("notepad")assertt.exit_code==0
Package: q3rcon
[![Pypi version](http://img.shields.io/pypi/v/acoomans_python_project_template.svg)](https://pypi.python.org/pypi/acoomans_python_project_template)
[![Pypi license](http://img.shields.io/pypi/l/acoomans_python_project_template.svg)](https://pypi.python.org/pypi/acoomans_python_project_template)
![Python 3](http://img.shields.io/badge/python-3-blue.svg)## Installpip install q3rconorpython setup.py install## UsageRun console:q3rcon-cli [hostname]Run web server:q3rcon-web –rcon_host HOST –rcon_password PASSWORDand then access the web server at [http://localhost:9344/](http://localhost:9344/)
Package: q5
q5Creative coding framework for PythonInstallationYou can install q5 with:pip install q5UsageExamplesSeeexamples.Project Template# -*- coding: utf-8 -*-importq5classApp(q5.BaseApp):defsetup(self):q5.title('q5 app')defupdate(self):passdefdraw(self):q5.background(220)q5.ellipse(0.0,0.0,200.0,200.0)if__name__=='__main__':app=App()app.run()DevelopmentInstall Rust lang:https://www.rust-lang.org/Run commands:pip install setuptools-rust
python setup.py developLicenseMIT
Package: q5-django-inlinecss
AboutInlining CSS is necessary for email generation and sending
but is currently a surprisingly large hassle.This library aims to make it a breeze in the Django
template language.UsageStep 1: DependenciesBeautifulSoupcssutilsPython 2.7+,3.4+Django 1.11+Step 2: Install django_inlinecssAdddjango_inlinecssto yoursettings.py:INSTALLED_APPS=('django.contrib.auth','django.contrib.webdesign','django.contrib.contenttypes','...','...','...','django_inlinecss')Step 3: Use the templatetagPlace your CSS file somewhere staticfiles can find itCreate your template:{% load inlinecss %}
{% inlinecss "css/extra-padding.css" %}<html><body><divclass='lots-o-padding'>Something in need of styling.</div></body></html>{% endinlinecss %}Step 4: Prepare to be Wowed<html><body><divstyle="padding-left: 10px; padding-right: 10px; padding-top: 10px;"class="lots-o-padding">Something in need of styling.</div></body></html>AcknowledgementsThanks to Tanner Netterville for his efforts onPynliner.Thanks to Thomas Yip for his unit tests on thesoupselectmodule. These tests
helped on getting the core CSS2 selectors to work.LicenseMIT license. See LICENSE.md for more detail.
Package: qa4sm-preprocessing
This package contains functions to preprocess certain data before using them
in the QA4SM online validation framework.ISMN FRMThis module contains the routine to assign FRM qualifications ISMN sensors.
The Quality Indicators (QIs) are based on a Triple Collocation run with
80% CI between ISMN (0-10 cm, “good” time stamps), ERA5-Land (“swvl1”) and
ESA CCI SM v06.1 PASSIVE. See./docs/ismn_frm.rstfor more details.CGLS HR SSM SWIRead CGLS HR SSM and SWI images (1km sampling) in netcdf format and convert
them to time series.
The image reader allows reading/converting data for a spatial subset (bbox) only.
Time series are stored in 5*5 DEG cell files, i.e. there are~250 000 time seriesstored in one single cell file.Time series reading is done based on cell level. Up to 6 cells are loaded into
memory at a time. Theread_areafunction allows reading multiple GPI time series
around one location at once (and optionally converting them into a single, averaged
series, to represent the mean SM for an area).Necessary updatesAt the moment it is only possible to read a single variable. However, in order
to mask SM time series based in location quality flags, it is necessary to
read multiple parameters. When passing the averaged time series for an area
topytesmofor validation, masking can not be done inpytesmo, but must be done
beforehand.NoteThis project has been set up using PyScaffold 4.0.2. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: qa4sm-reader
qa4sm_reader is a python package to read and plot the result files of theqa4sm service.InstallationThis package should be installable through pip (not yet tough, see development):pip install qa4sm_readerUsageThis package is used to analyze a qa4sm netCDF output file and produce all relevant plots and maps.Development SetupThe project was setup usingpyscaffoldand closely follows the recommendations.Install DependenciesFor Development we recommend creating acondaenvironment.cd qa4sm-reader
conda env create #  create environment from requirements.rst
conda activate qa4sm-reader
python setup.py develop #  Links the code to the environmentTo remove the environment again, run:conda deactivate
conda env remove -n qa4sm_readerCode FormattingTo apply pep8 conform styling to any changed files [we useyapf](https://github.com/google/yapf). The correct
settings are already set insetup.cfg. Therefore the following command
should be enough:yapf file.py --in-placeTestingFor testing, we usepy.test:pytestThe dependencies are automatically installed bypytest-runnerwhen you run the tests. The test-dependencies are listed in thetestingfield inside the[options.extras_require]section ofsetup.cfg.
For some reasons, the dependencies are not installed as expected. To workaround, do:pip install pytest-covThe files used for testing are included in this package. They are however subject to otherterms and conditions.Known IssuesNo known issues - pleaseopen an issuein case you come across a malfunctioning in the package.
Package: qaa
Featuresqaaanalyzes molecular dynamics (MD) trajectories by using joint
diagonalization (JADE) to separate the information. The JADE[1]and QAA[2]code are based on the original code written in Matlab.[1]Cardoso, J. F.; Souloumiac, A. “Blind Beamforming for Non-Gaussian
Signals.” IEE Proc F Radar Signal Process 1993, 140 (6), 362.[2]Ramanathan, A.; Savol, A. J.; Langmead, C. J.; Agarwal, P. K.;
Chennubhotla, C. S. “Discovering Conformational Sub-States Relevant to Protein
Function.” Plos One 2011, 6 (1), e15827.RequirementsPython 3.8+click 7.0+numpy 1.20+scipy 1.6+matplotlib 3.3+scikit-learn 0.24+mdtraj 1.9+nptyping 1.4+holoviews 1.14+InstallationYou can installQuasi-Anharmonic AnalysisviapipfromPyPI:$pipinstallqaaIf you want to visualize the tutorial notebooks, you can install the extra
dependencies viapipfromPyPI:$pipinstallqaa[jupyter]UsagePlease see theCommand-line Referencefor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theBSD 3 Clause license,Quasi-Anharmonic Analysisis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz’sHypermodern Python Cookiecuttertemplate.