Metadata-Version: 2.4
Name: hcfjudger
Version: 0.1.0
Summary: Judge and score Apple/Android preference strings.
Keywords: apple,android,judge,score
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# hcfjudger

`hcfjudger` is a tiny Python package for scoring and comparing Apple/Android preference strings.

`hcfjudger` 是一个用于给苹果 / 安卓偏好文本打分并进行比较判断的小型 Python 包。

## Disclaimer

This package is a joke project for entertainment and demo purposes. It is not intended to represent a serious, factual, or normative evaluation of people, devices, or platforms.

本项目是一个带有玩笑性质的包，仅用于娱乐和演示目的，并不用于对人、设备或平台作出严肃、事实性或规范性的评价。

## Install

## 安装

```bash
pip install hcfjudger
```

## Python usage

## Python 用法

```python
from hcfjudger import HCFJudger, HCFScorer, judge, score

print(HCFScorer("苹果苹果"))          # 0.75
print(score("苹果安卓"))             # 0.5
print(HCFJudger("苹果手机>安卓手机"))  # True
print(judge("苹果手机>安卓手机"))      # True
```

## CLI usage

## CLI 用法

```bash
hcfjudger score 苹果安卓
hcfjudger judge 苹果手机>安卓手机
```

## API

## API 接口

- `HCFScorer(text: str) -> float`
- `HCFJudger(expression: str) -> bool`
- `score(text: str) -> float`
- `judge(expression: str) -> bool`
