semvec/pypi-packages huggingface dataset:
pyquac 1.1.11
Useful tools for quantum computing experiments, provided for BMSTU FMN
License: MIT
Keywords: Two tone spectroscopy,plotly,pandas

# pyquac
Useful tools for quantum computing experiments in **Jupyter notebook**, provided for BMSTU FMN  
# Description  
package consists of two main modules:  
- `fmn_plottools`: Plot data with plotly package  
- `fmn_datatools`: **(IN PROGRESS)**. Tools to work with data. Send signal to the machine, pull request, generate pandas DataFrame from it, get approximation result etc.  

There is also `datatools` module, but it just an simplier analog of `fmn_plottools` that soon would be removed.  
# Installation  
## Normal installation  
```
pip install pyquac
```
## Development installation  
```
git clone https://github.com/ikaryss/pyquac.git
```
module-tools 0.0.3
Module Tools
License: MIT
Requires Python: >=3.6

# Module Tools

Tools for python modules

## Installation

```shell
$ pip install module-tools
```

## Examples

```python
"""
package
    __init__.py
    sub_package
        __init__.py
        modulec.py -> var5, var6 = 3, "c"
    modulea.py -> var1, var2, add = 1, "a", lambda a, b: a + b
    moduleb.py -> var3, var4 = 2, "b"
"""

from package.modulea import add

from module_tools import find_module_strings, find_modules, import_string, iter_objs_from_modules

add1 = import_string("package.modulea.add")
print(add1 is add)  # True

print(set(find_module_strings("package")) == {"package.modulea", "package.moduleb"})  # True
print(
    set(find_module_strings("package", recursive=True))
    == {"package.modulea", "package.moduleb", "package.sub_pakage.modulec"}
)  # True
from package import modulea, moduleb
from package.sub_package import modulec

print(set(find_modules("package")) == {modulea, moduleb})  # True
print(set(find_modules("package", recursive=True)) == {modulea, moduleb, modulec})  # True

print(set(iter_objs_from_modules(["package"], cls=int)) == {1, 2})  # True
print(set(iter_objs_from_modules(["package"], cls=int, recursive=True)) == {1, 2, 3})  # True

print(
    set(iter_objs_from_modules(["package"], cls=int, recursive=True, func=lambda x: x < 3))
    == {1, 2}
)  # True
```