semvec/pypi-packages huggingface dataset:
gdsql 0.3.0
Python package for designing superconducting quantum chips
Keywords: gds, quantum, layout

# GDSQL 0.3.0
GDSQL（GDSII Quantum Layout）是基于gdsfactory[v7]的封装，相比之前的sqc-painter，绘制版图的速度提升超过100x，且无须依赖KLayout。

针对超导量子芯片版图绘制，提供了常用的图形库，包含CPW控制线、TSV、量子比特、短路谐振器、开路谐振器、RF-SQUID，目标是支持千比特版图的绘制。

通过图形库，可以快速生成仿真用的gds文件，用于SONNET、ANSYS、InductEX仿真，已开发SONNET、ANSYS部分自动化仿真功能。

## 安装说明

需要安装`gdsfactory`，该包是画图功能最基础的依赖，推荐在Anaconda环境下安装，python=3.11。
> [注意] 目前`gdsfactory`官方更新到v8，但发现其PDK相关内容与`gdsql`不兼容，而且不支持`shapely`图形作为`Cell`的输入，需要替换成klayout格式，即shape模块需要全部重写。因此较长一段时间内仍用v7版本。

![structure](docs/images/dependency_structure.png)

根据需要的功能，可选择性地安装以下的包：
- `pandas`, `openpyxl`： 网表导出功能。
- `plotly`, `nbformat`： 在jupyter notebook内预览布线路径功能。
- `klive`：可快捷传输版图到klayout内查看，需要在klayout内安装`klive[v0.3.2]`插件，在`Tools -> Manage Packages`搜索插件名字进行安装，该插件只支持v0.28.17及以上版本的klayout。

```bash
conda create -n gdsql-env python=3.11
activate gdsql-env
pip install gdsfactory==7.27.1
pip install pandas openpyxl plotly nbformat
```

## 使用说明

先通过`gq.Cell`建立画图单元，然后添加`gq.cpw`，`gq.pad`，`gq.via`等图形，并指定图层名称或者图层编号。

图层名称和图层编号的映射关系见PKD说明。
在任何一个需要指定图层的函数里，图层名称和图层编号可以混用。
比如下面2种写法的效果相同：
```python
c.add_polygon(gq.via(40,40),(11,0))
c.add_polygon(gq.via(40,40),"ViaB")
```

>[注意] GDSQL 仍处于试验阶段，预计会在不通知的情况下更改 API（尽管我们会尽量减少更改！）。[详细说明请见此处](https://github.com/SQCEDA/gdsql/tree/master/docs)

### 基础方法
通过手动拼接画图，cpw图形只需要设定途径点和转弯半径，就能自动转弯

```python
import gdsql as gq
c = gq.Cell()
c.add_polygon(gq.cpw(2,4,[(0,0),(200,0),(0,200),(200,200)],radius=50,startcut=50,endcut=50),"METB")
c.add_polygon(gq.pad(30,50,2,4,50),"METB")
c.add_polygon(gq.via(40,40),"ViaB")
c.add_polygon(gq.pad(30,50,2,4,50,angle=180,xoff=200,yoff=200),"METB")
c.add_polygon(gq.via(28,10,dh=20,angle=180,xoff=200,yoff=200),"ViaB")
c.write_gds("demo.gds")  # write it to a GDS file. You can open it in klayout.
c.show()  # show it in klayout
c.plot()  # plot it in jupyter notebook
```
### 高级方法
通过已配置好的画图参数`gq.RouteConfig`画图

```python
import gdsql as gq
route_config = gq.RouteConfig(cpw_ab_existence=True,cpw_ab_simu=True)
line = [(0,0),(200,0),(0,200),(200,200)]
c = route_config.generate_cell(line)
c.plot()
```
### 导出方式

导出加工用版图时直接用`write_gds`，可以保留cell结构，减小文件体积。

如果想要用sonnet或者inductEX进行仿真，建议用`write_flatten_gds`。

```python
c.write_flatten_gds('flattend demo.gds') # export flattened cell
c.write_gds('demo.gds') # export unflattened cell
```

![生成图形](docs/images/demo_crossover.png)

### 默认PDK

内置默认PDK，包含图层名称和图层编号，图层颜色的映射信息。

```python
LAYER_VIEWS = gq.PDK.layer_views
c = LAYER_VIEWS.preview_layerset()
c.plot()
```

![图层颜色示意](docs/images/layerview.png)
pyboot-jwt 1.3.3.1
Pyboot-jwt is an open-source Python-extended PyBoot component  that that simplifies the development of jwt.
Requires Python: >=3.12.10
Keywords: web, framework, cli, springboot, fastapi, redis

Pyboot is an open-source Python microservice framework that simplifies the development of stand-alone, production-grade Spring applications. It provides embedded servers, auto-configuration, and minimal setup, allowing developers to build and run python apps quickly—no heavy XML or boilerplate code needed.
Python microservice = a tiny, self-contained Java app that starts in seconds, exposes REST endpoints, and ships with its own server—ready to scale and deploy independently.

使用python进行扩展的pybatis组件，实现类似Spring mybatisplus的ORM数据库操作的集成功能
archSnap 0.1.4
A package for the archSnap visualisation generator
Requires Python: >=3.11.0

# archSnap

A Blender-based tool for the standardised visualisation of archaeological artefacts. 📷🏺

This tool creates renders of 3D objects (meshes) from all 6 orthogonal directions

## Requirements

Important! Before running this tool, you need to manually install the following:

- Blender 5.0.x from the [Blender website](https://www.blender.org/download/) ([alternative link](https://download.blender.org/release/Blender5.0/))
- In order to run the Blender Python module (`bpy>=5.0.0`), you need to install and use [Python 3.11.\*](https://www.python.org/downloads/).

## Installation and usage

### From [PyPI package page](https://pypi.org/project/archSnap/)

- Installation from PyPI: In a console, run `pip install archsnap` to install the package, and `python -m archsnap` to run the tool.

### Direct download (without installing)

- To run the tool without installing from PyPI, download the contents of the repository to your computer (be it a release or with `git clone {URL}`). Open a console and navigate it to the downloaded repository's base folder (i.e. the one containing the `README.md` file), then the `src/` directory, and from there run `python -m archSnap`. The GUI should launch from there.

## License

This work is an open source work licensed according to the terms of the GNU General Public License version 3 (GPL3; see [license file](LICENSE))
pyboot-datasource 1.3.3.1
Pyboot-datasource is an open-source Python-extended PyBoot component that delivers Spring-WebMVC-like functionality—automatic request mappings, interceptors, RESTful controllers and view resolution—while retaining Spring's convention-over-configuration experience for Python developers.
Requires Python: >=3.12.10

Dataflow is an open-source Python microservice framework that simplifies the development of stand-alone, production-grade Spring applications. It provides embedded servers, auto-configuration, and minimal setup, allowing developers to build and run python apps quickly—no heavy XML or boilerplate code needed.
Python microservice = a tiny, self-contained Java app that starts in seconds, exposes REST endpoints, and ships with its own server—ready to scale and deploy independently.
pyboot-redis 1.3.3.1
Pyboot-redis is an open-source Python-extended PyBoot component that A PyBoot-extended component that replicates Spring Redis functionality, integrating Redis database operations via commons-redis to deliver out-of-the-box Redis capabilities.
Requires Python: >=3.12.10
Keywords: web, framework, cli, springboot, fastapi, redis

Pyboot is an open-source Python microservice framework that simplifies the development of stand-alone, production-grade Spring applications. It provides embedded servers, auto-configuration, and minimal setup, allowing developers to build and run python apps quickly—no heavy XML or boilerplate code needed.
Python microservice = a tiny, self-contained Java app that starts in seconds, exposes REST endpoints, and ships with its own server—ready to scale and deploy independently.

使用python进行扩展的pybatis组件，实现类似Spring mybatisplus的ORM数据库操作的集成功能
pyboot-webmvc 1.3.3.1
Pyboot-webmvc is an open-source Pyboot extension package An extended WebMVC component built on PyBoot that delivers Spring WebMVC-like features—request mappings, interceptors, and RESTful controllers—out of the box.
Requires Python: >=3.12.10

Dataflow is an open-source Python microservice framework that simplifies the development of stand-alone, production-grade Spring applications. It provides embedded servers, auto-configuration, and minimal setup, allowing developers to build and run python apps quickly—no heavy XML or boilerplate code needed.
Python microservice = a tiny, self-contained Java app that starts in seconds, exposes REST endpoints, and ships with its own server—ready to scale and deploy independently.
pyboot-commons-jwt 1.3.3.1
Pyboot-commons-jwt is an open-source utility package that simplifies the development of jwt.
Requires Python: >=3.12.10
Keywords: web, framework, cli, springboot, fastapi

Pyboot is an open-source Python microservice framework that simplifies the development of stand-alone, production-grade Spring applications. It provides embedded servers, auto-configuration, and minimal setup, allowing developers to build and run python apps quickly—no heavy XML or boilerplate code needed.
Python microservice = a tiny, self-contained Java app that starts in seconds, exposes REST endpoints, and ships with its own server—ready to scale and deploy independently.

基础Utils包，作为工具使用
pyboot-commons-pybatis 1.3.3.1
Pyboot-commons-pybatis is an open-source Pyboot utility package that A Python-extended PyBatis component that integrates ORM database operations similar to Spring MyBatis-Plus, enabling out-of-the-box CRUD and advanced querying capabilities.
Requires Python: >=3.12.10
Keywords: web, framework, cli, springboot, fastapi, mybatis, pybatis, jdbc, pydbc, database

Pyboot is an open-source Python microservice framework that simplifies the development of stand-alone, production-grade Spring applications. It provides embedded servers, auto-configuration, and minimal setup, allowing developers to build and run python apps quickly—no heavy XML or boilerplate code needed.
Python microservice = a tiny, self-contained Java app that starts in seconds, exposes REST endpoints, and ships with its own server—ready to scale and deploy independently.

使用python进行扩展的pybatis组件，实现类似Spring mybatisplus的ORM数据库操作的集成功能
pyboot-commons-redis 1.3.3.1
Pyboot-commons-redis is an open-source Pyboot utility package that A foundational Redis utils package designed for general-purpose tooling.
Requires Python: >=3.12.10
Keywords: web, framework, cli, springboot, fastapi, redis

Pyboot is an open-source Python microservice framework that simplifies the development of stand-alone, production-grade Spring applications. It provides embedded servers, auto-configuration, and minimal setup, allowing developers to build and run python apps quickly—no heavy XML or boilerplate code needed.
Python microservice = a tiny, self-contained Java app that starts in seconds, exposes REST endpoints, and ships with its own server—ready to scale and deploy independently.

使用python进行扩展的pybatis组件，实现类似Spring mybatisplus的ORM数据库操作的集成功能
molify 0.2.2
Molecular Structure Interface with RDKit, ASE, Packmol and NetworkX
Requires Python: >=3.10

[![zincware](https://img.shields.io/badge/Powered%20by-zincware-darkcyan)](https://github.com/zincware)
[![codecov](https://codecov.io/gh/zincware/molify/graph/badge.svg?token=Q0VIN03185)](https://codecov.io/gh/zincware/molify)
[![PyPI version](https://badge.fury.io/py/molify.svg)](https://badge.fury.io/py/molify)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15423477.svg)](https://doi.org/10.5281/zenodo.15423477)
[![Docs](https://github.com/zincware/molify/actions/workflows/pages.yaml/badge.svg)](https://zincware.github.io/molify/)
[![status](https://joss.theoj.org/papers/4c1ec2a0b66ed6baaf3fe93066696d5f/status.svg)](https://joss.theoj.org/papers/4c1ec2a0b66ed6baaf3fe93066696d5f)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/zincware/molify)

# molify - Molecular Structure Interface with RDKit, ASE, Packmol and NetworkX

Installation via `pip install molify`. For more information please visit the
[documentation](https://zincware.github.io/molify/).

A common use case is to create 3D structures from SMILES strings. This can be
achieved using the `molify.rdkit2ase` function.

```py
import ase
from rdkit import Chem
from molify import rdkit2ase, ase2rdkit

mol = Chem.MolFromSmiles("O")
atoms: ase.Atoms = rdkit2ase(mol)
mol = ase2rdkit(atoms)
```

Because this is such a common use case, there is a convenience function
`molify.smiles2atoms` that combines the two steps.

```py
import ase
from molify import smiles2atoms

atoms: ase.Atoms = smiles2atoms("O")

print(atoms)
>>> Atoms(symbols='OH2', pbc=False)
```

## Packmol Interface

Given the molecular units, you can build periodic boxes with a given density
using the `molify.pack` function.

The `molify` package ships with an installation of
[packmol](https://github.com/m3g/packmol). If you like packmol, give it a star
on GitHub!

```py
from molify import pack, smiles2conformers

water = smiles2conformers("O", 2)
ethanol = smiles2conformers("CCO", 5)
density = 1000  # kg/m^3
box = pack([water, ethanol], [7, 5], density)
print(box)
>>> Atoms(symbols='C10H44O12', pbc=True, cell=[8.4, 8.4, 8.4])
```

Many additional features are described in the
[documentation](https://zincware.github.io/rdkit2ase/).