Saravanan666/pypi-org huggingface dataset:
Package: qumulo-api
This package contains the Qumulo Core Python SDK and the qq CLI utility, which
allow users to interact with the Qumulo REST API server.Using the Python SDKTo get started, import theRestClientclass from thequmulo.rest_clientmodule and create an instance. TheRestClientclass contains attributes
that allow programmatic access to all of the Qumulo Core REST API endpoints.For example:from qumulo.rest_client import RestClient

# Create an instance of RestClient associated with the Qumulo Core file
system at qumulo.mycompany.net
rc = RestClient("qumulo.mycompany.net", 8000)

# Log in to Qumulo Core using local user or Active Directory credentials
rc.login("username", "password")

# Print all of the SMB share configuration information
print(rc.smb.smb_list_shares())To inspect the various available properties, open a Python REPL and run the
following commands:from qumulo.rest_client import RestClient

rc = RestClient("qumulo.mycompany.net", 8000)

# See REST API groups:
[p for p in dir(rc) if not p.startswith('_')]

# See SDK endpoints within a particular API group
[p for p in dir(rc.quota) if not p.startswith('_')]Using qqAfter installing the qumulo-api package, theqqCLI utility will be installed
in your system.Note: On Windows,qq.execan be found under theScripts\directory in your
Python installation. Adding this path your your%%PATH%%environment variable
will allow you to runqq.exewithout prefixing it with the full path.To see all commands available from theqqtool:$ qq --helpTo run most commands against the REST API server, you must first login:$ qq --host host_ip login --user adminOnce authenticated, you can run other commands:# Get the network configuation of nodes in the cluster:
$ qq --host <qumulo_host> network_poll

# Get the list of users
$ qq --host <qumulo_host> auth_list_users

# Get help with a specific command
$ qq --host <qumulo_host> auth_list_users --helpTo see the information about the actual HTTP requests and responses sent over
the wire for a particular command, use the–debugflag:$ qq --host <qumulo_host> --debug smb_settings_get
    REQUEST: GET https://<qumulo_host>:8000/v1/smb/settings
    REQUEST HEADERS:
            User-Agent: qq
            Content-Type: application/json
            Content-Length: 0
            Authorization: Bearer <token>
    RESPONSE STATUS: 200
    RESPONSE:
    Date: Fri, 18 Mar 2022 22:15:47 GMT
    ETag: "VNhqnQ"
    Content-Type: application/json
    Content-Length: 329
    Strict-Transport-Security: max-age=31536000; includeSubdomain


    {'session_encryption': 'NONE', 'supported_dialects': ['SMB2_DIALECT_2_002', 'SMB2_DIALECT_2_1', 'SMB2_DIALECT_3_0', 'SMB2_DIALECT_3_11'], 'hide_shares_from_unauthorized_users': False, 'hide_shares_from_unauthorized_hosts': False, 'snapshot_directory_mode': 'VISIBLE', 'bypass_traverse_checking': False, 'signing_required': False}NotesFor more information, visit our Knowledge Base site:https://care.qumulo.com
Package: qunetsim
QuNetSimQuNetSim is a quantum-enabled network simulator that adds common quantum networking tasks like teleportation, superdense coding, sharing EPR pairs, etc. With QuNetSim, one can design and test robust quantum network protocols under various network conditions.Installation and DocumentationSeehttps://tqsd.github.io/QuNetSim/for documentation. To install the latest release via pip:pip install qunetsimQuick Start GuideTemplaterThe QuNetSim pip package comes with a templater. After installing the library, simply typetemplateand follow the instructions. A template QuNetSim example will be generated.Quick Examplefrom qunetsim.components import Host, Network

network = Network.get_instance()
network.start()

alice = Host('Alice')
bob = Host('Bob')

alice.add_connection(bob.host_id)
bob.add_connection(alice.host_id)

alice.start()
bob.start()

network.add_hosts([alice, bob])

# Block Alice to wait for qubit arrive from Bob
alice.send_epr(bob.host_id, await_ack=True)
q_alice = alice.get_epr(bob.host_id)
q_bob = bob.get_epr(alice.host_id)

print("EPR is in state: %d, %d" % (q_alice.measure(), q_bob.measure()))
network.stop(True)ContributingFeel free to contribute by adding Github issues and pull requests. Adding test cases for any contributions is a requirement for any pull request to be merged.Citation@article{diadamo2020qunetsim,
  title={QuNetSim: A Software Framework for Quantum Networks},
  author={DiAdamo, Stephen and N{\"o}tzel, Janis and Zanger, Benjamin and Be{\c{s}}e, Mehmet Mert},
  journal={IEEE Transactions on Quantum Engineering},
  year={2021},
  doi={10.1109/TQE.2021.3092395}
}
Package: qunix-tools
QuNiXQuNiX is a project of Unix like python programs by using Qiskit and Quantum Circuit with followingUnix PhilosophyPrograms useMicroQiskitandQiskitProgram ListQuantum Circuit Builder(QCB)QCB_DrawAleaQArtQSayUsageIn Terminal$pip install qunix-tools

$qcb -q 3 -c 3 "h 0 h 1 h 2 m ."

$qcb_draw -q 2 -c 2 "h 0 h 1 m ."

$alea -f happySlack ImplementationQiriBy running our programs as backend of Slack Bot, Qiri will get the input from the chat to it, and give us the output of programs.
This means we can run theQCBandAleaanytime we want in Slack.Share the result of qauntum computation and qauntum quotes randomly selected by measuring superposition of qubitsThis project is for IBM'sQiskit-Hackerthon-Korea-2021CreditQiskit(https://github.com/Qiskit/qiskit)MicroQiskit(https://github.com/qiskit-community/MicroQiskit)LicencseApache License 2.0
Package: qunomon-lite
qunomon-lite: Lightweight tool for using Qunomon, AITQunomonおよびAIT(AI system Test package)の簡易利用ツール📌 DescriptionQunomonが提供する一部の機能を簡易的に利用できる、コマンドライン・Pythonツールです。
Qunomonを起動することなくAIT(AI system Test package)を実行することができます。
下記に挙げるようなユースケースにおいて、ML開発者がPoCや開発時にコマンドラインやPythonプログラム・Jupyterノートブックから利用したり、ML開発パイプライン上で利用されることを想定しています。ML開発者が、自身の開発環境で、QunomonのAIシステム評価パッケージ（AIT: AI system Test package）をお試しで使ってみたいML開発者が、Qunomonの品質レポートを基に、MLモデルの改善対応を行っていて、AITをワンタイムで実行して改善具合を見たいML開発パイプラインにて、AITを実行し、品質指標として活用したいNote: 当ツールはQunomonを置き換えるものではありません。ユースケースによって、Qunomonの利用を検討ください。✅ Features「AITの実行」や「AITの実行結果表示」に関して、より柔軟な使い方を実現する機能を提供します。機能a. AITの実行✅ ローカル環境（Docker）でAIT実行✅ パブリックAITの利用⬛ プライベートAITの利用機能b. AITの実行結果表示✅ AITローカル実行結果の閲覧⬛ AITローカル実行結果の測定値（Measures）の取得⬛ AITローカル実行結果の一覧💾 InstallRequirementsdockersudo無しでdockerコマンドが実行できることpython 3.x, pipStepInstallpipinstallqunomon-lite開発中の最新はGitHubリポジトリからインストールできますpipinstall-Ugit+https://github.com/ads-ad-itcenter/qunomon-lite.git🚀 Usage使用例:CUI:examples/example-cli.mdPython:examples/example-notebook.ipynbAITの実行（パブリックAIT）実行したいAITを探し、AIT毎に提供されているait.manifest.jsonを参照して、実行に必要となるファイルやパラメータを用意しておく探す場所: QunomonのGitHubリポジトリから
例:https://github.com/aistairc/qunomon/blob/main/ait_repository/ait/eval_mnist_acc_tf2.3_0.1/deploy/container/repository/ait.manifest.jsonAITを実行し、結果を表示CUI:qunomon-liteaitrun<ait-name>:<ait-version>[--inventories<inventory-name>=<path>...][--params<param-name>=<value>...]qunomon-liteaitresult-showPython:fromqunomon_liteimportaitresult=ait.run('<ait-name>:<ait-version>',inventories={'<inventory-name>':'<path>',...},params={'<param-name>':'<value>',...},)result.show()AITの実行結果表示AIT実行結果の閲覧CUI:qunomon-liteaitresult-show{latest|<run-id>}Python:result=ait.result(未指定or'latest'or'<run-id>')# 未指定 or 'latest': 最新の実行結果result.show()ℹ️ Anything elseTroubleshootingqunomon-liteコマンドが見つからない（command not found）$qunomon-lite--help
qunomon-lite:commandnotfoundDebianパッケージのpipコマンド（python3-pip）は、一般ユーザでpip installすると、デフォルトで~/.localにインストールされるようです（--userオプションが自動で付与）。
そのため、Debian系のOS（Debian, Ubuntu,,,）で、各OSパッケージのpipを利用している場合（例.sudo apt install python3-pip）は、~/.local/binにPATHを通してみてください。# for example...$exportPATH="$HOME/.local/bin:$PATH"AIT実行でPermissionErrorが発生（Permission denied）$qunomon-literunqunomon/eval_mnist_acc_tf2.3:0.1...

...
Runningdockercontainer(image:qunomon/eval_mnist_acc_tf2.3:0.1)...
ErrorwhilefetchingserverAPIversion:('Connection aborted.',PermissionError(13,'Permission denied'))当ツール・パッケージを利用するには、実行ユーザーが、sudoせずにdockerコマンドが利用できる必要があります。# for example...$sudousermod-aGdocker$USER📋 LICENCEApache License 2.0
Package: quntoken
quntokenNew Hungarian tokenizer based on quex and huntoken.
This tool is alsointegratedinto thee-magyarlanguage processing system
under the nameemToken.RequirementsOS: linux x86-64python 3.6+Developer requirements:python 2.7 (for quex)g++ = 5Installpip3installquntokenUsageCommand linequntokenreads plain text in UTF-8 from STDIN and writes to STDOUT.The default (and recommended) format of output is TSV. It has two columns.
The first contains the token, the second contains the white space sequence
after the token. Sentence boundaries are marked with empty lines.Example: tokenizinginput.txtfile, writing the TSV output intooutput.tsvfile.quntoken <input.txt >output.tsvOptional arguments:-h, --help            show this help message and exit
  -f FORM, --form FORM  Valid formats: json, tsv, xml and spl (sentence per
                        line). Default format: tsv.
  -m MODE, --mode MODE  Modes: sentence or token. Default: token
  -w, --word-break      Eliminate word break from end of lines.
  -v, --version         show program's version number and exitPython APIquntoken.tokenize(inp=sys.stdin, form='tsv', mode='token',
word_break=False)Entry point, returns an iterator object. Parameters:inp: Input iterator, default:sys.stdin.form: Format of output. Valid formats:'tsv'(default),'json','xml'and'spl'(sentence per line).mode:'sentence'(only sentence segmenting) or'token'(full
tokenization - default).word_break: If'True', eliminates word break from end of lines. Default:'False'.Example:fromquntokenimporttokenizefortokintokenize(open('input.txt')):print(tok,end='')
Package: quoinex-client
quoinex-client is a python client (sync/async) library for
liquid(quoinex) apiInstallation$ pip install quoinex-clientUsage## sync#fromquoinex_client.syncimportClientclient=Client(public_key='your api key',private_key='your api secret')response=client.get_products()print(response.status_code,response.json())## async#importgrequestsfromquoinex_client.asyncimportAsyncclient=Async(public_key='your api key',private_key='your api secret')reqs=[client.get_products(),client.get_product(id=1),...]response=grequests.map(reqs)forrinresponse:print(r.status_code,r.json())client.get_products()# GET /productsclient.get_product(id=1)# GET /products/:idclient.get_order_book(id=1)# GET /products/:id/price_levelsclient.get_executions(product_id=1)# GET /executions?product_id=1&limit=2&page=2client.get_executions(currency_pair_code='BTCJPY',timestamp=1526012797)# GET /executions?product_id=1&timestamp=1430630863&limit=2client.get_interest_rate_ladder(currency='USD')# GET /ir_ladders/USDclient.create_order(order_type='limit',product_id=1,side='sell',quantity=0.01,price=500.0)# POST /ordersclient.get_order(id=1)# GET /orders/:idclient.get_orders()# GET /orders?funding_currency=:currency&product_id=:product_id&status=:status&with_details=1client.cancel_order(id=1)# PUT /orders/:id/cancelclient.edit_live_order(id=1)# PUT /orders/:idclient.get_order_trades(id=1)# GET /orders/:id/tradesclient.get_your_executions(product_id=1)# GET /executions/me?product_id=:product_idclient.get_fiat_accounts()# GET /fiat_accountsclient.create_fiat_account(currency='USD')# POST /fiat_accountsclient.get_crypto_accounts()# GET /crypto_accountsclient.get_account_balances()# GET /accounts/balanceclient.create_loan_bid(quantity=50,currency='USD',rate=0.0002)# POST /loan_bidsclient.get_loan_bids(currency='USD')# GET /loan_bids?currency=:currencyclient.close_loan_bid(id=1)# PUT /loan_bids/:id/closeclient.get_loans(currency='JPY')# GET /loans?currency=JPYclient.update_loan(id=1)# PUT /loans/144825client.get_trading_accounts()# GET /trading_accountsclient.get_trading_account(id=1)# GET /trading_accounts/:idclient.update_leverage_level(id=1)# PUT /trading_accounts/:idclient.get_trades()# GET /trades?funding_currency=:funding_currency&status=:statusclient.close_trade(id=1)# PUT /trades/:id/closeclient.close_all_trades()# PUT /trades/close_allclient.update_trade(id=1,stop_loss=300,take_profit=600)# PUT /trades/:idclient.get_trade_loans(id=1)# GET /trades/:id/loansContributingFork itCreate your feature branch (git checkout-bmy-new-feature)Commit your changes (git commit-am'Add some feature')Push to the branch (git push originmy-new-feature)Create new Pull Request
Package: quokka-flask-htmlbuilder
===============================flask-htmlbuilder===============================.. image:: https://img.shields.io/travis/quokkaproject/flask-htmlbuilder.svg:target: https://travis-ci.org/quokkaproject/flask-htmlbuilder.. image:: https://img.shields.io/pypi/v/flask-htmlbuilder.svg:target: https://pypi.python.org/pypi/flask-htmlbuilderHTML builder for Python and FlaskFlask-HTMLBuilder~~~~~~~~~~~~~~~~~Flask-HTMLBuilder is a Flask extension that allows flexible and easyPython-only generation of HTML snippets and full HTML documents using arobust syntax.  For more advanced usage it provides a lean templateinheritance system that is intertwined with the Flask/Werkzeug endpointmechanisms.Forked from: http://majorz.github.com/flask-htmlbuilder/
Package: quokka-flask-login
Flask-Login-----------Flask-Login provides user session management for Flask. It handles thecommon tasks of logging in, logging out, and remembering your users'sessions over extended periods of time.Flask-Login is not bound to any particular database system or permissionsmodel. The only requirement is that your user objects implement a fewmethods, and that you provide a callback to the extension capable ofloading users from their ID.Links`````* `documentation <http://packages.python.org/Flask-Login>`_* `development version<https://github.com/maxcountryman/flask-login>`_
Package: quokka-project
Quokkaimage generated byDALL-ETable of ContentsIntroductionInstallationUsageBuildingDocumentationFAQIntroductionQuokka is a binary exporter: from the disassembly of a program, it generates
an export file that can be used without the disassembler.The main objective ofQuokkais to enable to completely manipulate the
binary without ever opening a disassembler after the initial step. Moreover, it
abstracts the disassembler's API to expose a clean interface to the users.Quokka is heavily inspired byBinExport,
the binary exporter used by BinDiff.InstallationPython pluginThe plugin is built in the CI and available in theregistry.It should be possible to install directly from PIP using this kind of commmand:$ pip install quokka-projectIDA PluginNote: The IDA plugin is not needed to read aQuokkagenerated file. It is
only used to generate them.Quokka is currently compatible with IDA 7.3+The plugin is built on the CI and available in theReleasetab.To download the plugin, get the file namedquokka_plugin**.so.UsageExport a file!!! noteThis requires a working IDA installation.Either using command line:$ idat64 -OQuokkaAuto:true -A /path/to/hello.i64Note: We are usingidat64and notida64to increase the export speed
because we don't need the graphical interface.Using the plugin shortcut inside IDA: (by default) Alt+ALoad an export fileimportquokka# Directly from the binary (requires the IDA plugin to be installed)ls=quokka.Program.from_binary("/bin/ls")# From the exported filels=quokka.Program("ls.quokka",# the exported file"/bin/ls")# the original binaryBuildingBuilduser@host:~/quokka$cmake-Bbuild\# Where to build-S . \ # Where are the sources-DIdaSdk_ROOT_DIR:STRING=path/to/ida_sdk \ # Path to IDA SDK-DCMAKE_BUILD_TYPE:STRING=Release \ # Build Typeuser@host:~/quokka$cmake--buildbuild--targetquokka_plugin---jTo install the plugin:user@host:~/quokka$cmake--installbuildIn any case, the plugin will also be inbuild/quokka-install. You can
copy it to IDA's user plugin directory.user@host:~/quokka$cpbuild/quokka-install/quokka*64.so$HOME/.idapro/plugins/For more detailed information about building, seeBuildingDocumentationDocumentation is available online atdocumentationFAQYou can see a list of questions hereFAQ
Package: quokka-speaklater
A module that provides lazy strings for translations.  Basically you
get an object that appears to be a string but changes the value every
time the value is evaluated based on a callable you provide.For example you can have a globallazy_gettextfunction that returns
a lazy string with the value of the current set language.Example:>>> from speaklater import make_lazy_string
>>> sval = u'Hello World'
>>> string = make_lazy_string(lambda: sval)This lazy string will evaluate to the value of thesvalvariable.>>> string
lu'Hello World'
>>> unicode(string)
u'Hello World'
>>> string.upper()
u'HELLO WORLD'If you change the value, the lazy string will change as well:>>> sval = u'Hallo Welt'
>>> string.upper()
u'HALLO WELT'This is especially handy when combined with a thread local and gettext
translations or dicts of translatable strings:>>> from speaklater import make_lazy_gettext
>>> from threading import local
>>> l = local()
>>> l.translations = {u'Yes': 'Ja'}
>>> lazy_gettext = make_lazy_gettext(lambda: l.translations.get)
>>> yes = lazy_gettext(u'Yes')
>>> print yes
Ja
>>> l.translations[u'Yes'] = u'Si'
>>> print yes
SiLazy strings are no real strings so if you pass this sort of string to
a function that performs an instance check, it will fail.  In that case
you have to explicitly convert it withunicodeand/orstringdepending
on what string type the lazy string encapsulates.To check if a string is lazy, you can use theis_lazy_stringfunction:>>> from speaklater import is_lazy_string
>>> is_lazy_string(u'yes')
False
>>> is_lazy_string(yes)
TrueNew in version 1.2: It’s now also possible to pass keyword arguments to
the callback used withmake_lazy_string.
Package: quokka-web
Quokka - Browser Automation Library with PlaywrightQuokka is a powerful Python library built on top of Playwright, designed to simplify browser automation and manipulation tasks. It provides a convenient facade for various browser interactions, making it easier to navigate web pages, extract data, and interact with page elements.Key FeaturesAsynchronous and Parallel Execution:Quokka operates entirely in an asynchronous manner. Leveraging the power of Playwright, it utilizes multiple processes, each containing a single coroutine, for efficient parallel execution. This architecture excels in handling both IO and CPU-bound workloads when ample resources are available.Multi-threaded Crawling with Ease:Quokka'sBaseCrawlerclass enables users to effortlessly transition from single-threaded to multi-threaded crawling. By taking advantage of the provided crawler template, you can seamlessly convert a single-threaded crawler into a multi-threaded one.Easy Browser Management: Quokka'sAgentclass provides a streamlined interface for managing browser instances, including starting, stopping, and page navigation.Data Extraction: With thedata_extractormodule, Quokka allows you to easily extract data from web pages using customizable selectors and extraction patterns.Page Interaction: Thepage_interactormodule enables you to interact with web page elements, such as clicking, typing, and scrolling, making automation tasks a breeze.Custom Hooks: Quokka supports customizable hooks, allowing you to extend and customize the behavior of theAgentclass to fit your specific needs.Extensible: Quokka exposes Playwright'splaywrightandpageinstances, enabling users to extend the library's functionality as required.Installationpipinstallquokka-webGetting StartedQuokka's intuitive API makes browser automation a straightforward process. Here's a simple example:fromquokka_webimportAgentasyncdefmain():agent=awaitAgent.instantiate(headless=True)awaitagent.start()# Your automation code hereawaitagent.stop()if__name__=="__main__":importasyncioasyncio.run(main())DocumentationFor detailed usage instructions, examples, and customization options, please refer to theDocumentation.ExamplesBase Crawler Example:fromquokka_webimportBaseCrawler,DebuggerclassMyCrawler(BaseCrawler):asyncdef_crawl(self,*args,**kwargs):# Core crawling logic using browser_agentif__name__=="__main__":importasyncioasyncdefmain():crawler=awaitMyCrawler.instantiate(debug_tool=Debugger(verbose=True))awaitcrawler.start()awaitcrawler.crawl()awaitcrawler.stop()asyncio.run(main())ContributingContributions to Quokka are welcome! Please read ourContribution Guidelinesfor more information on how to contribute to the project.LicenseThis project is licensed under theMIT License.
Package: quoll
quollImage quality assessment for electron tomographyInstallationUsers who prefer graphical user interfaces (i.e. Napari)Find Quoll's Napari plugin (napari-quoll)hereUsers (pip)Create a new conda environment, name it whatever you'd like, but don't forget to activate itconda create -n quoll python=3.7
conda activate quollPip installpip install quollDevelopersClone the repository. In a terminal:git clone https://github.com/rosalindfranklininstitute/quoll.gitNavigate to the Quoll directory and create a new conda environment for Quoll. Don't forget to activate this environmentconda env create -n quoll python=3.7
conda activate quollPip install the quoll packagepip install -e .ExamplesTheexamplesfolder contains Jupyter notebooks for example usage.Alternatively thetestsalso go through some ways of using quoll.CLI Usage examplesTo use the one-image FRC in the command line, once Quoll is installed.oneimgFRC -hbrings up the help options for the one image FRCTo run the one image FRC on a single image without tiling (i.e., estimate resolution of the entire image),oneimgFRC <image_filename> <pixel_size>To run the one image FRC on a single image split into square tiles of lengthnpixels,oneimgFRC <image_filename> <pixel_size> --tile_size <n, e.g., 128> --tiles_dir <tiles_dir>The resolution results, resolution heatmap, and the overlay of the resolution heatmap on the image can be saved with the flags--save_csv,--save_overlay,--save_heatmap.The resolution heatmap overlaid on the original image can be displayed with the--show_plotflag.