semvec/pypi-packages huggingface dataset:
pyquest-cffi 3.2.5
Provides: Interactive python interface to QuEST quantum simulation toolkit;  Compile functionality, create, build and import valid QuEST source code from python
License: Apache-2.0
Requires Python: >=3.6

# PyQuEST-cffi README

[![Documentation Status](https://readthedocs.org/projects/pyquest/badge/?version=latest)](https://pyquest.readthedocs.io/en/latest/?badge=latest)
[![GitHub Workflow Status](https://github.com/HQSquantumsimulations/PyQuEST-cffi/workflows/Python%20package/badge.svg)](https://github.com/HQSquantumsimulations/PyQuEST-cffi/actions)
[![PyPI](https://img.shields.io/pypi/v/pyquest_cffi)](https://pypi.org/project/pyquest_cffi/)
![PyPI - License](https://img.shields.io/pypi/l/pyquest_cffi)
[![PyPI - Format](https://img.shields.io/pypi/format/pyquest_cffi)](https://pypi.org/project/pyquest_cffi/)

PyQuEST-cffi is a python interface to [QuEST](https://github.com/QuEST-Kit/QuEST) based on [cffi](https://cffi.readthedocs.io/en/latest/index.html) developed by HQS Quantum Simulations. QuEST is an open source toolkit for the simulation of quantum circuits (quantum computers).

PyQuEST-cffi provides an interactive python to QuEST interface based on cffi, mapping QuEST functions to python and executing them during runtime.

For more information see the detailed code [documentation](https://pyquest.readthedocs.io/en/latest/)

## Note

Please note, PyQuEST-cffi is not an official QuEST project.

In the developing branches of QuEST the QuEST project has implemented a [ctypes](https://docs.python.org/3.6/library/ctypes.html)-based python interface [QuestPy](https://github.com/QuEST-Kit/QuEST/tree/master/utilities/QuESTPy) for unit testing.

Do not assume that any bugs occuring using PyQuEST-cffi are QuEST bugs unless the same bug occurs when compiling/using a QuEST c-program with the official release version of [QuEST](https://github.com/QuEST-Kit/QuEST).

## Installation

We do provide a PyPi source packages. The recommended way to install PyQuEST-cffi is

```shell
pip install pyquest_cffi
```

If you want to install PyQuEST-cffi in development mode we recommend

```shell
# PyQuEST-cffi add QuEST as a git submodule
git clone --recurse-submodules https://github.com/HQSquantumsimulations/PyQuEST-cffi.git
pip install -e PyQuEST-cffi/
```
pyuntype 0.0.3
Programatically untype your Python code
License: Apache-2.0
Requires Python: >=3.9,<4.0

# Python untype

Programatically untype your Python Projects.

## Credits

The original idea and code of this project comes from the following [Stack OverFlow thread](https://stackoverflow.com/questions/42733877/remove-type-hints-in-python-source-programmatically).

## Install

```bash
pip install pyuntype
```

## Usage

Use the following command to completely untype your Python Project located in the `src/` folder.

```bash
pyuntype src/ dest/
```

### Option `gitmode` (bool)

When `--gitmode=True`, the `src` directory should be a inside a Git repository. The goal to create a `dest` folder only with the files listed by `git ls-files` (and thus taking into account `.gitignore`)

### Option `custom_typing_module` (str)

If you defined in your code a file with custom types, all imports from this file will be ignored, and this file won't be copied in your `dest` directory

### Example:

For the Python CLI, we can use:

```
pyuntype python python_untype --gitmode=True --custom_typing_module=custom_types
```

## Contribute

### Development install

Feel free to contribute by proposing merge requests to this project.

This project uses [Poetry](https://python-poetry.org/docs/basic-usage/) and can be installed in development mode with the following steps:

- `git clone https://github.com/Escape-Technologies/pyuntype.git && cd pyuntype`
- `poetry shell`
- `poetry install`

### Pre-commit

This project [Pre-Commit](https://pre-commit.com) to lint your code and make sure it is compliant to the rules we fixed.

```bash
pre-commit install --hook-type commit-msg
```

### Testing --wip--

This project uses [PyTest](https://docs.pytest.org/en/6.2.x/) to unit test the code.