semvec/pypi-packages huggingface dataset:
duckstatsbomb 0.2.0
A data parser for StatsBomb soccer data using duckdb
Keywords: football, soccer, statsbomb

# duckstatsbomb
A data parser for StatsBomb soccer data using duckdb

# StatsBomb open-data

### Competitions data
```python
from duckstatsbomb import Sbopen
parser = Sbopen()
df_competitions = parser.competitions()
```

### Matches data
```python
from duckstatsbomb import Sbopen
parser = Sbopen()
df_matches = parser.matches(2, 44)
```

### List valid data types
```python
from duckstatsbomb import Sbopen
parser = Sbopen()
print(parser.valid_data())
```
The valid kind values are:
* 'lineup_players'
* 'events'
* 'frames'
* 'tactics',
* 'related_events'
* 'threesixty_frames'
* 'threesixty'

### Data from one match
```python
from duckstatsbomb import Sbopen
parser = Sbopen()
df_lineup_players = parser.match_data(3749052, kind='lineup_players')
```

### Data from multiple matches
```python
from duckstatsbomb import Sbopen
parser = Sbopen()
df_events = parser.match_data([3749052, 3749522], kind='events')
```

### Data from one competition
```python
from duckstatsbomb import Sbopen
parser = Sbopen()
df_tactics = parser.competition_data(competition_id=16, kind='tactics')
```

### Data from one competition/season
```python
from duckstatsbomb import Sbopen
parser = Sbopen()
df_frames = parser.competition_data(competition_id=16, season_id=37, kind='frames')
```

# StatsBomb API

You can either provide the username and password as arguments (sb_username/ sb_password),
or set the SB_USERNAME and SB_PASSWORD environmental variables.

### Competitions data
```python
from duckstatsbomb import Sbapi
parser = Sbapi()
df_competitions = parser.competitions()
```

### Matches data
```python
from duckstatsbomb import Sbapi
parser = Sbapi()
df_matches = parser.matches(2, 44)
```

### List valid data types
```python
from duckstatsbomb import Sbapi
parser = Sbapi()
print(parser.valid_data())
```
The valid kind values are:
* 'lineup_players'
* 'events'
* 'frames'
* 'tactics',
* 'related_events'
* 'threesixty_frames'
* 'threesixty',
* 'lineup_events'
* 'lineup_formations'
* 'lineup_positions',
* 'threesixty_visible_count'
* 'threesixty_visible_distance'

### Data from one match
```python
from duckstatsbomb import Sbapi
parser = Sbapi()
df_lineup_players = parser.match_data(3749052, kind='lineup_players')
```

### Data from multiple matches
```python
from duckstatsbomb import Sbapi
parser = Sbapi()
df_events = parser.match_data([3749052, 3749522], kind='events')
```

### Data from one competition
```python
from duckstatsbomb import Sbapi
parser = Sbapi()
df_tactics = parser.competition_data(competition_id=16, kind='tactics')
```

### Data from one competition/season
```python
from duckstatsbomb import Sbapi
parser = Sbapi()
df_frames = parser.competition_data(competition_id=16, season_id=37, kind='frames')
```
abeiai 1.0.0
阿贝智能开放平台SDK
Requires Python: >=3

# 阿贝智能开放平台的SDK

阿贝智能在应用过程中，踏遍了全世界各种资源，筛选了一批优秀的资源，计划陆续开放出来，让开发者更便捷的接入。

# 快速开始

## 安装

```bash
pip install abeiai
```

使用举例

```python
from abeiai.v1 import AbeiAI

ab = AbeiAI()
ab.set_app_id('xxx')
ab.set_app_secret('xxx')

# 查询价格方案
ab.group()
# 查消费
ab.history('xxx')
# 查充值记录
ab.recharge()
# 查信息
ab.app()
# 画图，字典内容见API文档
ab.draw({})
```

## 使用方式

具体参数内容见文档，请注意参数的格式。

传送门：[接口文档对照](https://abeiai123.feishu.cn/wiki/HPaAw7izuibperk2aSHcSMClnJh)

文档里有联系方式。

# 版本历史

1.0.0 首次发布
types-flame 2024.2.0
Python stubs for the Autodesk Flame Python API
Requires Python: >=3.9
Keywords: types, graphics, VFX

# Types Flame

This package provides stubs for Autodesk Flame.
The major and minor version number of this package corresponds to the Flame version.
However the patch version might change to account for fixes in the stubs.

## Installation

```
pip install types-flame
```

## Generation

Append the hook dir to the `DL_PYTHON_HOOK_PATH`.
drapixcol 1.0
Python library for drawing with pixels.
Requires Python: >=3.11
Keywords: python color colors paint drapixcol pixel drawing

# Drapixcol
Python library for drawing with pixels.  
<br />
<br />
The `create_canvas` function creates a canvas with a given width and color, example:  
```python
width, height = 10, 20
canvas = create_canvas(width, height, white)
```  
This code created an opaque canvas with a width of 10, a height of 20, and a white color,  
Also, this function can be passed transparency as the fourth argument.  
<br />
The `pixel` function paints a specific pixel a color, example:  
```python
pixel(canvas, 5, 0 , black)
```  
This code paints a pixel on the canvas "canvas" at coordinates x=5 y=0 black,  
You can also pass transparency to this function as the fifth argument.  
<br />
The `repeat` function draws a sequence of pixels in any direction and with any space between pixels, example:
```python
repeat(canvas, 10, 5, 10, forward, black)
```  
This code draws a sequence of pixels on the canvas "canvas" 10 times starting at coordinate x=5 y=10 moving forward, the pixel color is black,  
You can also pass transparency as the seventh argument and the distance between pixels as the eighth argument.  
<br />
The ``save_canvas`` function saves the canvas at a specific size, example:  
```python
save_canvas(canvas, in100times)
```  
This code saves the canvas "canvas" by making it 100 times bigger.  
<br />
<br />
Here are all the arguments that can be passed to functions:  
<br />
Colors:  
```
black  
white  
red  
blue  
yellow  
green  
brown  
sky_blue  
light_sky_blue  
violet  
grey  
orange  
pink  
light_green  
dark_red  
null  
```
You can also create your own colors as all colors are stored in RGBA format.  
<br />
Transparency:  
```
translucent 
transparent  
on80  
on60  
on40  
on20  
opaque
```  
You can also create your own transparency since all colors are stored in RGBA format.  
<br />
Directions:  
```
forward  
down  
back  
up  
down_right  
up_right  
down_left  
up_left
```
<br />

Enlargement:  
```
in2times  
in5times  
in10times  
in50times  
in100times  
in200times
in500times  
in1000times
``` 
You can also create your own magnification.