Saravanan666/pypi-org huggingface dataset:
Package: pytket-pysimplex
pytket-pysimplexPytketis a python module for interfacing
with tket, a quantum computing toolkit and optimising compiler developed by Quantinuum.pytket-pysimplexis an extension topytketthat allowspytketcircuits to
be simulated using pysimplex.Getting startedpytket-pysimplexis available for Python 3.10, 3.11 and 3.12, on Linux, MacOS
and Windows. To install, run:pipinstallpytket-pysimplexThis will installpytketif it isn't already installed, and add new classes
and methods into thepytket.extensionsnamespace.Bugs, support and feature requestsPlease file bugs and feature requests on the Githubissue tracker.There is also a Slack channel for discussion and support. Clickhereto join.DevelopmentTo install an extension in editable mode, simply change to its subdirectory
within themodulesdirectory, and run:pipinstall-e.ContributingPull requests are welcome. To make a PR, first fork the repo, make your proposed
changes on thedevelopbranch, and open a PR from your fork. If it passes
tests and is accepted after review, it will be merged in.Code styleFormattingAll code should be formatted usingblack, with default options. This is
checked on the CI. The CI is currently using version 22.3.Type annotationOn the CI,mypyis used as a static
type checker and all submissions must pass its checks. You should therefore runmypylocally on any changed files before submitting a PR. Because of the way
extension modules embed themselves into thepytketnamespace this is a little
complicated, but it should be sufficient to run the scriptmodules/mypy-check(passing as a single argument the root directory of the module to test). The
script requiresmypy0.800 or above.LintingWe usepylinton the CI to check compliance
with a set of style requirements (listed in.pylintrc). You should runpylintover any changed files before submitting a PR, to catch any issues.TestsTo run the tests for a module:cdinto that module'stestsdirectory;ensure you have installedpytest,hypothesis, and any modules listed in
thetest-requirements.txtfile (all viapip);runpytest.When adding a new feature, please add a test for it. When fixing a bug, please
add a test that demonstrates the fix.
Package: pytket-pyzx
pytket-pyzxPytketis a python module for interfacing
with tket, a quantum computing toolkit and optimising compiler developed by Quantinuum.pytket-pyzxis an extension topytketthat allows conversion to and from
PyZX representations.Getting startedpytket-pyzxis available for Python 3.10, 3.11 and 3.12, on Linux, MacOS
and Windows. To install, run:pipinstallpytket-pyzxThis will installpytketif it isn't already installed, and add new classes
and methods into thepytket.extensionsnamespace.Bugs, support and feature requestsPlease file bugs and feature requests on the Githubissue tracker.There is also a Slack channel for discussion and support. Clickhereto join.DevelopmentTo install an extension in editable mode, simply change to its subdirectory
within themodulesdirectory, and run:pipinstall-e.ContributingPull requests are welcome. To make a PR, first fork the repo, make your proposed
changes on thedevelopbranch, and open a PR from your fork. If it passes
tests and is accepted after review, it will be merged in.Code styleFormattingAll code should be formatted usingblack, with default options. This is
checked on the CI. The CI is currently using version 20.8b1.Type annotationOn the CI,mypyis used as a static
type checker and all submissions must pass its checks. You should therefore runmypylocally on any changed files before submitting a PR. Because of the way
extension modules embed themselves into thepytketnamespace this is a little
complicated, but it should be sufficient to run the scriptmodules/mypy-check(passing as a single argument the root directory of the module to test). The
script requiresmypy0.800 or above.LintingWe usepylinton the CI to check compliance
with a set of style requirements (listed in.pylintrc). You should runpylintover any changed files before submitting a PR, to catch any issues.TestsTo run the tests for a module:cdinto that module'stestsdirectory;ensure you have installedpytest,hypothesis, and any modules listed in
thetest-requirements.txtfile (all viapip);runpytest.When adding a new feature, please add a test for it. When fixing a bug, please
add a test that demonstrates the fix.
Package: pytket-qir
pytket-qir -- Pytket QIR ExtensionThis is currently work in progressThis repository contains the pytket-qir extension, using Quantinuum'spytketquantum SDK.Pytketis a python module for interfacing
with tket, a quantum computing toolkit and optimising compiler developed by Quantinuum.pytket-qiris an extension topytketthat allowspytketcircuits to
be converted to qir.Getting startedpytket-qiris available for Python 3.10, 3.11 and 3.12, on Linux, MacOS
and Windows. To install, run:pipinstallpytket-qirThis will installpytketif it isn't already installed, and add new classes
and methods into thepytket.extensionsnamespace.Bugs, support and feature requestsPlease file bugs and feature requests on the Githubissue tracker.There is also a Slack channel for discussion and support. Clickhereto join.DevelopmentFirst setup your virtual environment (or ignore if you already have it):python-mvenv.venvsource.venv/bin/activateThen install required dependencies:pipinstall-Upipsetuptools
pipinstallbuildpre-commitpytestwheelmypy~=1.4black~=23.7pylint~=2.17ruff==0.0.282
pre-commitinstallThen install this extension in editable mode, simply change to this directory, and run:pipinstall-e.You could also usemaketargets such as:makeinstall# for installationmakedev# for editable installmakelint# run linters and formattersmaketests# for running testsmakebuild# for source and wheel distribution packagesmakeclean# to clean up autogenerated filesContributingPull requests are welcome. To make a PR, first fork the repo, make your proposed
changes on thedevelopbranch, and open a PR from your fork. If it passes
tests and is accepted after review, it will be merged in.Code styleFormattingAll code should be formatted usingblack, with default options. This is
checked on the CI.Type annotationOn the CI,mypyis used as a static
type checker and all submissions must pass its checks. You should therefore runmypylocally on any changed files before submitting a PR. Because of the way
extension modules embed themselves into thepytketnamespace this is a little
complicated, but it should be sufficient to run the script./mypy-check(passing as a single argument the root directory of the module to test).LintingWe useruffandpylinton the CI to check compliance with a set of style requirements (listed inruff.tomland.pylintrc).
You should runpylintover any changed files before submitting a PR, to catch any issues.An easy way to meet all formatting and linting requirements is to issuepre-commit run --all-filesormake lintbefore sending a PR.TestsTo run the tests:cdinto thetestsdirectory;ensure you have installedpytest,hypothesis, and any modules listed in
thetest-requirements.txtfile (all viapip);runpytest.When adding a new feature, please add a test for it. When fixing a bug, please
add a test that demonstrates the fix.
Package: pytket-qirpass
pytket-qirpassThis module provides a method to optimize QIR using pytket.InstallationPython 3.10, 3.11 or 3.12 is required.To install from PyPI:pipinstallpytket-qirpassUsageThis module provides a single function,apply_qirpass, which takes as inputsome QIR bitcodea pytket compilation passa target gatesetand outputs some new QIR bitcode, where the pass has been applied to the basic
blocks in the input program, followed by a rebase to the target gateset.For example:frompytket_qirpassimportapply_qirpassfrompytket.circuitimportOpTypefrompytket.passesimportFullPeepholeOptimiseqir_out=apply_qirpass(qir_bitcode=qir_in,comp_pass=FullPeepholeOptimise(allow_swaps=False),target_1q_gates={OpType.Rx,OpType.Rz},target_2q_gates={OpType.ZZPhase},)Both the input and the output are Pythonbytesobjects.Provided the pass preserves the circuit semantics,apply_qirpasspreserves
the QIR semantics.
Package: pytket-qiskit
pytket-qiskitPytketis a python module for interfacing
with tket, a quantum computing toolkit and optimising compiler developed by Quantinuum.pytket-qiskitis an extension topytketthat allowspytketcircuits to be
run on IBM backends and simulators, as well as conversion to and from Qiskit
representations.Getting startedpytket-qiskitis available for Python 3.10, 3.11 and 3.12, on Linux, MacOS
and Windows. To install, run:pipinstallpytket-qiskitThis will installpytketif it isn't already installed, and add new classes
and methods into thepytket.extensionsnamespace.Bugs, support and feature requestsPlease file bugs and feature requests on the Githubissue tracker.There is also a Slack channel for discussion and support. Clickhereto join.DevelopmentTo install an extension in editable mode, simply change to its subdirectory
within themodulesdirectory, and run:pipinstall-e.ContributingPull requests are welcome. To make a PR, first fork the repo, make your proposed
changes on thedevelopbranch, and open a PR from your fork. If it passes
tests and is accepted after review, it will be merged in.Code styleFormattingAll code should be formatted usingblack, with default options. This is
checked on the CI. The CI is currently using version 20.8b1.Type annotationOn the CI,mypyis used as a static
type checker and all submissions must pass its checks. You should therefore runmypylocally on any changed files before submitting a PR. Because of the way
extension modules embed themselves into thepytketnamespace this is a little
complicated, but it should be sufficient to run the scriptmodules/mypy-check(passing as a single argument the root directory of the module to test). The
script requiresmypy0.800 or above.LintingWe usepylinton the CI to check compliance
with a set of style requirements (listed in.pylintrc). You should runpylintover any changed files before submitting a PR, to catch any issues.TestsTo run the tests for a module:cdinto that module'stestsdirectory;ensure you have installedpytest,hypothesis, and any modules listed in
thetest-requirements.txtfile (all viapip);runpytest.When adding a new feature, please add a test for it. When fixing a bug, please
add a test that demonstrates the fix.
Package: pytket-quantinuum
pytket-quantinuumPytketis a python module for interfacing
with tket, a quantum computing toolkit and optimising compiler developed by Quantinuum.pytket-quantinuumis an extension topytketthat allowspytketcircuits to
be executed on Quantinuum's quantum devices.Getting startedpytket-quantinuumis available for Python 3.10, 3.11 and 3.12, on Linux, MacOS
and Windows. To install, run:pipinstallpytket-quantinuumThis will installpytketif it isn't already installed, and add new classes
and methods into thepytket.extensionsnamespace.Theexample notebooksalso demonstrate some of the key features of pytket-quantinuum.Bugs, support and feature requestsPlease file bugs and feature requests on the Githubissue tracker.There is also a Slack channel for discussion and support. Clickhereto join.DevelopmentTo install this extension in editable mode, simply change to this directory, and run:pipinstall-e.ContributingPull requests are welcome. To make a PR, first fork the repo, make your proposed
changes on thedevelopbranch, and open a PR from your fork. If it passes
tests and is accepted after review, it will be merged in.Code styleFormattingAll code should be formatted usingblack, with default options. This is
checked on the CI. The CI is currently using version 20.8b1.Type annotationOn the CI,mypyis used as a static
type checker and all submissions must pass its checks. You should therefore runmypylocally on any changed files before submitting a PR. Because of the way
extension modules embed themselves into thepytketnamespace this is a little
complicated, but it should be sufficient to run the scriptmodules/mypy-check(passing as a single argument the root directory of the module to test). The
script requiresmypy0.800 or above.LintingWe usepylinton the CI to check compliance
with a set of style requirements (listed in.pylintrc). You should runpylintover any changed files before submitting a PR, to catch any issues.TestsTo run the tests:cdinto thetestsdirectory;ensure you have installedpytest,hypothesis, and any modules listed in
thetest-requirements.txtfile (all viapip);runpytest.When adding a new feature, please add a test for it. When fixing a bug, please
add a test that demonstrates the fix.
Package: pytket-qujax
pytket-qujaxThis repository contains the pytket-qujax extension, using CQC'spytketquantum SDK.
The other pytket extensions can be foundherePytketis a Python module for interfacing
with CQC tket, a set of quantum programming tools.qujaxis a pureJAXquantum simulator. pytket-qujax is an extension topytketthat allowspytketcircuits to
be converted toqujaxfor fast (classical) simulation and automatic differentiation.Some useful links:DocumentationPyPIqujaxpytket-qujax example notebook (VQE)pytket-qujax example notebook (QAOA withsymbol_map)pytket-qujax example notebook (classifier)qujax example notebooksGetting startedpytket-qujaxis available for Python 3.10, 3.11 and 3.12, on Linux and MacOS.
To install, run:pipinstallpytket-qujaxThis will installpytketif it isn't already installed, and add new classes
and methods into thepytket.extensionsnamespace.Bugs and feature requestsPlease file bugs and feature requests on the Githubissue tracker.DevelopmentTo install an extension in editable mode, simply change to its subdirectory
within themodulesdirectory, and run:pipinstall-e.ContributingPull requests are welcome. To make a PR, first fork the repo, make your proposed
changes on thedevelopbranch, and open a PR from your fork. If it passes
tests and is accepted after review, it will be merged in.Code styleFormattingAll code should be formatted usingblack, with default options. This is
checked on the CI. The CI is currently using version 20.8b1.Type annotationOn the CI,mypyis used as a static
type checker and all submissions must pass its checks. You should therefore runmypylocally on any changed files before submitting a PR. Because of the way
extension modules embed themselves into thepytketnamespace this is a little
complicated, but it should be sufficient to run the scriptmodules/mypy-check(passing as a single argument the root directory of the module to test). The
script requiresmypy0.800 or above.LintingWe usepylinton the CI to check compliance
with a set of style requirements (listed in.pylintrc). You should runpylintover any changed files before submitting a PR, to catch any issues.TestsTo run the tests for a module:cdinto that module'stestsdirectory;ensure you have installedpytest,hypothesis, and any modules listed in
thetest-requirements.txtfile (all viapip);runpytest.When adding a new feature, please add a test for it. When fixing a bug, please
add a test that demonstrates the fix.
Package: pytket-qulacs
pytket-qulacsPytketis a python module for interfacing
with tket, a quantum computing toolkit and optimising compiler developed by Quantinuum.Qulacsis an open-source quantum circuit
simulator designed for large, noisy, and parametric circuits with GPU support
for fast execution.pytket-qulacsis an extension topytketthat allowspytketcircuits to be
run on the Qulacs simulator.Getting startedpytket-qulacsis available for Python 3.10 and 3.11 on Linux, MacOS and
Windows. To install, run:pipinstallpytket-qulacsThis will installpytketif it isn't already installed, and add new classes
and methods into thepytket.extensionsnamespace.Bugs, support and feature requestsPlease file bugs and feature requests on the Githubissue tracker.There is also a Slack channel for discussion and support. Clickhereto join.DevelopmentTo install an extension in editable mode, simply change to its subdirectory
within themodulesdirectory, and run:pipinstall-e.ContributingPull requests are welcome. To make a PR, first fork the repo, make your proposed
changes on thedevelopbranch, and open a PR from your fork. If it passes
tests and is accepted after review, it will be merged in.Code styleFormattingAll code should be formatted usingblack, with default options. This is
checked on the CI. The CI is currently using version 20.8b1.Type annotationOn the CI,mypyis used as a static
type checker and all submissions must pass its checks. You should therefore runmypylocally on any changed files before submitting a PR. Because of the way
extension modules embed themselves into thepytketnamespace this is a little
complicated, but it should be sufficient to run the scriptmodules/mypy-check(passing as a single argument the root directory of the module to test). The
script requiresmypy0.800 or above.LintingWe usepylinton the CI to check compliance
with a set of style requirements (listed in.pylintrc). You should runpylintover any changed files before submitting a PR, to catch any issues.TestsTo run the tests for a module:cdinto that module'stestsdirectory;ensure you have installedpytest,hypothesis, and any modules listed in
thetest-requirements.txtfile (all viapip);runpytest.When adding a new feature, please add a test for it. When fixing a bug, please
add a test that demonstrates the fix.
Package: pytket-stim
pytket-stimPytketis a python module for interfacing
with tket, a quantum computing toolkit and optimising compiler developed by Quantinuum.Stimis a fast Clifford circuit simulator.pytket-stimis an extension topytketthat allowspytketcircuits to be
simulated using Stim.Getting startedpytket-stimis available for Python 3.10, 3.11 and 3.12, on Linux, MacOS
and Windows. To install, run:pipinstallpytket-stimThis will installpytketif it isn't already installed, and add new classes
and methods into thepytket.extensionsnamespace.Bugs, support and feature requestsPlease file bugs and feature requests on the Githubissue tracker.There is also a Slack channel for discussion and support. Clickhereto join.DevelopmentTo install an extension in editable mode, simply change to its subdirectory
within themodulesdirectory, and run:pipinstall-e.ContributingPull requests are welcome. To make a PR, first fork the repo, make your proposed
changes on thedevelopbranch, and open a PR from your fork. If it passes
tests and is accepted after review, it will be merged in.Code styleFormattingAll code should be formatted usingblack, with default options. This is
checked on the CI. The CI is currently using version 22.3Type annotationOn the CI,mypyis used as a static
type checker and all submissions must pass its checks. You should therefore runmypylocally on any changed files before submitting a PR. Because of the way
extension modules embed themselves into thepytketnamespace this is a little
complicated, but it should be sufficient to run the scriptmodules/mypy-check(passing as a single argument the root directory of the module to test). The
script requiresmypy0.800 or above.LintingWe usepylinton the CI to check compliance
with a set of style requirements (listed in.pylintrc). You should runpylintover any changed files before submitting a PR, to catch any issues.TestsTo run the tests for a module:cdinto that module'stestsdirectory;ensure you have installedpytest,hypothesis, and any modules listed in
thetest-requirements.txtfile (all viapip);runpytest.When adding a new feature, please add a test for it. When fixing a bug, please
add a test that demonstrates the fix.
Package: pytkfaicons
IMPORTANTthe project is now retired. this is thelastversion ofpytkfaicons.pytkfaiconsfontawesome font based icons support for tkinteruses font-awesome version==6.5.0NOTE: this version is used on the rolling baseline, refer to the corresponding tagged READMEwhat's new ?checkCHANGELOGfor latest ongoing, or upcoming newsfor known issues, limitations and backlog refer toBACKLOGsample screenshotplatformtested on python3 and linuxdevelopment statusalpha state.
the API or logical call flow might change without prior notice.in case your code breaks between two versions checkCHANGELOGinformation first before creating a ticket / issue on github. thanks.note on self-build a local packagefor downloading content from github withpygitraba credits file is required.installationpython3 -m pip install pytkfaiconsinstallation on raspberry pihere it might be required (in some cases) to install imagetk in addtionsudo apt-get install python3-pil python3-pil.imagetklicenserefer tohttps://github.com/kr-g/pytkfaicons/blob/main/LICENSE.mdandFont-AwesomeChangelogfor known issues and backlog refer toBACKLOGcheck alsofa-changelogversion v0.0.11 - 20231129changed font awesome repo path to "free"LAST VERSION OFpytkfaicons. the project is now retired.version v0.0.10 - 20231111fa v6.4.2version v0.0.9 - 20230609fa v6.4.0version v0.0.8 - 20230225changed folder structurefa v6.2.1icon alias name supportfont cachingversion v0.0.7 - 20220729bug fix, dur to corrupted local envversion v0.0.6 - 20220729bug fix, dur to corrupted local envversion v0.0.5 - 20220729bump python version >= 3.8version v0.0.4 - 20220729droped drepracted image from svg generationonly font images are supported from nowchanged fonts folder layoutversion v0.0.3added color support for scalable iconsfix buildadded font based iconsversion v0.0.2added scalable icons supportrefactored package structurereduced initial download since using json svg for rendering directlyversion v0.0.1first versionBACKLOGknown issuesbacklogrework design, font as main basisset to deprecatedimage from svg generationremove wand dependencyadd install Pillow with pip to setup.py/setuptoolsfont support forhttps://github.com/FortAwesome/Font-Awesome/tree/master/otfsfor integration refer to:https://github.com/fonttools/fonttoolshttps://pillow.readthedocs.io/en/stable/reference/ImageFont.htmlfont support for *.ttf underhttps://github.com/FortAwesome/Font-Awesome/tree/master/webfontsrefactor code into class builder based icon creationrefactor code base(c) 2021, 2022, 2023 k. goger -https://github.com/kr-ghttps://github.com/kr-g/pytkfaiconslicense information:fontawesome :
refer tohttps://github.com/FortAwesome/Font-Awesomepytkfaicons :
GNU AFFERO GENERAL PUBLIC LICENSE version 3 and laterhttps://www.gnu.org/licenses/agpl-3.0.en.html
Package: pytkmdiapp
===========pytkmdiapp===========Python package to develop a simple application withmulti-window interface using tkinter library.Run sample as::#!/usr/bin/env pythonfrom pytkmdiapp.pytkmdiapp import cl_MDIApplo_app = cl_MDIApp( None, minwidth=640, minheight=480 )lo_app.run()Description=========Python package to develop a simple application withmulti-window interface using tkinter library.Browse all available versions on SourceForge.net: http://sourceforge.net/projects/pytkmdiapp/files.
Package: pytkUI
TkinterHelper布局助手官方拓展和工具库安装方式pip install pytkUI工具函数utils.py 整合了一些常用的工具函数加载图片load_image(img_path, width, height):加载图标load_font_icon(icon_name, size=100, color="#000")组件widgets.py 拓展组件类图标组件 Icon可以在tkinter上展示图标,图标数量众多大概1800多个,基于开源的bootstrap图标.日期输入框 DateEntry基于ttkbootstrap的DateEntry,重写部分代码,更符合国内使用.拓展选项卡组件 ExtTabs点击右侧选项菜单 切换视图开源组件本项目使用的开源项目如下开源名称bootstrap iconttkbootstrap
Package: pytl
pytl====[![0.2.4](https://img.shields.io/badge/pypi-0.2.4-brightgreen.svg)](https://pypi.python.org/pypi/pytl/)[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/ryo-ma/pytl/blob/master/LICENSE)## OverviewCommand line tool that parses python file, enumerates classes and methods as a tree structure.## Usage``` bash$ pytl test.py2: class Test3:   |_def __init__(self)6:   |_def walk(self, distance)9:   |_def stop(self)12: def method1()13:   |_def method2()14:     |_def method3()15:       |_def method4()18: def main()```Show only the def line``` bash$ pytl test.py -d3: def __init__(self)6: def walk(self, distance)9: def stop(self)12: def method1()13:   |_def method2()14:     |_def method3()15:       |_def method4()18: def main()```Show only the class line``` bash$ pytl test.py -c2: class Test```## Install``` bash$ pip install pytl```## Licence[MIT](https://github.com/ryo-ma/pytl/blob/master/LICENSE)