semvec/pypi-packages huggingface dataset:
aialgorithms 0.2.0
A collection of AI algorithms including BFS, DFS, A*, CSP, and more
Requires Python: >=3.6

# AI Algorithms Package

A comprehensive collection of AI algorithms implemented in Python, including:

- Breadth-First Search (BFS)
- Depth-First Search (DFS)
- A* Pathfinding Algorithm
- Constraint Satisfaction Problems (CSP) with Backtracking
- CSP with Branch and Bound
- Greedy Algorithm
- Simple Chatbot Implementation

## Installation

```bash
pip install aialgorithms
```

## Usage

```python
from aialgorithms.search import bfs, dfs, astar
from aialgorithms.csp import backtrack, branch
from aialgorithms.greedy import solve
from aialgorithms.chatbot import Chatbot

# Example usage will be provided for each algorithm
```

## License

This project is licensed under the MIT License - see the LICENSE file for details.
async-map-mongo 0.0.5
Asynchronously calls Amap's API to obtain corresponding latitude and longitude coordinates, with API call results stored in a MongoDB database. Provides functionality to query latitude and longitude from MongoDB and export to Excel.
Requires Python: >=3.12

[简体中文](./readme_zh.md)

# async-map-mongo
Asynchronously calls Amap's API to obtain corresponding latitude and longitude coordinates, with API call results stored in a MongoDB database. Provides functionality to query latitude and longitude from MongoDB and export to Excel.

Open Source Code Address: [https://github.com/JieShenAI/async-map-mongo](https://github.com/JieShenAI/async-map-mongo)

## Introduction

This package enables asynchronous calls to geocoding APIs (default: Amap API; extensible to Baidu Maps and more) to fetch latitude and longitude for addresses. It automates persists geocoding results (e.g., formatted address, country, province, city, coordinates) in MongoDB for efficient data retrieval.

Amap API call interface:
https://restapi.amap.com/v3/geocode/geo?address=北京市朝阳区阜通东大街6号&output=XML&key=<user's key>

## install

```
pip install async-map-mongo
```

## Usage

The Amap API key can be stored in a .env file:

```
api_key=Amap API Key
```

Call the Amap API and save latitude and longitude information to MongoDB:
```shell
amap_insert \
--db_name map \
--collection_name amap \
--limiter_ratio 2.8 \
--address_min_length 5 \
--filename data/excel_name.xlsx \
--address_col_name address \
--max_addresses_num 1000 \
```

Collects all addresses from the "address" column, filters out addresses that do not exist in the database, and then calls Amap for the remaining addresses to obtain latitude and longitude.
- filename: Excel or CSV file;
- address_col_name: the attribute name corresponding to the address;
- limiter_ratio: API call rate limit per second;
- max_addresses_num: maximum of 1000 Amap API calls;
- address_min_length: minimum length of a valid address; addresses with a string length less than address_min_length will not call the API;

Data format stored in the database:
![](https://gitee.com/jieshenai/imags/raw/master/Typora/20250820144056211.png)

Query latitude and longitude from MongoDB based on the provided table and export to Excel:
```shell
amap_export \
--db_name map \
--collection_name amap \
--address_min_length 5 \
--filename data/excel_name.xlsx \
--address_col_name address \
--output_type csv \
--output_dir output
```

- address_clean: whether to remove text enclosed in Chinese parentheses in the address; true means remove, false means do not remove;
- output_type: The format of the exported file, which defaults to csv. Only file extensions of csv and xlsx are supported.

## API Call Extensibility

Although it supports Amap API for latitude and longitude calls by default, Baidu Maps can be used by changing the base_url parameter. For calls to other API interfaces and corresponding processing, please modify the code of AsyncMapCall.__call_api.
alexandria-library 0.1.4
Program for the management and organization of digital files.
Requires Python: >=3.8
Keywords: library, management, organizer

# alexandria-library

Program for the management and organization of digital files.

![logo](https://raw.githubusercontent.com/trucomanx/AlexandriaLibrary/main/screenshot.png)

## 1. Installing

To install the package from [PyPI](https://pypi.org/project/alexandria_library/), follow the instructions below:


```bash
pip install --upgrade alexandria-library
```

Execute `which alexandria-library` to see where it was installed, probably in `/home/USERNAME/.local/bin/alexandria-library`.

#### Using

To start the program, use the command below:

```bash
alexandria-library
```
## 2. More information

If you want more information go to [doc](https://github.com/trucomanx/AlexandriaLibrary/blob/main/doc) directory

## 3. Buy me a coffee

If you find this tool useful and would like to support its development, you can buy me a coffee!  
Your donations help keep the project running and improve future updates.  

[☕ Buy me a coffee](https://ko-fi.com/trucomanx) 

## 4. License

This project is licensed under the GPL license. See the `LICENSE` file for more details.
arpakana 0.0.3
A modern Python project template optimized for Claude Code with strict guardrails
Requires Python: >=3.12

# arpakana

ARPAbet音素記号を日本語のカナ文字へ変換するためのシンプルなPythonライブラリです。

## 📖 概要

`arpakana` は、Carnegie Mellon University Pronouncing Dictionary形式のARPAbetを入力として、対応するカタカナ列を出力します。現在はコアとなる `arpabet_to_kana` 関数と、同機能をラップしたシンプルなCLIスクリプトを提供しています。

### 主な機能

- ARPAbetトークン列をカタカナへ変換する `arpabet_to_kana` 関数
- 末尾ストレス番号の正規化や子音クラスタの簡易処理
- `scripts/arpabet2kana.py` によるCLIユーティリティ

## � セットアップ

このリポジトリはまだPyPIに公開していません。ローカルで利用する場合は以下の手順でセットアップしてください。

```bash
git clone https://github.com/jiroshimaya/arpakana.git
cd arpakana
uv sync --all-extras
```

セットアップ後は `uv run` で各種コマンドを実行します。

## 💡 使用例

### Python API

```python
from arpakana.arpabet import arpabet_to_kana

greeting = arpabet_to_kana("HH AH0 L OW1")
assert greeting == "ハロウ"

words = ["B", "L", "UW"]
assert arpabet_to_kana(words) == "ブルー"

fallback = arpabet_to_kana("XYZ", unknown="*")
assert fallback == "*"
```

### CLI

```bash
uv run python scripts/arpabet2kana.py HH AH0 L OW1
# => ハロウ

echo "S K AY" | uv run python scripts/arpabet2kana.py
# => スカイ
```

## 🧪 テスト

```bash
uv run pytest
```

## 📄 ライセンス

このプロジェクトはMITライセンスの下で提供されています。詳細は [LICENSE](LICENSE) を参照してください。