semvec/pypi-packages huggingface dataset:
cryo-qcheck 0.0.1
Quality parameters for cryoEM
License: MIT
Keywords: CryoEm 3D maps Reconstrunction Statistics Quality matrics

# cryo_qcheck
This package is work in progess which contains programs that help in accessing quality of cryoEM 3D map reconstruction. 

The details of the program are publised in biorxiv, a preprint server for biology.

Please follow the link to the paper. "https://www.biorxiv.org/content/10.1101/2022.12.31.521834v1"

Changes will be made to the up comming versions and accompied with paper published in peer review journal. 

The "qcheck" package presently constitutes one program which evalutes phase values from the 3D cryoEM reconstructed map and calcuates two statistical parameter to judge the quality of the reconstruction. 

The "pc_sk" program helps in quantitatively assess the presence of non-particles in the reconstructed map. 

The program takes two input parameters to perform calculations, one is the cryo-EM map which can have both mrc or map extension and second parameter is the map's contour value. 

The contour value is used to create a mask and then perform the calcualation. 

After the calucaltion are done, the output numerical values are printed on the console and a graph is saved into the folder with the name of the map provided for calculation. 



Usage:
python pc_sk.py example.mrc contour_value
nonebot-plugin-blockwords 0.2.1
nonebot聊天屏蔽词插件
License: MIT
Requires Python: >=3.8,<4.0
Keywords: bot,nonebot2,nonebot-plugin,blockwords

# 聊天屏蔽词插件

聊天屏蔽词插件是所有`adapter`的通用的插件，可以对用户发送的词进行检测然后进行自定义操作，例如屏蔽词中加入一些辱骂词汇，检测到辱骂词汇时进行撤回或者禁言等操作，也可以对机器人发送的进行检测，如果存在屏蔽词进行拦截发送或者替换屏蔽词。

- [聊天屏蔽词插件](#聊天屏蔽词插件)
  - [如何添加屏蔽词](#如何添加屏蔽词)
  - [机器人发送的消息进行屏蔽词检测](#机器人发送的消息进行屏蔽词检测)
    - [将机器人发送的屏蔽词进行替换](#将机器人发送的屏蔽词进行替换)
  - [接收用户消息屏蔽词检测](#接收用户消息屏蔽词检测)

## 如何添加屏蔽词

1. 配置`env`中的`blockwords`配置项例如

   ```env
   blockwords=["鸡", "垃圾", "废物"]
   ```

2. 通过导入文件的方式可以配置`env`中的`blockwords_file`

   ```env
   blockwords_file="blockwords.txt"
   ```

3. 多文件导入方式

   ```env
   blockwords_file=["blockwords1.txt", "blockwords2.txt"]
   ```

## 机器人发送的消息进行屏蔽词检测

在`env`中配置`blockwords_bot`开启`bot`发送消息检测

```env
blockwords_bot = True  # 开启后机器人发送的消息会被进行检测
```

![image-20231003153146954](docs/images/image-20231003153146954.png)

> 上述例子中，因为检测到机器人发送的消息存在屏蔽词，插件会拦截机器人发送的消息，如果不希望进行拦截，可以查看如何[将机器人发送的屏蔽词进行替换](#将机器人发送的屏蔽词进行替换)

### 将机器人发送的屏蔽词进行替换

在`env`中配置`blockwords_replace`配置项，以下是`blockwords_replace`配置项使用例子。

```env
BLOCKWORDS_REPLACE="*" # 将屏蔽词替换为*
```

![image-20231003154251844](docs/images/image-20231003154251844.png)

## 接收用户消息屏蔽词检测

在`env`中配置`blockwords_user`开启接收用户所发送的消息进行检测

```env
blockwords_user = True  # 开启后机器人发送的消息会被进行检测
```

在检测到屏蔽词时会触发到`blockwords_matcher`，可以导入`blockwords_matcher`对触发屏蔽词后进行自定义操作

```python
from nonebot.internal.matcher import Matcher
from nonebot_plugin_blockwords import blockwords_matcher

@blockwords_matcher.handle()
async def _(matcher: Matcher):
    await matcher.finish("不许说脏话")
```

![image-20231003155210208](docs/images/image-20231003155210208.png)
netlink-sap-rfc 0.1.17
Access SAP via RFC
License: MIT
Requires Python: >=3.8,<3.13
Keywords: sap rfc

# netlink-sap-rfc

Tools for SAP RFC

# Connect

The default .XML files describing the landscape for SAPGUI are used for access via System ID.

### login_sid

Returns a Connection object.

| Parameter | Description                 | Default        |
|-----------|-----------------------------|----------------|
| sysid     | System ID (a.k.a. <SID>)    |                |
| client    | SAP Client (Mandant)        |                |
| passwd    | Password                    |                |
| user      | SAP user ID (BNAME)         | Logged on user |
| language  | Language                    | EN             |
| raw       | Don't convert date / time   | False          |


### sso

Returns a Connection object.

| Parameter | Description                 | Default        |
|-----------|-----------------------------|----------------|
| sysid     | System ID (a.k.a. <SID>)    |                |
| client    | SAP Client (Mandant)        |                |
| user      | SAP user ID (BNAME)         | Logged on user |
| language  | Language                    | EN             |
| raw       | Don't convert date / time   | False          |


 # Connection Object

Use one of the functions above to instantiate.

## Methods

Any Remote enabled Function Module can be called as a method (case-insensitive).

### close()

Close the connection. Should always be called before the program is finished, otherwise an error will be logged on the SAP system.

### select(table, *args, **kwargs)

Get contents of a table using `RFC_READ_TABLE`. Returns a list of Records.

Columns within a Record can be access by index (int), name (case-insensitive), or attribute (case-insensitive).

**table** (required) table name (case-insensitive)

***args** (optional) when specified, only the columns listed will be returned

****kwars** (optional) select rows (only equality is supported)

#### Example

records = rfc_connection.select('t000', 'mtext', 'ort01', mandt='000')

would return a list with one item:

```python
>>> records = c.select('t000', 'mtext', 'ort01', mandt='000')
>>> len(records)
1
>>> records[0][0]
'SAP SE'
>>> records[0][1]
'Walldorf'
>>> records[0]['mtext']
'SAP SE'
>>> records[0]['ort01']
'Walldorf'
>>> records[0].mtext
'SAP SE'
>>> records[0].ort01
'Walldorf'
```

## Changes

### 0.1.16

Connection:

- Add property 
  - `hostname`
  - `is_alive`
- Add methods
  - open
  - reopen
  - reset_server_context

### 0.1.14

- Add methods 
  - `datetime_system_to_user`
  - `datetime_user_to_system`

  to Connection class 

### 0.1.13

- Refactor
- Add `dest` as connection option (using `sapnwrfc.ini`)