semvec/pypi-packages huggingface dataset:
multiframe-list 4.0.1
Tkinter widget to display data over multiple columns.

# multiframe_list.py
Compact raw python module that brings the MultiframeList class with it.
It is a tkinter widget that can be used to display data split up over multiple columns.
Able to read into the ttk styling database and apply certain style configurations to
otherwise unstylable Listboxes and exists exclusively because I didn't know about
`ttk.Treeview` and was too stubborn to drop existing code.

## Installation
Get it by running `pip install multiframe_list`.

## Example:

```python
import tkinter as tk
from multiframe_list import MultiframeList

def format_price(raw):
    dollars, cents = divmod(raw, 100)
    return f"${dollars}.{cents:0>2}"

items = (
    ("Apple", 79, 42),
    ("Pear", 79, 58),
    ("Egg", 29, 24),
    ("HL3", 99999999903, 1),
)

root = tk.Tk()

item_display = MultiframeList(root, inicolumns = (
    {"name": "Items", "col_id": "col_items", "sort": False},
    {"name": "Price", "col_id": "col_prices", "sort": True,
     "formatter": format_price},
    {"name": "Stock", "col_id": "col_qty", "sort": False},
))
item_display.set_data({
    "col_items":  [t[0] for t in items],
    "col_prices": [t[1] for t in items],
    "col_qty":    [t[2] for t in items],
})
# Required for the price formatter.
# If not called, the column would display raw values.
item_display.format()
# item_display.format(("col_prices",)) # would have the same effect.

item_display.grid(sticky = "nesw")
root.mainloop()
```
Will result in this window:

![<Image> Result of script above](example.PNG)  

## Documentation

Most information can be found in the docstrings of the MultiframeList's class and its methods.  
Other than that:
```
 ~ ### ~ ~
   *#*       
 /  s  \

             ___              _
            /  -]  /|         |
___n____m_-_|___|__||_____---_|__
.             _          .       
   .-.    ~         ___       ' .     
 n_|:|       .    '           __ 
 '-. |_n      _         _______   . 
   | .-'                     __.      
  _|:|___  *             -  [__/     
   | |         ~   ===         
    *  ___     .      - ---
```
apachecn-socengi-wiki 2022.5.4.0
ApacheCN 社会工程知识库
Requires Python: >=3.6

# ApacheCN 社会工程知识库

> 协议：[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 
> 新时代需要新道德。——《三体》

* [在线阅读](https://sew.apachecn.org)
* [在线阅读（Gitee）](https://apachecn.gitee.io/doc-template/)
* [ApacheCN 学习资源](http://docs.apachecn.org/)

## 贡献指南

请通过 ISSUE 提交想要收录的文章，负责人看到后就会处理。

## 联系方式

### 负责人

* [飞龙](https://github.com/wizardforcel): 562826179

### 其他

*   在我们的 [apachecn/apachecn-socengi-wiki](https://github.com/apachecn/apachecn-socengi-wiki) github 上提 issue.
*   发邮件到 Email: `apachecn@163.com`.
*   在我们的 [组织学习交流群](https://www.apachecn.org/#/docs/join) 中联系群主/管理员即可.

## 下载

### Docker

```
docker pull apachecn0/apachecn-socengi-wiki
docker run -tid -p <port>:80 apachecn0/apachecn-socengi-wiki
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install apachecn-socengi-wiki
apachecn-socengi-wiki <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g apachecn-socengi-wiki
apachecn-socengi-wiki <port>
# 访问 http://localhost:{port} 查看文档
```

## 赞助我们

![](http://data.apachecn.org/img/about/donate.jpg)
pyControlToolbox 0.2.2
Package for simulation and design of control systems

# PyControl

Python library for simulating and designing control systems. Available on PyPi under the name [pyControlToolbox](https://pypi.org/project/pyControlToolbox/). The backbone of the library is numpy (for matrix operations), sympy (symbolic engine) and matplotlib (for plots).
> unfortunately pyControl was already taken by project not even related to control systems

## Functionalities
### State space and transfer function model declaration
```python
from PyControl.continous import *
numerator = [1, 2, 3]
denominator = [4, 5, 6, 7]
tfSystem = tf(numerator, denominator)

A = [[2, 5.4],
	[1.85, 3]]
B = [1.12, 3.14]
C = [1, 0]
D = [0]
ssSystem = ss(A, B, C, D)
print(tfSystem)
print(ssSystem)
```
### Step and impulse response simulation
```python
from PyControl.continous import *

A = [[-1, 2],
	[0, -1]]
B = [1, 2]
C = [1, 1]
D = [0]
ssSystem = ss(A, B, C, D)
step(ssSystem, plot=True)
```
```python
from PyControl.continous import *

A = [[-4, 0],
	[1.5, -2.1]]
B = [1, 5]
C = [3.2, 1]
D = [0]
ssSystem = ss(A, B, C, D)
pulse(ssSystem, plot=True)
```
### Phase portrait plotting
```python
from PyControl.continous import *

A = [[-1, 2],
	[0, -1]]
B = [1, 2]
C = [1, 1]
D = [0]
ssSystem = ss(A, B, C, D)
phasePortrait(ssSystem, t=10)
```
cg-scratch-zh 2022.5.4.0
从零开始的计算机图形学
Requires Python: >=3.6

# 从零开始的计算机图形学

> 原文：[Computer Graphics from scratch](https://gabrielgambetta.com/computer-graphics-from-scratch/)
> 
> 协议：[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 
> 阶段：机翻（1）
> 
> 我自成佛自度我，佛度凡尘我度佛。

* [在线阅读](https://cgfs.apachecn.org)
* [在线阅读（Gitee）](https://apachecn.gitee.io/doc-template/)
* [ApacheCN 学习资源](http://docs.apachecn.org/)

## 贡献指南

本项目需要校对，请查看[贡献指南](CONTRIBUTING.md)。

> 请您勇敢地去翻译和改进翻译。虽然我们追求卓越，但我们并不要求您做到十全十美，因此请不要担心因为翻译上犯错——在大部分情况下，我们的服务器已经记录所有的翻译，因此您不必担心会因为您的失误遭到无法挽回的破坏。（改编自维基百科）

## 联系方式

### 负责人

* [飞龙](https://github.com/wizardforcel): 562826179

### 其他

*   在我们的 [apachecn/cg-scratch-zh](https://github.com/apachecn/cg-scratch-zh) github 上提 issue.
*   发邮件到 Email: `apachecn@163.com`.
*   在我们的 [组织学习交流群](https://www.apachecn.org/#/docs/join) 中联系群主/管理员即可.

## 下载

### Docker

```
docker pull apachecn0/cg-scratch-zh
docker run -tid -p <port>:80 apachecn0/cg-scratch-zh
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install cg-scratch-zh
cg-scratch-zh <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g cg-scratch-zh
cg-scratch-zh <port>
# 访问 http://localhost:{port} 查看文档
```

## 赞助我们

![](http://data.apachecn.org/img/about/donate.jpg)