semvec/pypi-packages huggingface dataset:
ud-ted 0.1.0
A tree edit-distance tool for Universal Dependencies.

# UD-TED
A tree edit-distance tool for Universal Dependencies developed as part of my Bachelor's thesis.

## Input
The `ud-ted` command takes two positional arguments, both of them paths to CoNLL-U files containing the input sentences.
If no other option is given, the unordered tree edit distance between the first sentences in the files is computed following the implementation by Paaßen (2021).

### Options
#### `--timeout`
In the worst case, unordered tree edit distance requires exponential time.
With big trees (more than 20 nodes), this may take a long time.
By providing a timeout, the program simply stops computing after the time is over, or skips the pair in the `doc` option.
#### `--ordered`
Computes the ordered tree edit distance following the implementation of the Zhang-Shasha algorithm in the ``edist`` package (Paaßen et al., 2015) instead.
#### `--ids`
Allows for the user to specify the sentence IDs of the sentence to be processed.
The sentence ID of a sentence must appear in a comment above the respective sentence, in the following format:
```
# sent_id = <id>
```
#### `--doc`
Compute the tree edit distance between every pair of trees in two files.
#### `--deprel`
Adds the edit operation to relabel the edge label (dependency relation).
Only the basic type of the dependency relation (i.e., the part before the colon) is compared.
#### `--upos`
Adds the edit operation to relabel the universal dependency tag (UPOS).

## Output
The tree edit distance between the input trees. 
By default, all labels are ignored and the cost of both delete and insert operations is 1.

## References
- Benjamin Paaßen. 2021. [An A*-algorithm for the unordered tree edit distance with custom costs](https://doi.org/10.1007%2F978-3-030-89657-7_27). In Nora Reyes, Richard Connor, Nils Kriege, Daniyal Kazempour, Ilaria Bartolini, Erich Schubert, and Jian-Jia Chen, editors, _Similarity Search and Applications_, pages 364–371. Springer International Publishing.
- Benjamin Paaßen, Bassam Mokbel, and Barbara Hammer. 2015. [A toolbox for adaptive sequence dissimilarity measures for intelligent tutoring systems](http://www.educationaldatamining.org/EDM2015/uploads/papers/paper_257.pdf). In _Proceedings of the 8th International Conference on Educational Data Mining (EDM 2015)_, pages 632–632. International Educational Datamining Society.
pythonland-zh 2022.9.11.1
PythonLand 中文系列教程
Requires Python: >=3.6

# PythonLand 中文系列教程

> 原文：[PythonLand](https://python.land)
> 
> 协议：[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 
> 阶段：机翻（1）
> 
> 成功只是偶发事件，失败才是人生常态。

* [在线阅读](https://pyld.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/pythonland-zh](https://github.com/apachecn/pythonland-zh) github 上提 issue.
*   发邮件到 Email: `apachecn@163.com`.
*   在我们的 [组织学习交流群](https://www.apachecn.org/#/docs/join) 中联系群主/管理员即可.

## 下载

### Docker

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

### PYPI

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

### NPM

```
npm install -g pythonland-zh
pythonland-zh <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)
camt-to-erpnext 0.2.2
Convert a CAMT CSV file into a normal CSV file that can be used for importing Bank Transactions into ERPNext.
Requires Python: >=3.10,<4.0

[![PyPI version](https://badge.fury.io/py/camt-to-erpnext.svg)](https://badge.fury.io/py/camt-to-erpnext)

This CLI can convert a CAMT CSV file (provided by your bank) into a normal CSV file that can be used for importing **Bank Transactions** into ERPNext.

### Installation

It is easiest to install `camt-to-erpnext` with [`pipx`](https://github.com/pypa/pipx), a tool to "install and run python applications in isolated environments":

```
pipx install camt-to-erpnext
```

### Usage

```
camt-to-erpnext convert INPUT_PATH OUTPUT_PATH
```

### Input format

- Delimiter: `;`
- Quoting: all columns quoted
- Date Format: `28.02.99`
- Number Format: `-1234,56`
- Encoding: `cp1252`
- Columns:
    - Auftragskonto
    - Buchungstag
    - Valutadatum
    - Buchungstext
    - Verwendungszweck
    - Glaeubiger ID
    - Mandatsreferenz
    - Kundenreferenz (End-to-End)
    - Sammlerreferenz
    - Lastschrift Ursprungsbetrag
    - Auslagenersatz Ruecklastschrift
    - Beguenstigter/Zahlungspflichtiger
    - Kontonummer/IBAN
    - BIC (SWIFT-Code)
    - Betrag
    - Waehrung
    - Info

### Output format:

- Delimiter: `,`
- Quoting: where necessary
- Date Format: `1999-02-28`
- Number Format: `1234.56`
- Encoding: `utf-8`
- Columns:
    - Date

        "Buchungstag" of the input file, converted to ISO-format

    - Deposit

        "Betrag" of the input file (if > 0)

    - Withdrawal

        Absolute "Betrag" of the input file (if < 0)

    - Description

        The following columns of the input file: "Beguenstigter/Zahlungspflichtiger", "Verwendungszweck", "Kontonummer/IBAN", "BIC (SWIFT-Code)", "Glaeubiger ID", "Mandatsreferenz", "Kundenreferenz (End-to-End)", "Valutadatum"

    - Reference Number

        Hash of the following columns of the input file "Buchungstag", "Betrag", "Verwendungszweck", "Kontonummer/IBAN", "BIC (SWIFT-Code)".

    - Bank Account

        "Auftragskonto" of the input file

    - Currency

        "Waehrung" of the input file
azcam_arc 22.3.1
Azcam extension for Astronomical Research Cameras (ARC) gen1, gen2, and gen3 controllers
Keywords: ccd,imaging,astronomy,sensors

# azcam_arc

*azcam_arc* is an *azcam* extension for Astronomical Research Cameras, Inc. gen1, gen2, and gen3 controllers. See https://www.astro-cam.com/.

## Installation

`pip install azcam_arc`

Or download from github: https://github.com/mplesser/azcam_arc.git.

## Example Code

The code below is for example only.

### Controller Setup
```python
import azcam.server
from azcam_arc.controller_arc import ControllerArc
controller = ControllerArc()
controller.timing_board = "arc22"
controller.clock_boards = ["arc32"]
controller.video_boards = ["arc45", "arc45"]
controller.utility_board = None
controller.set_boards()
controller.pci_file = os.path.join(azcam.db.systemfolder, "dspcode", "dsppci3", "pci3.lod")
controller.video_gain = 2
controller.video_speed = 1
```

### Exposure Setup
```python
import azcam.server
from azcam_arc.exposure_arc import ExposureArc
exposure = ExposureArc()
exposure.filetype = azcam.db.filetypes["MEF"]
exposure.image.filetype = azcam.db.filetypes["MEF"]
exposure.set_remote_imageserver("localhost", 6543)
exposure.image.remote_imageserver_filename = "/data/image.fits"
exposure.image.server_type = "azcam"
exposure.set_remote_imageserver()
```

## Camera Servers
*Camera servers* are separate executable programs which manage direct interaction with 
controller hardware on some systems. Communication with a camera server takes place over a socket via 
communication protocols defined between *azcam* and a specific camera server program. These 
camera servers are necessary when specialized drivers for the camera hardware are required.  They are 
usually written in C/C++. 

## DSP Code
The DSP code which runs in the ARC controllers is assembled and linked with
Motorola software tools. These tools are typically installed in the folder `/azcam/motoroladsptools/` on a
Windows machine as required by the batch files which assemble and link the code.

While the AzCam application code for the ARC timing board is typically downloaded during
camera initialization, the boot code must be compatible for this to work properly. Therefore
AzCam-compatible DSP boot code may need to be burned into the timing board EEPROMs before use, depending on configuration. 

The gen3 PCI fiber optic interface boards and the gen3 utility boards use the original ARC code and do not need to be changed. The gen1 and gen2 situations are more complex.

For ARC system, the *xxx.lod* files are downlowded to the boards.
nonebot-plugin-jrrp-n 1.0.1a1
基于Nonebot2的每日人品机器人（不基于Random函数）
Requires Python: >=3.7.3
Keywords: pip,nonebot2,nonebot,nonebot_plugin

<p align="center">
  <a href="https://v2.nonebot.dev/"><img src="https://v2.nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>

<div align="center">
  
# Nonebot_Plugin_Jrrp
  
_✨ 基于OneBot适配器的[NoneBot2](https://v2.nonebot.dev/)每日人品插件 ✨_
  
</div>

## 功能

- 每天查询今日人品

## 安装

- 使用 nb-cli

```
nb plugin install nonebot_plugin_jrrp-n
```

- 使用 pip

```
pip install nonebot_plugin_jrrp-n
```

## 如何使用

# 仅限QQ群！私聊无法使用！

## 指令

使用以下指令触发

```
/jrrp(任意字符串，建议为QQ号)获取你的(任意字符串的)今日人品
/j(任意字符串，建议为QQ号)获取你的(任意字符串的)今日人品
```

## 效果图
<div align="left">
  <a href="https://imgloc.com/i/h69m6"><img src="https://s3.328888.xyz/2022/08/15/h69m6.png" alt="h69m6.png" border="0"></a>
</div>