semvec/pypi-packages huggingface dataset:
protostar-cairo-py 0.1.2
Protostar Cairo bindings for Python

# protostar_cairo_py
[![pypi](https://img.shields.io/pypi/v/protostar-cairo-py)](https://pypi.org/project/protostar-cairo-py/)

This is an internal package used by [Protostar](https://github.com/software-mansion/protostar).

```
         PROTOSTAR
          [Python]
             │
             ▼
      PROTOSTAR-CAIRO-PY
          [Python]
             │
             ▼
SOFTWARE-MANSION-LABS/CAIRO (fork)
           [Rust]
             │
             ▼
           CAIRO
           [Rust]
```
## Setting up the environment
1. Install a Python version management tool such as [pyenv](https://github.com/pyenv/pyenv) or [asdf](https://github.com/asdf-vm/asdf).
1. Install Python 3.9.14.
1. Clone this repository.
1. Verify that the active Python version is 3.9.14.
1. Create a virtual environment: `python -m venv .venv`.
1. Activate the environment: `source .venv/bin/activate`.
1. Upgrade pip: `pip install --upgrade pip`.
1. [Install Poetry](https://python-poetry.org/docs/#installation), which is the dependency manager used by this package.
1. Install project dependencies: `poetry install`.
1. Install Rust by following the instructions on [rust-lang.org](https://www.rust-lang.org/tools/install).
1. Test if everything works by building a wheel: `poe build`.
## Deploying
1. Update the git submodule: `poe sync`.
1. Release a package: `poe deploy`.
numericalAnalysisTool 0.3.0
Numerical anlysis tool kit
Requires Python: >=3.6

# pyNumericalAnalysisToolKit
it's a python module use to make numerical analysis on mathematical formulas


## How to install 

```bash
pip install numericalAnalysisTool
```

## example 

You can find other example in [examples/](examples/) directory.

In this example I will take two function taking two paramter and returning one value. 

```math
f\_add(a,b) = a + b
```

```math
f\_mult(a,b) = a.b
```

So you will have to define those function 

```python 
def f_add(a,b):
    return a + b

def f_mult(a,b):
    return a * b
```

How to use the tool kit : 

```python
from numericalAnalysis.analysor import Analysor

analysor = Analysor()
params_dict = {"a" : [i/100 for i in range(0,100 +1)],# define range value for your parameter a
               "b" : range(-20,20,3) # range value for parameter b
               }
analysor.add_function(f_mult,params_dict)
analysor.add_function(f_add,params_dict)
analysor.compute()# it will compute product of every possible value for a and b gived before
analysor.draw_linear_2D_graph() # it will draw and save fig in "./graph" directory
```

It will product in [/example/graph]() directory all graph representing lineplot as the result of those function in function of every parameter.

### effect of parameter a 
![](examples/graph/scoring_function_multiplication_score_function_addition_a.png)

### effect of parameter b 

![](examples/graph/scoring_function_multiplication_score_function_addition_b.png)
apachecn-ds-zh-pt4 2023.2.17.1
ApacheCN 数据科学译文集（四）
Requires Python: >=3.6

<!--
    需要填充的占位符：
    
    README.md
    
        ApacheCN 数据科学译文集（四）：文档中文名
        {nameEn}：文档英文名
        {urlEn}：文档原始链接
        ds4：域名前缀
        飞龙：负责人名称
        wizardforcel：负责人 Github 用户名
        562826179：负责人 QQ
        apachecn-ds-zh-pt4：ApacheCN 的 Github 仓库名称
        apachecn-ds-zh-pt4：DockerHub 仓库名称
        apachecn-ds-zh-pt4：PYPI 包名称
        apachecn-ds-zh-pt4：NPM 包名称
    
    CNAME
    
        ds4：域名前缀

    index.html
    
        ApacheCN 数据科学译文集（四）：文档中文名
        #1E90FF：显示颜色
        apachecn-ds-zh-pt4：ApacheCN 的 Github 仓库名称

    asset/docsify-apachecn-footer.js
    
        apachecn-ds-zh-pt4：ApacheCN 的 Github 仓库名称
-->

# ApacheCN 数据科学译文集（四）

> 协议：[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 
> 阶段：机翻（1）
> 
> 趁着年轻生猛，我要再和生活死磕几年。要么我就毁灭，要么我就铸就辉煌。如果有一天，你发现我在平庸面前低了头，那么请向我开炮。--《在路上》

* [在线阅读](https://ds4.apachecn.org)
* [在线阅读（Gitee）](https://apachecn.gitee.io/doc-template/)
* [ApacheCN 学习资源](http://docs.apachecn.org/)
* [ApacheCN 翻译校对兼职群 713436582](https://jq.qq.com/?_wv=1027&k=VSNtgpjb)

## 贡献指南

为了不断改进翻译质量，我们特此启动了【翻译、校对、笔记整理活动】，开设了多个校对项目。贡献者校对一章之后可以领取千字2\~4元的奖励。进行中的校对活动请见[活动列表](https://home.apachecn.org/#/docs/activity/docs-activity)。更多详情请联系飞龙（Q562826179，V:wizardforcel）。

## 联系方式

### 负责人

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

### 其他

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

## 下载

### Docker

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

### PYPI

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

### NPM

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

## 其它协议

霞鹜文楷采用 [SIL 开放字体协议 1.1](https://github.com/lxgw/LxgwWenKai/blob/main/SIL_Open_Font_License_1.1.txt)。

## 赞助我们

![](http://data.apachecn.org/img/about/donate.jpg)
sqltables 1.8
SQL tables as first-class objects
Requires Python: >=3.6

# SQLTables
SQLTables is a Python module that provides access to SQLite and PostgreSQL tables as first-class objects.

This means that tables and views can be assigned to variables and used as parameters and return values of Python functions.

Documentation: https://sqltables.readthedocs.io/

Examples are in the `examples/` folder. The [Machine Learning](https://github.com/bobpepin/sqltables/blob/master/examples/Machine%20Learning.ipynb) example notebook should illustrate most features.

## Main Concepts and Example

The main objects are tables, represented by the `Table` class and associated with a `Database`. 
New tables are created with the `create_table` method on the Database object.
Tables are queried with the `view` and `table` methods, which execute an SQL query and return a new `Table` object backed by a temporary view or table. 
Within SQL queries, the special name `_` refers to the table associated with `self`.

A simple example:
```python
db = sqltables.Database()
rows = [["a", 1], ["b", 2], ["c", 3]]
values = db.create_table(rows=rows, column_names=["name", "val"])
values
```
|name|val|
|-|-|
|\'a\'|1|
|\'b\'|2|
|\'c\'|3|
```python
def square(tab):
    return tab.view("select name, val, val*val as squared from _")

square(values)
```
|name|val|squared|
|-|-|-|
|\'a\'|1|1|
|\'b\'|2|4|
|\'c\'|3|9|