diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a5fb641214b4ee515c9d83f5eb7d7190eab33534 Binary files /dev/null and b/.DS_Store differ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..bed0738c7eeb449bca98b5d2f33c89a1ee56349a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,60 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.avro filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.lz4 filter=lfs diff=lfs merge=lfs -text +*.mds filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +# Audio files - uncompressed +*.pcm filter=lfs diff=lfs merge=lfs -text +*.sam filter=lfs diff=lfs merge=lfs -text +*.raw filter=lfs diff=lfs merge=lfs -text +# Audio files - compressed +*.aac filter=lfs diff=lfs merge=lfs -text +*.flac filter=lfs diff=lfs merge=lfs -text +*.mp3 filter=lfs diff=lfs merge=lfs -text +*.ogg filter=lfs diff=lfs merge=lfs -text +*.wav filter=lfs diff=lfs merge=lfs -text +# Image files - uncompressed +*.bmp filter=lfs diff=lfs merge=lfs -text +*.gif filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.tiff filter=lfs diff=lfs merge=lfs -text +# Image files - compressed +*.jpg filter=lfs diff=lfs merge=lfs -text +*.jpeg filter=lfs diff=lfs merge=lfs -text +*.webp filter=lfs diff=lfs merge=lfs -text +# Video files - compressed +*.mp4 filter=lfs diff=lfs merge=lfs -text +*.webm filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..3d22bc24b41bce989334c0d40eeea8774f5ad496 --- /dev/null +++ b/README.md @@ -0,0 +1,195 @@ +# RepoZero-Py2JS + +
+ + + + + RepoZero + + + +[![arXiv](https://img.shields.io/badge/RepoZero-arxiv-red)](https://arxiv.org/pdf/2605.07122) +[![code](https://img.shields.io/badge/github-repo-blue?logo=github)](https://github.com/JesseZZZZZ/RepoZero) +[![HuggingFace-C2Rust](https://img.shields.io/badge/C2Rust-HF-yellow?logo=huggingface)](jessezhaoxizhang/RepoZero-C2Rust) +[![HuggingFace-Py2JS](https://img.shields.io/badge/Py2JS-HF-yellow?logo=huggingface)](jessezhaoxizhang/RepoZero-Py2JS) +[![Project Page](https://img.shields.io/badge/Homepage-gray?logo=homepage +)](https://repozero.osslab-pku.org/) + + +
+ +RepoZero-Py2JS is a benchmark subset for evaluating **zero-shot Python to JavaScript repository-level code translation**. + +## Overview + +| Property | Value | +|----------|-------| +| **Source Language** | Python | +| **Target Language** | JavaScript (Node.js ESM) | +| **Number of Libraries** | 24 | +| **Total Test Files** | 400 | +| **HuggingFace Dataset** | [jessezhaoxizhang/RepoZero-Py2JS](https://huggingface.co/datasets/jessezhaoxizhang/RepoZero-Py2JS) | + +## Task Description + +Given a Python library implementation, the model must translate it into Node.js ES Module (`.mjs`) equivalents that: + +- Re-implement using only Node.js built-in modules (no npm packages) +- Accept identical CLI arguments and produce byte-for-byte identical stdout +- Use ESM syntax (`import`/`export`), no CommonJS + +## Libraries + +### Serialization & Data Formats + +| Library | Description | +|---------|-------------| +| **bencoder** | BitTorrent encoding/decoding | +| **canonicaljson** | Canonical JSON serialization | +| **jsonschema** | JSON Schema validation | +| **markdown** | Markdown parsing and rendering | +| **sqlparse** | SQL parsing and formatting | +| **yaml** | YAML serialization | + +### Cryptography & Encoding + +| Library | Description | +|---------|-------------| +| **base58** | Base58 encoding/decoding | +| **bech32** | Bech32 address encoding (BIP-173) | +| **jose** | JSON Object Signing and Encryption | +| **pyaes** | AES encryption implementation | +| **pbkdf2** | PBKDF2 key derivation | +| **rsa** | RSA encryption and signatures | + +### Data Structures & Utilities + +| Library | Description | +|---------|-------------| +| **bidict** | Bi-directional dictionaries | +| **boltons** | Pure-Python utility library | +| **construct** | Declarative binary parsing | +| **deepdiff** | Deep comparison of data structures | +| **furl** | URL parsing and manipulation | + +### Math & Science + +| Library | Description | +|---------|-------------| +| **fractions** | Rational number arithmetic | +| **mpmath** | Arbitrary-precision floating-point | +| **networkx** | Graph algorithms and data structures | + +### Specialized Tools + +| Library | Description | +|---------|-------------| +| **idna** | Internationalized Domain Names | +| **moneyed** | Money and currency handling | +| **schedule** | Job scheduling library | +| **whoosh** | Full-text search engine | + +## Directory Structure + +``` +Py2JS/ +└── dataset/ # Python source files (24 libraries) + ├── base58/ + ├── bech32/ + ├── bencoder/ + ├── bidict/ + ├── bitarray/ + ├── bitstring/ + ├── boltons/ + ├── canonicaljson/ + ├── construct/ + ├── deepdiff/ + ├── ecdsa/ + ├── fractions/ + ├── furl/ + ├── idna/ + ├── jose/ + ├── jsonschema/ + ├── markdown/ + ├── moneyed/ + ├── mpmath/ + ├── networkx/ + ├── pbkdf2/ + ├── pyaes/ + ├── rsa/ + ├── rlp/ + ├── schedule/ + ├── sqlparse/ + ├── whoosh/ + └── yaml/ +``` + +## Data Format + +### Source Files + +Each library in `dataset/` contains: +- Python source files (20 test files per library) +- Corresponding test input files + +### Test Cases + +Test case parameters are stored in JSONL format: + +```json +{"filename": "base58/test1.py", "a": "1234567890"} +{"filename": "base58/test1.py", "a": "5kfxvzBm43bWNCpsa3B3dt5uXuced"} +``` + +## Installation +```bash +git clone https://github.com/JesseZZZZZ/RepoZero.git +cd RepoZero +pip install -r requirements.txt +# This will download the HuggingFace dataset +python download_dataset.py +``` + + +## Metrics + +| Metric | Description | +|--------|-------------| +| **All-Pass Rate** | Fraction of source files where *all* test cases pass | +| **Test-Case Pass Rate** | Mean per-file fraction of passing test cases | + +## Docker Environment + +Each evaluation task runs in an isolated container with: + +- **Workspace**: `/workspace` +- **Dataset**: `/workspace/dataset` (Python source files) +- **Output**: `/output` (generated JavaScript .mjs files) +- **Node.js**: Latest LTS version for running generated code +- **Network**: Disabled (`--network none`) for security + + + +## License + +Dataset and code are released under Apache 2.0. All source code used in the benchmark is derived from open-source repositories; their original licenses remain in effect within their respective directories. + +## Citation + +If you use RepoZero-Py2JS in your research, please cite: + +```bibtex +@article{zhang2026repozero, + title={RepoZero: Can LLMs Generate a Code Repository from Scratch?}, + author={Zhang, Zhaoxi and Xu, Yiming and Li, Weikang and Liang, Jiahui and Wu, Yunfang}, + journal={arXiv preprint arXiv:2605.07122}, + year={2026} +} +``` + +## Related + +- [RepoZero Main Repository](https://github.com/JesseZZZZZ/RepoZero) + +- [Project Homepage](https://repozero.osslab-pku.org/) \ No newline at end of file diff --git a/base58/__pycache__/test11.cpython-310.pyc b/base58/__pycache__/test11.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8213a4c75560c057eebeccd20c7e280af9c6aaea Binary files /dev/null and b/base58/__pycache__/test11.cpython-310.pyc differ diff --git a/base58/__pycache__/test_hash.cpython-310.pyc b/base58/__pycache__/test_hash.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..89c294a48db19de1c60215ab54b58113c48324ae Binary files /dev/null and b/base58/__pycache__/test_hash.cpython-310.pyc differ diff --git a/base58/test1.py b/base58/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..2482f1c9bfff37b282372893f44b2b85464258a8 --- /dev/null +++ b/base58/test1.py @@ -0,0 +1,41 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = base58.b58encode(args.a.encode()) # Base58编码字符串 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'drn1vtp' +# Output: +# b'4on33rFCiT' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'TPcTsjvTNHtabUBA' +# Output: +# b'BQs8di9D2Gw9Cie1vGhP6x' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'U5Oa2ji3Q' +# Output: +# b'25uZS4wxDDGdE' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'drn1vtp' +# Output: +# b'4on33rFCiT' +# Return Code: 0 diff --git a/base58/test10.py b/base58/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..2809cb3378e55f1f6961bf5c040ce9c9d18726f4 --- /dev/null +++ b/base58/test10.py @@ -0,0 +1,63 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +enc1 = base58.b58encode(args.a.encode()) # 编码第一个字符串 +enc2 = base58.b58encode(args.b.encode()) # 编码第二个字符串 +dec1 = base58.b58decode(args.c) # 解码Base58字符串 +print(enc1) +print(enc2) +print(dec1) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = ' ' +# --b = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --c = 'KAbNUE1LBRuRVeN' +# Output: +# b'4dDdxST' +# b'4KoxFyjc3mBC9RF6W3gns6YyqBqD8zfSaQJHoD62nqGVf1e3Aqh' +# b'IADViKJjyFg' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = ' ' +# --b = 'b8aUFiXqDpAs' +# --c = '27sNiTaAuDXTYdy4WiQLdaWGA1Vt' +# Output: +# b'4dDdxST' +# b'2rWBBCjo3YDQJPCGa' +# b'PGsAoDkKcBypmuEdoGVC' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --b = 'b8aUFiXqDpAs' +# --c = 'Z' +# Output: +# b'X1zSGwRiNkQMuj6W6FqqChTvV4FeEvyxBSiqjN' +# b'2rWBBCjo3YDQJPCGa' +# b' ' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'drn1vtp' +# --b = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' +# --c = 'KaTnxcaUFFGzNFiageYPTYmxsy' +# Output: +# b'4on33rFCiT' +# b'E5NPEBW1UwVXgoHTFtNDrL3RTWCeA9TzcL3j5pHd2' +# b'eyRZuMmYZojfzjUyXZX' +# Return Code: 0 diff --git a/base58/test10_executable.zip b/base58/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..eee0510bd88c65b1398b1a9c93059533799c70b2 --- /dev/null +++ b/base58/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ea8e83ba1709677377decf0bae862d51546c391e41b3f43ee5feb65de628149 +size 7354111 diff --git a/base58/test11.py b/base58/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..eba46fd2da62bb69eb612d31c89474b535bd7d6b --- /dev/null +++ b/base58/test11.py @@ -0,0 +1,63 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +encoded_check = base58.b58encode_check(args.a.encode()) # 带校验和编码 +decoded_check = base58.b58decode_check(args.b) # 带校验和解码 +decoded_normal = base58.b58decode(args.c) # 普通解码 +print(encoded_check) +print(decoded_check) +print(decoded_normal) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --b = '2GPaKYDY91aWr' +# --c = '2722bfR1UtrSp6ixizzEZeVU9B9hBNcHut8QQ2Q' +# Output: +# b'NkgJQpsiKPdKi4axXym62PNc4KgAYCccBTtoeNbTJzcn2L131eRFwNCX' +# b'check' +# b'kPjIfWbREVIakPzFQaLYlIVBKYlu' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'U5Oa2ji3Q' +# --b = '9NCTfeafzNd3kTQjzF' +# --c = 'EUYUqQf' +# Output: +# b'86dtL4CqsHrKvLU76g' +# b'doxObuXqR' +# b'world' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --b = 'PunjESpb8AgCmxo2CzvKYYwyfm2PqG' +# --c = '28' +# Output: +# b'4PRRjyB1AMsXd3fqgpJ9eGHBep5uPEbgmuCtg29Dg1J4' +# b'TiHQzzcCuLmZYhdtlT' +# b'A' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --b = 'mNUD4WWw2zubG4QZRmY66Ex' +# --c = '2MT6hJJrXZ4tn' +# Output: +# b'NkgJQpsiKPdKi4axXym62PNc4KgAYCccBTtoeNbTJzcn2L131eRFwNCX' +# b'QhvIWMCncPFRr' +# b'jCBxyQqBg' +# Return Code: 0 diff --git a/base58/test11_executable.zip b/base58/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..80923b7a85bea98e22dc610e3ca85aa1e51a1680 --- /dev/null +++ b/base58/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f629d9969f4c77881add9922bf28ed2fa985418c910396c1cc8a4244e355fcb4 +size 7353950 diff --git a/base58/test12.py b/base58/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..a04492657caeb511b41d9e098098701fa176e579 --- /dev/null +++ b/base58/test12.py @@ -0,0 +1,47 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +encoded = base58.b58encode(args.a.encode()) # 编码字符串 +decoded = base58.b58decode(encoded) # 解码回原始内容 +print(encoded) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '5aN1QrVUtM5PMaBzNoYFqL5wGSWAw' +# Output: +# b'3RYyLdhz3WZhvaeMoqUS47HWrYtE9oxw4QwVQmNn' +# b'5aN1QrVUtM5PMaBzNoYFqL5wGSWAw' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'Test123' +# Output: +# b'4CVtFLcCiv' +# b'Test123' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# Output: +# b'4KoxFyjc3mBC9RF6W3gns6YyqBqD8zfSaQJHoD62nqGVf1e3Aqh' +# b'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'U5Oa2ji3Q' +# Output: +# b'25uZS4wxDDGdE' +# b'U5Oa2ji3Q' +# Return Code: 0 diff --git a/base58/test12_executable.zip b/base58/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..493dd81c89f67af2e6142984c0c1c5b381f393b2 --- /dev/null +++ b/base58/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c64dbabad74f25a12c63b8e2d8ba0b0c7a4a03ec5eba54c1693a79a4ebec6a9 +size 7354108 diff --git a/base58/test13.py b/base58/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..d3f77133798c97d97aeff36124b30fec5d64dff5 --- /dev/null +++ b/base58/test13.py @@ -0,0 +1,58 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +encoded_check = base58.b58encode_check(args.a.encode()) # 带校验和编码 +decoded_check = base58.b58decode_check(encoded_check) # 验证并解码带校验和数据 +encoded_normal = base58.b58encode(args.b.encode()) # 普通编码 +print(encoded_check) +print(decoded_check) +print(encoded_normal) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' +# --b = 'MvqLna759pguMuB' +# Output: +# b'8rP3ziPEQSAJeiB2G3pEAfMMygTdy3uJWyvqQbPxPjf6P6LNDqmzMpbzv9QDHzjtBWEYfNe9dq' +# b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' +# b'3AhM14nHujXGeSbPxjuYm' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'Hello World!' +# --b = 'MvqLna759pguMuB' +# Output: +# b'9wWTEnNTUzJGD7cXz99ejY' +# b'Hello World!' +# b'3AhM14nHujXGeSbPxjuYm' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '1234567890' +# --b = 'NkgJQpsiKPdKi4axXym62PNc4KgAYCccBTtoeNbTJzcn2L131eRFwNCX' +# Output: +# b'K5zqBMZXFNFYSLJZTdx' +# b'1234567890' +# b'38BA1NkyxLRdxz7paRFKjFxc5d6oVDJ3dxfEWv1uDhhYJCM7fRBva7dZWKgvzqLRyCviCSksUDnum' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '1234567890' +# --b = 'RugdwT5LcHrzv1F' +# Output: +# b'K5zqBMZXFNFYSLJZTdx' +# b'1234567890' +# b'3JoY14mbie7nveBdKAHJd' +# Return Code: 0 diff --git a/base58/test13_executable.zip b/base58/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..96073a2b57d91a65eae5fbbabba115dc8416ab55 --- /dev/null +++ b/base58/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd15dee48c607c1e19da93a2a0333243cd3238ba1156f75f1c0be97137e953e0 +size 7350427 diff --git a/base58/test14.py b/base58/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..7195189311c9564b81934eabd351565ff4ef1be6 --- /dev/null +++ b/base58/test14.py @@ -0,0 +1,63 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +encoded_int1 = base58.b58encode_int(args.a) # 编码第一个整数 +encoded_int2 = base58.b58encode_int(args.b) # 编码第二个整数 +decoded_int = base58.b58decode_int(args.c) # 解码为整数 +print(encoded_int1) +print(encoded_int2) +print(decoded_int) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 10000 +# --b = 262631383 +# --c = '5Q' +# Output: +# b'3yR' +# b'QD4AJ' +# 255 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 255 +# --b = 255 +# --c = '3yR' +# Output: +# b'5Q' +# b'5Q' +# 10000 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 100 +# --b = 100 +# --c = 'B' +# Output: +# b'2j' +# b'2j' +# 10 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 1000000 +# --b = 1 +# --c = '3yR' +# Output: +# b'68GP' +# b'2' +# 10000 +# Return Code: 0 diff --git a/base58/test14_executable.zip b/base58/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..48d142b0d890fdd95f44d8e9ffe1c0c8e55e052c --- /dev/null +++ b/base58/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd9bea0cead67c6cee08bce4c3629ef294834bc9bf07e8ed7160a10447e29ce5 +size 7353967 diff --git a/base58/test15.py b/base58/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..54dc2fcfcdca77202a9bb09d2de1d704bfd015e0 --- /dev/null +++ b/base58/test15.py @@ -0,0 +1,74 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +enc1 = base58.b58encode(args.a.encode()) # 编码字符串1 +enc2 = base58.b58encode(args.b.encode()) # 编码字符串2 +dec1 = base58.b58decode(args.c) # 解码Base58字符串1 +dec2 = base58.b58decode(args.d) # 解码Base58字符串2 +print(enc1) +print(enc2) +print(dec1) +print(dec2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'TPcTsjvTNHtabUBA' +# --b = 'U5Oa2ji3Q' +# --c = '32eMed' +# --d = '27sNiTaAuDXTYdy4WiQLdaWGA1Vt' +# Output: +# b'BQs8di9D2Gw9Cie1vGhP6x' +# b'25uZS4wxDDGdE' +# b'OZOn' +# b'PGsAoDkKcBypmuEdoGVC' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --b = 'drn1vtp' +# --c = 'Cn8eVZg' +# --d = '2722bfR1UtrSp6ixizzEZeVU9B9hBNcHut8QQ2Q' +# Output: +# b'X1zSGwRiNkQMuj6W6FqqChTvV4FeEvyxBSiqjN' +# b'4on33rFCiT' +# b'hello' +# b'kPjIfWbREVIakPzFQaLYlIVBKYlu' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '5kfxvzBm43bWNCpsa3B3dt5uXuced' +# --b = 'U5Oa2ji3Q' +# --c = 'q' +# --d = '3ke2ct1cd4rY7VuvWWKG2' +# Output: +# b'3Rezcj3P2tf9rgJ2DoUJ68hxZW3pqyQ7xY654yZm' +# b'25uZS4wxDDGdE' +# b'0' +# b'base58 encoding' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'TPcTsjvTNHtabUBA' +# --b = '5aN1QrVUtM5PMaBzNoYFqL5wGSWAw' +# --c = '32eMed' +# --d = '79KKvfsXwLkag2r3FrZNPdWKv4pvT8DVk' +# Output: +# b'BQs8di9D2Gw9Cie1vGhP6x' +# b'3RYyLdhz3WZhvaeMoqUS47HWrYtE9oxw4QwVQmNn' +# b'OZOn' +# b'CcacFz VeoXKdXKshKGbGaKK' +# Return Code: 0 diff --git a/base58/test15_executable.zip b/base58/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..55654fe1c611b1ca63a4e354bed46c2ed12e40cb --- /dev/null +++ b/base58/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43045dafbecaad20d7f2fc0f94802d351f204217e7a470bc1d85dc6409d6dd10 +size 7353921 diff --git a/base58/test16.py b/base58/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..350c77fbf74da6957b6165e1cb9bf2f5fa5b6f04 --- /dev/null +++ b/base58/test16.py @@ -0,0 +1,82 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +# 复杂嵌套:编码->解码->再编码 +encoded1 = base58.b58encode(args.a.encode()) # 第一次编码 +decoded1 = base58.b58decode(encoded1) # 解码 +encoded_check = base58.b58encode_check(decoded1) # 带校验和编码 +decoded2 = base58.b58decode(args.b) # 解码第二个参数 +encoded2 = base58.b58encode(decoded2) # 重新编码 +encoded_int = base58.b58encode_int(len(args.c)) # 编码字符串长度 +print(encoded1) +print(decoded1) +print(encoded_check) +print(decoded2) +print(encoded2) +print(encoded_int) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '中国汉字' +# --b = '32eMed' +# --c = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# Output: +# b'5KLbY4YtwK7rEVHY2' +# b'\xe4\xb8\xad\xe5\x9b\xbd\xe6\xb1\x89\xe5\xad\x97' +# b'VF87bmc8dDr34kVX9nxQua' +# b'OZOn' +# b'32eMed' +# b'e' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'Test123' +# --b = '2g' +# --c = '1234567890' +# Output: +# b'4CVtFLcCiv' +# b'Test123' +# b'MvqLna759pguMuB' +# b'a' +# b'2g' +# b'B' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'Test123' +# --b = '3yZe7d' +# --c = '9xBRBUd' +# Output: +# b'4CVtFLcCiv' +# b'Test123' +# b'MvqLna759pguMuB' +# b'test' +# b'3yZe7d' +# b'8' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --b = 'q' +# --c = 'TPcTsjvTNHtabUBA' +# Output: +# b'X1zSGwRiNkQMuj6W6FqqChTvV4FeEvyxBSiqjN' +# b'2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# b'4PRRjyB1AMsXd3fqgpJ9eGHBep5uPEbgmuCtg29Dg1J4' +# b'0' +# b'q' +# b'H' +# Return Code: 0 diff --git a/base58/test16_executable.zip b/base58/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b2ac3b43d834ef9591acc3d0420cf324932e4528 --- /dev/null +++ b/base58/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:768e4896eb43a78ed232607d213062ac7d91fc65a8e05dea0337e3b7399d0491 +size 7354455 diff --git a/base58/test17.py b/base58/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..9b5f40f057ec31445e5a339e004fba337df5ef34 --- /dev/null +++ b/base58/test17.py @@ -0,0 +1,98 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +# 多类型混合操作 +encoded_str = base58.b58encode(args.a.encode()) # 字符串编码 +decoded_str = base58.b58decode(args.b) # 字符串解码 +encoded_check = base58.b58encode_check(args.c.encode()) # 带校验和编码 +decoded_check = base58.b58decode_check(encoded_check) # 带校验和解码 +encoded_int1 = base58.b58encode_int(args.d) # 整数编码 +encoded_int2 = base58.b58encode_int(args.e) # 另一个整数编码 +decoded_int = base58.b58decode_int(encoded_int1) # 整数解码 +print(encoded_str) +print(decoded_str) +print(encoded_check) +print(decoded_check) +print(encoded_int1) +print(encoded_int2) +print(decoded_int) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --b = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' +# --c = 'U5Oa2ji3Q' +# --d = 10000 +# --e = 351589394 +# Output: +# b'4KoxFyjc3mBC9RF6W3gns6YyqBqD8zfSaQJHoD62nqGVf1e3Aqh' +# b'\x11F7\\_\x83\xfd\xa7\xbcVd\x93>\xb77S9\xb2/\xea\xb9\x93%\x0fq\xb5/\xcbt\x8b\xa9\ryC^P\xd7' +# b'86dtL4CqsHrKvLU76g' +# b'U5Oa2ji3Q' +# b'3yR' +# b'Y4zH7' +# 10000 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = ' ' +# --b = 'Test123' +# --c = '中国汉字' +# --d = 473379435 +# --e = 731482577 +# Output: +# b'4dDdxST' +# b'\xec=\xacE\xf4' +# b'VF87bmc8dDr34kVX9nxQua' +# b'\xe4\xb8\xad\xe5\x9b\xbd\xe6\xb1\x89\xe5\xad\x97' +# b'iqCDQ' +# b'27e3Ha' +# 473379435 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'U5Oa2ji3Q' +# --b = ' ' +# --c = '@#$%^&*()' +# --d = 65535 +# --e = 10000 +# Output: +# b'25uZS4wxDDGdE' +# b'' +# b'6LquyqoChXbGqW5nG8' +# b'@#$%^&*()' +# b'LUv' +# b'3yR' +# 65535 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'b8aUFiXqDpAs' +# --b = '5kfxvzBm43bWNCpsa3B3dt5uXuced' +# --c = 'Test123' +# --d = 731482577 +# --e = 0 +# Output: +# b'2rWBBCjo3YDQJPCGa' +# b'MKgywTMrUuquNvkSfDcAr' +# b'MvqLna759pguMuB' +# b'Test123' +# b'27e3Ha' +# b'1' +# 731482577 +# Return Code: 0 diff --git a/base58/test17_executable.zip b/base58/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ef6da52bb9e862ac39f7efe3e7fce817778800f0 --- /dev/null +++ b/base58/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6df463d85404aac253a4823b5540904e94bea1d595cf036c22df2f98fdab086 +size 7352996 diff --git a/base58/test18.py b/base58/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..581a566124b059ea4a80d1effa6813c285454aad --- /dev/null +++ b/base58/test18.py @@ -0,0 +1,104 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=str, required=True) +args = parser.parse_args() + +# 多级编码解码链 +encoded1 = base58.b58encode(args.a.encode()) # 第一级编码 +encoded_check1 = base58.b58encode_check(args.b.encode()) # 带校验和编码 +decoded_check1 = base58.b58decode_check(encoded_check1) # 带校验和解码 +encoded2 = base58.b58encode(decoded_check1) # 重新编码 +encoded_check2 = base58.b58encode_check(args.c.encode()) # 另一个带校验和编码 +decoded1 = base58.b58decode(args.d) # 解码 +encoded_int = base58.b58encode_int(len(args.e)) # 编码字符串长度 +decoded_int = base58.b58decode_int(encoded_int) # 解码整数 +print(encoded1) +print(encoded_check1) +print(decoded_check1) +print(encoded2) +print(encoded_check2) +print(decoded1) +print(encoded_int) +print(decoded_int) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '5kfxvzBm43bWNCpsa3B3dt5uXuced' +# --b = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --c = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' +# --d = '5Zfe4M3nFc' +# --e = '28' +# Output: +# b'3Rezcj3P2tf9rgJ2DoUJ68hxZW3pqyQ7xY654yZm' +# b'4PRRjyB1AMsXd3fqgpJ9eGHBep5uPEbgmuCtg29Dg1J4' +# b'2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# b'X1zSGwRiNkQMuj6W6FqqChTvV4FeEvyxBSiqjN' +# b'8rP3ziPEQSAJeiB2G3pEAfMMygTdy3uJWyvqQbPxPjf6P6LNDqmzMpbzv9QDHzjtBWEYfNe9dq' +# b'xjbQZKS' +# b'3' +# 2 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'Hello World!' +# --b = '5kfxvzBm43bWNCpsa3B3dt5uXuced' +# --c = '1234567890' +# --d = 'KaTnxcaUFFGzNFiageYPTYmxsy' +# --e = '5Zfe4M3nFc' +# Output: +# b'2NEpo7TZRRrLZSi2U' +# b'GsQ2tkvHpNhHhRJQbVUrLujm3VPLx4sA3vNWWtKgLciGC' +# b'5kfxvzBm43bWNCpsa3B3dt5uXuced' +# b'3Rezcj3P2tf9rgJ2DoUJ68hxZW3pqyQ7xY654yZm' +# b'K5zqBMZXFNFYSLJZTdx' +# b'eyRZuMmYZojfzjUyXZX' +# b'B' +# 10 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'Test123' +# --b = '5kfxvzBm43bWNCpsa3B3dt5uXuced' +# --c = 'drn1vtp' +# --d = 'VLKw' +# --e = 'q' +# Output: +# b'4CVtFLcCiv' +# b'GsQ2tkvHpNhHhRJQbVUrLujm3VPLx4sA3vNWWtKgLciGC' +# b'5kfxvzBm43bWNCpsa3B3dt5uXuced' +# b'3Rezcj3P2tf9rgJ2DoUJ68hxZW3pqyQ7xY654yZm' +# b'RugdwT5LcHrzv1F' +# b'TZV' +# b'2' +# 1 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'b8aUFiXqDpAs' +# --b = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --c = 'TPcTsjvTNHtabUBA' +# --d = '3ke2ct1cd4rY7VuvWWKG2' +# --e = 'EUYUqQf' +# Output: +# b'2rWBBCjo3YDQJPCGa' +# b'NkgJQpsiKPdKi4axXym62PNc4KgAYCccBTtoeNbTJzcn2L131eRFwNCX' +# b'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# b'4KoxFyjc3mBC9RF6W3gns6YyqBqD8zfSaQJHoD62nqGVf1e3Aqh' +# b'2B8Ua3UeB29D1HAoBVBUQubtw2de' +# b'base58 encoding' +# b'8' +# 7 +# Return Code: 0 diff --git a/base58/test18_executable.zip b/base58/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7a9748254d4422303b9c61d67b43f7079e025419 --- /dev/null +++ b/base58/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba5e21d2ef3e395a02ab3f0e16c513f703c88038f669dbb1bcb999564089adf1 +size 7353414 diff --git a/base58/test19.py b/base58/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..52dc7911a7161d3d7e59e022fdac12a452f87ae2 --- /dev/null +++ b/base58/test19.py @@ -0,0 +1,121 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=int, required=True) +parser.add_argument('--f', type=int, required=True) +args = parser.parse_args() + +# 大规模混合操作 +encoded_a = base58.b58encode(args.a.encode()) # 编码A +decoded_b = base58.b58decode(args.b) # 解码B +encoded_check_c = base58.b58encode_check(args.c.encode()) # 带校验和编码C +decoded_check_c = base58.b58decode_check(encoded_check_c) # 带校验和解码C +encoded_d = base58.b58encode(args.d.encode()) # 编码D +decoded_d = base58.b58decode(encoded_d) # 解码D +encoded_int_e = base58.b58encode_int(args.e) # 编码整数E +encoded_int_f = base58.b58encode_int(args.f) # 编码整数F +decoded_int_e = base58.b58decode_int(encoded_int_e) # 解码整数E +encoded_check_decoded = base58.b58encode_check(decoded_b) # 带校验和编码解码后的B +print(encoded_a) +print(decoded_b) +print(encoded_check_c) +print(decoded_check_c) +print(encoded_d) +print(decoded_d) +print(encoded_int_e) +print(encoded_int_f) +print(decoded_int_e) +print(encoded_check_decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --b = ' ' +# --c = 'drn1vtp' +# --d = 'drn1vtp' +# --e = 473379435 +# --f = 82019528 +# Output: +# b'4KoxFyjc3mBC9RF6W3gns6YyqBqD8zfSaQJHoD62nqGVf1e3Aqh' +# b'' +# b'RugdwT5LcHrzv1F' +# b'drn1vtp' +# b'4on33rFCiT' +# b'drn1vtp' +# b'iqCDQ' +# b'8FNYo' +# 473379435 +# b'3QJmnh' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '1234567890' +# --b = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --c = 'TPcTsjvTNHtabUBA' +# --d = 'U5Oa2ji3Q' +# --e = 10 +# --f = 670280744 +# Output: +# b'3mJr7AoUCHxNqd' +# b'eZHjGfcCwbjywtbePEmM' +# b'2B8Ua3UeB29D1HAoBVBUQubtw2de' +# b'TPcTsjvTNHtabUBA' +# b'25uZS4wxDDGdE' +# b'U5Oa2ji3Q' +# b'B' +# b'22EN7Z' +# 10 +# b'AEuQLed2buy7V8jswFNu3UYLGgEdVa9yr' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = ' ' +# --b = 'TPcTsjvTNHtabUBA' +# --c = 'U5Oa2ji3Q' +# --d = ' ' +# --e = 100 +# --f = 151947396 +# Output: +# b'4dDdxST' +# b'\x18\x1cq\xda\xe4B\x1f\xfd\xc9\x0cP\xd9' +# b'86dtL4CqsHrKvLU76g' +# b'U5Oa2ji3Q' +# b'4dDdxST' +# b' ' +# b'2j' +# b'ERmfh' +# 100 +# b'3ygnLSD5ysvQnPVytYxgy9' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'U5Oa2ji3Q' +# --b = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --c = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --d = '中国汉字' +# --e = 10 +# --f = 262631383 +# Output: +# b'25uZS4wxDDGdE' +# b'eZHjGfcCwbjywtbePEmM' +# b'NkgJQpsiKPdKi4axXym62PNc4KgAYCccBTtoeNbTJzcn2L131eRFwNCX' +# b'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# b'5KLbY4YtwK7rEVHY2' +# b'\xe4\xb8\xad\xe5\x9b\xbd\xe6\xb1\x89\xe5\xad\x97' +# b'B' +# b'QD4AJ' +# 10 +# b'AEuQLed2buy7V8jswFNu3UYLGgEdVa9yr' +# Return Code: 0 diff --git a/base58/test19_executable.zip b/base58/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e22531f5310548503b5b78f6cf76829240bc3c83 --- /dev/null +++ b/base58/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:125d3a9037a9820fe941b9e62a0d5e0c8f36217ab3da8c490f74a1ec5cc29e3a +size 7354128 diff --git a/base58/test1_executable.zip b/base58/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b1a5136e568dfa670ef7248555708b1ebcd0977e --- /dev/null +++ b/base58/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52fb5bb2b2acfa8aaf432b81b9877ebf59ececbf01eb6306fe54a0fbcba2669e +size 7352867 diff --git a/base58/test2.py b/base58/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..f8b9a37d86a103ae9b9f084f8c3b851aa4899c6c --- /dev/null +++ b/base58/test2.py @@ -0,0 +1,41 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = base58.b58decode(args.a) # Base58解码字符串 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '79KKvfsXwLkag2r3FrZNPdWKv4pvT8DVk' +# Output: +# b'CcacFz VeoXKdXKshKGbGaKK' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'Cn8eVZg' +# Output: +# b'hello' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'VLKw' +# Output: +# b'TZV' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '28' +# Output: +# b'A' +# Return Code: 0 diff --git a/base58/test20.py b/base58/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..efb57acec126748b374dffa89afc9425244e4935 --- /dev/null +++ b/base58/test20.py @@ -0,0 +1,138 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=str, required=True) +parser.add_argument('--f', type=int, required=True) +parser.add_argument('--g', type=int, required=True) +args = parser.parse_args() + +# 最终复杂场景:多个API组合调用 +enc1 = base58.b58encode(args.a.encode()) # 基本编码1 +dec1 = base58.b58decode(args.b) # 基本解码1 +enc_check1 = base58.b58encode_check(args.c.encode()) # 校验和编码1 +dec_check1 = base58.b58decode_check(enc_check1) # 校验和解码1 +enc_int1 = base58.b58encode_int(args.f) # 整数编码1 +dec_int1 = base58.b58decode_int(enc_int1) # 整数解码1 +enc2 = base58.b58encode(args.d.encode()) # 基本编码2 +dec2 = base58.b58decode(args.e) # 基本解码2 +enc_int2 = base58.b58encode_int(args.g) # 整数编码2 +enc_check2 = base58.b58encode_check(dec1) # 对解码结果进行校验和编码 +dec_check2 = base58.b58decode_check(enc_check2) # 校验和解码2 +enc3 = base58.b58encode(dec_check2) # 对校验和解码结果进行基本编码 +print(enc1) +print(dec1) +print(enc_check1) +print(dec_check1) +print(enc_int1) +print(dec_int1) +print(enc2) +print(dec2) +print(enc_int2) +print(enc_check2) +print(dec_check2) +print(enc3) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'drn1vtp' +# --b = '79KKvfsXwLkag2r3FrZNPdWKv4pvT8DVk' +# --c = '@#$%^&*()' +# --d = '1234567890' +# --e = '2722bfR1UtrSp6ixizzEZeVU9B9hBNcHut8QQ2Q' +# --f = 1000000 +# --g = 82019528 +# Output: +# b'4on33rFCiT' +# b'CcacFz VeoXKdXKshKGbGaKK' +# b'6LquyqoChXbGqW5nG8' +# b'@#$%^&*()' +# b'68GP' +# 1000000 +# b'3mJr7AoUCHxNqd' +# b'kPjIfWbREVIakPzFQaLYlIVBKYlu' +# b'8FNYo' +# b'hCc9uWFQ65UAxFaNJqfHCf6816DjmBZbcGr4VG' +# b'CcacFz VeoXKdXKshKGbGaKK' +# b'79KKvfsXwLkag2r3FrZNPdWKv4pvT8DVk' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'Test123' +# --b = '28' +# --c = 'TPcTsjvTNHtabUBA' +# --d = 'b8aUFiXqDpAs' +# --e = 'KAbNUE1LBRuRVeN' +# --f = 0 +# --g = 82019528 +# Output: +# b'4CVtFLcCiv' +# b'A' +# b'2B8Ua3UeB29D1HAoBVBUQubtw2de' +# b'TPcTsjvTNHtabUBA' +# b'1' +# 0 +# b'2rWBBCjo3YDQJPCGa' +# b'IADViKJjyFg' +# b'8FNYo' +# b'8M5JoSg' +# b'A' +# b'28' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'Test123' +# --b = 'Z' +# --c = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --d = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' +# --e = 'VLKw' +# --f = 262631383 +# --g = 670280744 +# Output: +# b'4CVtFLcCiv' +# b' ' +# b'4PRRjyB1AMsXd3fqgpJ9eGHBep5uPEbgmuCtg29Dg1J4' +# b'2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# b'QD4AJ' +# 262631383 +# b'E5NPEBW1UwVXgoHTFtNDrL3RTWCeA9TzcL3j5pHd2' +# b'TZV' +# b'22EN7Z' +# b'4dLEw1c' +# b' ' +# b'Z' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'Test123' +# --b = '27sNiTaAuDXTYdy4WiQLdaWGA1Vt' +# --c = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' +# --d = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' +# --e = '28' +# --f = 351589394 +# --g = 1000000 +# Output: +# b'4CVtFLcCiv' +# b'PGsAoDkKcBypmuEdoGVC' +# b'2UZVqnXyrnupoMmPVLq7ikjg8B5M9PxTfvgUHvrwcQiqycT' +# b'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' +# b'Y4zH7' +# 351589394 +# b'2CbHkt6ctjfrmUq68GXwmd2LKFz3UvUJzr4cCRqneprnBL4NFApLaZ7Fhp3W8pdjo6nCg' +# b'A' +# b'68GP' +# b'8KUeo5thYsxEWoYhECkTgPjxMdjeGvxbR' +# b'PGsAoDkKcBypmuEdoGVC' +# b'27sNiTaAuDXTYdy4WiQLdaWGA1Vt' +# Return Code: 0 diff --git a/base58/test20_executable.zip b/base58/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..3b1ebe9286ae9f616505888807e15a2d6ff72ca7 --- /dev/null +++ b/base58/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fda1a5d138b7804540518630b733b4751bfd8a89637549af97c5962e5141b31 +size 7353315 diff --git a/base58/test2_executable.zip b/base58/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..21b85e764dd054f67868aede6266e289c54db5a0 --- /dev/null +++ b/base58/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edc21e659b08b2de85ccd008fabeb7a2f50f3f7a7498708347847ce17699ed42 +size 7353187 diff --git a/base58/test3.py b/base58/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..a437af7458c8ecbaa42cd4f4d6706df8c28dc97c --- /dev/null +++ b/base58/test3.py @@ -0,0 +1,41 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +args = parser.parse_args() + +result = base58.b58encode_int(args.a) # Base58编码整数 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 65535 +# Output: +# b'LUv' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 473379435 +# Output: +# b'iqCDQ' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 999999999 +# Output: +# b'2XNGAJ' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 1000 +# Output: +# b'JF' +# Return Code: 0 diff --git a/base58/test3_executable.zip b/base58/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..55cf16f31a3ac61379b5e17ce2cc082377748bad --- /dev/null +++ b/base58/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7465ff5ba2ed41b65343ba7e09cd891d4147c95c776f4a7d4cf9f209f87eb930 +size 7353189 diff --git a/base58/test4.py b/base58/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..8b429064d3184f83aa5de390b8286d7a1459d576 --- /dev/null +++ b/base58/test4.py @@ -0,0 +1,41 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = base58.b58decode_int(args.a) # Base58解码为整数 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'B' +# Output: +# 10 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '1' +# Output: +# 0 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '3yR' +# Output: +# 10000 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '2j' +# Output: +# 100 +# Return Code: 0 diff --git a/base58/test4_executable.zip b/base58/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ea6cc29d25fcc9db580407ea4c6d610a4d4847b0 --- /dev/null +++ b/base58/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a5d1ecdbc6460473885ea77b64d0bd03aed05cb4fb7952eeea2ce3c263628d6 +size 7351631 diff --git a/base58/test5.py b/base58/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..a1fed8718198455e18452040280c55e0417e7c7a --- /dev/null +++ b/base58/test5.py @@ -0,0 +1,41 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = base58.b58encode_check(args.a.encode()) # Base58带校验和编码 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '1234567890' +# Output: +# b'K5zqBMZXFNFYSLJZTdx' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# Output: +# b'4PRRjyB1AMsXd3fqgpJ9eGHBep5uPEbgmuCtg29Dg1J4' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = ' ' +# Output: +# b'QibKWqP8RCG5' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' +# Output: +# b'8rP3ziPEQSAJeiB2G3pEAfMMygTdy3uJWyvqQbPxPjf6P6LNDqmzMpbzv9QDHzjtBWEYfNe9dq' +# Return Code: 0 diff --git a/base58/test5_executable.zip b/base58/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f362b9941eea85102daca12d128bdf81ec207b6f --- /dev/null +++ b/base58/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40df4c7bc0d770eed3116c084df9cfd96bd0d7981c62189b1ff2409a77867217 +size 7353470 diff --git a/base58/test6.py b/base58/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..561c255ca6a5aba45b0137ddbf46f3ebf8a0714a --- /dev/null +++ b/base58/test6.py @@ -0,0 +1,52 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +encoded1 = base58.b58encode(args.a.encode()) # 编码第一个字符串 +encoded2 = base58.b58encode(args.b.encode()) # 编码第二个字符串 +print(encoded1) +print(encoded2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --b = 'drn1vtp' +# Output: +# b'4KoxFyjc3mBC9RF6W3gns6YyqBqD8zfSaQJHoD62nqGVf1e3Aqh' +# b'4on33rFCiT' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'Hello World!' +# --b = 'Test123' +# Output: +# b'2NEpo7TZRRrLZSi2U' +# b'4CVtFLcCiv' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'Hello World!' +# --b = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# Output: +# b'2NEpo7TZRRrLZSi2U' +# b'4KoxFyjc3mBC9RF6W3gns6YyqBqD8zfSaQJHoD62nqGVf1e3Aqh' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --b = 'U5Oa2ji3Q' +# Output: +# b'X1zSGwRiNkQMuj6W6FqqChTvV4FeEvyxBSiqjN' +# b'25uZS4wxDDGdE' +# Return Code: 0 diff --git a/base58/test6_executable.zip b/base58/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c7495c68cc3fa2a99b468e0c9f4f9ee9c1288ec8 --- /dev/null +++ b/base58/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80c66b562bf42f547b0536c580757690864f0a73d5efae40c367994cb391b9ed +size 7353256 diff --git a/base58/test7.py b/base58/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..cdc4f86c4efb27ca711bb0824451372882b495bf --- /dev/null +++ b/base58/test7.py @@ -0,0 +1,52 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +encoded = base58.b58encode(args.a.encode()) # 编码字符串 +decoded = base58.b58decode(args.b) # 解码Base58字符串 +print(encoded) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '5aN1QrVUtM5PMaBzNoYFqL5wGSWAw' +# --b = '2g' +# Output: +# b'3RYyLdhz3WZhvaeMoqUS47HWrYtE9oxw4QwVQmNn' +# b'a' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '中国汉字' +# --b = 'KAbNUE1LBRuRVeN' +# Output: +# b'5KLbY4YtwK7rEVHY2' +# b'IADViKJjyFg' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' +# --b = '2NEpo7TZRRrLZSi2U' +# Output: +# b'E5NPEBW1UwVXgoHTFtNDrL3RTWCeA9TzcL3j5pHd2' +# b'Hello World!' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '5aN1QrVUtM5PMaBzNoYFqL5wGSWAw' +# --b = '2722bfR1UtrSp6ixizzEZeVU9B9hBNcHut8QQ2Q' +# Output: +# b'3RYyLdhz3WZhvaeMoqUS47HWrYtE9oxw4QwVQmNn' +# b'kPjIfWbREVIakPzFQaLYlIVBKYlu' +# Return Code: 0 diff --git a/base58/test7_executable.zip b/base58/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..dc77a2e3d0dbe699e61c95d2c4757c0c17ce7b76 --- /dev/null +++ b/base58/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad7a8a445fa36f42de6b559ec2cdcbdc3ed53d4ebf15ee2f9e70ce42d94bbc9e +size 7353946 diff --git a/base58/test8.py b/base58/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..fada33ed7aa027c121d03f476d6f8623a3e1a852 --- /dev/null +++ b/base58/test8.py @@ -0,0 +1,52 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +encoded = base58.b58encode_check(args.a.encode()) # 带校验和编码 +decoded = base58.b58decode_check(args.b) # 带校验和解码 +print(encoded) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'Hello World!' +# --b = 'PunjESpb8AgCmxo2CzvKYYwyfm2PqG' +# Output: +# b'9wWTEnNTUzJGD7cXz99ejY' +# b'TiHQzzcCuLmZYhdtlT' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' +# --b = 'mNUD4WWw2zubG4QZRmY66Ex' +# Output: +# b'2UZVqnXyrnupoMmPVLq7ikjg8B5M9PxTfvgUHvrwcQiqycT' +# b'QhvIWMCncPFRr' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '2Qu1ga2eTaoXNQzeniuzRQxH1rnQ' +# --b = 'mNUD4WWw2zubG4QZRmY66Ex' +# Output: +# b'4PRRjyB1AMsXd3fqgpJ9eGHBep5uPEbgmuCtg29Dg1J4' +# b'QhvIWMCncPFRr' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'c0C zQokldyRqDWOdqXxM2Eq4GyQ4sPmlsbgl' +# --b = 'D9cS9N9iEBz9gWUP2mkrsm' +# Output: +# b'NkgJQpsiKPdKi4axXym62PNc4KgAYCccBTtoeNbTJzcn2L131eRFwNCX' +# b'base58 check' +# Return Code: 0 diff --git a/base58/test8_executable.zip b/base58/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c391d86577a6d0a1ec56c206bef8b837efe451e5 --- /dev/null +++ b/base58/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bad76176886be657409d6c1a361286d228c1b4f7f9a083a3f423a825d3ab2b1 +size 7353214 diff --git a/base58/test9.py b/base58/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..b4cbd2f133a2499feec02c03e0a9b9743e7f6d07 --- /dev/null +++ b/base58/test9.py @@ -0,0 +1,52 @@ +import argparse +import base58 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +encoded_int = base58.b58encode_int(args.a) # 编码整数 +decoded_int = base58.b58decode_int(args.b) # 解码为整数 +print(encoded_int) +print(decoded_int) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 2 +# --b = '2j' +# Output: +# b'3' +# 100 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 2 +# --b = '2j' +# Output: +# b'3' +# 100 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 100 +# --b = 'Wj9' +# Output: +# b'2j' +# 100000 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 10000 +# --b = 'iqCDQ' +# Output: +# b'3yR' +# 473379435 +# Return Code: 0 diff --git a/base58/test9_executable.zip b/base58/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..dbc3b5fa67b1ec4da00d3e5069de9b2056080f53 --- /dev/null +++ b/base58/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dc68b2004f145b139ba180a4c0e4582154ae44dfc643ba81d3f55aed899e889 +size 7353457 diff --git a/bech32/__pycache__/test10.cpython-310.pyc b/bech32/__pycache__/test10.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f39b9d487a1b9797f0b81817ebda0da7c80e0ab1 Binary files /dev/null and b/bech32/__pycache__/test10.cpython-310.pyc differ diff --git a/bech32/__pycache__/test11.cpython-310.pyc b/bech32/__pycache__/test11.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e819ddceff3dd7140f63614526b4bc6e49fea1d6 Binary files /dev/null and b/bech32/__pycache__/test11.cpython-310.pyc differ diff --git a/bech32/__pycache__/test5.cpython-310.pyc b/bech32/__pycache__/test5.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3ff3dbacdde2b44f3348220f00c71c19d343c635 Binary files /dev/null and b/bech32/__pycache__/test5.cpython-310.pyc differ diff --git a/bech32/__pycache__/test8.cpython-310.pyc b/bech32/__pycache__/test8.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ba7a376be4fcea6ac607eae6bc61b1afc43b9adf Binary files /dev/null and b/bech32/__pycache__/test8.cpython-310.pyc differ diff --git a/bech32/test1.py b/bech32/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..7d57ccaf4c8fd8510ba9b5b311816935f094d0d1 --- /dev/null +++ b/bech32/test1.py @@ -0,0 +1,51 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Data as comma-separated integers + args = parser.parse_args() + + data = list(map(int, args.b.split(','))) + result = bech32.bech32_encode(args.a, data) # Encode HRP and data to Bech32 string + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'tb' +# --b = '17,21,7,18,27,10,29,0,16,11,6,19,12' +# Output: +# tb1348jm2aqstxnvz3n5hh +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'xyz' +# --b = '7,1,17,15,14,8,6,5,27,2,1,5,13,14,1' +# Output: +# xyz18p30wgx9mzp9dwp3e0ahe +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'xyz' +# --b = '0,7,4,9,2,23,9,27,8,2,19' +# Output: +# xyz1q8yfzhfmgzn7w7kqy +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tltc' +# --b = '9,17,18,13,21,13,16,31,16,3,5,27,17' +# Output: +# tltc1f3jd4dslsr9m3ga0x75 +# Return Code: 0 diff --git a/bech32/test10.py b/bech32/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..8726b7160c3599655f2c42c89b7fa0ddf131777b --- /dev/null +++ b/bech32/test10.py @@ -0,0 +1,58 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Data as comma-separated integers + args = parser.parse_args() + + data = list(map(int, args.b.split(','))) + checksum = bech32.bech32_create_checksum(args.a, data) # Create checksum + combined = data + checksum + is_valid = bech32.bech32_verify_checksum(args.a, combined) # Verify checksum + print(checksum) + print(is_valid) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'ltc' +# --b = '5,7,6,10,18,9,11,16,5' +# Output: +# [20, 22, 8, 12, 23, 28] +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'tb' +# --b = '16,22,26,30,28,11,15,8,2,3,8,19,27' +# Output: +# [6, 24, 12, 20, 23, 14] +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'bc' +# --b = '4,1,28,7,22,24,22,24,11,0,7,29,23,12,28' +# Output: +# [10, 29, 5, 11, 20, 30] +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'xyz' +# --b = '29,18,10,0,3' +# Output: +# [7, 4, 20, 21, 1, 1] +# True +# Return Code: 0 diff --git a/bech32/test10_executable.zip b/bech32/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..010e360f6400082e36e2b72a85af70d157f265c7 --- /dev/null +++ b/bech32/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d661600ae0d9229f22b6f12bf83c05fadeb07750975838e5f044de051fbd2e0 +size 7352411 diff --git a/bech32/test11.py b/bech32/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..19027a1c9b03fec156ea5ded0b6a10d92be13397 --- /dev/null +++ b/bech32/test11.py @@ -0,0 +1,62 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=int, required=True) # Witness version + parser.add_argument("--c", type=str, required=True) # Data as comma-separated integers (8-bit) + args = parser.parse_args() + + data = list(map(int, args.c.split(','))) + converted = bech32.convertbits(data, 8, 5) # Convert 8-bit to 5-bit for segwit + encoded = bech32.encode(args.a, args.b, converted) # Encode segwit address + print(converted) + print(encoded) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'tltc' +# --b = 1 +# --c = '17,43,63,152,186,87,216,0,127,153,23,150,227,71,251,160,180,107,50,22' +# Output: +# [2, 4, 21, 19, 31, 6, 5, 26, 10, 31, 12, 0, 0, 31, 28, 25, 2, 30, 11, 14, 6, 17, 31, 27, 20, 2, 26, 6, 22, 12, 16, 22] +# tltc1pqgzp2yclqcz35zslpsqqq8curyppuzcwqcg37xc5qgdqv9svzqtq6gyvre +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'test' +# --b = 0 +# --c = '205,181,4,51,220,251,101,43,78,210,63,249,3,79,128,115,240,202,191,153' +# Output: +# [25, 22, 26, 16, 8, 12, 30, 28, 31, 13, 18, 18, 22, 19, 22, 18, 7, 31, 28, 16, 6, 19, 28, 0, 14, 15, 24, 12, 21, 15, 28, 25] +# test1qrytp5yqgps0pc8cdzgfpvyckzgr378qsqcf3cqqwpuvqc9g0rsvsf07u4d +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'test' +# --b = 0 +# --c = '111,252,210,62,188,39,53,166,209,230,84,129,106,22,236,13,37,236,195,175' +# Output: +# [13, 31, 30, 13, 4, 15, 21, 28, 4, 28, 26, 26, 13, 20, 15, 6, 10, 18, 0, 22, 20, 5, 23, 12, 1, 20, 18, 30, 25, 16, 29, 15] +# test1qp503urgypu23cpqurgdq69q0qc9pyqqkzsz3wrqpzsfpuxgsr58scx67rl +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tltc' +# --b = 0 +# --c = '158,121,219,124,40,30,70,191,255,151,103,77,192,104,19,121,227,168,68,142' +# Output: +# [19, 25, 28, 29, 22, 31, 1, 8, 3, 25, 3, 11, 31, 31, 28, 23, 12, 29, 6, 28, 0, 26, 0, 19, 15, 7, 17, 26, 16, 17, 4, 14] +# tltc1qzvv3c8gkruqssqceqv9378cuzuxp6psuqqdqqyc0qug35yq3qs8q8mmhsd +# Return Code: 0 diff --git a/bech32/test11_executable.zip b/bech32/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..95e72ff9122700055c737498386d163340fc55c2 --- /dev/null +++ b/bech32/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e686adeb033625c9c00a4bfee426063b6e20620d4f38a9484e2900ca903c89c +size 7355194 diff --git a/bech32/test12.py b/bech32/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..6ef068945fa194f477a05dabed7f513d1f3808cd --- /dev/null +++ b/bech32/test12.py @@ -0,0 +1,54 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Segwit address + args = parser.parse_args() + + decoded = bech32.decode(args.a, args.b) # Decode segwit address + if decoded[0] is not None and decoded[1] is not None: + witver, witprog = decoded + converted = bech32.convertbits(witprog, 5, 8) # Convert 5-bit to 8-bit + print(witver) + print(converted) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'bc' +# --b = 'bc1p6xlxuzj6dwac8v78ka6eqhwj3sn60q6zqpfh542' +# Output: +# (no output) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'test' +# --b = 'test14da5wycjddx3y6m55vvrllz3688u25' +# Output: +# (no output) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'ltc' +# --b = 'ltc1slh4n8xqg4hhh03dc9xg8zvvuxy4n7vf' +# Output: +# (no output) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tb' +# --b = 'tb1eywca9kaaax9txemve4y54ld783azf7fd5zcrhm' +# Output: +# (no output) +# Return Code: 0 diff --git a/bech32/test12_executable.zip b/bech32/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ababd84de49fbbf3edc104d1846d302e0f6bb86c --- /dev/null +++ b/bech32/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcc4055dfac928f433539dd762b718272833d337b1626493dca97d3d3511c7eb +size 7354469 diff --git a/bech32/test13.py b/bech32/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..dacdc91aa98b7e7ea993079820c37ef0cf8c0a23 --- /dev/null +++ b/bech32/test13.py @@ -0,0 +1,69 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP1 + parser.add_argument("--b", type=str, required=True) # Data1 as comma-separated integers + parser.add_argument("--c", type=str, required=True) # HRP2 + parser.add_argument("--d", type=str, required=True) # Data2 as comma-separated integers + args = parser.parse_args() + + data1 = list(map(int, args.b.split(','))) + data2 = list(map(int, args.d.split(','))) + + encoded1 = bech32.bech32_encode(args.a, data1) # Encode first HRP and data + encoded2 = bech32.bech32_encode(args.c, data2) # Encode second HRP and data + print(encoded1) + print(encoded2) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'test' +# --b = '21,17,29,4,20,2,27' +# --c = 'tb' +# --d = '30,9,31,11,31,18,8,12,5' +# Output: +# test143ay5zmj740ag +# tb17fltljgv9xpufpj +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'ltc' +# --b = '11,17,6,14,19,31,21,3,27,18,20,24' +# --c = 'tb' +# --d = '18,16,6,14,17,9,6' +# Output: +# ltc1t3xwnl4rmj5cyukwus +# tb1jsxw3fxt7yxt2 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'bcrt' +# --b = '25,30,7,4,4,16,13,31,22,14,28,19,23,18' +# --c = 'test' +# --d = '13,7,23,9,2,15,28,29,7,1,31,2,17' +# Output: +# bcrt1e78yysdlkwunhj9k35kq +# test1d8hfz0ua8plz32wuy9w +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'xyz' +# --b = '6,28,24,8,12,12,16,31,28,18' +# --c = 'ltc' +# --d = '4,21,11,31,12,13,30,22,22,8,4,28,27,24' +# Output: +# xyz1xucgvvslujjtaxgv +# ltc1y4tlvd7kkgyumcdrr02a +# Return Code: 0 diff --git a/bech32/test13_executable.zip b/bech32/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..20c63b85e988b41fe2f523d8450c7aebc1c6fbc5 --- /dev/null +++ b/bech32/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6425070e48f88c4a2c1fcfa0c589d47e4213fae8b4b27054309c6f9ef208f3bf +size 7354773 diff --git a/bech32/test14.py b/bech32/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..436cceae395643d535d099fa6a5fd4877530d58f --- /dev/null +++ b/bech32/test14.py @@ -0,0 +1,67 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # Data as comma-separated integers + parser.add_argument("--b", type=int, required=True) # From bits + parser.add_argument("--c", type=int, required=True) # Intermediate bits + parser.add_argument("--d", type=int, required=True) # To bits + args = parser.parse_args() + + data = list(map(int, args.a.split(','))) + step1 = bech32.convertbits(data, args.b, args.c) # Convert from bits to intermediate bits + step2 = bech32.convertbits(step1, args.c, args.d) # Convert from intermediate to final bits + print(step1) + print(step2) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '165,53,183,4,81,215' +# --b = 8 +# --c = 5 +# --d = 8 +# Output: +# [20, 20, 26, 27, 14, 1, 2, 17, 26, 28] +# [165, 53, 183, 4, 81, 215, 0] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '181,186,178,230,87,18,197,79,107,222,177,147,106,175,137,46,107,132,111,239' +# --b = 8 +# --c = 5 +# --d = 8 +# Output: +# [22, 22, 29, 11, 5, 25, 18, 23, 2, 11, 2, 20, 30, 26, 30, 30, 22, 6, 9, 22, 21, 11, 28, 9, 5, 25, 21, 24, 8, 27, 31, 15] +# [181, 186, 178, 230, 87, 18, 197, 79, 107, 222, 177, 147, 106, 175, 137, 46, 107, 132, 111, 239] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '184,99,2,158,168,48,188,129,6,139,17,140,245,203,22,129,140,29,15' +# --b = 8 +# --c = 5 +# --d = 8 +# Output: +# [23, 1, 17, 16, 5, 7, 21, 8, 6, 2, 30, 8, 2, 1, 20, 11, 2, 6, 6, 15, 11, 18, 24, 22, 16, 6, 6, 1, 26, 3, 24] +# [184, 99, 2, 158, 168, 48, 188, 129, 6, 139, 17, 140, 245, 203, 22, 129, 140, 29, 15, 0] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '19,217,253,87,249,71,214,204' +# --b = 8 +# --c = 5 +# --d = 8 +# Output: +# [2, 15, 12, 31, 26, 21, 31, 25, 8, 31, 11, 12, 24] +# [19, 217, 253, 87, 249, 71, 214, 204, 0] +# Return Code: 0 diff --git a/bech32/test14_executable.zip b/bech32/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..238779dc43f8843f497ba57fa8d304e38123f227 --- /dev/null +++ b/bech32/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f1b6b020b3d4dff7bec1df7758537b9215e49696490ff2d329dd74b27f3a1cd +size 7354580 diff --git a/bech32/test15.py b/bech32/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..73f32b9d09a1975404d833ef1f8567c5f16c3351 --- /dev/null +++ b/bech32/test15.py @@ -0,0 +1,69 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Data for bech32_encode + parser.add_argument("--c", type=int, required=True) # Witness version + parser.add_argument("--d", type=str, required=True) # Witness program for encode + args = parser.parse_args() + + data1 = list(map(int, args.b.split(','))) + data2 = list(map(int, args.d.split(','))) + + bech32_encoded = bech32.bech32_encode(args.a, data1) # Standard Bech32 encoding + segwit_encoded = bech32.encode(args.a, args.c, data2) # Segwit encoding + print(bech32_encoded) + print(segwit_encoded) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'tltc' +# --b = '21,21,6,11,22,19,10,29,11,1,28,29' +# --c = 1 +# --d = '19,12,8,8,21,3,5,19,9,22,29,25,10,29,0,9,12,11,19,19,5,11,15,13,27,5,15,9,23,0,30,10' +# Output: +# tltc144xtkn2atpualgrhdc +# tltc1pzvxqszq4qvz3xzgkr5vs58gqpyxqkycnq59s7rgmq58sj9cqrc9qynuah2 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'bcrt' +# --b = '0,26,13,1,26,8,17,17,29' +# --c = 2 +# --d = '22,28,9,29,31,13,10,24,16,25,2,5,31,22,5,13,23,19,18,20,28,29,1,9,10,22,27,26,1,18,31,15' +# Output: +# bcrt1q6dp6g33aesgfcd +# bcrt1zzcwqj8glp59psyqeqgz379s9p5t3xys5rswszzg2zcd35qgjru8sk77ujk +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'tltc' +# --b = '24,3,6,3,21,17,23,28,18' +# --c = 1 +# --d = '5,28,15,20,16,18,1,8,4,20,23,28,13,11,20,29,14,29,23,21,12,16,16,1,8,7,26,27,25,31,3,3' +# Output: +# tltc1crxr43hujaa3xmq +# tltc1pq5wq79qszgqsspq5zuwq6zc5r58p69c4psgpqqggqudpkxglqvpsvhclyc +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'xyz' +# --b = '12,20,8,18,4,1,13,29,29,15,28,15' +# --c = 3 +# --d = '24,4,26,16,7,1,28,30,3,18,25,2,23,25,28,27,7,6,9,16,7,10,23,26,21,9,15,30,13,16,6,21' +# Output: +# xyz1v5gjypdaa0u00qdrgq +# xyz1rrqzp5yq8qywpuqcjryppwxgurvrsvzgsqu9pwxs4py83urgsqc2sw078kq +# Return Code: 0 diff --git a/bech32/test15_executable.zip b/bech32/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..607a46b1f03a1b95854c0d63b1f722999314a934 --- /dev/null +++ b/bech32/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc97c7989f6a9aa1b54a4214c9c20d8d992daedf63a0110599584a47945513fa +size 7355047 diff --git a/bech32/test16.py b/bech32/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..471918c92e702919aad321241a28caccc53975ea --- /dev/null +++ b/bech32/test16.py @@ -0,0 +1,81 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=int, required=True) # Witness version + parser.add_argument("--c", type=str, required=True) # Witness program as comma-separated integers (8-bit) + args = parser.parse_args() + + data = list(map(int, args.c.split(','))) + + # Convert 8-bit to 5-bit + converted = bech32.convertbits(data, 8, 5) # Convert for segwit encoding + # Encode segwit address + encoded = bech32.encode(args.a, args.b, converted) # Create segwit address + # Decode segwit address + decoded = bech32.decode(args.a, encoded) # Decode the address + # Convert back to 8-bit + if decoded[0] is not None and decoded[1] is not None: + witver, witprog = decoded + converted_back = bech32.convertbits(witprog, 5, 8) # Convert back to 8-bit + print(converted) + print(encoded) + print(witver) + print(converted_back) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'tb' +# --b = 1 +# --c = '215,213,235,231,227,198,237,186,172,166,204,68,105,125,111,97,99,186,237,209' +# Output: +# [26, 31, 10, 30, 23, 25, 31, 3, 24, 27, 22, 27, 21, 11, 5, 6, 25, 17, 2, 6, 18, 31, 11, 15, 12, 5, 17, 27, 21, 27, 14, 17] +# tb1prg0s58shry0sxxqmzcd32zc9qcv3zqsxzg0skrcvq5g3k9gmpcgs8jnqnz +# 1 +# [215, 213, 235, 231, 227, 198, 237, 186, 172, 166, 204, 68, 105, 125, 111, 97, 99, 186, 237, 209] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'tltc' +# --b = 1 +# --c = '224,73,226,21,96,107,162,22,7,78,174,128,89,179,236,102,28,200,194,78' +# Output: +# [28, 1, 4, 30, 4, 5, 11, 0, 13, 14, 17, 1, 12, 1, 26, 14, 21, 26, 0, 5, 19, 12, 31, 12, 12, 24, 14, 12, 17, 16, 18, 14] +# tltc1prsqsg8syq59sqrgwzyqscqg6pc235qq9zvxp7rqvrq8qcygszg8qt2dw9r +# 1 +# [224, 73, 226, 21, 96, 107, 162, 22, 7, 78, 174, 128, 89, 179, 236, 102, 28, 200, 194, 78] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'ltc' +# --b = 1 +# --c = '31,226,94,3,40,90,101,134,73,96,63,38,96,95,164,116,83,202,151,211' +# Output: +# [3, 31, 17, 5, 28, 0, 25, 8, 11, 9, 18, 24, 12, 18, 11, 0, 7, 28, 19, 6, 0, 23, 29, 4, 14, 17, 9, 28, 21, 5, 30, 19] +# ltc1pqv03zpguqqvsszcfzgvqcystqqr3cycxqqt36pqwzyy3c9g9rcfsqhsx7y +# 1 +# [31, 226, 94, 3, 40, 90, 101, 134, 73, 96, 63, 38, 96, 95, 164, 116, 83, 202, 151, 211] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tltc' +# --b = 0 +# --c = '144,165,20,28,67,254,32,34,71,77,52,83,120,47,184,182,173,41,211,175' +# Output: +# [18, 2, 18, 17, 8, 7, 2, 3, 31, 24, 16, 2, 4, 17, 26, 13, 6, 17, 9, 23, 16, 11, 29, 24, 22, 26, 22, 18, 19, 20, 29, 15] +# tltc1qzgppyyggqupqx8cczqpqgyg6p5rpzzghzq936xqkrgtpyyc5r58s856jut +# 0 +# [144, 165, 20, 28, 67, 254, 32, 34, 71, 77, 52, 83, 120, 47, 184, 182, 173, 41, 211, 175] +# Return Code: 0 diff --git a/bech32/test16_executable.zip b/bech32/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8cf7299ba62edfc48909e5e8781480fc8d66bf9b --- /dev/null +++ b/bech32/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:589da002a6ab9787599398e261903e9a78958d90aac9150da1dc6aa042c02e53 +size 7355551 diff --git a/bech32/test17.py b/bech32/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..8af63ddeab20df31f253507d2aa902668e6218ce --- /dev/null +++ b/bech32/test17.py @@ -0,0 +1,77 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Data as comma-separated integers + args = parser.parse_args() + + data = list(map(int, args.b.split(','))) + + # Expand HRP + hrp_expanded = bech32.bech32_hrp_expand(args.a) # Expand HRP for processing + # Create checksum + checksum = bech32.bech32_create_checksum(args.a, data) # Create Bech32 checksum + # Combine data and checksum + combined = data + checksum + # Verify checksum + is_valid = bech32.bech32_verify_checksum(args.a, combined) # Verify the checksum + # Encode to string + encoded = bech32.bech32_encode(args.a, data) # Create Bech32 string + + print(hrp_expanded) + print(checksum) + print(is_valid) + print(encoded) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'ltc' +# --b = '3,14,16,13,1,19,0,13,11,21,13,31' +# Output: +# [3, 3, 3, 0, 12, 20, 3] +# [30, 17, 10, 7, 18, 8] +# True +# ltc1rwsdpnqdt4dl7328jg +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'bcrt' +# --b = '22,31,1,24,2,31,5,30,16,5,5,15,6,29' +# Output: +# [3, 3, 3, 3, 0, 2, 3, 18, 20] +# [6, 1, 20, 14, 24, 2] +# True +# bcrt1klpczl97s990xaxp5wcz +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'test' +# --b = '28,7,27,22,25,0,19,21,24' +# Output: +# [3, 3, 3, 3, 0, 20, 5, 19, 20] +# [26, 12, 1, 8, 15, 20] +# True +# test1u8mkeqn4c6vpg05 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tltc' +# --b = '23,29,30,10,23,23,9,20,22,26,11,25,23,29' +# Output: +# [3, 3, 3, 3, 0, 20, 12, 20, 3] +# [14, 10, 17, 31, 5, 6] +# True +# tltc1ha72hhf5k6tehaw23l9x +# Return Code: 0 diff --git a/bech32/test17_executable.zip b/bech32/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..324deef9f782b2615d58f3b3ccc157925fa35f21 --- /dev/null +++ b/bech32/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61d9d93dd549376e12786330e9115d947cf3b3847bc32b1f6fb720279eea02f9 +size 7353751 diff --git a/bech32/test1_executable.zip b/bech32/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..39833a8fb9c0d077fec98c08ddf2e32f8a23c140 --- /dev/null +++ b/bech32/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aca4c9cf71aefe548f1a5104e0e028ba111ac17cf456ddc2a679f076b3a86027 +size 7355084 diff --git a/bech32/test2.py b/bech32/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..cce7987e1a0a2940f9d74a4ec82e502185778fb9 --- /dev/null +++ b/bech32/test2.py @@ -0,0 +1,45 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # Bech32 string + args = parser.parse_args() + + result = bech32.bech32_decode(args.a) # Decode Bech32 string to get HRP and data + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'bcrt145x246ljeza95s58' +# Output: +# (None, None) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'tltc15wyan68gzznl8x0gca' +# Output: +# (None, None) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'bc1y5me6j8ep52ah9mx0' +# Output: +# (None, None) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tb17wxkh83wmp3pt3n4kqtf' +# Output: +# (None, None) +# Return Code: 0 diff --git a/bech32/test2_executable.zip b/bech32/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..140c83c4ea5dcabaf251289f4c5af337171e22c3 --- /dev/null +++ b/bech32/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9911900aefd149a737d0941fbb1716cca3d5fc7270bb64ef1adbf2c813b1d423 +size 7353522 diff --git a/bech32/test3.py b/bech32/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..4cbe9645173c54fd370b082e56f40f70098c1799 --- /dev/null +++ b/bech32/test3.py @@ -0,0 +1,56 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # Data as comma-separated integers + parser.add_argument("--b", type=int, required=True) # From bits + parser.add_argument("--c", type=int, required=True) # To bits + args = parser.parse_args() + + data = list(map(int, args.a.split(','))) + result = bech32.convertbits(data, args.b, args.c) # Convert bits between different bases + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '177,226,131,245,109,103,138' +# --b = 8 +# --c = 5 +# Output: +# [22, 7, 17, 8, 7, 29, 11, 13, 12, 30, 5, 0] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '12,18,20,18,3,5,14,2,11,26,11,2,25,31,11' +# --b = 5 +# --c = 8 +# Output: +# [100, 169, 33, 149, 194, 94, 150, 44, 253, 96] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '63,188,223,204,225,197,173,95,254,254,188,136,42' +# --b = 8 +# --c = 5 +# Output: +# [7, 30, 30, 13, 31, 19, 7, 1, 24, 22, 22, 21, 31, 31, 23, 30, 23, 18, 4, 2, 20] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '39,57,31,103,76,84,167,226,59,105,250,46,228,28,232,67' +# --b = 8 +# --c = 8 +# Output: +# [39, 57, 31, 103, 76, 84, 167, 226, 59, 105, 250, 46, 228, 28, 232, 67] +# Return Code: 0 diff --git a/bech32/test3_executable.zip b/bech32/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ef1b21ddd3abdccfef0adfd67119389c6d1d1b09 --- /dev/null +++ b/bech32/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a30230ee3f5e1d9e0fad9722c38827409a149075637c8cba05c35ee411425251 +size 7354259 diff --git a/bech32/test4.py b/bech32/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..bd5a0bc6df78cf065fbb0a90eac11d8ec23629d0 --- /dev/null +++ b/bech32/test4.py @@ -0,0 +1,56 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=int, required=True) # Witness version + parser.add_argument("--c", type=str, required=True) # Witness program as comma-separated integers + args = parser.parse_args() + + witprog = list(map(int, args.c.split(','))) + result = bech32.encode(args.a, args.b, witprog) # Encode segwit address + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'test' +# --b = 13 +# --c = '26,9,19,24,11,30,15,14,19,9,29,3,26,26,8,24,15,16,13,21,5,28,23,5,12,3,17,24,2,4,12,13' +# Output: +# test1drgy3xxqtrc8suycfr5p35xsgrq83qrg4q5wpwpgvqvg3sqsypsxszulw0v +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'bc' +# --b = 8 +# --c = '8,8,15,9,20,15,25,31,9,17,26,24,28,4,5,25,17,23,29,31,20,0,5,29,22,4,25,13,27,13,31,17' +# Output: +# bc1gpqyq7zg5puv37zg3rgvpcpq9ryg3w8glzsqq28gkqsvs6xcdrugsd5npzs +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'ltc' +# --b = 1 +# --c = '14,9,1,16,26,18,9,12,21,14,24,15,31,21,16,31,31,29,10,22,10,8,31,11,3,2,4,3,0,26,8,14' +# Output: +# ltc1ppcyszyq6zgysc9gwrq8379gsru036zskpgyp7zcrqgzqxqq6pq8qrh0662 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'ltc' +# --b = 14 +# --c = '15,6,29,6,8,7,0,3,14,8,12,25,23,5,16,4,1,4,12,28,8,5,21,7,2,29,3,10,27,25,31,1' +# Output: +# ltc1wpurp6psgquqqxrsgpsv3wpgsqsqsgrqupqz32pczr5ps5xceruqsa7rcvs +# Return Code: 0 diff --git a/bech32/test4_executable.zip b/bech32/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..237a46c569b48ce024fdce4e70c34d217d0e8d1c --- /dev/null +++ b/bech32/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea0c50285cc841e46aa95dee7b51a23a9451a20e2dac45788f47b002ada0163c +size 7353643 diff --git a/bech32/test5.py b/bech32/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..f5877e17fdac01933331f3cf856d348d8a00a63b --- /dev/null +++ b/bech32/test5.py @@ -0,0 +1,50 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Segwit address + args = parser.parse_args() + + result = bech32.decode(args.a, args.b) # Decode segwit address + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'xyz' +# --b = 'xyz1s5y9ce53aq686ffxxxjk6scl7zt3efeze40r73h' +# Output: +# (None, None) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'xyz' +# --b = 'xyz1k5lu9cjaf246ey924w55j3e3uhu62tpg0s' +# Output: +# (None, None) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'ltc' +# --b = 'ltc1hsja87ry7v8cn6rfgv46af5t9l4t5rqu3d2' +# Output: +# (None, None) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tltc' +# --b = 'tltc13mckasdanexqhjnx7y4353snvf0re5gplj' +# Output: +# (None, None) +# Return Code: 0 diff --git a/bech32/test5_executable.zip b/bech32/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7ee39cd7d02076ff41c53cfaa3e84e5103179281 --- /dev/null +++ b/bech32/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a09e80ac4bb9d01953904cc28716443a25a781ab4057682887fe8daebda82dde +size 7354237 diff --git a/bech32/test6.py b/bech32/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..7bbe9cbc64d2f974bb0b1ae62d18480a8ecdb034 --- /dev/null +++ b/bech32/test6.py @@ -0,0 +1,62 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=int, required=True) # Witness version + parser.add_argument("--c", type=str, required=True) # Witness program as comma-separated integers + args = parser.parse_args() + + witprog = list(map(int, args.c.split(','))) + encoded = bech32.encode(args.a, args.b, witprog) # Encode segwit address + decoded = bech32.decode(args.a, encoded) # Decode the encoded address + print(encoded) + print(decoded) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'tb' +# --b = 1 +# --c = '29,5,5,15,30,4,19,3,21,0,30,29,30,21,26,22,18,18,10,2,19,16,3,30,10,3,18,1,18,31,5,8' +# Output: +# tb1pr5zs2rc7qsfsx9gqrcw3u9g6zcfpyzszzvgqx8s2qvfqzyslq5yqlycql4 +# (1, [29, 5, 5, 15, 30, 4, 19, 3, 21, 0, 30, 29, 30, 21, 26, 22, 18, 18, 10, 2, 19, 16, 3, 30, 10, 3, 18, 1, 18, 31, 5, 8]) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'bcrt' +# --b = 0 +# --c = '27,9,10,20,4,7,11,20,9,1,20,26,26,19,28,17,9,12,6,8,11,1,17,14,14,14,1,22,5,30,8,30' +# Output: +# bcrt1qrvys59qyqu93gzgpzsdp5ycuzyyscpsgpvq3zrswpcq3vpg7pq0q8nvpee +# (0, [27, 9, 10, 20, 4, 7, 11, 20, 9, 1, 20, 26, 26, 19, 28, 17, 9, 12, 6, 8, 11, 1, 17, 14, 14, 14, 1, 22, 5, 30, 8, 30]) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'tb' +# --b = 1 +# --c = '3,29,0,4,24,17,23,6,1,18,24,14,24,6,20,31,5,11,12,29,1,2,15,19,21,31,25,10,1,22,22,22' +# Output: +# tb1pqvwsqpqczytsvqgjrq8psps5ruzskrqaqypq7yc4ruvs5qgkzctqn8ns9h +# (1, [3, 29, 0, 4, 24, 17, 23, 6, 1, 18, 24, 14, 24, 6, 20, 31, 5, 11, 12, 29, 1, 2, 15, 19, 21, 31, 25, 10, 1, 22, 22, 22]) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'bcrt' +# --b = 1 +# --c = '12,20,1,9,3,1,11,6,18,17,8,28,0,14,5,9,0,31,13,21,26,19,31,23,29,2,21,5,9,3,17,25' +# Output: +# bcrt1pps2qzzgrqy9svys3pqwqqrs9pyqp7rg4rgf379caqg2s2zgrzyvs8lm8u6 +# (1, [12, 20, 1, 9, 3, 1, 11, 6, 18, 17, 8, 28, 0, 14, 5, 9, 0, 31, 13, 21, 26, 19, 31, 23, 29, 2, 21, 5, 9, 3, 17, 25]) +# Return Code: 0 diff --git a/bech32/test6_executable.zip b/bech32/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5b2d11903b2ea998b9d66ed99d34895dca24b4bf --- /dev/null +++ b/bech32/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7dc6481a7e3401779ec01326bc2494b389bda62321ea7784139e148e3c73a16 +size 7354487 diff --git a/bech32/test7.py b/bech32/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..ca0f7abd4362a9ce99628f1084fb645a6f89a409 --- /dev/null +++ b/bech32/test7.py @@ -0,0 +1,62 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Data as comma-separated integers + args = parser.parse_args() + + # Handle empty string case + if args.b.strip() == "": + data = [] + else: + data = list(map(int, args.b.split(','))) + + encoded = bech32.bech32_encode(args.a, data) # Encode HRP and data + decoded = bech32.bech32_decode(encoded) # Decode the encoded string + print(encoded) + print(decoded) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'bc' +# --b = '8,13,9,17,28,26,15,11,2,11,31,5' +# Output: +# bc1gdf3u60tztl9lc9hdz +# ('bc', [8, 13, 9, 17, 28, 26, 15, 11, 2, 11, 31, 5]) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'bcrt' +# --b = '22,28,31,7,30,18,28,23,4,12' +# Output: +# bcrt1kul87juhyvnvprcl +# ('bcrt', [22, 28, 31, 7, 30, 18, 28, 23, 4, 12]) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'test' +# --b = '14,12,7,26,29,4,7' +# Output: +# test1wv86ay8rm05tw +# ('test', [14, 12, 7, 26, 29, 4, 7]) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tb' +# --b = '3,18,18,4,12,11,6,10,20,20' +# Output: +# tb1rjjyvtx2552ss43u +# ('tb', [3, 18, 18, 4, 12, 11, 6, 10, 20, 20]) +# Return Code: 0 diff --git a/bech32/test7.py.backup b/bech32/test7.py.backup new file mode 100644 index 0000000000000000000000000000000000000000..bf3d0f86a98bcd4edef050b0fe3d26f1b8b07ab6 --- /dev/null +++ b/bech32/test7.py.backup @@ -0,0 +1,57 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Data as comma-separated integers + args = parser.parse_args() + + data = list(map(int, args.b.split(','))) + encoded = bech32.bech32_encode(args.a, data) # Encode HRP and data + decoded = bech32.bech32_decode(encoded) # Decode the encoded string + print(encoded) + print(decoded) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'bc' +# --b = '8,13,9,17,28,26,15,11,2,11,31,5' +# Output: +# bc1gdf3u60tztl9lc9hdz +# ('bc', [8, 13, 9, 17, 28, 26, 15, 11, 2, 11, 31, 5]) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'bcrt' +# --b = '22,28,31,7,30,18,28,23,4,12' +# Output: +# bcrt1kul87juhyvnvprcl +# ('bcrt', [22, 28, 31, 7, 30, 18, 28, 23, 4, 12]) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'test' +# --b = '14,12,7,26,29,4,7' +# Output: +# test1wv86ay8rm05tw +# ('test', [14, 12, 7, 26, 29, 4, 7]) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tb' +# --b = '3,18,18,4,12,11,6,10,20,20' +# Output: +# tb1rjjyvtx2552ss43u +# ('tb', [3, 18, 18, 4, 12, 11, 6, 10, 20, 20]) +# Return Code: 0 diff --git a/bech32/test7_executable.zip b/bech32/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a0685d6e8113fc7f4ffb8e77077aca006340a2ec --- /dev/null +++ b/bech32/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0263f64404b14e3bed18310cabefb5ae71149dcfda7939b1ca67c62e8e14256e +size 7353857 diff --git a/bech32/test8.py b/bech32/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..086462157f30d05c0ac9a19feedf00a6471cf13a --- /dev/null +++ b/bech32/test8.py @@ -0,0 +1,62 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # Data as comma-separated integers + parser.add_argument("--b", type=int, required=True) # From bits + parser.add_argument("--c", type=int, required=True) # To bits + args = parser.parse_args() + + data = list(map(int, args.a.split(','))) + converted = bech32.convertbits(data, args.b, args.c) # Convert from bits to bits + converted_back = bech32.convertbits(converted, args.c, args.b) # Convert back to original bits + print(converted) + print(converted_back) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '160,42,56,80,127,66,210,163,231,244,68,133,88,167' +# --b = 8 +# --c = 5 +# Output: +# [20, 0, 21, 3, 16, 20, 3, 31, 8, 11, 9, 10, 7, 25, 31, 20, 8, 18, 2, 21, 17, 9, 24] +# [160, 42, 56, 80, 127, 66, 210, 163, 231, 244, 68, 133, 88, 167, 0] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '125,126,120,159,43,33' +# --b = 8 +# --c = 5 +# Output: +# [15, 21, 31, 7, 17, 7, 25, 11, 4, 4] +# [125, 126, 120, 159, 43, 33, 0] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '2,0,16,24,19,25,23,8,2,11,16,10,31,21' +# --b = 5 +# --c = 8 +# Output: +# [16, 33, 137, 230, 232, 18, 224, 175, 212] +# [2, 0, 16, 24, 19, 25, 23, 8, 2, 11, 16, 10, 31, 21, 0] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '239,137,222,30,102,186,236,75,123,77,153' +# --b = 8 +# --c = 8 +# Output: +# [239, 137, 222, 30, 102, 186, 236, 75, 123, 77, 153] +# [239, 137, 222, 30, 102, 186, 236, 75, 123, 77, 153] +# Return Code: 0 diff --git a/bech32/test8_executable.zip b/bech32/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5bc7e4fc1c1ef04d4074eb39c1c782d255f95a36 --- /dev/null +++ b/bech32/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6df764dc4c54685141ac48234d88bcf43ad5eab4fe4d824497ed45803df9c1ca +size 7354545 diff --git a/bech32/test9.py b/bech32/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..ca9b288cc869ba55222349e246137a7535387bc3 --- /dev/null +++ b/bech32/test9.py @@ -0,0 +1,58 @@ +import argparse +import bech32 + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("--a", type=str, required=True) # HRP + parser.add_argument("--b", type=str, required=True) # Data as comma-separated integers + args = parser.parse_args() + + data = list(map(int, args.b.split(','))) + hrp_expanded = bech32.bech32_hrp_expand(args.a) # Expand HRP + combined = hrp_expanded + data + checksum = bech32.bech32_polymod(combined) # Compute polymod checksum + print(hrp_expanded) + print(checksum) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'xyz' +# --b = '18,2,31,25,31,31,14,3,1,27,20,4,17,26' +# Output: +# [3, 3, 3, 0, 24, 25, 26] +# 73336103 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'tb' +# --b = '27,5,27,23,11,27,27,5,2,21,29,14,9,31' +# Output: +# [3, 3, 0, 20, 2] +# 1073250759 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'ltc' +# --b = '27,12,5,19,29,9,30,27' +# Output: +# [3, 3, 3, 0, 12, 20, 3] +# 28440246 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'tltc' +# --b = '9,28,3,12,9,3,14,11,2,30,16,10' +# Output: +# [3, 3, 3, 3, 0, 20, 12, 20, 3] +# 913305107 +# Return Code: 0 diff --git a/bech32/test9_executable.zip b/bech32/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..969644fcfa349cace5c8008ad32a083d434e0b74 --- /dev/null +++ b/bech32/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8d4f225fe320c70dd6e477e220ac140fb4b4f4f92bf09cd9426b766ec7f732b +size 7353444 diff --git a/bencoder/__pycache__/test18.cpython-312.pyc b/bencoder/__pycache__/test18.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a5f38a0e3df62b0d60426dcea4cb5030cea13c16 Binary files /dev/null and b/bencoder/__pycache__/test18.cpython-312.pyc differ diff --git a/bencoder/python_output.txt b/bencoder/python_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..9463963c54ddd77c3fa8d66c1263240988f3a7cf --- /dev/null +++ b/bencoder/python_output.txt @@ -0,0 +1,2 @@ +b'd4:dictd5:inner6:number6:nestedl7:complexi-123456eee4:listli-123456ei-246912ee5:value7:complexe' +{b'dict': {b'inner': b'number', b'nested': [b'complex', -123456]}, b'list': [-123456, -246912], b'value': b'complex'} diff --git a/bencoder/test1.py b/bencoder/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..ee844204c81726baab8e75acc7857f059f90def3 --- /dev/null +++ b/bencoder/test1.py @@ -0,0 +1,41 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +args = parser.parse_args() + +result = bencoder.encode(args.a) # Encode integer value +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -42 +# Output: +# b'i-42e' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 65535 +# Output: +# b'i65535e' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 65535 +# Output: +# b'i65535e' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -100 +# Output: +# b'i-100e' +# Return Code: 0 diff --git a/bencoder/test10.py b/bencoder/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..7c9bc4108ec3fe1b9799ac67dcca060b394c4ea5 --- /dev/null +++ b/bencoder/test10.py @@ -0,0 +1,65 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +data = [args.a, args.b.encode('ascii')] +encoded = bencoder.encode(data) # Encode initial data +decoded = bencoder.decode(encoded) # Decode first time +re_encoded = bencoder.encode(decoded) # Re-encode decoded data +re_decoded = bencoder.decode(re_encoded) # Decode again +print(encoded) +print(decoded) +print(re_encoded) +print(re_decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -10 +# --b = 'example' +# Output: +# b'li-10e7:examplee' +# [-10, b'example'] +# b'li-10e7:examplee' +# [-10, b'example'] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 255 +# --b = 'complex' +# Output: +# b'li255e7:complexe' +# [255, b'complex'] +# b'li255e7:complexe' +# [255, b'complex'] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 1000 +# --b = 'hello' +# Output: +# b'li1000e5:helloe' +# [1000, b'hello'] +# b'li1000e5:helloe' +# [1000, b'hello'] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 65535 +# --b = 'complex' +# Output: +# b'li65535e7:complexe' +# [65535, b'complex'] +# b'li65535e7:complexe' +# [65535, b'complex'] +# Return Code: 0 diff --git a/bencoder/test10_executable.zip b/bencoder/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..76d686e9ff68ddfe3b48394f37a3ca4d7e3ed6b1 --- /dev/null +++ b/bencoder/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4e38d5556b6d4a7f573febb4cd1fa1e6cf8397f6b583c0a24c1d71ddfbc9a5c +size 9404526 diff --git a/bencoder/test11.py b/bencoder/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..a02a69c86ec5f6d3e6c690f15ee9b20ddca605b3 --- /dev/null +++ b/bencoder/test11.py @@ -0,0 +1,65 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +complex_data = { + b'list': [args.b, args.b * 2], + b'dict': { + b'inner': args.a.encode('ascii'), + b'nested': [args.c.encode('ascii'), args.b] + }, + b'value': args.c.encode('ascii') +} +encoded = bencoder.encode(complex_data) # Encode complex nested structure +decoded = bencoder.decode(encoded) # Decode complex structure +print(encoded) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'number' +# --b = -123456 +# --c = 'complex' +# Output: +# b'd4:dictd5:inner6:number6:nestedl7:complexi-123456eee4:listli-123456ei-246912ee5:value7:complexe' +# {b'dict': {b'inner': b'number', b'nested': [b'complex', -123456]}, b'list': [-123456, -246912], b'value': b'complex'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'list' +# --b = -123456 +# --c = 'bencoder' +# Output: +# b'd4:dictd5:inner4:list6:nestedl8:bencoderi-123456eee4:listli-123456ei-246912ee5:value8:bencodere' +# {b'dict': {b'inner': b'list', b'nested': [b'bencoder', -123456]}, b'list': [-123456, -246912], b'value': b'bencoder'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'test' +# --b = -999999 +# --c = 'string' +# Output: +# b'd4:dictd5:inner4:test6:nestedl6:stringi-999999eee4:listli-999999ei-1999998ee5:value6:stringe' +# {b'dict': {b'inner': b'test', b'nested': [b'string', -999999]}, b'list': [-999999, -1999998], b'value': b'string'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'value' +# --b = -255 +# --c = 'list' +# Output: +# b'd4:dictd5:inner5:value6:nestedl4:listi-255eee4:listli-255ei-510ee5:value4:liste' +# {b'dict': {b'inner': b'value', b'nested': [b'list', -255]}, b'list': [-255, -510], b'value': b'list'} +# Return Code: 0 diff --git a/bencoder/test11_executable.zip b/bencoder/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7bd6c469a1d59916952e24d09de5a054447e6ae5 --- /dev/null +++ b/bencoder/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5778818f1c0f068e7618bb82014d3624c6c4094b773b7c264a935a2987e8841f +size 9407565 diff --git a/bencoder/test12.py b/bencoder/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..ff9b45dc83d31e1024dcbf755db19031e52fa0ac --- /dev/null +++ b/bencoder/test12.py @@ -0,0 +1,72 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +dict1 = {b'first': args.a.encode('ascii')} +dict2 = {b'second': args.b.encode('ascii'), b'number': args.c} +combined = [dict1, dict2] +encoded = bencoder.encode(combined) # Encode list of dictionaries +decoded = bencoder.decode(encoded) # Decode list of dictionaries +encoded_dict1 = bencoder.encode(dict1) # Encode first dictionary separately +encoded_dict2 = bencoder.encode(dict2) # Encode second dictionary separately +print(encoded) +print(decoded) +print(encoded_dict1) +print(encoded_dict2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'simple' +# --b = 'hello' +# --c = -100 +# Output: +# b'ld5:first6:simpleed6:numberi-100e6:second5:helloee' +# [{b'first': b'simple'}, {b'number': -100, b'second': b'hello'}] +# b'd5:first6:simplee' +# b'd6:numberi-100e6:second5:helloe' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'dict' +# --b = 'utf8' +# --c = -42 +# Output: +# b'ld5:first4:dicted6:numberi-42e6:second4:utf8ee' +# [{b'first': b'dict'}, {b'number': -42, b'second': b'utf8'}] +# b'd5:first4:dicte' +# b'd6:numberi-42e6:second4:utf8e' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'structure' +# --b = 'string' +# --c = 999999 +# Output: +# b'ld5:first9:structureed6:numberi999999e6:second6:stringee' +# [{b'first': b'structure'}, {b'number': 999999, b'second': b'string'}] +# b'd5:first9:structuree' +# b'd6:numberi999999e6:second6:stringe' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'world' +# --b = 'list' +# --c = 0 +# Output: +# b'ld5:first5:worlded6:numberi0e6:second4:listee' +# [{b'first': b'world'}, {b'number': 0, b'second': b'list'}] +# b'd5:first5:worlde' +# b'd6:numberi0e6:second4:liste' +# Return Code: 0 diff --git a/bencoder/test12_executable.zip b/bencoder/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e6af3aa5c5dc6510b8497b0b1bdf13e58bd22309 --- /dev/null +++ b/bencoder/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:017fdb4cb6cef1ef5454f21eec34593d559deca88d784173ab0e923a74e1fccb +size 9407425 diff --git a/bencoder/test13.py b/bencoder/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..d1a8cd3909db2944bc11b221e761bb465391278e --- /dev/null +++ b/bencoder/test13.py @@ -0,0 +1,65 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +strings = [args.a, args.b, args.c] +bytes_strings = [s.encode('ascii') for s in strings] +encoded = bencoder.encode(bytes_strings) # Encode list of strings +decoded = bencoder.decode(encoded) # Decode list of strings +encoded_reverse = bencoder.encode(bytes_strings[::-1]) # Encode reversed list +print(encoded) +print(decoded) +print(encoded_reverse) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'data' +# --b = 'test' +# --c = 'bytes' +# Output: +# b'l4:data4:test5:bytese' +# [b'data', b'test', b'bytes'] +# b'l5:bytes4:test4:datae' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'nested' +# --b = 'number' +# --c = 'utf8' +# Output: +# b'l6:nested6:number4:utf8e' +# [b'nested', b'number', b'utf8'] +# b'l4:utf86:number6:nestede' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'test' +# --b = 'dict' +# --c = 'test' +# Output: +# b'l4:test4:dict4:teste' +# [b'test', b'dict', b'test'] +# b'l4:test4:dict4:teste' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'encode' +# --b = 'bytes' +# --c = 'dict' +# Output: +# b'l6:encode5:bytes4:dicte' +# [b'encode', b'bytes', b'dict'] +# b'l4:dict5:bytes6:encodee' +# Return Code: 0 diff --git a/bencoder/test13_executable.zip b/bencoder/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0171aed14602f2bbaa7d953a3a1cbc384c94d2a1 --- /dev/null +++ b/bencoder/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4176a5303a3b139afd8e5925a88e670b92cc90016648d0fae2b39a6ab5b2655 +size 9404965 diff --git a/bencoder/test14.py b/bencoder/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..42096f9ff0b5861e256d331d02104e4a4841aeef --- /dev/null +++ b/bencoder/test14.py @@ -0,0 +1,65 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +numbers = [args.a, args.b, args.a + args.b, args.a * args.b] +encoded = bencoder.encode(numbers) # Encode list of numbers +decoded = bencoder.decode(encoded) # Decode numbers +encoded_negative = bencoder.encode(-args.a) # Encode negative number +encoded_zero = bencoder.encode(0) # Encode zero +print(encoded) +print(decoded) +print(encoded_negative) +print(encoded_zero) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -100 +# --b = -7 +# Output: +# b'li-100ei-7ei-107ei700ee' +# [-100, -7, -107, 700] +# b'i100e' +# b'i0e' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 10 +# --b = -10 +# Output: +# b'li10ei-10ei0ei-100ee' +# [10, -10, 0, -100] +# b'i-10e' +# b'i0e' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 123456 +# --b = -7 +# Output: +# b'li123456ei-7ei123449ei-864192ee' +# [123456, -7, 123449, -864192] +# b'i-123456e' +# b'i0e' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 123456 +# --b = 1000 +# Output: +# b'li123456ei1000ei124456ei123456000ee' +# [123456, 1000, 124456, 123456000] +# b'i-123456e' +# b'i0e' +# Return Code: 0 diff --git a/bencoder/test14_executable.zip b/bencoder/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b34d8a409bb78b48119b789c3324d09acec801bc --- /dev/null +++ b/bencoder/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f605690716cb723f9b2171edb21d6f0d6d567bf925d63379fb6dc9bb2ad40e60 +size 9406195 diff --git a/bencoder/test15.py b/bencoder/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..3aeb3ac6308c8f4097dd2276627b391575a7faf8 --- /dev/null +++ b/bencoder/test15.py @@ -0,0 +1,78 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +data = { + b'level1': [ + args.b, + { + b'level2': args.a.encode('ascii'), + b'nested_list': [args.d, args.c.encode('ascii')] + } + ], + b'simple': args.c.encode('ascii') +} +encoded = bencoder.encode(data) # Encode multi-level nested structure +decoded = bencoder.decode(encoded) # Decode multi-level structure +level1_encoded = bencoder.encode(data[b'level1']) # Encode level1 separately +print(encoded) +print(decoded) +print(level1_encoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'structure' +# --b = 42 +# --c = 'decode' +# --d = 0 +# Output: +# b'd6:level1li42ed6:level29:structure11:nested_listli0e6:decodeeee6:simple6:decodee' +# {b'level1': [42, {b'level2': b'structure', b'nested_list': [0, b'decode']}], b'simple': b'decode'} +# b'li42ed6:level29:structure11:nested_listli0e6:decodeeee' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'bytes' +# --b = 7 +# --c = 'test' +# --d = -10 +# Output: +# b'd6:level1li7ed6:level25:bytes11:nested_listli-10e4:testeee6:simple4:teste' +# {b'level1': [7, {b'level2': b'bytes', b'nested_list': [-10, b'test']}], b'simple': b'test'} +# b'li7ed6:level25:bytes11:nested_listli-10e4:testeee' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'bencoder' +# --b = -1000 +# --c = 'list' +# --d = 1 +# Output: +# b'd6:level1li-1000ed6:level28:bencoder11:nested_listli1e4:listeee6:simple4:liste' +# {b'level1': [-1000, {b'level2': b'bencoder', b'nested_list': [1, b'list']}], b'simple': b'list'} +# b'li-1000ed6:level28:bencoder11:nested_listli1e4:listeee' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'python' +# --b = 1000 +# --c = 'test' +# --d = -42 +# Output: +# b'd6:level1li1000ed6:level26:python11:nested_listli-42e4:testeee6:simple4:teste' +# {b'level1': [1000, {b'level2': b'python', b'nested_list': [-42, b'test']}], b'simple': b'test'} +# b'li1000ed6:level26:python11:nested_listli-42e4:testeee' +# Return Code: 0 diff --git a/bencoder/test15_executable.zip b/bencoder/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..98088b998f3e19ca9c7fbbc2ef14449f9e98b4d6 --- /dev/null +++ b/bencoder/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:146aaf9bfbc3fbf43cd1943d5a506e0b1f0db6768ef07773a2e5614d90f852f0 +size 9406685 diff --git a/bencoder/test16.py b/bencoder/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..a64de8d73dfa9901661b568691fa02b45968ed09 --- /dev/null +++ b/bencoder/test16.py @@ -0,0 +1,108 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +large_structure = { + b'section1': { + b'items': [args.a.encode('ascii'), args.b.encode('ascii'), args.c.encode('ascii')], + b'counts': [args.d, args.e, args.d + args.e, args.d * args.e] + }, + b'section2': { + b'metadata': { + b'type': b'test', + b'version': 1 + }, + b'data': [ + {b'key': b'val1', b'num': args.d}, + {b'key': b'val2', b'num': args.e}, + {b'key': b'val3', b'num': args.d + args.e} + ] + } +} +encoded = bencoder.encode(large_structure) # Encode large data structure +decoded = bencoder.decode(encoded) # Decode large structure +section1_encoded = bencoder.encode(large_structure[b'section1']) # Encode section1 +section2_encoded = bencoder.encode(large_structure[b'section2']) # Encode section2 +items_encoded = bencoder.encode(large_structure[b'section1'][b'items']) # Encode items +items_decoded = bencoder.decode(items_encoded) # Decode items +print(encoded) +print(decoded) +print(section1_encoded) +print(section2_encoded) +print(items_encoded) +print(items_decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'world' +# --b = 'encode' +# --c = 'world' +# --d = 65535 +# --e = 1000 +# Output: +# b'd8:section1d6:countsli65535ei1000ei66535ei65535000ee5:itemsl5:world6:encode5:worldee8:section2d4:datald3:key4:val13:numi65535eed3:key4:val23:numi1000eed3:key4:val33:numi66535eee8:metadatad4:type4:test7:versioni1eeee' +# {b'section1': {b'counts': [65535, 1000, 66535, 65535000], b'items': [b'world', b'encode', b'world']}, b'section2': {b'data': [{b'key': b'val1', b'num': 65535}, {b'key': b'val2', b'num': 1000}, {b'key': b'val3', b'num': 66535}], b'metadata': {b'type': b'test', b'version': 1}}} +# b'd6:countsli65535ei1000ei66535ei65535000ee5:itemsl5:world6:encode5:worldee' +# b'd4:datald3:key4:val13:numi65535eed3:key4:val23:numi1000eed3:key4:val33:numi66535eee8:metadatad4:type4:test7:versioni1eee' +# b'l5:world6:encode5:worlde' +# [b'world', b'encode', b'world'] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'complex' +# --b = 'utf8' +# --c = 'random' +# --d = 1000 +# --e = 1000 +# Output: +# b'd8:section1d6:countsli1000ei1000ei2000ei1000000ee5:itemsl7:complex4:utf86:randomee8:section2d4:datald3:key4:val13:numi1000eed3:key4:val23:numi1000eed3:key4:val33:numi2000eee8:metadatad4:type4:test7:versioni1eeee' +# {b'section1': {b'counts': [1000, 1000, 2000, 1000000], b'items': [b'complex', b'utf8', b'random']}, b'section2': {b'data': [{b'key': b'val1', b'num': 1000}, {b'key': b'val2', b'num': 1000}, {b'key': b'val3', b'num': 2000}], b'metadata': {b'type': b'test', b'version': 1}}} +# b'd6:countsli1000ei1000ei2000ei1000000ee5:itemsl7:complex4:utf86:randomee' +# b'd4:datald3:key4:val13:numi1000eed3:key4:val23:numi1000eed3:key4:val33:numi2000eee8:metadatad4:type4:test7:versioni1eee' +# b'l7:complex4:utf86:randome' +# [b'complex', b'utf8', b'random'] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'structure' +# --b = 'test' +# --c = 'bytes' +# --d = 0 +# --e = -7 +# Output: +# b'd8:section1d6:countsli0ei-7ei-7ei0ee5:itemsl9:structure4:test5:bytesee8:section2d4:datald3:key4:val13:numi0eed3:key4:val23:numi-7eed3:key4:val33:numi-7eee8:metadatad4:type4:test7:versioni1eeee' +# {b'section1': {b'counts': [0, -7, -7, 0], b'items': [b'structure', b'test', b'bytes']}, b'section2': {b'data': [{b'key': b'val1', b'num': 0}, {b'key': b'val2', b'num': -7}, {b'key': b'val3', b'num': -7}], b'metadata': {b'type': b'test', b'version': 1}}} +# b'd6:countsli0ei-7ei-7ei0ee5:itemsl9:structure4:test5:bytesee' +# b'd4:datald3:key4:val13:numi0eed3:key4:val23:numi-7eed3:key4:val33:numi-7eee8:metadatad4:type4:test7:versioni1eee' +# b'l9:structure4:test5:bytese' +# [b'structure', b'test', b'bytes'] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'string' +# --b = 'hello' +# --c = 'encode' +# --d = -255 +# --e = 999999 +# Output: +# b'd8:section1d6:countsli-255ei999999ei999744ei-254999745ee5:itemsl6:string5:hello6:encodeee8:section2d4:datald3:key4:val13:numi-255eed3:key4:val23:numi999999eed3:key4:val33:numi999744eee8:metadatad4:type4:test7:versioni1eeee' +# {b'section1': {b'counts': [-255, 999999, 999744, -254999745], b'items': [b'string', b'hello', b'encode']}, b'section2': {b'data': [{b'key': b'val1', b'num': -255}, {b'key': b'val2', b'num': 999999}, {b'key': b'val3', b'num': 999744}], b'metadata': {b'type': b'test', b'version': 1}}} +# b'd6:countsli-255ei999999ei999744ei-254999745ee5:itemsl6:string5:hello6:encodeee' +# b'd4:datald3:key4:val13:numi-255eed3:key4:val23:numi999999eed3:key4:val33:numi999744eee8:metadatad4:type4:test7:versioni1eee' +# b'l6:string5:hello6:encodee' +# [b'string', b'hello', b'encode'] +# Return Code: 0 diff --git a/bencoder/test16_executable.zip b/bencoder/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e17949bbe480966d7878cd05475a3ce599ce3f93 --- /dev/null +++ b/bencoder/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e7542b93d00a885c321fd67917c5dda0bb7ed835dcdb58a22e4fe50906dbba4 +size 9407516 diff --git a/bencoder/test17.py b/bencoder/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..60d630b493046f9b6d3c767e24daebb052414e8e --- /dev/null +++ b/bencoder/test17.py @@ -0,0 +1,129 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +edge_cases = [ + args.a, # integer + -args.a, # negative integer + 0, # zero + args.b.encode('ascii'), # string + b'', # empty bytes + [], # empty list + {}, # empty dict + [args.a, args.b.encode('ascii')], # mixed list + {b'key': args.b.encode('ascii'), b'num': args.a} # dict with data +] + +for case in edge_cases: + encoded = bencoder.encode(case) # Encode each edge case + decoded = bencoder.decode(encoded) # Decode each edge case + print(encoded) + print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -255 +# --b = 'bytes' +# Output: +# b'i-255e' +# -255 +# b'i255e' +# 255 +# b'i0e' +# 0 +# b'5:bytes' +# b'bytes' +# b'0:' +# b'' +# b'le' +# [] +# b'de' +# {} +# b'li-255e5:bytese' +# [-255, b'bytes'] +# b'd3:key5:bytes3:numi-255ee' +# {b'key': b'bytes', b'num': -255} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -42 +# --b = 'ascii' +# Output: +# b'i-42e' +# -42 +# b'i42e' +# 42 +# b'i0e' +# 0 +# b'5:ascii' +# b'ascii' +# b'0:' +# b'' +# b'le' +# [] +# b'de' +# {} +# b'li-42e5:asciie' +# [-42, b'ascii'] +# b'd3:key5:ascii3:numi-42ee' +# {b'key': b'ascii', b'num': -42} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 1000 +# --b = 'data' +# Output: +# b'i1000e' +# 1000 +# b'i-1000e' +# -1000 +# b'i0e' +# 0 +# b'4:data' +# b'data' +# b'0:' +# b'' +# b'le' +# [] +# b'de' +# {} +# b'li1000e4:datae' +# [1000, b'data'] +# b'd3:key4:data3:numi1000ee' +# {b'key': b'data', b'num': 1000} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 42 +# --b = 'structure' +# Output: +# b'i42e' +# 42 +# b'i-42e' +# -42 +# b'i0e' +# 0 +# b'9:structure' +# b'structure' +# b'0:' +# b'' +# b'le' +# [] +# b'de' +# {} +# b'li42e9:structuree' +# [42, b'structure'] +# b'd3:key9:structure3:numi42ee' +# {b'key': b'structure', b'num': 42} +# Return Code: 0 diff --git a/bencoder/test17_executable.zip b/bencoder/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e9d911bc9d44c48c02d6e211f2a5a6c3b2a31b08 --- /dev/null +++ b/bencoder/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9f726540b35a98dee8ffb9af8fdeec3ec777707838b2b0efd8e386c6dd79780 +size 9408468 diff --git a/bencoder/test18.py b/bencoder/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..c2fc184cb9059c54c49abd565d3f1434d28a95c6 --- /dev/null +++ b/bencoder/test18.py @@ -0,0 +1,99 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +# Create complex recursive-like structure +base = {b'data': args.a.encode('ascii'), b'count': args.b} +level1 = {b'parent': base, b'child': {b'value': args.c.encode('ascii')}} +level2 = {b'ancestor': level1, b'sibling': args.d} + +# Multiple encoding/decoding operations +encoded_level2 = bencoder.encode(level2) # Encode level2 +decoded_level2 = bencoder.decode(encoded_level2) # Decode level2 +encoded_base = bencoder.encode(base) # Encode base +decoded_base = bencoder.decode(encoded_base) # Decode base +encoded_level1 = bencoder.encode(level1) # Encode level1 +decoded_level1 = bencoder.decode(encoded_level1) # Decode level1 +re_encoded_level2 = bencoder.encode(decoded_level2) # Re-encode decoded level2 + +print(encoded_level2) +print(decoded_level2) +print(encoded_base) +print(decoded_base) +print(encoded_level1) +print(decoded_level1) +print(re_encoded_level2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'bytes' +# --b = -7 +# --c = 'string' +# --d = 42 +# Output: +# b'd8:ancestord5:childd5:value6:stringe6:parentd5:counti-7e4:data5:bytesee7:siblingi42ee' +# {b'ancestor': {b'child': {b'value': b'string'}, b'parent': {b'count': -7, b'data': b'bytes'}}, b'sibling': 42} +# b'd5:counti-7e4:data5:bytese' +# {b'count': -7, b'data': b'bytes'} +# b'd5:childd5:value6:stringe6:parentd5:counti-7e4:data5:bytesee' +# {b'child': {b'value': b'string'}, b'parent': {b'count': -7, b'data': b'bytes'}} +# b'd8:ancestord5:childd5:value6:stringe6:parentd5:counti-7e4:data5:bytesee7:siblingi42ee' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'structure' +# --b = -123456 +# --c = 'bytes' +# --d = 100 +# Output: +# b'd8:ancestord5:childd5:value5:bytese6:parentd5:counti-123456e4:data9:structureee7:siblingi100ee' +# {b'ancestor': {b'child': {b'value': b'bytes'}, b'parent': {b'count': -123456, b'data': b'structure'}}, b'sibling': 100} +# b'd5:counti-123456e4:data9:structuree' +# {b'count': -123456, b'data': b'structure'} +# b'd5:childd5:value5:bytese6:parentd5:counti-123456e4:data9:structureee' +# {b'child': {b'value': b'bytes'}, b'parent': {b'count': -123456, b'data': b'structure'}} +# b'd8:ancestord5:childd5:value5:bytese6:parentd5:counti-123456e4:data9:structureee7:siblingi100ee' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'nested' +# --b = 123456 +# --c = 'number' +# --d = 10 +# Output: +# b'd8:ancestord5:childd5:value6:numbere6:parentd5:counti123456e4:data6:nestedee7:siblingi10ee' +# {b'ancestor': {b'child': {b'value': b'number'}, b'parent': {b'count': 123456, b'data': b'nested'}}, b'sibling': 10} +# b'd5:counti123456e4:data6:nestede' +# {b'count': 123456, b'data': b'nested'} +# b'd5:childd5:value6:numbere6:parentd5:counti123456e4:data6:nestedee' +# {b'child': {b'value': b'number'}, b'parent': {b'count': 123456, b'data': b'nested'}} +# b'd8:ancestord5:childd5:value6:numbere6:parentd5:counti123456e4:data6:nestedee7:siblingi10ee' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'multiple' +# --b = 42 +# --c = 'list' +# --d = -255 +# Output: +# b'd8:ancestord5:childd5:value4:liste6:parentd5:counti42e4:data8:multipleee7:siblingi-255ee' +# {b'ancestor': {b'child': {b'value': b'list'}, b'parent': {b'count': 42, b'data': b'multiple'}}, b'sibling': -255} +# b'd5:counti42e4:data8:multiplee' +# {b'count': 42, b'data': b'multiple'} +# b'd5:childd5:value4:liste6:parentd5:counti42e4:data8:multipleee' +# {b'child': {b'value': b'list'}, b'parent': {b'count': 42, b'data': b'multiple'}} +# b'd8:ancestord5:childd5:value4:liste6:parentd5:counti42e4:data8:multipleee7:siblingi-255ee' +# Return Code: 0 diff --git a/bencoder/test18_executable.zip b/bencoder/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2ccc7a08135941b2a189d87ebd1e51ea23446a6e --- /dev/null +++ b/bencoder/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5100ca2e5ede7a69c3ff6657d55ad3cf4ca09a7bd4eefc4f06fdea743724f8bc +size 9407302 diff --git a/bencoder/test19.py b/bencoder/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..3d4d4062b9021584f9bede8af76cb88098223ab8 --- /dev/null +++ b/bencoder/test19.py @@ -0,0 +1,112 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +# Create multiple data structures +data1 = [args.b, args.b * 2, args.b * 3] +data2 = {b'str1': args.a.encode('ascii'), b'str2': args.c.encode('ascii'), b'str3': args.d.encode('ascii')} +data3 = [[args.e], [args.e, args.e], [args.e, args.e, args.e]] +data4 = {b'nested': data2, b'numbers': data1, b'lists': data3} + +# Perform multiple encoding/decoding operations +encoded1 = bencoder.encode(data1) # Encode data1 +encoded2 = bencoder.encode(data2) # Encode data2 +encoded3 = bencoder.encode(data3) # Encode data3 +encoded4 = bencoder.encode(data4) # Encode data4 + +decoded1 = bencoder.decode(encoded1) # Decode data1 +decoded2 = bencoder.decode(encoded2) # Decode data2 +decoded3 = bencoder.decode(encoded3) # Decode data3 +decoded4 = bencoder.decode(encoded4) # Decode data4 + +print(encoded1) +print(encoded2) +print(encoded3) +print(encoded4) +print(decoded1) +print(decoded2) +print(decoded3) +print(decoded4) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'encode' +# --b = 10 +# --c = 'encode' +# --d = 'utf8' +# --e = -999999 +# Output: +# b'li10ei20ei30ee' +# b'd4:str16:encode4:str26:encode4:str34:utf8e' +# b'lli-999999eeli-999999ei-999999eeli-999999ei-999999ei-999999eee' +# b'd5:listslli-999999eeli-999999ei-999999eeli-999999ei-999999ei-999999eee6:nestedd4:str16:encode4:str26:encode4:str34:utf8e7:numbersli10ei20ei30eee' +# [10, 20, 30] +# {b'str1': b'encode', b'str2': b'encode', b'str3': b'utf8'} +# [[-999999], [-999999, -999999], [-999999, -999999, -999999]] +# {b'lists': [[-999999], [-999999, -999999], [-999999, -999999, -999999]], b'nested': {b'str1': b'encode', b'str2': b'encode', b'str3': b'utf8'}, b'numbers': [10, 20, 30]} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'python' +# --b = -999999 +# --c = 'test' +# --d = 'nested' +# --e = -123456 +# Output: +# b'li-999999ei-1999998ei-2999997ee' +# b'd4:str16:python4:str24:test4:str36:nestede' +# b'lli-123456eeli-123456ei-123456eeli-123456ei-123456ei-123456eee' +# b'd5:listslli-123456eeli-123456ei-123456eeli-123456ei-123456ei-123456eee6:nestedd4:str16:python4:str24:test4:str36:nestede7:numbersli-999999ei-1999998ei-2999997eee' +# [-999999, -1999998, -2999997] +# {b'str1': b'python', b'str2': b'test', b'str3': b'nested'} +# [[-123456], [-123456, -123456], [-123456, -123456, -123456]] +# {b'lists': [[-123456], [-123456, -123456], [-123456, -123456, -123456]], b'nested': {b'str1': b'python', b'str2': b'test', b'str3': b'nested'}, b'numbers': [-999999, -1999998, -2999997]} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'python' +# --b = 999999 +# --c = 'value' +# --d = 'example' +# --e = 10 +# Output: +# b'li999999ei1999998ei2999997ee' +# b'd4:str16:python4:str25:value4:str37:examplee' +# b'lli10eeli10ei10eeli10ei10ei10eee' +# b'd5:listslli10eeli10ei10eeli10ei10ei10eee6:nestedd4:str16:python4:str25:value4:str37:examplee7:numbersli999999ei1999998ei2999997eee' +# [999999, 1999998, 2999997] +# {b'str1': b'python', b'str2': b'value', b'str3': b'example'} +# [[10], [10, 10], [10, 10, 10]] +# {b'lists': [[10], [10, 10], [10, 10, 10]], b'nested': {b'str1': b'python', b'str2': b'value', b'str3': b'example'}, b'numbers': [999999, 1999998, 2999997]} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'string' +# --b = -255 +# --c = 'value' +# --d = 'nested' +# --e = -255 +# Output: +# b'li-255ei-510ei-765ee' +# b'd4:str16:string4:str25:value4:str36:nestede' +# b'lli-255eeli-255ei-255eeli-255ei-255ei-255eee' +# b'd5:listslli-255eeli-255ei-255eeli-255ei-255ei-255eee6:nestedd4:str16:string4:str25:value4:str36:nestede7:numbersli-255ei-510ei-765eee' +# [-255, -510, -765] +# {b'str1': b'string', b'str2': b'value', b'str3': b'nested'} +# [[-255], [-255, -255], [-255, -255, -255]] +# {b'lists': [[-255], [-255, -255], [-255, -255, -255]], b'nested': {b'str1': b'string', b'str2': b'value', b'str3': b'nested'}, b'numbers': [-255, -510, -765]} +# Return Code: 0 diff --git a/bencoder/test19_executable.zip b/bencoder/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1090ae86160554d058eaefeac451ccb8a0d7c3d4 --- /dev/null +++ b/bencoder/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39a214c5a89d9ccee4a77d265ff4936a621dd6e2cbd244c71d8cca1eef5abcef +size 9408416 diff --git a/bencoder/test1_executable.zip b/bencoder/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6c48c9c2df8044034a50f3b3eee2be7244574025 --- /dev/null +++ b/bencoder/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:498d2dc250c260243cf4c26711162bcabfcf4ac247d9c484b9c7683d5436991d +size 9404599 diff --git a/bencoder/test2.py b/bencoder/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..8fb0ddc157710d29e0fd543b7bd3af932fc590cd --- /dev/null +++ b/bencoder/test2.py @@ -0,0 +1,41 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = bencoder.encode(args.a.encode('ascii')) # Encode string as bytes +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'list' +# Output: +# b'4:list' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'encode' +# Output: +# b'6:encode' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'number' +# Output: +# b'6:number' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'number' +# Output: +# b'6:number' +# Return Code: 0 diff --git a/bencoder/test2_executable.zip b/bencoder/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d3cd643b150cfc4cf92290278105346ef9bec5c5 --- /dev/null +++ b/bencoder/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c44f90b1956121a43b1549adb9cea8dfad2cf98ebea59165049564e2728097f4 +size 9406895 diff --git a/bencoder/test3.py b/bencoder/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..1de68cfa764128c32120eda678f95eb47c52efbf --- /dev/null +++ b/bencoder/test3.py @@ -0,0 +1,41 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = bencoder.decode(args.a.encode('ascii')) # Decode bencoded integer +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'i9058e' +# Output: +# 9058 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'i457e' +# Output: +# 457 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'i9624e' +# Output: +# 9624 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'i-3903e' +# Output: +# -3903 +# Return Code: 0 diff --git a/bencoder/test3_executable.zip b/bencoder/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..21a3b7f5d6d62dc5488a0b2b3d2f1d41dcd83db1 --- /dev/null +++ b/bencoder/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9249a19d8ee00754d2e176325bab64fb1bd5bbb0117258e3c9692b6dd28c651a +size 9406368 diff --git a/bencoder/test4.py b/bencoder/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..8367ed1a29dd828074e524f0b79ee2dd463b79d0 --- /dev/null +++ b/bencoder/test4.py @@ -0,0 +1,41 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = bencoder.decode(args.a.encode('ascii')) # Decode bencoded string +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '9:value' +# Output: +# b'value' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '6:mu' +# Output: +# b'mu' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '10:deco' +# Output: +# b'deco' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '4:dict' +# Output: +# b'dict' +# Return Code: 0 diff --git a/bencoder/test4_executable.zip b/bencoder/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..25860254a1b3ca623874a1f0f142ff152bcec896 --- /dev/null +++ b/bencoder/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1853175d84cd063e59007245e11df35decb45d9a2e1e3d8ffbabff84dbd3cca8 +size 9405439 diff --git a/bencoder/test5.py b/bencoder/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..de4935e2144db996ac28a844c2a4d265123536fb --- /dev/null +++ b/bencoder/test5.py @@ -0,0 +1,47 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +list_data = [args.a.encode('ascii'), args.b] +encoded = bencoder.encode(list_data) # Encode list +print(encoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'encode' +# --b = -42 +# Output: +# b'l6:encodei-42ee' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'value' +# --b = 42 +# Output: +# b'l5:valuei42ee' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'dict' +# --b = 999999 +# Output: +# b'l4:dicti999999ee' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'random' +# --b = -1000 +# Output: +# b'l6:randomi-1000ee' +# Return Code: 0 diff --git a/bencoder/test5_executable.zip b/bencoder/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fd3dab6f11bd97b2b9fd7856600133360b66fa4f --- /dev/null +++ b/bencoder/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d308a4d92873959d21024826aeab825f5ce593bdaf73bcafe1a1d72910ea4c5a +size 9406385 diff --git a/bencoder/test6.py b/bencoder/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..4f33c99886dde8eb8800424a38f59a0fa1f9856b --- /dev/null +++ b/bencoder/test6.py @@ -0,0 +1,53 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +list_data = [args.a.encode('ascii'), args.b, [args.b]] +encoded = bencoder.encode(list_data) # Encode nested list +decoded = bencoder.decode(encoded) # Decode the encoded data +print(encoded) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'utf8' +# --b = 65535 +# Output: +# b'l4:utf8i65535eli65535eee' +# [b'utf8', 65535, [65535]] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'decode' +# --b = -7 +# Output: +# b'l6:decodei-7eli-7eee' +# [b'decode', -7, [-7]] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'dict' +# --b = 1000 +# Output: +# b'l4:dicti1000eli1000eee' +# [b'dict', 1000, [1000]] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'dict' +# --b = -1000 +# Output: +# b'l4:dicti-1000eli-1000eee' +# [b'dict', -1000, [-1000]] +# Return Code: 0 diff --git a/bencoder/test6_executable.zip b/bencoder/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..9400f082e29909b56d981823c4f1a608d21f1eba --- /dev/null +++ b/bencoder/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bd5158f4f2df0b5b086748d942b1ccfc20da8c634804b82ac7b28a9eb4dccb4 +size 9404397 diff --git a/bencoder/test7.py b/bencoder/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..12102e35e95989e7758c0366b574154608402c0c --- /dev/null +++ b/bencoder/test7.py @@ -0,0 +1,62 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +dict_data = { + b'key1': args.a.encode('ascii'), + b'key2': args.b, + b'key3': args.c.encode('ascii') +} +encoded = bencoder.encode(dict_data) # Encode dictionary +decoded = bencoder.decode(encoded) # Decode the encoded dictionary +print(encoded) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'dict' +# --b = -999999 +# --c = 'complex' +# Output: +# b'd4:key14:dict4:key2i-999999e4:key37:complexe' +# {b'key1': b'dict', b'key2': -999999, b'key3': b'complex'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'python' +# --b = 1 +# --c = 'structure' +# Output: +# b'd4:key16:python4:key2i1e4:key39:structuree' +# {b'key1': b'python', b'key2': 1, b'key3': b'structure'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'example' +# --b = -42 +# --c = 'number' +# Output: +# b'd4:key17:example4:key2i-42e4:key36:numbere' +# {b'key1': b'example', b'key2': -42, b'key3': b'number'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'complex' +# --b = 0 +# --c = 'bytes' +# Output: +# b'd4:key17:complex4:key2i0e4:key35:bytese' +# {b'key1': b'complex', b'key2': 0, b'key3': b'bytes'} +# Return Code: 0 diff --git a/bencoder/test7_executable.zip b/bencoder/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b204509caea0ac2367ea43abddc88cf6d6b78e97 --- /dev/null +++ b/bencoder/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e19957f5418af24ee843d03fa7b8fbfb4ba61226c61ae8c619d8456aa3f2ba41 +size 9406530 diff --git a/bencoder/test8.py b/bencoder/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..560eaf6803c95d20808ffef13ca33de76ec65a4c --- /dev/null +++ b/bencoder/test8.py @@ -0,0 +1,64 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +encoded1 = bencoder.encode(args.a.encode('ascii')) # Encode first string +encoded2 = bencoder.encode(args.b.encode('ascii')) # Encode second string +decoded1 = bencoder.decode(encoded1) # Decode first string +decoded2 = bencoder.decode(encoded2) # Decode second string +print(encoded1) +print(encoded2) +print(decoded1) +print(decoded2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'bytes' +# --b = 'python' +# Output: +# b'5:bytes' +# b'6:python' +# b'bytes' +# b'python' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'random' +# --b = 'world' +# Output: +# b'6:random' +# b'5:world' +# b'random' +# b'world' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'number' +# --b = 'encode' +# Output: +# b'6:number' +# b'6:encode' +# b'number' +# b'encode' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'string' +# --b = 'bytes' +# Output: +# b'6:string' +# b'5:bytes' +# b'string' +# b'bytes' +# Return Code: 0 diff --git a/bencoder/test8_executable.zip b/bencoder/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..52b5542664f0b99effa93bcb17c8d1b3b40bf4f8 --- /dev/null +++ b/bencoder/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ae782682b29b7df33d93d9261cbffa76c8382050379e7a24f1c46429db2bf25 +size 9406624 diff --git a/bencoder/test9.py b/bencoder/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..479996ecad4fb59ada0de7cf6da55ce22a54c6d8 --- /dev/null +++ b/bencoder/test9.py @@ -0,0 +1,63 @@ +import argparse +import bencoder + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +mixed_data = [ + args.a, + args.b.encode('ascii'), + [args.c, args.b.encode('ascii')], + {b'num': args.a, b'str': args.b.encode('ascii')} +] +encoded = bencoder.encode(mixed_data) # Encode mixed data types +decoded = bencoder.decode(encoded) # Decode mixed data +print(encoded) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -10 +# --b = 'hello' +# --c = -7 +# Output: +# b'li-10e5:helloli-7e5:helloed3:numi-10e3:str5:helloee' +# [-10, b'hello', [-7, b'hello'], {b'num': -10, b'str': b'hello'}] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -1000 +# --b = 'data' +# --c = 0 +# Output: +# b'li-1000e4:datali0e4:dataed3:numi-1000e3:str4:dataee' +# [-1000, b'data', [0, b'data'], {b'num': -1000, b'str': b'data'}] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 10 +# --b = 'value' +# --c = 0 +# Output: +# b'li10e5:valueli0e5:valueed3:numi10e3:str5:valueee' +# [10, b'value', [0, b'value'], {b'num': 10, b'str': b'value'}] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -999999 +# --b = 'string' +# --c = -123456 +# Output: +# b'li-999999e6:stringli-123456e6:stringed3:numi-999999e3:str6:stringee' +# [-999999, b'string', [-123456, b'string'], {b'num': -999999, b'str': b'string'}] +# Return Code: 0 diff --git a/bencoder/test9_executable.zip b/bencoder/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fc721446c50a55d7d22a303ccd8ead250ae4c899 --- /dev/null +++ b/bencoder/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51030ab666bf9f6832296538e27a4fadf1ef9da0056e782b07e261694c773d2a +size 9407965 diff --git a/bidict/__pycache__/test19.cpython-310.pyc b/bidict/__pycache__/test19.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fe4e6b1fd2601e4d83415311772212a6d1dd248b Binary files /dev/null and b/bidict/__pycache__/test19.cpython-310.pyc differ diff --git a/bidict/__pycache__/test20.cpython-310.pyc b/bidict/__pycache__/test20.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fa390d4ad91da01a8673caec53c10bb602287202 Binary files /dev/null and b/bidict/__pycache__/test20.cpython-310.pyc differ diff --git a/bidict/__pycache__/test20.cpython-312.pyc b/bidict/__pycache__/test20.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cf7d0a0b1a490a0dc4466456c9caedff40e7951e Binary files /dev/null and b/bidict/__pycache__/test20.cpython-312.pyc differ diff --git a/bidict/test1.py b/bidict/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..915356db53c42d29b7a518c050824bd2517ae1af --- /dev/null +++ b/bidict/test1.py @@ -0,0 +1,42 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +# 创建双向字典 +b = bidict(eval(args.d)) +print(b) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --d = "{'l': 49, 'p': 46}" +# Output: +# bidict({'l': 49, 'p': 46}) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --d = "{'t': 6}" +# Output: +# bidict({'t': 6}) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --d = "{'v': 44, 'n': 85}" +# Output: +# bidict({'v': 44, 'n': 85}) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --d = "{'x': 9, 'v': 25}" +# Output: +# bidict({'x': 9, 'v': 25}) +# Return Code: 0 diff --git a/bidict/test10.py b/bidict/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..81b16a1d473013d9b7113523ba9ee6c7adea11fa --- /dev/null +++ b/bidict/test10.py @@ -0,0 +1,82 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +# 链式操作:创建、更新、访问、反转 +b = bidict({args.a: args.b}) +b[args.c] = args.d +print(b) + +# 通过两个不同的键访问 +print(b[args.a]) +print(b[args.c]) + +# 通过值访问 +print(b.inv[args.b]) +print(b.inv[args.d]) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'z' +# --b = 60 +# --c = 'k' +# --d = 62 +# Output: +# bidict({'z': 60, 'k': 62}) +# 60 +# 62 +# z +# k +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'm' +# --b = 34 +# --c = 'g' +# --d = 90 +# Output: +# bidict({'m': 34, 'g': 90}) +# 34 +# 90 +# m +# g +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'v' +# --b = 37 +# --c = 'g' +# --d = 69 +# Output: +# bidict({'v': 37, 'g': 69}) +# 37 +# 69 +# v +# g +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'c' +# --b = 27 +# --c = 'e' +# --d = 38 +# Output: +# bidict({'c': 27, 'e': 38}) +# 27 +# 38 +# c +# e +# Return Code: 0 diff --git a/bidict/test10_executable.zip b/bidict/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1482b1196d6e522e51fd78353797c225aab2ed76 --- /dev/null +++ b/bidict/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5644e8e9261277038c97165712f3cf69b6f284cff744db11b2f68e3dd46b92b4 +size 7383635 diff --git a/bidict/test11.py b/bidict/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..adbc053ddb551d03d4f38bc984569c6bc4d40f02 --- /dev/null +++ b/bidict/test11.py @@ -0,0 +1,52 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k', type=str, required=True) +parser.add_argument('--v', type=int, required=True) +args = parser.parse_args() + +# 测试值重复异常 +b = bidict() +b[args.k] = args.v +try: + b['other'] = args.v # 这会抛出异常,因为值重复 +except Exception: + pass # 忽略异常 +print(b) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k = 'k' +# --v = 96 +# Output: +# bidict({'k': 96}) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k = 'b' +# --v = 5 +# Output: +# bidict({'b': 5}) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k = 't' +# --v = 7 +# Output: +# bidict({'t': 7}) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k = 'o' +# --v = 51 +# Output: +# bidict({'o': 51}) +# Return Code: 0 diff --git a/bidict/test11_executable.zip b/bidict/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c33bba620e80d78ab599058daaf518172dfedf83 --- /dev/null +++ b/bidict/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cbc56786ad6d0fbe5109b0294add00344f8f88be8d245dbe8820b8b44b1d196 +size 7383692 diff --git a/bidict/test12.py b/bidict/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..fc6fb45cd3581af330e92a23f3a972c9fe5c2575 --- /dev/null +++ b/bidict/test12.py @@ -0,0 +1,66 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--key', type=str, required=True) +parser.add_argument('--default', type=int, required=True) +parser.add_argument('--update_key', type=str, required=True) +parser.add_argument('--update_val', type=int, required=True) +args = parser.parse_args() + +# 使用get方法提供默认值 +b = bidict({'a': 1, 'b': 2}) +result = b.get(args.key, args.default) +print(result) + +# 更新字典 +b[args.update_key] = args.update_val +print(b[args.update_key]) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'v' +# --default = 4 +# --update_key = 'j' +# --update_val = 96 +# Output: +# 4 +# 96 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = 'w' +# --default = 22 +# --update_key = 'j' +# --update_val = 76 +# Output: +# 22 +# 76 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = 'd' +# --default = 34 +# --update_key = 'x' +# --update_val = 88 +# Output: +# 34 +# 88 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = 'a' +# --default = 32 +# --update_key = 'a' +# --update_val = 94 +# Output: +# 1 +# 94 +# Return Code: 0 diff --git a/bidict/test12_executable.zip b/bidict/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..449479ab55c59faa5dcff57e10d79f19b8d51066 --- /dev/null +++ b/bidict/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd4bd3d13be1c0655083c010a111359535df0fa76d99a514313a1f14e9d570ed +size 7384186 diff --git a/bidict/test13.py b/bidict/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..bbdd5682e9566a4974c64172d9306fc9c207adca --- /dev/null +++ b/bidict/test13.py @@ -0,0 +1,113 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v2', type=int, required=True) +parser.add_argument('--k3', type=str, required=True) +parser.add_argument('--v3', type=int, required=True) +parser.add_argument('--k4', type=str, required=True) +parser.add_argument('--v4', type=int, required=True) +args = parser.parse_args() + +# 综合测试:创建、更新、使用释放的值、访问 +b = bidict() +b[args.k1] = args.v1 +b[args.k2] = args.v2 +print(b) + +# 更新k1和k2的值,释放v1和v2 +b[args.k1] = args.v3 +b[args.k2] = args.v4 +print(b) + +# 通过键和值访问 +print(b[args.k1]) +print(b.inv[args.v3]) +print(b.inv[args.v4]) + +# 使用被释放的v1作为新键的值 +b[args.k3] = args.v1 +print(b) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'u' +# --v1 = 40 +# --k2 = 'k' +# --v2 = 58 +# --k3 = 'z' +# --v3 = 8 +# --k4 = 't' +# --v4 = 17 +# Output: +# bidict({'u': 40, 'k': 58}) +# bidict({'u': 8, 'k': 17}) +# 8 +# u +# k +# bidict({'u': 8, 'k': 17, 'z': 40}) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'f' +# --v1 = 90 +# --k2 = 'g' +# --v2 = 32 +# --k3 = 's' +# --v3 = 21 +# --k4 = 'd' +# --v4 = 30 +# Output: +# bidict({'f': 90, 'g': 32}) +# bidict({'f': 21, 'g': 30}) +# 21 +# f +# g +# bidict({'f': 21, 'g': 30, 's': 90}) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'h' +# --v1 = 60 +# --k2 = 'k' +# --v2 = 30 +# --k3 = 'j' +# --v3 = 93 +# --k4 = 'w' +# --v4 = 65 +# Output: +# bidict({'h': 60, 'k': 30}) +# bidict({'h': 93, 'k': 65}) +# 93 +# h +# k +# bidict({'h': 93, 'k': 65, 'j': 60}) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'm' +# --v1 = 92 +# --k2 = 'd' +# --v2 = 91 +# --k3 = 'w' +# --v3 = 44 +# --k4 = 'e' +# --v4 = 96 +# Output: +# bidict({'m': 92, 'd': 91}) +# bidict({'m': 44, 'd': 96}) +# 44 +# m +# d +# bidict({'m': 44, 'd': 96, 'w': 92}) +# Return Code: 0 diff --git a/bidict/test13_executable.zip b/bidict/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1b6c21134c1f1038bac551884ba2ecbfd535d3c7 --- /dev/null +++ b/bidict/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1c9d84a453e239d8d874ca66a846727eb802db562ec8276840af33489a9c35d +size 7383592 diff --git a/bidict/test14.py b/bidict/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..cc403ddb6431fc724612ea573e3fab55f0a04e18 --- /dev/null +++ b/bidict/test14.py @@ -0,0 +1,76 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--val1', type=int, required=True) +parser.add_argument('--val2', type=int, required=True) +parser.add_argument('--key', type=str, required=True) +args = parser.parse_args() + +# 创建空bidict然后添加 +b = bidict() +b['x'] = args.val1 +b['y'] = args.val2 +print(b) + +# 通过值访问键 +key1 = b.inv[args.val1] +key2 = b.inv[args.val2] +print(key1) +print(key2) + +# 添加一个新键值对 +b[args.key] = 100 +print(b) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --val1 = 71 +# --val2 = 14 +# --key = 'j' +# Output: +# bidict({'x': 71, 'y': 14}) +# x +# y +# bidict({'x': 71, 'y': 14, 'j': 100}) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --val1 = 51 +# --val2 = 14 +# --key = 'c' +# Output: +# bidict({'x': 51, 'y': 14}) +# x +# y +# bidict({'x': 51, 'y': 14, 'c': 100}) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --val1 = 8 +# --val2 = 59 +# --key = 'z' +# Output: +# bidict({'x': 8, 'y': 59}) +# x +# y +# bidict({'x': 8, 'y': 59, 'z': 100}) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --val1 = 45 +# --val2 = 8 +# --key = 'o' +# Output: +# bidict({'x': 45, 'y': 8}) +# x +# y +# bidict({'x': 45, 'y': 8, 'o': 100}) +# Return Code: 0 diff --git a/bidict/test14_executable.zip b/bidict/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d33201ca1e71a3e42ff5fbfe773a11cb45ac25e8 --- /dev/null +++ b/bidict/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7af81d5334a971638746a36cddafc2eaab0ea1ec4baa7b8622a1ea40e9643a1a +size 7383413 diff --git a/bidict/test15.py b/bidict/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..bd62f141221a7d649b01ebf5d14a6b659ec3421b --- /dev/null +++ b/bidict/test15.py @@ -0,0 +1,81 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v2', type=int, required=True) +parser.add_argument('--k3', type=str, required=True) +args = parser.parse_args() + +# 使用pop方法移除并返回值 +b = bidict({args.k1: args.v1, args.k2: args.v2, 'c': 3}) +val = b.pop(args.k3, 0) # 如果键不存在返回0 +print(val) +print(b) + +# 再次pop另一个键 +val2 = b.pop(args.k1) +print(val2) +print(b) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'h' +# --v1 = 71 +# --k2 = 'y' +# --v2 = 34 +# --k3 = 'p' +# Output: +# 0 +# bidict({'h': 71, 'y': 34, 'c': 3}) +# 71 +# bidict({'y': 34, 'c': 3}) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 't' +# --v1 = 73 +# --k2 = 'p' +# --v2 = 35 +# --k3 = 'f' +# Output: +# 0 +# bidict({'t': 73, 'p': 35, 'c': 3}) +# 73 +# bidict({'p': 35, 'c': 3}) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'f' +# --v1 = 16 +# --k2 = 'h' +# --v2 = 64 +# --k3 = 'e' +# Output: +# 0 +# bidict({'f': 16, 'h': 64, 'c': 3}) +# 16 +# bidict({'h': 64, 'c': 3}) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'm' +# --v1 = 26 +# --k2 = 'z' +# --v2 = 31 +# --k3 = 'k' +# Output: +# 0 +# bidict({'m': 26, 'z': 31, 'c': 3}) +# 26 +# bidict({'z': 31, 'c': 3}) +# Return Code: 0 diff --git a/bidict/test15_executable.zip b/bidict/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..114822e7cd643247711dd5d7bd868fca60838ec0 --- /dev/null +++ b/bidict/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72d24839c9c70914242fdf803e0992731b3a30b186038b582f026a70d74f1ce7 +size 7384861 diff --git a/bidict/test16.py b/bidict/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..b898ab026fb526222d0c89d0b32f4cca25dfcf21 --- /dev/null +++ b/bidict/test16.py @@ -0,0 +1,87 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v2', type=int, required=True) +parser.add_argument('--k3', type=str, required=True) +parser.add_argument('--v3', type=int, required=True) +args = parser.parse_args() + +# 使用clear方法清空字典 +b = bidict({args.k1: args.v1, args.k2: args.v2}) +print(b) +b[args.k3] = args.v3 +print(b) +b.clear() +print(b) + +# 重新填充 +b['new'] = 100 +print(b) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'z' +# --v1 = 78 +# --k2 = 'k' +# --v2 = 1 +# --k3 = 's' +# --v3 = 44 +# Output: +# bidict({'z': 78, 'k': 1}) +# bidict({'z': 78, 'k': 1, 's': 44}) +# bidict() +# bidict({'new': 100}) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'y' +# --v1 = 91 +# --k2 = 'e' +# --v2 = 42 +# --k3 = 'd' +# --v3 = 27 +# Output: +# bidict({'y': 91, 'e': 42}) +# bidict({'y': 91, 'e': 42, 'd': 27}) +# bidict() +# bidict({'new': 100}) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'f' +# --v1 = 47 +# --k2 = 'm' +# --v2 = 16 +# --k3 = 'd' +# --v3 = 51 +# Output: +# bidict({'f': 47, 'm': 16}) +# bidict({'f': 47, 'm': 16, 'd': 51}) +# bidict() +# bidict({'new': 100}) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'v' +# --v1 = 11 +# --k2 = 'p' +# --v2 = 12 +# --k3 = 'u' +# --v3 = 21 +# Output: +# bidict({'v': 11, 'p': 12}) +# bidict({'v': 11, 'p': 12, 'u': 21}) +# bidict() +# bidict({'new': 100}) +# Return Code: 0 diff --git a/bidict/test16_executable.zip b/bidict/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d34c8d4f38fe2bb70c7ca5c209107f5d39cfd2e5 --- /dev/null +++ b/bidict/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a8f90e3e1502d5e4a6bdacdd7a52346ee5d3246f9236d89be4190b922aaca12 +size 7384259 diff --git a/bidict/test17.py b/bidict/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..e636b32c1f38759f44ce4d3e115c9f0ccee546a2 --- /dev/null +++ b/bidict/test17.py @@ -0,0 +1,78 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--v2', type=int, required=True) +args = parser.parse_args() + +# 使用keys和values方法 +b = bidict({args.k1: args.v1, args.k2: args.v2}) +keys_list = list(b.keys()) +vals_list = list(b.values()) +print(keys_list) +print(vals_list) + +# 使用inverse的keys和values +inv_keys = list(b.inv.keys()) +inv_vals = list(b.inv.values()) +print(inv_keys) +print(inv_vals) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'j' +# --k2 = 'l' +# --v1 = 54 +# --v2 = 23 +# Output: +# ['j', 'l'] +# [54, 23] +# [54, 23] +# ['j', 'l'] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'z' +# --k2 = 'f' +# --v1 = 86 +# --v2 = 74 +# Output: +# ['z', 'f'] +# [86, 74] +# [86, 74] +# ['z', 'f'] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'g' +# --k2 = 'v' +# --v1 = 53 +# --v2 = 72 +# Output: +# ['g', 'v'] +# [53, 72] +# [53, 72] +# ['g', 'v'] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'p' +# --k2 = 'f' +# --v1 = 87 +# --v2 = 78 +# Output: +# ['p', 'f'] +# [87, 78] +# [87, 78] +# ['p', 'f'] +# Return Code: 0 diff --git a/bidict/test17_executable.zip b/bidict/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..158da59da34507f214e9cd63ce799742ac8da3b4 --- /dev/null +++ b/bidict/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5f349df3c48b0a975b4c7de51c8c9559c79563bb56f173f75e7c8b4eb9a9788 +size 7383557 diff --git a/bidict/test18.py b/bidict/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..5fe43d18fb1e16981259f7c3911ea7d14d9fd3d7 --- /dev/null +++ b/bidict/test18.py @@ -0,0 +1,84 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v2', type=int, required=True) +parser.add_argument('--k3', type=str, required=True) +parser.add_argument('--v3', type=int, required=True) +args = parser.parse_args() + +# 使用items方法 +b = bidict({args.k1: args.v1, args.k2: args.v2}) +items = list(b.items()) +print(items) + +# 使用inverse的items +inv_items = list(b.inv.items()) +print(inv_items) + +# 添加新元素并再次查看 +b[args.k3] = args.v3 +print(list(b.items())) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'x' +# --v1 = 31 +# --k2 = 'z' +# --v2 = 38 +# --k3 = 'p' +# --v3 = 74 +# Output: +# [('x', 31), ('z', 38)] +# [(31, 'x'), (38, 'z')] +# [('x', 31), ('z', 38), ('p', 74)] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'w' +# --v1 = 92 +# --k2 = 'm' +# --v2 = 24 +# --k3 = 'k' +# --v3 = 59 +# Output: +# [('w', 92), ('m', 24)] +# [(92, 'w'), (24, 'm')] +# [('w', 92), ('m', 24), ('k', 59)] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'w' +# --v1 = 91 +# --k2 = 'l' +# --v2 = 34 +# --k3 = 'b' +# --v3 = 68 +# Output: +# [('w', 91), ('l', 34)] +# [(91, 'w'), (34, 'l')] +# [('w', 91), ('l', 34), ('b', 68)] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'x' +# --v1 = 51 +# --k2 = 'w' +# --v2 = 49 +# --k3 = 's' +# --v3 = 28 +# Output: +# [('x', 51), ('w', 49)] +# [(51, 'x'), (49, 'w')] +# [('x', 51), ('w', 49), ('s', 28)] +# Return Code: 0 diff --git a/bidict/test18_executable.zip b/bidict/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..404ebed09503d097af6a02df9067764c4cd8970b --- /dev/null +++ b/bidict/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a685f3887d1ed19caa103a16abf92dc9b4132a4beea0db56a1deff5b31398a8 +size 7383900 diff --git a/bidict/test19.py b/bidict/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..4a7f0ae91989c93550518e9d7a5691e2a9006506 --- /dev/null +++ b/bidict/test19.py @@ -0,0 +1,79 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v2', type=int, required=True) +args = parser.parse_args() + +# 复制bidict +b1 = bidict({args.k1: args.v1, args.k2: args.v2}) +b2 = b1.copy() +print(b2) + +# 修改原字典不影响副本 +b1['new'] = 999 +print(b1) +print(b2) + +# 副本的反转操作 +result = b2.inv[args.v1] +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'e' +# --v1 = 23 +# --k2 = 's' +# --v2 = 2 +# Output: +# bidict({'e': 23, 's': 2}) +# bidict({'e': 23, 's': 2, 'new': 999}) +# bidict({'e': 23, 's': 2}) +# e +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'r' +# --v1 = 50 +# --k2 = 'k' +# --v2 = 5 +# Output: +# bidict({'r': 50, 'k': 5}) +# bidict({'r': 50, 'k': 5, 'new': 999}) +# bidict({'r': 50, 'k': 5}) +# r +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'v' +# --v1 = 70 +# --k2 = 'n' +# --v2 = 1 +# Output: +# bidict({'v': 70, 'n': 1}) +# bidict({'v': 70, 'n': 1, 'new': 999}) +# bidict({'v': 70, 'n': 1}) +# v +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'm' +# --v1 = 54 +# --k2 = 'z' +# --v2 = 47 +# Output: +# bidict({'m': 54, 'z': 47}) +# bidict({'m': 54, 'z': 47, 'new': 999}) +# bidict({'m': 54, 'z': 47}) +# m +# Return Code: 0 diff --git a/bidict/test19_executable.zip b/bidict/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..98f8fc4dde26a2201665ece09da8640eeaf327a6 --- /dev/null +++ b/bidict/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2dc8243ac9a5cbf92e34287d9710e469e0f0b74643179fe0d8f4381b3e36cff6 +size 7384870 diff --git a/bidict/test1_executable.zip b/bidict/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..387730051d7a00210ece41d7e8686b257f454d3f --- /dev/null +++ b/bidict/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a02f0eadf1843b2c8c105e1b437b9d5da054396da9f8f030a4506bba5951c3bc +size 7383349 diff --git a/bidict/test2.py b/bidict/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..18813a024bf961ae2bc3e08292174725d9bea0ba --- /dev/null +++ b/bidict/test2.py @@ -0,0 +1,48 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--key', type=str, required=True) +parser.add_argument('--val', type=str, required=True) +args = parser.parse_args() + +# 创建双向字典并访问值 +b = bidict({'a': 1, 'b': 2}) +result = b[args.key] +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'a' +# --val = 83 +# Output: +# 1 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = 'a' +# --val = 97 +# Output: +# 1 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = 'b' +# --val = 21 +# Output: +# 2 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = 'b' +# --val = 53 +# Output: +# 2 +# Return Code: 0 diff --git a/bidict/test20.py b/bidict/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..1724551205856dcaa838d80e00f4fd9aa12e3364 --- /dev/null +++ b/bidict/test20.py @@ -0,0 +1,145 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v2', type=int, required=True) +parser.add_argument('--k3', type=str, required=True) +parser.add_argument('--v3', type=int, required=True) +parser.add_argument('--k4', type=str, required=True) +parser.add_argument('--v4', type=int, required=True) +args = parser.parse_args() + +# 综合测试:创建、更新、反转、访问、删除 +b = bidict() +# 添加多个元素 +b[args.k1] = args.v1 +b[args.k2] = args.v2 +b[args.k3] = args.v3 +print(b) + +# 通过键访问 +val1 = b[args.k1] +val2 = b[args.k2] +print(val1) +print(val2) + +# 通过值访问键 +key_from_val1 = b.inv[args.v1] +key_from_val2 = b.inv[args.v2] +print(key_from_val1) +print(key_from_val2) + +# 更新一个键的值 +b[args.k1] = args.v4 +print(b) + +# 通过新值访问 +key_from_new_val = b.inv[args.v4] +print(key_from_new_val) + +# 删除一个键 +del b[args.k2] +print(b) + +# 再次访问剩余元素 +print(b[args.k3]) +print(b.inv[args.v3]) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'b' +# --v1 = 80 +# --k2 = 't' +# --v2 = 62 +# --k3 = 'c' +# --v3 = 72 +# --k4 = 'w' +# --v4 = 16 +# Output: +# bidict({'b': 80, 't': 62, 'c': 72}) +# 80 +# 62 +# b +# t +# bidict({'b': 16, 't': 62, 'c': 72}) +# b +# bidict({'b': 16, 'c': 72}) +# 72 +# c +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'q' +# --v1 = 57 +# --k2 = 'p' +# --v2 = 34 +# --k3 = 'm' +# --v3 = 11 +# --k4 = 'u' +# --v4 = 71 +# Output: +# bidict({'q': 57, 'p': 34, 'm': 11}) +# 57 +# 34 +# q +# p +# bidict({'q': 71, 'p': 34, 'm': 11}) +# q +# bidict({'q': 71, 'm': 11}) +# 11 +# m +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'r' +# --v1 = 77 +# --k2 = 'k' +# --v2 = 58 +# --k3 = 'n' +# --v3 = 31 +# --k4 = 'v' +# --v4 = 43 +# Output: +# bidict({'r': 77, 'k': 58, 'n': 31}) +# 77 +# 58 +# r +# k +# bidict({'r': 43, 'k': 58, 'n': 31}) +# r +# bidict({'r': 43, 'n': 31}) +# 31 +# n +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'i' +# --v1 = 44 +# --k2 = 'm' +# --v2 = 61 +# --k3 = 'c' +# --v3 = 55 +# --k4 = 'q' +# --v4 = 66 +# Output: +# bidict({'i': 44, 'm': 61, 'c': 55}) +# 44 +# 61 +# i +# m +# bidict({'i': 66, 'm': 61, 'c': 55}) +# i +# bidict({'i': 66, 'c': 55}) +# 55 +# c +# Return Code: 0 diff --git a/bidict/test20_executable.zip b/bidict/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..41706d2eecf9be0e98004bc140a05642d668662e --- /dev/null +++ b/bidict/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d00c205f6a61064da6973546b2d262bfcc0c91fa18877d0fdfeab7c99aede39 +size 7384528 diff --git a/bidict/test2_executable.zip b/bidict/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..252b9f9829f56c732578696859443429e1a53d84 --- /dev/null +++ b/bidict/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff55f77ae4c1163fe74bd6779a692dcafd8c26b5ef384aef739ea4b95a5ea04c +size 7382500 diff --git a/bidict/test3.py b/bidict/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..f2feea5c3ef6defa205b20d257d8fb461f1b37cf --- /dev/null +++ b/bidict/test3.py @@ -0,0 +1,57 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--val', type=int, required=True) +parser.add_argument('--key', type=str, required=True) +args = parser.parse_args() + +# 创建双向字典并通过值访问键(使用反转视图) +b = bidict({'a': 1, 'b': 2, 'c': 3}) +result = b.inv[args.val] +print(result) + +# 再次通过值访问另一个键 +b['d'] = 4 +result2 = b.inv[4] +print(result2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --val = 3 +# --key = 'h' +# Output: +# c +# d +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --val = 2 +# --key = 't' +# Output: +# b +# d +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --val = 2 +# --key = 'i' +# Output: +# b +# d +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --val = 2 +# --key = 'm' +# Output: +# b +# d +# Return Code: 0 diff --git a/bidict/test3_executable.zip b/bidict/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..468939ef0f5ce5a15f023b7bcf06d89258cc8c51 --- /dev/null +++ b/bidict/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e42e9af92e3ae3c630bd116bd4fb90dccc0225350ec5873da6c756c05cb18ee9 +size 7383993 diff --git a/bidict/test4.py b/bidict/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..08afbf7f6ce7c3ad9dad67f41d9029f76496fc57 --- /dev/null +++ b/bidict/test4.py @@ -0,0 +1,63 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v2', type=int, required=True) +args = parser.parse_args() + +# 创建双向字典并更新 +b = bidict({args.k1: args.v1}) +b[args.k2] = args.v2 +print(b) +print(b[args.k1]) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'w' +# --v1 = 85 +# --k2 = 'p' +# --v2 = 62 +# Output: +# bidict({'w': 85, 'p': 62}) +# 85 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'h' +# --v1 = 33 +# --k2 = 'j' +# --v2 = 15 +# Output: +# bidict({'h': 33, 'j': 15}) +# 33 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'd' +# --v1 = 48 +# --k2 = 'j' +# --v2 = 18 +# Output: +# bidict({'d': 48, 'j': 18}) +# 48 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'w' +# --v1 = 40 +# --k2 = 'g' +# --v2 = 61 +# Output: +# bidict({'w': 40, 'g': 61}) +# 40 +# Return Code: 0 diff --git a/bidict/test4_executable.zip b/bidict/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2322d95bba9861d8056aa9ff3a8af606ea0529a2 --- /dev/null +++ b/bidict/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4c4f667d5fbd5c4a91d950c2b0d880958ea1551934a44c57494f8d52f1b172c +size 7384141 diff --git a/bidict/test5.py b/bidict/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..473a893ccf62b9de6de7ebc2b9c940f33048b783 --- /dev/null +++ b/bidict/test5.py @@ -0,0 +1,61 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +args = parser.parse_args() + +# 创建双向字典并删除键 +b = bidict({args.k1: args.v1, 'b': 2, 'c': 3}) +del b[args.k2] +print(b) + +# 通过值访问删除后的键 +result = b.inv[args.v1] +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'h' +# --v1 = 11 +# --k2 = 'c' +# Output: +# bidict({'h': 11, 'b': 2}) +# h +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'e' +# --v1 = 49 +# --k2 = 'c' +# Output: +# bidict({'e': 49, 'b': 2}) +# e +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'a' +# --v1 = 94 +# --k2 = 'c' +# Output: +# bidict({'a': 94, 'b': 2}) +# a +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'u' +# --v1 = 14 +# --k2 = 'c' +# Output: +# bidict({'u': 14, 'b': 2}) +# u +# Return Code: 0 diff --git a/bidict/test5_executable.zip b/bidict/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2a2896b72ce17875707192ee77354c16cdc6d2cb --- /dev/null +++ b/bidict/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5548316ffff0a0409686aac63199c5497ba7693f9d9d86ea3c17ad17db6c578b +size 7384385 diff --git a/bidict/test6.py b/bidict/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..55a4a965a980a85814bef8670fd3e7f72232459d --- /dev/null +++ b/bidict/test6.py @@ -0,0 +1,54 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--key', type=str, required=True) +parser.add_argument('--val', type=int, required=True) +args = parser.parse_args() + +# 检查键和值的存在性 +b = bidict({'a': 1, 'b': 2, 'c': 3}) +result1 = args.key in b +result2 = args.val in b.inv +print(result1) +print(result2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'b' +# --val = 3 +# Output: +# True +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = 'a' +# --val = 3 +# Output: +# True +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = 'c' +# --val = 1 +# Output: +# True +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = 'c' +# --val = 1 +# Output: +# True +# True +# Return Code: 0 diff --git a/bidict/test6_executable.zip b/bidict/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f19bfdef6aebda638f4fef96e1c457cc6f121b33 --- /dev/null +++ b/bidict/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b71afaef3af3d7a8f6a862ba9a04ff937f194d3576efbfb6c97b68487614c556 +size 7384068 diff --git a/bidict/test7.py b/bidict/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..6a8af0d6421694fb50c44aa4681d4e9d667617e6 --- /dev/null +++ b/bidict/test7.py @@ -0,0 +1,59 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--val', type=int, required=True) +parser.add_argument('--new_key', type=str, required=True) +parser.add_argument('--new_val', type=int, required=True) +args = parser.parse_args() + +# 使用反转视图进行双向操作 +b = bidict({'a': 1, 'b': 2}) +key_from_val = b.inv[args.val] +b.inv[args.new_val] = args.new_key +print(b) +print(key_from_val) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --val = 2 +# --new_key = 'g' +# --new_val = 57 +# Output: +# bidict({'a': 1, 'b': 2, 'g': 57}) +# b +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --val = 2 +# --new_key = 'i' +# --new_val = 30 +# Output: +# bidict({'a': 1, 'b': 2, 'i': 30}) +# b +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --val = 1 +# --new_key = 'r' +# --new_val = 44 +# Output: +# bidict({'a': 1, 'b': 2, 'r': 44}) +# a +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --val = 2 +# --new_key = 'm' +# --new_val = 34 +# Output: +# bidict({'a': 1, 'b': 2, 'm': 34}) +# b +# Return Code: 0 diff --git a/bidict/test7_executable.zip b/bidict/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5689a2c4691975d5535c88d6238f428d6368d44f --- /dev/null +++ b/bidict/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48825036d03f21688c58053538740f7323633b33addd32a5083189ff13bbf73c +size 7384316 diff --git a/bidict/test8.py b/bidict/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..995fe404523aa380c853563711ccdfa35134b62c --- /dev/null +++ b/bidict/test8.py @@ -0,0 +1,95 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--k1', type=str, required=True) +parser.add_argument('--v1', type=int, required=True) +parser.add_argument('--k2', type=str, required=True) +parser.add_argument('--v2', type=int, required=True) +parser.add_argument('--k3', type=str, required=True) +parser.add_argument('--v3', type=int, required=True) +args = parser.parse_args() + +# 复杂的多步操作 +b = bidict() +b[args.k1] = args.v1 +b[args.k2] = args.v2 +b[args.k3] = args.v3 +print(b) + +# 通过不同方式访问 +print(b[args.k1]) +print(b.inv[args.v2]) +print(b.inv[args.v3]) + +# 更新一个值 +b[args.k1] = 999 +print(b) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --k1 = 'i' +# --v1 = 55 +# --k2 = 'c' +# --v2 = 95 +# --k3 = 't' +# --v3 = 92 +# Output: +# bidict({'i': 55, 'c': 95, 't': 92}) +# 55 +# c +# t +# bidict({'i': 999, 'c': 95, 't': 92}) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --k1 = 'h' +# --v1 = 37 +# --k2 = 'w' +# --v2 = 1 +# --k3 = 'n' +# --v3 = 97 +# Output: +# bidict({'h': 37, 'w': 1, 'n': 97}) +# 37 +# w +# n +# bidict({'h': 999, 'w': 1, 'n': 97}) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --k1 = 'c' +# --v1 = 66 +# --k2 = 'o' +# --v2 = 70 +# --k3 = 'r' +# --v3 = 18 +# Output: +# bidict({'c': 66, 'o': 70, 'r': 18}) +# 66 +# o +# r +# bidict({'c': 999, 'o': 70, 'r': 18}) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --k1 = 'r' +# --v1 = 21 +# --k2 = 'b' +# --v2 = 9 +# --k3 = 'a' +# --v3 = 55 +# Output: +# bidict({'r': 21, 'b': 9, 'a': 55}) +# 21 +# b +# a +# bidict({'r': 999, 'b': 9, 'a': 55}) +# Return Code: 0 diff --git a/bidict/test8_executable.zip b/bidict/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e47e97fc7f4e23f0cefab2820e79cc8b4f86d133 --- /dev/null +++ b/bidict/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15aa5fcac30793518e998940889fd199ae48d5e0168fcd8efd6a7416c3054842 +size 7383015 diff --git a/bidict/test9.py b/bidict/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..7bca4eb2d41c625092a6d86bb74d9bff0940cb05 --- /dev/null +++ b/bidict/test9.py @@ -0,0 +1,58 @@ +import argparse +from bidict import bidict + +parser = argparse.ArgumentParser() +parser.add_argument('--init', type=str, required=True) +parser.add_argument('--search_key', type=str, required=True) +args = parser.parse_args() + +# 从字符串字典初始化 +init_dict = eval(args.init) +b = bidict(init_dict) +result = b[args.search_key] +print(result) + +# 通过值查找键 +val = result +key_from_val = b.inv[val] +print(key_from_val) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --init = "{'t': 29, 'j': 40}" +# --search_key = 't' +# Output: +# 29 +# t +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --init = "{'o': 70, 'q': 61, 'k': 32}" +# --search_key = 'k' +# Output: +# 32 +# k +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --init = "{'j': 100, 'k': 67}" +# --search_key = 'k' +# Output: +# 67 +# k +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --init = "{'x': 65}" +# --search_key = 'x' +# Output: +# 65 +# x +# Return Code: 0 diff --git a/bidict/test9_executable.zip b/bidict/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fbe090d7937cd898b3af37101042fbacf0e9946b --- /dev/null +++ b/bidict/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f1d39a12e5002aa153cecc14d7069636abbd0f8d180784913ede6a4b117e199 +size 7384668 diff --git a/bidict/test_output_py_1.txt b/bidict/test_output_py_1.txt new file mode 100644 index 0000000000000000000000000000000000000000..67c4dfb39555d3dfb9f55caaf64386813b6998cb --- /dev/null +++ b/bidict/test_output_py_1.txt @@ -0,0 +1,4 @@ +['j', 'l'] +[54, 23] +[54, 23] +['j', 'l'] diff --git a/bidict/test_output_py_2.txt b/bidict/test_output_py_2.txt new file mode 100644 index 0000000000000000000000000000000000000000..4bf8cfed47fa7dee4aa7ee1cb8b92e59b114e023 --- /dev/null +++ b/bidict/test_output_py_2.txt @@ -0,0 +1,4 @@ +['z', 'f'] +[86, 74] +[86, 74] +['z', 'f'] diff --git a/bidict/test_output_py_3.txt b/bidict/test_output_py_3.txt new file mode 100644 index 0000000000000000000000000000000000000000..96c15f13baab35e59951d3e36bcc2a0f65fff64a --- /dev/null +++ b/bidict/test_output_py_3.txt @@ -0,0 +1,4 @@ +['g', 'v'] +[53, 72] +[53, 72] +['g', 'v'] diff --git a/bidict/test_output_py_4.txt b/bidict/test_output_py_4.txt new file mode 100644 index 0000000000000000000000000000000000000000..b9cf53663ff71862f1069715713236918765f119 --- /dev/null +++ b/bidict/test_output_py_4.txt @@ -0,0 +1,4 @@ +['p', 'f'] +[87, 78] +[87, 78] +['p', 'f'] diff --git a/bitarray/test1.py b/bitarray/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..912ae9c66739e12a25754b0faf105682c135fb65 --- /dev/null +++ b/bitarray/test1.py @@ -0,0 +1,41 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray 对象 +print(len(ba)) # 打印 bitarray 的长度 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '000' +# Output: +# 3 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '100000001100011010101001' +# Output: +# 24 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '00110011' +# Output: +# 8 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '1010101010101010' +# Output: +# 16 +# Return Code: 0 diff --git a/bitarray/test10.py b/bitarray/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..a950238fa364b68090f217aee9dda23eb8376b1a --- /dev/null +++ b/bitarray/test10.py @@ -0,0 +1,47 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray +ba.append(args.b) # 追加一个位 +print(ba.to01()) # 将 bitarray 转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '1' +# --b = 0 +# Output: +# 10 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '100000001100011010101001' +# --b = 1 +# Output: +# 1000000011000110101010011 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '0000000000000000' +# --b = 1 +# Output: +# 00000000000000001 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '0000' +# --b = 1 +# Output: +# 00001 +# Return Code: 0 diff --git a/bitarray/test11.py b/bitarray/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..39af54b8cc214212673e4adf7d0359234d9e1fd5 --- /dev/null +++ b/bitarray/test11.py @@ -0,0 +1,53 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray +print(ba.count()) # 统计原始 bitarray 中 True 位的数量 +ba.extend(bitarray.bitarray(args.b)) # 扩展另一个 bitarray +ba.invert() # 反转所有位 +print(ba.to01()) # 将结果转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '1111' +# --b = '0010' +# Output: +# 4 +# 00001101 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '0011001100110011' +# --b = '1111101110100' +# Output: +# 8 +# 11001100110011000000010001011 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '0101010101010101' +# --b = '01001' +# Output: +# 8 +# 101010101010101010110 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '110' +# --b = '010' +# Output: +# 2 +# 001101 +# Return Code: 0 diff --git a/bitarray/test12.py b/bitarray/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..0d992681ddf854f895d63212b0b8a889d23a76df --- /dev/null +++ b/bitarray/test12.py @@ -0,0 +1,48 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray +ba.invert() # 反转所有位 +result = ba.find(args.b) # 查找第一个值为 value 的位置 +print(result) # 打印查找结果 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '010000000000' +# --b = 1 +# Output: +# 0 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '01' +# --b = 1 +# Output: +# 0 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '1010101010101010' +# --b = 0 +# Output: +# 0 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '100000001100011010101001' +# --b = 1 +# Output: +# 1 +# Return Code: 0 diff --git a/bitarray/test13.py b/bitarray/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..8e9e87500310dee74ce4eedd0616eab0755d103d --- /dev/null +++ b/bitarray/test13.py @@ -0,0 +1,47 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray +ba <<= args.b # 向左位移 +print(ba.to01()) # 将结果转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '11110000' +# --b = 0 +# Output: +# 11110000 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '1111' +# --b = 2 +# Output: +# 1100 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '11' +# --b = 0 +# Output: +# 11 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '11001100' +# --b = 6 +# Output: +# 00000000 +# Return Code: 0 diff --git a/bitarray/test14.py b/bitarray/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..9fa65c038467b4f3ecc6cfb8a0e3039c66762b69 --- /dev/null +++ b/bitarray/test14.py @@ -0,0 +1,47 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray +ba >>= args.b # 向右位移 +print(ba.to01()) # 将结果转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '01010101' +# --b = 2 +# Output: +# 00010101 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '11001100' +# --b = 10 +# Output: +# 00000000 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '010000000000' +# --b = 6 +# Output: +# 000000010000 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '00' +# --b = 0 +# Output: +# 00 +# Return Code: 0 diff --git a/bitarray/test15.py b/bitarray/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..6c699940aafb4c4996d047d0d024b47901dbcfec --- /dev/null +++ b/bitarray/test15.py @@ -0,0 +1,59 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +ba1 = bitarray.bitarray(args.a) # 创建第一个 bitarray +ba2 = bitarray.bitarray(args.b) # 创建第二个 bitarray +print(ba1.all()) # 检查第一个 bitarray 是否全为 True +result = ba1 ^ ba2 # 执行按位异或操作 +result <<= args.c # 向左位移 +print(result.tobytes()) # 将结果转换为字节 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '0' +# --b = '1' +# --c = 0 +# Output: +# False +# b'\x80' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '10' +# --b = '10' +# --c = 1 +# Output: +# False +# b'\x00' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '0011' +# --b = '1100' +# --c = 4 +# Output: +# False +# b'\x00' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '0101010101010101' +# --b = '0001110100011110' +# --c = 7 +# Output: +# False +# b'%\x80' +# Return Code: 0 diff --git a/bitarray/test16.py b/bitarray/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..18f5bedf70a4b5a0692ea68f01e443335df46c9a --- /dev/null +++ b/bitarray/test16.py @@ -0,0 +1,62 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +ba1 = bitarray.bitarray(args.a) # 创建第一个 bitarray +ba2 = bitarray.bitarray(args.b) # 创建第二个 bitarray +print(len(ba1)) # 打印第一个 bitarray 的长度 +ba3 = ba1.copy() # 复制第一个 bitarray +ba3.extend(ba2) # 扩展第二个 bitarray +ba3.invert() # 反转所有位 +ba3 <<= args.c # 向左位移 +result = ba3.tolist() # 将结果转换为列表 +print(result) # 打印列表 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '0' +# --b = '1' +# --c = 0 +# Output: +# 1 +# [1, 0] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '1010101010101010' +# --b = '0' +# --c = 1 +# Output: +# 16 +# [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '01010101' +# --b = '10110001' +# --c = 3 +# Output: +# 8 +# [0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '10' +# --b = '101101' +# --c = 5 +# Output: +# 2 +# [0, 1, 0, 0, 0, 0, 0, 0] +# Return Code: 0 diff --git a/bitarray/test17.py b/bitarray/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..10ccba09a9320dd04b42828e842042d307a8b27f --- /dev/null +++ b/bitarray/test17.py @@ -0,0 +1,67 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +ba1 = bitarray.bitarray(args.a) # 创建第一个 bitarray +ba2 = bitarray.bitarray(args.b) # 创建第二个 bitarray +print(ba1.any()) # 检查第一个 bitarray 是否有任何 True 位 +ba1.invert() # 反转第一个 bitarray +ba2.invert() # 反转第二个 bitarray +result = ba1 | ba2 # 执行按位或操作 +for _ in range(args.c): # 多次追加操作 + result.append(args.d) +print(result.to01()) # 将结果转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '1100' +# --b = '1110' +# --c = 5 +# --d = 0 +# Output: +# True +# 001100000 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '0011001100110011' +# --b = '1000111011001001' +# --c = 2 +# --d = 0 +# Output: +# True +# 111111011111111000 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '1010101010101010' +# --b = '0100011111111011' +# --c = 6 +# --d = 0 +# Output: +# True +# 1111110101010101000000 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '001' +# --b = '100' +# --c = 3 +# --d = 1 +# Output: +# True +# 111111 +# Return Code: 0 diff --git a/bitarray/test2.py b/bitarray/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..a4f717ad87b818a9516a34179145beb593793a21 --- /dev/null +++ b/bitarray/test2.py @@ -0,0 +1,41 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray 对象 +print(ba.all()) # 检查所有位是否都为 True + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '101' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '00000000000000000000000000000000' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '11111111' +# Output: +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '11111111' +# Output: +# True +# Return Code: 0 diff --git a/bitarray/test3.py b/bitarray/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..e1930cebb6f904f07964c82eacdd9d60a9e8bdb4 --- /dev/null +++ b/bitarray/test3.py @@ -0,0 +1,41 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray 对象 +print(ba.count()) # 统计 bitarray 中 True 位的数量 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '11111' +# Output: +# 5 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '1010' +# Output: +# 2 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '00000000000000000000000000000000' +# Output: +# 0 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '010' +# Output: +# 1 +# Return Code: 0 diff --git a/bitarray/test4.py b/bitarray/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..0718d891a6da38b83745eb9dd3d3d01418774565 --- /dev/null +++ b/bitarray/test4.py @@ -0,0 +1,42 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray 对象 +ba.invert() # 反转所有位 +print(ba.to01()) # 将 bitarray 转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '10101010101010101010101010101010' +# Output: +# 01010101010101010101010101010101 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '10101' +# Output: +# 01010 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '01010101' +# Output: +# 10101010 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '11111111111111111111111111111111' +# Output: +# 00000000000000000000000000000000 +# Return Code: 0 diff --git a/bitarray/test5.py b/bitarray/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..8c6e1a0dc4631918612dc90f9822c4af09406fc5 --- /dev/null +++ b/bitarray/test5.py @@ -0,0 +1,41 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +ba = bitarray.bitarray(args.a) # 创建 bitarray 对象 +print(ba.tobytes()) # 将 bitarray 转换为字节 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '1010101010101010' +# Output: +# b'\xaa\xaa' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '11001100' +# Output: +# b'\xcc' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '1100' +# Output: +# b'\xc0' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '01010101010101010101010101010101' +# Output: +# b'UUUU' +# Return Code: 0 diff --git a/bitarray/test6.py b/bitarray/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..adcb2c937df4dfaa9cae5228d001dc42183e21f3 --- /dev/null +++ b/bitarray/test6.py @@ -0,0 +1,53 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +ba1 = bitarray.bitarray(args.a) # 创建第一个 bitarray +print(len(ba1)) # 打印第一个 bitarray 的长度 +ba2 = bitarray.bitarray(args.b) # 创建第二个 bitarray +result = ba1 & ba2 # 执行按位与操作 +print(result.to01()) # 将结果转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '011' +# --b = '100' +# Output: +# 3 +# 000 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '0000' +# --b = '1001' +# Output: +# 4 +# 0000 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '1111' +# --b = '1111' +# Output: +# 4 +# 1111 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '11111' +# --b = '10010' +# Output: +# 5 +# 10010 +# Return Code: 0 diff --git a/bitarray/test7.py b/bitarray/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..99a174fbd019aac9edf7ceaecc8dbc83bb9a6698 --- /dev/null +++ b/bitarray/test7.py @@ -0,0 +1,53 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +ba1 = bitarray.bitarray(args.a) # 创建第一个 bitarray +print(ba1.count()) # 统计第一个 bitarray 中 True 位的数量 +ba2 = bitarray.bitarray(args.b) # 创建第二个 bitarray +result = ba1 | ba2 # 执行按位或操作 +print(result.to01()) # 将结果转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '11001100' +# --b = '10101101' +# Output: +# 4 +# 11101101 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '110' +# --b = '000' +# Output: +# 2 +# 110 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '0011' +# --b = '0110' +# Output: +# 2 +# 0111 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '0000000000000000' +# --b = '1101011110000100' +# Output: +# 0 +# 1101011110000100 +# Return Code: 0 diff --git a/bitarray/test8.py b/bitarray/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..fb81b59d49193fd480e83ec3932e950aacef8a5f --- /dev/null +++ b/bitarray/test8.py @@ -0,0 +1,53 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +ba1 = bitarray.bitarray(args.a) # 创建第一个 bitarray +print(ba1.all()) # 检查第一个 bitarray 是否全为 True +ba2 = bitarray.bitarray(args.b) # 创建第二个 bitarray +result = ba1 ^ ba2 # 执行按位异或操作 +print(result.to01()) # 将结果转换为 01 字符串 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '11111' +# --b = '01101' +# Output: +# True +# 10010 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '011' +# --b = '100' +# Output: +# False +# 111 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '11111111' +# --b = '10101111' +# Output: +# True +# 01010000 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '11001100' +# --b = '00101100' +# Output: +# False +# 11100000 +# Return Code: 0 diff --git a/bitarray/test9.py b/bitarray/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..102946fbc23d61d09eba87195ebf4782c7f83fb4 --- /dev/null +++ b/bitarray/test9.py @@ -0,0 +1,53 @@ +import argparse +import bitarray + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +ba1 = bitarray.bitarray(args.a) # 创建第一个 bitarray +ba2 = bitarray.bitarray(args.b) # 创建第二个 bitarray +print(len(ba2)) # 打印第二个 bitarray 的长度 +result = ba1 & ba2 # 执行按位与操作 +print(result.count()) # 统计结果中 True 位的数量 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '100' +# --b = '010' +# Output: +# 3 +# 0 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '00001111' +# --b = '11010110' +# Output: +# 8 +# 2 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '0011001100110011' +# --b = '1111001111011100' +# Output: +# 16 +# 5 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '11111111' +# --b = '10101111' +# Output: +# 8 +# 6 +# Return Code: 0 diff --git a/bitstring/__pycache__/test11.cpython-310.pyc b/bitstring/__pycache__/test11.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..47c4f255fa77bd4f11c4b966acfd189ed6944e31 Binary files /dev/null and b/bitstring/__pycache__/test11.cpython-310.pyc differ diff --git a/bitstring/__pycache__/test8.cpython-310.pyc b/bitstring/__pycache__/test8.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ac4ec54cecb0202b03b95acb772d03c6b58288c6 Binary files /dev/null and b/bitstring/__pycache__/test8.cpython-310.pyc differ diff --git a/bitstring/test1.py b/bitstring/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..80afc4b18af6051ba5f6b58ed37f42ab0d86a248 --- /dev/null +++ b/bitstring/test1.py @@ -0,0 +1,48 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string representation') +args = parser.parse_args() + +# 创建Bits对象从二进制字符串 +bit_obj = Bits(bin=args.binary_str) + +print(bit_obj.bin) +print(bit_obj.length) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b11111' +# Output: +# 11111 +# 5 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b1111111100' +# Output: +# 1111111100 +# 10 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b1111' +# Output: +# 1111 +# 4 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b11' +# Output: +# 11 +# 2 +# Return Code: 0 diff --git a/bitstring/test10.py b/bitstring/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..c71ff8a8dadafcfc06309c2399f0ab3c89e3307b --- /dev/null +++ b/bitstring/test10.py @@ -0,0 +1,44 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +args = parser.parse_args() + +# 创建Bits对象并反转比特 +bit_obj = Bits(bin=args.binary_str) +reversed_bits = bit_obj[::-1] + +print(reversed_bits.bin) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1010101010' +# Output: +# 0101010101 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b101010101010101010101010' +# Output: +# 010101010101010101010101 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b1111111100000000' +# Output: +# 0000000011111111 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b10101010' +# Output: +# 01010101 +# Return Code: 0 diff --git a/bitstring/test11.py b/bitstring/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..49995c1967ae134b1f3d0cf09b42ec98edb0b671 --- /dev/null +++ b/bitstring/test11.py @@ -0,0 +1,54 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--sep', type=str, required=True, help='Separator pattern') +args = parser.parse_args() + +# 创建Bits对象并按模式分割 +bit_obj = Bits(bin=args.binary_str) +segments = list(bit_obj.split(args.sep)) + +print(len(segments)) +print([seg.bin for seg in segments]) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1010101010101010101010101010101010101010' +# --sep = '0b1010101010101010' +# Output: +# 3 +# ['', '1010101010101010', '101010101010101010101010'] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b111100001111000011110000' +# --sep = '0b11110000' +# Output: +# 4 +# ['', '11110000', '11110000', '11110000'] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b10101010101010101010101010101010101010' +# --sep = '0b101010101010' +# Output: +# 4 +# ['', '101010101010', '101010101010', '10101010101010'] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b11111111111111111111' +# --sep = '0b11111' +# Output: +# 5 +# ['', '11111', '11111', '11111', '11111'] +# Return Code: 0 diff --git a/bitstring/test12.py b/bitstring/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..d97c6d1d4a863cbf829f99b9456436b47f318b2d --- /dev/null +++ b/bitstring/test12.py @@ -0,0 +1,54 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--threshold', type=int, required=True, help='Length threshold') +args = parser.parse_args() + +# 创建Bits对象并检查其长度 +bit_obj = Bits(bin=args.binary_str) +is_long = bit_obj.length > args.threshold + +print(is_long) +print(bit_obj.length) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b11001100110011001100110011001100' +# --threshold = 32 +# Output: +# False +# 32 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b1111111111' +# --threshold = 10 +# Output: +# False +# 10 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b1010101010' +# --threshold = 10 +# Output: +# False +# 10 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b10101010101010101010101010101010101010101010' +# --threshold = 48 +# Output: +# False +# 44 +# Return Code: 0 diff --git a/bitstring/test13.py b/bitstring/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..64879825c4715030ca8c75b3218f910197523e63 --- /dev/null +++ b/bitstring/test13.py @@ -0,0 +1,60 @@ +import argparse +from bitstring import BitArray, Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--offset', type=int, required=True, help='Bit offset to overwrite from') +parser.add_argument('--new_bits', type=str, required=True, help='New bits to overwrite with') +args = parser.parse_args() + +# 创建BitArray并覆盖部分比特 +bit_arr = BitArray(bin=args.binary_str) +new_bits_obj = Bits(bin=args.new_bits) +bit_arr.overwrite(new_bits_obj, args.offset) + +print(bit_arr.bin) +print(bit_arr.length) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b10101010101010101010101010101010' +# --offset = 16 +# --new_bits = '0b1111111111111111' +# Output: +# 10101010101010101111111111111111 +# 32 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b10101010101010101010101010101010101010101010' +# --offset = 40 +# --new_bits = '0b11111111111111111111' +# Output: +# 101010101010101010101010101010101010101011111111111111111111 +# 60 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b11110000111100001111000011110000' +# --offset = 20 +# --new_bits = '0b10101010101' +# Output: +# 11110000111100001111101010101010 +# 32 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b11111111000000001111111100000000' +# --offset = 8 +# --new_bits = '0b10101010' +# Output: +# 11111111101010101111111100000000 +# 32 +# Return Code: 0 diff --git a/bitstring/test14.py b/bitstring/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..5b93f567c9112663afe056e1e341465cbe7e9347 --- /dev/null +++ b/bitstring/test14.py @@ -0,0 +1,49 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--pos', type=int, required=True, help='Position to check') +args = parser.parse_args() + +# 创建Bits对象并检查指定位置的比特值 +bit_obj = Bits(bin=args.binary_str) +bit_value = bit_obj[args.pos] + +print(bit_value) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1111111111111111111111111111111111111111' +# --pos = 39 +# Output: +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b10101010101010101010101010101010101010' +# --pos = 37 +# Output: +# False +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b1100110011001100' +# --pos = 12 +# Output: +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b1111111100000000' +# --pos = 15 +# Output: +# False +# Return Code: 0 diff --git a/bitstring/test15.py b/bitstring/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..19ee45eb0b5ec4618ee39868fac29a839a6ffcb9 --- /dev/null +++ b/bitstring/test15.py @@ -0,0 +1,66 @@ +import argparse +from bitstring import Bits, BitArray + +parser = argparse.ArgumentParser() +parser.add_argument('--hex_str', type=str, required=True, help='Hexadecimal string') +parser.add_argument('--append_bin', type=str, required=True, help='Binary to append') +parser.add_argument('--prepend_bin', type=str, required=True, help='Binary to prepend') +args = parser.parse_args() + +# 从十六进制创建,然后追加和前置 +bits = Bits(hex=args.hex_str) +bit_arr = BitArray(bits) +bit_arr.append(args.append_bin) +bit_arr.prepend(args.prepend_bin) + +print(bit_arr.bin) +print(bit_arr.length) +print(bit_arr.hex) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --hex_str = '0xABCDEF' +# --append_bin = '0b101010' +# --prepend_bin = '0b010101' +# Output: +# 010101101010111100110111101111101010 +# 36 +# 56af37bea +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --hex_str = '0xFFFFFFFF' +# --append_bin = '0b1111111111111111' +# --prepend_bin = '0b0000000000000000' +# Output: +# 0000000000000000111111111111111111111111111111111111111111111111 +# 64 +# 0000ffffffffffff +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --hex_str = '0x123456' +# --append_bin = '0b11110000' +# --prepend_bin = '0b00001111' +# Output: +# 0000111100010010001101000101011011110000 +# 40 +# 0f123456f0 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --hex_str = '0x1337C0DE' +# --append_bin = '0b10101010101010101010101010' +# --prepend_bin = '0b01010101010101010101010101' +# Output: +# 010101010101010101010101010001001100110111110000001101111010101010101010101010101010 +# 84 +# 55555544cdf037aaaaaaa +# Return Code: 0 diff --git a/bitstring/test16.py b/bitstring/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..37b4b94c8904e478b685c5acb9d2198e8f3f315d --- /dev/null +++ b/bitstring/test16.py @@ -0,0 +1,54 @@ +import argparse +from bitstring import ConstBitStream + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--pos', type=int, required=True, help='Position to seek') +args = parser.parse_args() + +# 创建ConstBitStream,定位并读取 +stream = ConstBitStream(bin=args.binary_str) +stream.pos = args.pos +read_len = min(8, stream.length - stream.pos) +bits_read = stream.read(read_len) + +print(bits_read.bin) +print(stream.pos) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1010101010' +# --pos = 2 +# Output: +# 10101010 +# 10 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b1010101010101010101010101010101010101010101010101010101010101010' +# --pos = 64 +# Output: +# 64 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b1111111111111111111111111111111111111111' +# --pos = 32 +# Output: +# 11111111 +# 40 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b1010101010101010101010101010101010101010101010101010' +# --pos = 52 +# Output: +# 52 +# Return Code: 0 diff --git a/bitstring/test17.py b/bitstring/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..b90894beed7a1f75387ace1569caebadcd3e8c63 --- /dev/null +++ b/bitstring/test17.py @@ -0,0 +1,54 @@ +import argparse +from bitstring import ConstBitStream + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--read_uint', type=int, required=True, help='Bits to read as uint') +args = parser.parse_args() + +# 创建流并读取无符号整数 +stream = ConstBitStream(bin=args.binary_str) +value = stream.read(f'uint:{args.read_uint}') + +print(value) +print(stream.pos) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1111111100000000' +# --read_uint = 12 +# Output: +# 4080 +# 12 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b1111111111111111111111111111111111111111' +# --read_uint = 24 +# Output: +# 16777215 +# 24 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b10101010101010101010101010101010101010101010' +# --read_uint = 18 +# Output: +# 174762 +# 18 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b11110000111100001111000011110000' +# --read_uint = 14 +# Output: +# 15420 +# 14 +# Return Code: 0 diff --git a/bitstring/test18.py b/bitstring/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..720336f6fe7be56493e0b4723a8620860848043f --- /dev/null +++ b/bitstring/test18.py @@ -0,0 +1,54 @@ +import argparse +from bitstring import ConstBitStream + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--peek_bits', type=int, required=True, help='Number of bits to peek') +args = parser.parse_args() + +# 创建流并使用peek查看而不移动位置 +stream = ConstBitStream(bin=args.binary_str) +peeked = stream.peek(args.peek_bits) + +print(peeked.bin) +print(stream.pos) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1010101010101010' +# --peek_bits = 4 +# Output: +# 1010 +# 0 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b111111111111111111111111' +# --peek_bits = 16 +# Output: +# 1111111111111111 +# 0 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b1010101010101010101010101010101010101010101010101010101010101010' +# --peek_bits = 40 +# Output: +# 1010101010101010101010101010101010101010 +# 0 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b11001100110011001100110011001100110011001100' +# --peek_bits = 28 +# Output: +# 1100110011001100110011001100 +# 0 +# Return Code: 0 diff --git a/bitstring/test19.py b/bitstring/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..ef86908f468a810f9f49b935094138a6dac43929 --- /dev/null +++ b/bitstring/test19.py @@ -0,0 +1,59 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--marker', type=str, required=True, help='Marker pattern') +parser.add_argument('--extract_len', type=int, required=True, help='Length to extract after marker') +args = parser.parse_args() + +# 查找模式并提取后续数据 +bit_obj = Bits(bin=args.binary_str) +result = bit_obj.find(args.marker, bytealigned=False) +if result: + pos = result[0] + start = pos + len(args.marker) + extracted = bit_obj[start:start + args.extract_len] + print(extracted.bin) +else: + print("not_found") + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b101010101010101010101010' +# --marker = '0b0101' +# --extract_len = 8 +# Output: +# 01010101 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b11001100110011001100110011001100' +# --marker = '0b11001100' +# --extract_len = 12 +# Output: +# 001100110011 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b1111000011110000111100001111000011110000' +# --marker = '0b1111000011110000' +# --extract_len = 22 +# Output: +# 1100001111000011110000 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b1111111111111111111111111111111111111111' +# --marker = '0b1111111111111111' +# --extract_len = 16 +# Output: +# 1111111111111111 +# Return Code: 0 diff --git a/bitstring/test2.py b/bitstring/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..3fedec64f0321d85ab1c6dc71e2010811015d3ff --- /dev/null +++ b/bitstring/test2.py @@ -0,0 +1,48 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--hex_str', type=str, required=True, help='Hexadecimal string representation') +args = parser.parse_args() + +# 创建Bits对象从十六进制字符串 +bit_obj = Bits(hex=args.hex_str) + +print(bit_obj.hex) +print(bit_obj.bin) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --hex_str = '0x1' +# Output: +# 1 +# 0001 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --hex_str = '0x0BAD' +# Output: +# 0bad +# 0000101110101101 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --hex_str = '0xFFFF' +# Output: +# ffff +# 1111111111111111 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --hex_str = '0xDEAD' +# Output: +# dead +# 1101111010101101 +# Return Code: 0 diff --git a/bitstring/test3.py b/bitstring/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..6d587f17d9337b41d0af48153c7044cd8b840133 --- /dev/null +++ b/bitstring/test3.py @@ -0,0 +1,53 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--uint_val', type=int, required=True, help='Unsigned integer value') +parser.add_argument('--length', type=int, required=True, help='Bit length') +args = parser.parse_args() + +# 创建Bits对象从无符号整数,指定长度 +bit_obj = Bits(uint=args.uint_val, length=args.length) + +print(bit_obj.bin) +print(bit_obj.uint) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --uint_val = 32767 +# --length = 15 +# Output: +# 111111111111111 +# 32767 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --uint_val = 1 +# --length = 1 +# Output: +# 1 +# 1 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --uint_val = 511 +# --length = 9 +# Output: +# 111111111 +# 511 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --uint_val = 16383 +# --length = 14 +# Output: +# 11111111111111 +# 16383 +# Return Code: 0 diff --git a/bitstring/test4.py b/bitstring/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..c7d315c678ece05f1d424049fa598d94524b91eb --- /dev/null +++ b/bitstring/test4.py @@ -0,0 +1,59 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--start', type=int, required=True, help='Start position') +parser.add_argument('--end', type=int, required=True, help='End position') +args = parser.parse_args() + +# 创建Bits对象并获取切片 +bit_obj = Bits(bin=args.binary_str) +sliced = bit_obj[args.start:args.end] + +print(sliced.bin) +print(sliced.length) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1010101010101010' +# --start = 0 +# --end = 16 +# Output: +# 1010101010101010 +# 16 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b110011001100110011001100' +# --start = 0 +# --end = 20 +# Output: +# 11001100110011001100 +# 20 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b11110000' +# --start = 4 +# --end = 8 +# Output: +# 0000 +# 4 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b0000000000000000' +# --start = 8 +# --end = 16 +# Output: +# 00000000 +# 8 +# Return Code: 0 diff --git a/bitstring/test5.py b/bitstring/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..5843e227f1331452fd86d0c5358304eb7e5e3d65 --- /dev/null +++ b/bitstring/test5.py @@ -0,0 +1,54 @@ +import argparse +from bitstring import BitArray + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Initial binary string') +parser.add_argument('--new_bits', type=str, required=True, help='Bits to prepend') +args = parser.parse_args() + +# 创建BitArray并前置新比特 +bit_arr = BitArray(bin=args.binary_str) +bit_arr.prepend(args.new_bits) + +print(bit_arr.bin) +print(bit_arr.length) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1010101010101010' +# --new_bits = '0b0101010101010101' +# Output: +# 01010101010101011010101010101010 +# 32 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b11111111' +# --new_bits = '0b00000000' +# Output: +# 0000000011111111 +# 16 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b110011' +# --new_bits = '0b0011' +# Output: +# 0011110011 +# 10 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b1' +# --new_bits = '0b0' +# Output: +# 01 +# 2 +# Return Code: 0 diff --git a/bitstring/test6.py b/bitstring/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..1fa2e4a1ca91586104e68d10e0d0486d1b9561b3 --- /dev/null +++ b/bitstring/test6.py @@ -0,0 +1,49 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--hex_str', type=str, required=True, help='Hexadecimal string') +args = parser.parse_args() + +# 创建Bits对象并统计1的个数 +bit_obj = Bits(hex=args.hex_str) +count_ones = bit_obj.count(1) + +print(count_ones) +print(bit_obj.length - count_ones) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --hex_str = '0x0F0F' +# Output: +# 8 +# 8 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --hex_str = '0x1234' +# Output: +# 5 +# 11 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --hex_str = '0x4444' +# Output: +# 4 +# 12 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --hex_str = '0x3333' +# Output: +# 8 +# 8 +# Return Code: 0 diff --git a/bitstring/test7.py b/bitstring/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..44851de246691a5593065845d4195fd335268085 --- /dev/null +++ b/bitstring/test7.py @@ -0,0 +1,54 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--pattern', type=str, required=True, help='Pattern to find') +args = parser.parse_args() + +# 创建Bits对象并在其中查找模式 +bit_obj = Bits(bin=args.binary_str) +positions = list(bit_obj.findall(args.pattern)) + +print(positions) +print(len(positions)) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1111111111111111111111111111111111111111' +# --pattern = '0b1111111111111111' +# Output: +# [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24] +# 25 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b1100110011001100110011001100110011001100' +# --pattern = '0b1100110011001100' +# Output: +# [0, 4, 8, 12, 16, 20, 24] +# 7 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b10101010101010101010101010101010101010' +# --pattern = '0b101010101010' +# Output: +# [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26] +# 14 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b11001100110011' +# --pattern = '0b110011' +# Output: +# [0, 4, 8] +# 3 +# Return Code: 0 diff --git a/bitstring/test8.py b/bitstring/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..f9ab44a13a9f4744f60bff4bfd5c451a445d15f0 --- /dev/null +++ b/bitstring/test8.py @@ -0,0 +1,59 @@ +import argparse +from bitstring import BitArray + +parser = argparse.ArgumentParser() +parser.add_argument('--binary_str', type=str, required=True, help='Binary string') +parser.add_argument('--old_pattern', type=str, required=True, help='Pattern to replace') +parser.add_argument('--new_pattern', type=str, required=True, help='Replacement pattern') +args = parser.parse_args() + +# 创建BitArray并替换模式 +bit_arr = BitArray(bin=args.binary_str) +bit_arr.replace(args.old_pattern, args.new_pattern, count=1) + +print(bit_arr.bin) +print(bit_arr.length) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --binary_str = '0b1001100110011001' +# --old_pattern = '0b1001' +# --new_pattern = '0b0110' +# Output: +# 0110100110011001 +# 16 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --binary_str = '0b1010101010101' +# --old_pattern = '0b10101' +# --new_pattern = '0b01010' +# Output: +# 0101001010101 +# 13 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --binary_str = '0b1010101010101010101010101010101010101010' +# --old_pattern = '0b1010101010101010' +# --new_pattern = '0b0101010101010101' +# Output: +# 0101010101010101101010101010101010101010 +# 40 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --binary_str = '0b10101010101010101010101010101010101010' +# --old_pattern = '0b101010101010' +# --new_pattern = '0b010101010101' +# Output: +# 01010101010110101010101010101010101010 +# 38 +# Return Code: 0 diff --git a/bitstring/test9.py b/bitstring/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..5eb50dd95dc45d2d5df1dc36b8480ac672eea2a6 --- /dev/null +++ b/bitstring/test9.py @@ -0,0 +1,55 @@ +import argparse +from bitstring import Bits + +parser = argparse.ArgumentParser() +parser.add_argument('--bin1', type=str, required=True, help='First binary string') +parser.add_argument('--bin2', type=str, required=True, help='Second binary string') +args = parser.parse_args() + +# 创建两个Bits对象并连接 +bits1 = Bits(bin=args.bin1) +bits2 = Bits(bin=args.bin2) +joined = bits1 + bits2 + +print(joined.bin) +print(joined.length) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --bin1 = '0b1010101010101010' +# --bin2 = '0b0101010101010101' +# Output: +# 10101010101010100101010101010101 +# 32 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --bin1 = '0b1111' +# --bin2 = '0b0000' +# Output: +# 11110000 +# 8 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --bin1 = '0b1001' +# --bin2 = '0b0110' +# Output: +# 10010110 +# 8 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --bin1 = '0b110011001100110011001100' +# --bin2 = '0b001100110011001100110011' +# Output: +# 110011001100110011001100001100110011001100110011 +# 48 +# Return Code: 0 diff --git a/boltons/__pycache__/test14.cpython-312.pyc b/boltons/__pycache__/test14.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c144163902ef954f541f5b6bf3d24600076ad033 Binary files /dev/null and b/boltons/__pycache__/test14.cpython-312.pyc differ diff --git a/boltons/__pycache__/test7.cpython-312.pyc b/boltons/__pycache__/test7.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6faac4df33eae3eaae7a2e1a670fce849be6351d Binary files /dev/null and b/boltons/__pycache__/test7.cpython-312.pyc differ diff --git a/boltons/__pycache__/test9.cpython-312.pyc b/boltons/__pycache__/test9.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0fc3fd5be4fc957b326ab624990684b913684764 Binary files /dev/null and b/boltons/__pycache__/test9.cpython-312.pyc differ diff --git a/boltons/py_final.txt b/boltons/py_final.txt new file mode 100644 index 0000000000000000000000000000000000000000..ff5e1d95e7a5637d612a197edbdc68c55bcaf24e --- /dev/null +++ b/boltons/py_final.txt @@ -0,0 +1,19 @@ +['a', 'b', 'c', 'd', 'e'] +[1, 2, 3, 4, 5] +['a', 1, 'b', 2, 'c', 3, 'd', 4, 'e', 5] +['a', 'b', 'c', 'd', 'e', 1, 2, 3, 4, 5] +[[1, 2], [3, 4], [5]] +[[1, 2, 3], [4, 5]] +[['a', 'b'], ['c', 'd'], ['e']] +[['a', 'b', 'c'], ['d', 'e']] +([1, 2, 3, 4, 5], []) +{1: [1, 3, 5], 0: [2, 4]} +([1, 2, 3, 4, 5], []) +{'int': [1, 2, 3, 4, 5]} +OrderedMultiDict([]) +OrderedMultiDict([]) +['key_0', 'key_1', 'key_2'] +['item_0', 'item_1'] +FrozenDict({'key_0': 4, 'key_1': 5, 'key_2': 3}) +FrozenDict({'item_0': 5, 'item_1': 4}) +FrozenDict({'key_0': 1, 'key_1': 1, 'key_2': 1}) diff --git a/boltons/py_neg.txt b/boltons/py_neg.txt new file mode 100644 index 0000000000000000000000000000000000000000..2b9f0ac41161635b7e4ed3688a3d129c7ceda8fb --- /dev/null +++ b/boltons/py_neg.txt @@ -0,0 +1,19 @@ +['a', 'b', 'c', 'd', 'e'] +[-1, -2, 3, -4, 5] +['a', -1, 'b', -2, 'c', 3, 'd', -4, 'e', 5] +['a', 'b', 'c', 'd', 'e', -1, -2, 3, -4, 5] +[[-1, -2], [3, -4], [5]] +[[-1, -2, 3], [-4, 5]] +[['a', 'b'], ['c', 'd'], ['e']] +[['a', 'b', 'c'], ['d', 'e']] +([3, 5], [-1, -2, -4]) +{1: [-1, 3, 5], 0: [-2, -4]} +([-1, -2, 3, -4, 5], []) +{'int': [-1, -2, 3, -4, 5]} +OrderedMultiDict([]) +OrderedMultiDict([]) +['key_0', 'key_1', 'key_2'] +['item_0', 'item_1'] +FrozenDict({'key_0': -4, 'key_1': 5, 'key_2': 3}) +FrozenDict({'item_0': 5, 'item_1': -4}) +FrozenDict({'key_0': 2, 'key_1': 1, 'key_2': 1}) diff --git a/boltons/py_out.txt b/boltons/py_out.txt new file mode 100644 index 0000000000000000000000000000000000000000..2b417fad81b4b57737f715b4921b375431149ddb --- /dev/null +++ b/boltons/py_out.txt @@ -0,0 +1,5 @@ +[1, 2, 3, 4, 5, 6] +[[1, 2], [3, 4], [5, 6]] +[[1, 2, 3], [4, 5, 6]] +[2, 4, 6, 8, 10, 12] +[[2, 4, 6, 8], [10, 12]] diff --git a/boltons/py_output.txt b/boltons/py_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..ff5e1d95e7a5637d612a197edbdc68c55bcaf24e --- /dev/null +++ b/boltons/py_output.txt @@ -0,0 +1,19 @@ +['a', 'b', 'c', 'd', 'e'] +[1, 2, 3, 4, 5] +['a', 1, 'b', 2, 'c', 3, 'd', 4, 'e', 5] +['a', 'b', 'c', 'd', 'e', 1, 2, 3, 4, 5] +[[1, 2], [3, 4], [5]] +[[1, 2, 3], [4, 5]] +[['a', 'b'], ['c', 'd'], ['e']] +[['a', 'b', 'c'], ['d', 'e']] +([1, 2, 3, 4, 5], []) +{1: [1, 3, 5], 0: [2, 4]} +([1, 2, 3, 4, 5], []) +{'int': [1, 2, 3, 4, 5]} +OrderedMultiDict([]) +OrderedMultiDict([]) +['key_0', 'key_1', 'key_2'] +['item_0', 'item_1'] +FrozenDict({'key_0': 4, 'key_1': 5, 'key_2': 3}) +FrozenDict({'item_0': 5, 'item_1': 4}) +FrozenDict({'key_0': 1, 'key_1': 1, 'key_2': 1}) diff --git a/boltons/py_output2.txt b/boltons/py_output2.txt new file mode 100644 index 0000000000000000000000000000000000000000..ff5e1d95e7a5637d612a197edbdc68c55bcaf24e --- /dev/null +++ b/boltons/py_output2.txt @@ -0,0 +1,19 @@ +['a', 'b', 'c', 'd', 'e'] +[1, 2, 3, 4, 5] +['a', 1, 'b', 2, 'c', 3, 'd', 4, 'e', 5] +['a', 'b', 'c', 'd', 'e', 1, 2, 3, 4, 5] +[[1, 2], [3, 4], [5]] +[[1, 2, 3], [4, 5]] +[['a', 'b'], ['c', 'd'], ['e']] +[['a', 'b', 'c'], ['d', 'e']] +([1, 2, 3, 4, 5], []) +{1: [1, 3, 5], 0: [2, 4]} +([1, 2, 3, 4, 5], []) +{'int': [1, 2, 3, 4, 5]} +OrderedMultiDict([]) +OrderedMultiDict([]) +['key_0', 'key_1', 'key_2'] +['item_0', 'item_1'] +FrozenDict({'key_0': 4, 'key_1': 5, 'key_2': 3}) +FrozenDict({'item_0': 5, 'item_1': 4}) +FrozenDict({'key_0': 1, 'key_1': 1, 'key_2': 1}) diff --git a/boltons/python_output.txt b/boltons/python_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..188acdc6723c2dc4d3339211b6b2736bde772f3a --- /dev/null +++ b/boltons/python_output.txt @@ -0,0 +1,5 @@ +[1] +[[1]] +[[1]] +[2] +[[2]] diff --git a/boltons/test1.py b/boltons/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..f214099dc3d96f9194573f44a2c1682d465be479 --- /dev/null +++ b/boltons/test1.py @@ -0,0 +1,9 @@ +import argparse +from boltons.strutils import camel2under + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = camel2under(args.a) # 将驼峰命名转换为下划线命名 +print(result) diff --git a/boltons/test10.py b/boltons/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..72a66ba0c877d41e4488ed6bc96038eb7e315152 --- /dev/null +++ b/boltons/test10.py @@ -0,0 +1,21 @@ +import argparse +from boltons.dictutils import FrozenDict, OMD + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +fd1 = FrozenDict({args.a: args.b}) # 创建第一个不可变字典 +print(fd1) +fd2 = FrozenDict({args.b: args.c}) # 创建第二个不可变字典 +print(fd2) +fd3 = FrozenDict({args.c: args.a}) # 创建第三个不可变字典 +print(fd3) +omd = OMD() # 创建有序多值字典 +print(omd) +omd.add(args.a, args.b) # 添加键值对 +print(omd) +omd.add(args.a, args.c) # 添加第二个值 +print(omd) diff --git a/boltons/test10_executable.zip b/boltons/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..26cb00aa782ca614040221bbb29d43896100044a --- /dev/null +++ b/boltons/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3bc56edd12189249dec8163cab8aa4027415745b7ba5f31626f8ae4b7d80058 +size 7374339 diff --git a/boltons/test11.py b/boltons/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..ab4e07d6d7d881b257374e66a0c8a8f017906a1b --- /dev/null +++ b/boltons/test11.py @@ -0,0 +1,19 @@ +import argparse +from boltons.iterutils import flatten, chunked + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Nested list structure') +args = parser.parse_args() + +nested = eval(args.a) +result1 = list(flatten(nested)) # 展平嵌套列表 +print(result1) +result2 = list(chunked(result1, 2)) # 对展平结果分块 +print(result2) +result3 = list(chunked(result1, 3)) # 按3分块 +print(result3) +nested2 = [[x*2 for x in chunk] for chunk in result2] # 处理分块 +result4 = list(flatten(nested2)) # 再次展平 +print(result4) +result5 = list(chunked(result4, 4)) # 最终分块 +print(result5) diff --git a/boltons/test11_executable.zip b/boltons/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b1953dd78e5d505a286a932d91cc004b2a163332 --- /dev/null +++ b/boltons/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1aa1b195edf71993fe883947adfe57cee31ca5cf44d99a8109ecd15e3209eed3 +size 7381424 diff --git a/boltons/test12.py b/boltons/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..adf10f00db2a81ee3321748234cf415beefbe689 --- /dev/null +++ b/boltons/test12.py @@ -0,0 +1,19 @@ +import argparse +from boltons.strutils import unit_len, cardinalize + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Comma-separated items') +parser.add_argument('--b', type=str, required=True, help='Unit name') +args = parser.parse_args() + +items = args.a.split(',') +result1 = unit_len(items, args.b) # 获取长度描述 +print(result1) +result2 = cardinalize(args.b, len(items)) # 获取复数形式 +print(result2) +result3 = unit_len(items[:3], args.b) # 获取前3个的长度描述 +print(result3) +result4 = cardinalize(args.b, 1) # 获取单数形式 +print(result4) +result5 = unit_len(items[:1], args.b) # 获取单个的长度描述 +print(result5) diff --git a/boltons/test12_executable.zip b/boltons/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e1bbd36a4b6bd53da067e5412b080231a774ea59 --- /dev/null +++ b/boltons/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffef8a1458b5191350806cee6c16236876deb0785743b4dd18c0a91341f0f1d4 +size 7459340 diff --git a/boltons/test13.py b/boltons/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..9c4cd0cf8211afc945b4d66fd85e191d14947f00 --- /dev/null +++ b/boltons/test13.py @@ -0,0 +1,19 @@ +import argparse +from boltons.dictutils import OMD + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Comma-separated key:value pairs') +args = parser.parse_args() + +pairs = [p.split(':') for p in args.a.split(',')] +omd = OMD() # 创建有序多值字典 +print(omd) +for k, v in pairs: + omd.add(k, v) # 添加键值对 + print(omd) +result1 = list(omd.keys()) # 获取所有键 +print(result1) +result2 = list(omd.items()) # 获取所有键值对 +print(result2) +result3 = dict(omd) # 转换为普通字典 +print(result3) diff --git a/boltons/test13_executable.zip b/boltons/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..26d71e798d8de3306053db398518893a2f6e194a --- /dev/null +++ b/boltons/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d4831f57204dadce7315e336f08d4e0b18047bb2641d29c7514041542bd3c34 +size 7374517 diff --git a/boltons/test14.py b/boltons/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..6225573ae37179a501a1bf4ef1f32e59000f60c5 --- /dev/null +++ b/boltons/test14.py @@ -0,0 +1,19 @@ +import argparse +from boltons.iterutils import partition, bucketize, chunked + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Comma-separated numbers') +args = parser.parse_args() + +numbers = [int(x) for x in args.a.split(',')] +result1 = partition(numbers, lambda x: x % 2 == 0) # 按奇偶分区 +print(result1) +result2 = bucketize(numbers, lambda x: x % 3) # 按模3分组 +print(result2) +result3 = list(chunked(numbers, 3)) # 分块 +print(result3) +evens, odds = result1 +result4 = partition(evens, lambda x: x > 5) # 对偶数再分区 +print(result4) +result5 = bucketize(odds, lambda x: x < 10) # 对奇数分组 +print(result5) diff --git a/boltons/test14_executable.zip b/boltons/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ca5bac48265f0170de0a5a723c2777ab9e9b605e --- /dev/null +++ b/boltons/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed333b5688aaf59c26df32971d2bd36a4fafbe7c5eab277e67231924ddf57731 +size 7380916 diff --git a/boltons/test15.py b/boltons/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..d167be41e82046d8c1077e55cfbdf615e50ed87c --- /dev/null +++ b/boltons/test15.py @@ -0,0 +1,19 @@ +import argparse +from boltons.dictutils import FrozenDict + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Comma-separated key:value pairs') +args = parser.parse_args() + +pairs = [p.split(':') for p in args.a.split(',')] +d = {k: v for k, v in pairs} +fd1 = FrozenDict(d) # 创建不可变字典 +print(fd1) +fd2 = FrozenDict({v: k for k, v in pairs}) # 反向映射 +print(fd2) +fd3 = FrozenDict({k: len(v) for k, v in pairs}) # 值长度映射 +print(fd3) +fd4 = FrozenDict({f"key_{i}": v for i, (k, v) in enumerate(pairs)}) # 新键映射 +print(fd4) +fd5 = FrozenDict({k.upper(): v.upper() for k, v in pairs}) # 大写映射 +print(fd5) diff --git a/boltons/test15_executable.zip b/boltons/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..bdcf7ef658f4a9fe29e2aab09b4a10f61ca6f0d4 --- /dev/null +++ b/boltons/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb812efed9b9beb77d708feedaece728627f5f7704d83932160d75b047409f25 +size 7374673 diff --git a/boltons/test17.py b/boltons/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..05f7204cb351fe36f823180661b8bfbce520bc52 --- /dev/null +++ b/boltons/test17.py @@ -0,0 +1,54 @@ +import argparse +from boltons.strutils import camel2under, under2camel, slugify, unit_len, cardinalize +from boltons.dictutils import FrozenDict + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Comma-separated strings') +args = parser.parse_args() + +strings = args.a.split(',') + +# 第一组:字符串转换(15次API调用) +result1 = [camel2under(s) for s in strings] # 批量驼峰转下划线 +print(result1) +result2 = [under2camel(s) for s in strings] # 批量下划线转驼峰 +print(result2) +result3 = [slugify(s) for s in strings] # 批量创建slug +print(result3) +result4 = camel2under(strings[0]) # 转换第一个 +print(result4) +result5 = under2camel(result4) # 转换回来 +print(result5) +result6 = slugify(strings[-1]) # 最后一个的slug +print(result6) +result7 = unit_len(strings, 'string') # 长度描述 +print(result7) +result8 = cardinalize('string', len(strings)) # 复数形式 +print(result8) +result9 = camel2under(''.join(strings)) # 合并后转换 +print(result9) +result10 = slugify('_'.join(strings)) # 合并后slugify +print(result10) +result11 = under2camel(result9.replace(' ', '_')) # 处理后转换 +print(result11) +result12 = unit_len(strings[:3], 'item') # 前3个的描述 +print(result12) +result13 = cardinalize('item', 1) # 单数形式 +print(result13) +result14 = camel2under('TestString') # 固定字符串转换 +print(result14) +result15 = slugify('Test String!') # 固定字符串slugify +print(result15) + +# 第二组:字典映射(5次API调用) +mapping = dict(zip(strings, result1)) +result16 = FrozenDict(mapping) # 创建不可变字典 +print(result16) +result17 = FrozenDict({v: k for k, v in mapping.items()}) # 反向映射 +print(result17) +result18 = FrozenDict({k: len(v) for k, v in mapping.items()}) # 长度映射 +print(result18) +result19 = FrozenDict({k.upper(): v for k, v in mapping.items()}) # 大写键映射 +print(result19) +result20 = FrozenDict({k: slugify(v) for k, v in mapping.items()}) # slug值映射 +print(result20) diff --git a/boltons/test17_executable.zip b/boltons/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..61a720338899cce925ef4300e5f146f8e4bf0f34 --- /dev/null +++ b/boltons/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0dce2d5b37b5f52d1014e2e4a1a57f79c20ed1310054456fa36198417b03d1c6 +size 7482201 diff --git a/boltons/test19.py b/boltons/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..ded66c98a71c200d2c46654ce24eff7b3e16c0d6 --- /dev/null +++ b/boltons/test19.py @@ -0,0 +1,68 @@ +import argparse +from boltons.dictutils import OMD, FrozenDict +from boltons.iterutils import partition, bucketize, flatten, chunked + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Nested dictionary structure') +args = parser.parse_args() + +nested_dict = eval(args.a) + +# 第一组:展平操作(4次API调用) +result1 = list(flatten(nested_dict.keys())) # 展平键 +print(result1) +result2 = list(flatten(nested_dict.values())) # 展平值 +print(result2) +result3 = list(flatten(nested_dict.items())) # 展平键值对 +print(result3) +result4 = list(flatten([nested_dict.keys(), nested_dict.values()])) # 展平键和值 +print(result4) + +# 第二组:分块处理(4次API调用) +result5 = list(chunked(result2, 2)) # 对值分块 +print(result5) +result6 = list(chunked(result2, 3)) # 按3分块 +print(result6) +result7 = list(chunked(result1, 2)) # 对键分块 +print(result7) +result8 = list(chunked(result1, 3)) # 键按3分块 +print(result8) + +# 第三组:分区和分组(4次API调用) +if all(isinstance(x, (int, float)) for x in result2): + result9 = partition(result2, lambda x: x > 0) # 按正负分区 + print(result9) + result10 = bucketize(result2, lambda x: x % 2 if isinstance(x, int) else 0) # 按奇偶分组 + print(result10) +else: + result9 = partition(result2, lambda x: len(str(x)) > 1) # 按长度分区 + print(result9) + result10 = bucketize(result2, lambda x: len(str(x))) # 按长度分组 + print(result10) + +result11 = partition(result2, lambda x: isinstance(x, int)) # 按类型分区 +print(result11) +result12 = bucketize(result2, lambda x: type(x).__name__) # 按类型名分组 +print(result12) + +# 第四组:字典操作(6次API调用) +omd1 = OMD() # 创建第一个OMD +print(omd1) +omd2 = OMD() # 创建第二个OMD +print(omd2) +for i, item in enumerate(result2[:5]): + omd1.add(f"key_{i % 3}", item) # 添加到omd1 + omd2.add(f"item_{i % 2}", item) # 添加到omd2 + +result13 = list(omd1.keys()) # 获取omd1的键 +print(result13) +result14 = list(omd2.keys()) # 获取omd2的键 +print(result14) +result15 = FrozenDict(dict(omd1)) # 从omd1创建FrozenDict +print(result15) + +# 第五组:最终处理(2次API调用) +result16 = FrozenDict(dict(omd2)) # 从omd2创建FrozenDict +print(result16) +result17 = FrozenDict({k: len(str(v)) for k, v in result15.items()}) # 创建长度映射 +print(result17) diff --git a/boltons/test19_executable.zip b/boltons/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fe4eb06177763217fad76f62d45d92ee8e363bd9 --- /dev/null +++ b/boltons/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9be9f1423cd5212adf774727ddc60913b435d93e8f42ea91bd34e81dff812615 +size 7403236 diff --git a/boltons/test1_executable.zip b/boltons/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..155bb219591a6781f734464b7712258a4eab53d6 --- /dev/null +++ b/boltons/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:626d064177564c942f1369ba4032ba766d66d51c3d093d36e274b399107c4767 +size 7457631 diff --git a/boltons/test2.py b/boltons/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..7c952a2f80a9fd5d7ea925e83b056eabea9268ae --- /dev/null +++ b/boltons/test2.py @@ -0,0 +1,9 @@ +import argparse +from boltons.strutils import under2camel + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = under2camel(args.a) # 将下划线命名转换为驼峰命名 +print(result) diff --git a/boltons/test2_executable.zip b/boltons/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ff6acce4e4a2827c441d09a88f821d4f69fd648f --- /dev/null +++ b/boltons/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:760bffcd2f0952f44a3704bce70a476f04570b2a4d76cb15a83429f282a5cf5f +size 7458588 diff --git a/boltons/test3.py b/boltons/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..ecdf135fd99c98c25921c9b09801932f1c69543e --- /dev/null +++ b/boltons/test3.py @@ -0,0 +1,12 @@ +import argparse +from boltons.dictutils import OMD + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +omd = OMD() # 创建有序多值字典 +omd.add(args.a, args.b) # 添加键值对 +result = omd[args.a] # 获取值 +print(result) diff --git a/boltons/test3_executable.zip b/boltons/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8898e3a63624f8b3505f4528eda102fe01d3200e --- /dev/null +++ b/boltons/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e547c3e6bccabc56470461ab8f07a51377c4a17f57045c9d9fd3f0e1102f4a9c +size 7374183 diff --git a/boltons/test4.py b/boltons/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..1193328f911a1a581d96df262e36b6087a8fe318 --- /dev/null +++ b/boltons/test4.py @@ -0,0 +1,9 @@ +import argparse +from boltons.strutils import slugify + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = slugify(args.a) +print(result) diff --git a/boltons/test4_executable.zip b/boltons/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f3fad36494c983c31fd8da42e5db0367e519ea6b --- /dev/null +++ b/boltons/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe54eab3dd06d76c64d26d2641fe986ef3965ab05f8403eeb676fffc3f047b05 +size 7457470 diff --git a/boltons/test5.py b/boltons/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..381a2dc4f22ab174a5f8099995284bf99510b552 --- /dev/null +++ b/boltons/test5.py @@ -0,0 +1,10 @@ +import argparse +from boltons.iterutils import bucketize + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Comma-separated numbers') +args = parser.parse_args() + +numbers = [int(x) for x in args.a.split(',')] +result = bucketize(numbers, lambda x: x % 2 == 0) # 按奇偶性分组 +print(result) diff --git a/boltons/test5_executable.zip b/boltons/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..960860117ca773d9d1b754f9545cdc7ac943937f --- /dev/null +++ b/boltons/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36582d67c6ec61e5690be16d701705ce11e63dc40f65ceea23948fbdf5fffac4 +size 7380170 diff --git a/boltons/test6.py b/boltons/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..498c2844393849d8c7daf289400cb8f60ada3245 --- /dev/null +++ b/boltons/test6.py @@ -0,0 +1,21 @@ +import argparse +from boltons.dictutils import OMD + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +omd = OMD() # 创建有序多值字典 +print(omd) +omd.add(args.a, args.b) # 添加键值对(add方法返回None) +print(omd) +omd.add(args.a, args.c) # 添加相同键的第二个值 +print(omd) +result1 = omd.getlist(args.a) # 获取键的所有值 +print(result1) +result2 = list(omd.keys()) # 获取所有键 +print(result2) +result3 = list(omd.items()) # 获取所有键值对 +print(result3) diff --git a/boltons/test6_executable.zip b/boltons/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..493d03fcd983db2e724e9a2cd21d32b6e76067ae --- /dev/null +++ b/boltons/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:099c0f6d548f6e83fd3e888f1dbfe209cd329190fb855be2295e22b94f115f77 +size 7375367 diff --git a/boltons/test7.py b/boltons/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..041ce4a6c93b050727425365f7561e6032da99fb --- /dev/null +++ b/boltons/test7.py @@ -0,0 +1,16 @@ +import argparse +from boltons.iterutils import partition, bucketize + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Comma-separated numbers') +args = parser.parse_args() + +numbers = [int(x) for x in args.a.split(',')] +result1 = partition(numbers, lambda x: x % 2 == 0) # 分区为偶数和奇数 +print(result1) +result2 = partition(numbers, lambda x: x > 0) # 分区为正数和负数 +print(result2) +result3 = bucketize(numbers, lambda x: x % 2 == 0) # 按奇偶分组 +print(result3) +result4 = bucketize(numbers, lambda x: x > 10) # 按是否大于10分组 +print(result4) diff --git a/boltons/test7_executable.zip b/boltons/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..55dfb67374cd5e68e806d859f41763a0b2df86e2 --- /dev/null +++ b/boltons/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:770324beae27442eee631e24b05ece88d79bedc5613f93f13789431935ab2a5e +size 7379653 diff --git a/boltons/test9.py b/boltons/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..c31b8a10b418f3098f7db309af367597ef32e554 --- /dev/null +++ b/boltons/test9.py @@ -0,0 +1,18 @@ +import argparse +from boltons.strutils import camel2under, under2camel, slugify + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='Comma-separated strings') +args = parser.parse_args() + +strings = args.a.split(',') +result1 = [camel2under(s) for s in strings] # 批量转换为下划线命名 +print(result1) +result2 = [under2camel(s) for s in strings] # 批量转换为驼峰命名 +print(result2) +result3 = [slugify(s) for s in strings] # 批量创建slug +print(result3) +result4 = camel2under(strings[0]) # 转换第一个字符串 +print(result4) +result5 = under2camel(strings[-1]) # 转换最后一个字符串 +print(result5) diff --git a/boltons/test9_executable.zip b/boltons/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4d55f3c6d3053e345958cceeda9840845e629373 --- /dev/null +++ b/boltons/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8282a0ad1e67bbc1cf4ca1ca014e2946b6b4fa4fef8434e07a98839bab8de7be +size 7458584 diff --git a/canonicaljson/__pycache__/test1.cpython-312.pyc b/canonicaljson/__pycache__/test1.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..13eebb83e7f222805d84cf0c02b8e92bc443df94 Binary files /dev/null and b/canonicaljson/__pycache__/test1.cpython-312.pyc differ diff --git a/canonicaljson/__pycache__/test19.cpython-310.pyc b/canonicaljson/__pycache__/test19.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..86e31e1ac7c85bde0fbfc8c72aceaa55ceb144d7 Binary files /dev/null and b/canonicaljson/__pycache__/test19.cpython-310.pyc differ diff --git a/canonicaljson/__pycache__/test20.cpython-310.pyc b/canonicaljson/__pycache__/test20.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..83b04224a5adb686fdc93c7691cbc9d7e09bf331 Binary files /dev/null and b/canonicaljson/__pycache__/test20.cpython-310.pyc differ diff --git a/canonicaljson/__pycache__/test9.cpython-310.pyc b/canonicaljson/__pycache__/test9.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..529708d63488b348c59083816811be03e4ba41b8 Binary files /dev/null and b/canonicaljson/__pycache__/test9.cpython-310.pyc differ diff --git a/canonicaljson/py_final.txt b/canonicaljson/py_final.txt new file mode 100644 index 0000000000000000000000000000000000000000..6fa2fedfbd847f7f79582d272d88b7b9669b04e0 --- /dev/null +++ b/canonicaljson/py_final.txt @@ -0,0 +1,54 @@ +Input string: 'special chars: ", \\\\, \\\\/, \\x08, \\x0c, \\n, \\r, \\t' +Characters: + [0] 's' (code: 115) + [1] 'p' (code: 112) + [2] 'e' (code: 101) + [3] 'c' (code: 99) + [4] 'i' (code: 105) + [5] 'a' (code: 97) + [6] 'l' (code: 108) + [7] ' ' (code: 32) + [8] 'c' (code: 99) + [9] 'h' (code: 104) + [10] 'a' (code: 97) + [11] 'r' (code: 114) + [12] 's' (code: 115) + [13] ':' (code: 58) + [14] ' ' (code: 32) + [15] '"' (code: 34) + [16] ',' (code: 44) + [17] ' ' (code: 32) + [18] '\\' (code: 92) + [19] '\\' (code: 92) + [20] ',' (code: 44) + [21] ' ' (code: 32) + [22] '\\' (code: 92) + [23] '\\' (code: 92) + [24] '/' (code: 47) + [25] ',' (code: 44) + [26] ' ' (code: 32) + [27] '\\' (code: 92) + [28] 'x' (code: 120) + [29] '0' (code: 48) + [30] '8' (code: 56) + [31] ',' (code: 44) + [32] ' ' (code: 32) + [33] '\\' (code: 92) + [34] 'x' (code: 120) + [35] '0' (code: 48) + [36] 'c' (code: 99) + [37] ',' (code: 44) + [38] ' ' (code: 32) + [39] '\\' (code: 92) + [40] 'n' (code: 110) + [41] ',' (code: 44) + [42] ' ' (code: 32) + [43] '\\' (code: 92) + [44] 'r' (code: 114) + [45] ',' (code: 44) + [46] ' ' (code: 32) + [47] '\\' (code: 92) + [48] 't' (code: 116) + +Encoded: b'"special chars: \\", \\\\\\\\, \\\\\\\\/, \\\\x08, \\\\x0c, \\\\n, \\\\r, \\\\t"' +Decoded: "special chars: \", \\\\, \\\\/, \\x08, \\x0c, \\n, \\r, \\t" diff --git a/canonicaljson/py_output.txt b/canonicaljson/py_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..635a742d9f5fe81f29496a55d116715d7c0ccc56 --- /dev/null +++ b/canonicaljson/py_output.txt @@ -0,0 +1,3 @@ +b'{"float":-123.456,"integer":-42,"list":["MixedCase",-42,-123.456],"string":"MixedCase"}' +b'{\n "float": -123.456,\n "integer": -42,\n "list": [\n "MixedCase",\n -42,\n -123.456\n ],\n "string": "MixedCase"\n}' +20 diff --git a/canonicaljson/python_full_output.txt b/canonicaljson/python_full_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..78ddcdddf5b1eaa770fefe7f0c1a8b8e0ff105e1 --- /dev/null +++ b/canonicaljson/python_full_output.txt @@ -0,0 +1,16 @@ +Python arguments received: + [0] 'test_python_argv.py' + [1] 'arg1' + [2] 'arg2' + [3] '--d' + [4] 'value' + [5] 'arg3' + +Value for --d: 'value' +Length: 5 +Characters: + [0] 0x76 'v' + [1] 0x61 'a' + [2] 0x6c 'l' + [3] 0x75 'u' + [4] 0x65 'e' diff --git a/canonicaljson/python_out1.txt b/canonicaljson/python_out1.txt new file mode 100644 index 0000000000000000000000000000000000000000..78ddcdddf5b1eaa770fefe7f0c1a8b8e0ff105e1 --- /dev/null +++ b/canonicaljson/python_out1.txt @@ -0,0 +1,16 @@ +Python arguments received: + [0] 'test_python_argv.py' + [1] 'arg1' + [2] 'arg2' + [3] '--d' + [4] 'value' + [5] 'arg3' + +Value for --d: 'value' +Length: 5 +Characters: + [0] 0x76 'v' + [1] 0x61 'a' + [2] 0x6c 'l' + [3] 0x75 'u' + [4] 0x65 'e' diff --git a/canonicaljson/python_out2.txt b/canonicaljson/python_out2.txt new file mode 100644 index 0000000000000000000000000000000000000000..329c99cbaa50eeed23da5d9b83e70d0532a53f94 --- /dev/null +++ b/canonicaljson/python_out2.txt @@ -0,0 +1,24 @@ +Python arguments received: + [0] 'test_python_argv.py' + [1] '--d' + [2] 'test\\n\\t\\x01\\x02' + +Value for --d: 'test\\n\\t\\x01\\x02' +Length: 16 +Characters: + [0] 0x74 't' + [1] 0x65 'e' + [2] 0x73 's' + [3] 0x74 't' + [4] 0x5c '\\' + [5] 0x6e 'n' + [6] 0x5c '\\' + [7] 0x74 't' + [8] 0x5c '\\' + [9] 0x78 'x' + [10] 0x30 '0' + [11] 0x31 '1' + [12] 0x5c '\\' + [13] 0x78 'x' + [14] 0x30 '0' + [15] 0x32 '2' diff --git a/canonicaljson/python_out3.txt b/canonicaljson/python_out3.txt new file mode 100644 index 0000000000000000000000000000000000000000..a6176b04bada606ca372b755fad49b83f5347cff --- /dev/null +++ b/canonicaljson/python_out3.txt @@ -0,0 +1,2 @@ +Python arguments received: + [0] 'test_python_argv.py' diff --git a/canonicaljson/python_out4.txt b/canonicaljson/python_out4.txt new file mode 100644 index 0000000000000000000000000000000000000000..e185a197d7865ccf597024d3c631492b4232c2f9 --- /dev/null +++ b/canonicaljson/python_out4.txt @@ -0,0 +1,4 @@ +Python arguments received: + [0] 'test_python_argv.py' + [1] 'arg1' + [2] '--d' diff --git a/canonicaljson/python_output.txt b/canonicaljson/python_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..f0d1306289217806d56dddbd2ae40d764a1d3ccf --- /dev/null +++ b/canonicaljson/python_output.txt @@ -0,0 +1,6 @@ +Result: b'{"test":"\xe6\xb5\x8b\xe8\xaf\x95"}' +As repr: b'{"test":"\xe6\xb5\x8b\xe8\xaf\x95"}' +Type: +Bytes: [123, 34, 116, 101, 115, 116, 34, 58, 34, 230, 181, 139, 232, 175, 149, 34, 125] +Bytes as hex: ['0x7b', '0x22', '0x74', '0x65', '0x73', '0x74', '0x22', '0x3a', '0x22', '0xe6', '0xb5', '0x8b', '0xe8', '0xaf', '0x95', '0x22', '0x7d'] +Print output:b'{"test":"\xe6\xb5\x8b\xe8\xaf\x95"}' diff --git a/canonicaljson/test.sh b/canonicaljson/test.sh new file mode 100644 index 0000000000000000000000000000000000000000..4b9e0389451f478a061608b16215d212072738ab --- /dev/null +++ b/canonicaljson/test.sh @@ -0,0 +1 @@ +python3 test7.py --a "carriage return" --b "456" diff --git a/canonicaljson/test1.py b/canonicaljson/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..11f1268e1bcc44f85ff74cac529451bfee7e31fa --- /dev/null +++ b/canonicaljson/test1.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + data = args.a + result = canonicaljson.encode_canonical_json(data) # Encode string as canonical JSON + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'false' +# Output: +# b'"false"' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'data' +# Output: +# b'"data"' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '0' +# Output: +# b'"0"' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'true' +# Output: +# b'"true"' +# Return Code: 0 diff --git a/canonicaljson/test10.py b/canonicaljson/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..feb1e74fbaa571b3b0f5b70b765398ac472afce4 --- /dev/null +++ b/canonicaljson/test10.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=float, required=True) + args = parser.parse_args() + + data = { + "string": args.a, + "integer": args.b, + "float": args.c, + "list": [args.a, args.b, args.c] + } + canonical_result = canonicaljson.encode_canonical_json(data) # Encode as canonical JSON + pretty_result = canonicaljson.encode_pretty_printed_json(data) # Encode as pretty printed JSON + canonical_chunks = list(canonicaljson.iterencode_canonical_json(data)) # Get chunks from iterative encoding + print(canonical_result) + print(pretty_result) + print(len(canonical_chunks)) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'unicode测试' +# --b = -1000000 +# --c = 2.71828 +# Output: +# b'{"float":2.71828,"integer":-1000000,"list":["unicode\xe6\xb5\x8b\xe8\xaf\x95",-1000000,2.71828],"string":"unicode\xe6\xb5\x8b\xe8\xaf\x95"}' +# b'{\n "float": 2.71828,\n "integer": -1000000,\n "list": [\n "unicode\xe6\xb5\x8b\xe8\xaf\x95",\n -1000000,\n 2.71828\n ],\n "string": "unicode\xe6\xb5\x8b\xe8\xaf\x95"\n}' +# 20 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'quotes"inside' +# --b = 0 +# --c = 0.5 +# Output: +# b'{"float":0.5,"integer":0,"list":["quotes\\"inside",0,0.5],"string":"quotes\\"inside"}' +# b'{\n "float": 0.5,\n "integer": 0,\n "list": [\n "quotes\\"inside",\n 0,\n 0.5\n ],\n "string": "quotes\\"inside"\n}' +# 20 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = ' whitespace ' +# --b = 777 +# --c = 1.0 +# Output: +# b'{"float":1.0,"integer":777,"list":[" whitespace ",777,1.0],"string":" whitespace "}' +# b'{\n "float": 1.0,\n "integer": 777,\n "list": [\n " whitespace ",\n 777,\n 1.0\n ],\n "string": " whitespace "\n}' +# 20 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'MixedCase' +# --b = -42 +# --c = -123.456 +# Output: +# b'{"float":-123.456,"integer":-42,"list":["MixedCase",-42,-123.456],"string":"MixedCase"}' +# b'{\n "float": -123.456,\n "integer": -42,\n "list": [\n "MixedCase",\n -42,\n -123.456\n ],\n "string": "MixedCase"\n}' +# 20 +# Return Code: 0 diff --git a/canonicaljson/test10_executable.zip b/canonicaljson/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a84510a3b1ae55190aa89ab19b8b1f11870e555d --- /dev/null +++ b/canonicaljson/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd9b169ba523b971efdd52d0afaf058efd9fd7710e5afe4daf380a021f5ee8d3 +size 7393141 diff --git a/canonicaljson/test11.py b/canonicaljson/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..4427b9d6385aa5beba9a856f0107651af764715c --- /dev/null +++ b/canonicaljson/test11.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + args = parser.parse_args() + + data = { + "z": args.a, + "a": args.b, + "m": args.c, + "b": args.d + } + result1 = canonicaljson.encode_canonical_json(data) # Encode dictionary with unsorted keys + sorted_data = dict(sorted(data.items())) + result2 = canonicaljson.encode_canonical_json(sorted_data) # Encode dictionary with sorted keys + print(result1) + print(result2) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'canonical' +# --b = 'UPPERCASE' +# --c = '特殊字符~`!@#$%^&*()_+-=[]{}|;:,.<>?' +# --d = '-1' +# Output: +# b'{"a":"UPPERCASE","b":"-1","m":"\xe7\x89\xb9\xe6\xae\x8a\xe5\xad\x97\xe7\xac\xa6~`!@#$%^&*()_+-=[]{}|;:,.<>?","z":"canonical"}' +# b'{"a":"UPPERCASE","b":"-1","m":"\xe7\x89\xb9\xe6\xae\x8a\xe5\xad\x97\xe7\xac\xa6~`!@#$%^&*()_+-=[]{}|;:,.<>?","z":"canonical"}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'json' +# --b = 'new\nlines' +# --c = 'emoji👍' +# --d = '0' +# Output: +# b'{"a":"new\\nlines","b":"0","m":"emoji\xf0\x9f\x91\x8d","z":"json"}' +# b'{"a":"new\\nlines","b":"0","m":"emoji\xf0\x9f\x91\x8d","z":"json"}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'python' +# --b = 'MixedCase' +# --c = 'nested"quotes"and\\backslashes' +# --d = 'false' +# Output: +# b'{"a":"MixedCase","b":"false","m":"nested\\"quotes\\"and\\\\backslashes","z":"python"}' +# b'{"a":"MixedCase","b":"false","m":"nested\\"quotes\\"and\\\\backslashes","z":"python"}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'data' +# --b = ' tabs\t\t' +# --c = 'unicode测试' +# --d = '789' +# Output: +# b'{"a":" tabs\\t\\t","b":"789","m":"unicode\xe6\xb5\x8b\xe8\xaf\x95","z":"data"}' +# b'{"a":" tabs\\t\\t","b":"789","m":"unicode\xe6\xb5\x8b\xe8\xaf\x95","z":"data"}' +# Return Code: 0 diff --git a/canonicaljson/test11_executable.zip b/canonicaljson/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4bd447e4cded30cf12c4ab11cee3811b4edb4586 --- /dev/null +++ b/canonicaljson/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d38c97f64345bd05b949d12f22609e0c816a947f0b9d9396fa05f5d0ced55bc6 +size 7393180 diff --git a/canonicaljson/test12.py b/canonicaljson/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..be73b5bd3f813f7e2cd633ee0115698ddec626b2 --- /dev/null +++ b/canonicaljson/test12.py @@ -0,0 +1,75 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + parser.add_argument('--d', type=int, required=True) + args = parser.parse_args() + + data = [[args.a, args.b], [args.c, args.d]] + result1 = canonicaljson.encode_canonical_json(data) # Encode nested list as canonical JSON + flat_data = [args.a, args.b, args.c, args.d] + result2 = canonicaljson.encode_canonical_json(flat_data) # Encode flat list as canonical JSON + result3 = canonicaljson.encode_pretty_printed_json(data) # Encode nested list as pretty printed JSON + print(result1) + print(result2) + print(result3) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 999999 +# --b = 10 +# --c = 1 +# --d = 999999 +# Output: +# b'[[999999,10],[1,999999]]' +# b'[999999,10,1,999999]' +# b'[\n [\n 999999,\n 10\n ],\n [\n 1,\n 999999\n ]\n]' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -42 +# --b = 0 +# --c = 777 +# --d = -42 +# Output: +# b'[[-42,0],[777,-42]]' +# b'[-42,0,777,-42]' +# b'[\n [\n -42,\n 0\n ],\n [\n 777,\n -42\n ]\n]' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -1 +# --b = 0 +# --c = -123456789 +# --d = -1 +# Output: +# b'[[-1,0],[-123456789,-1]]' +# b'[-1,0,-123456789,-1]' +# b'[\n [\n -1,\n 0\n ],\n [\n -123456789,\n -1\n ]\n]' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -2147483648 +# --b = 42 +# --c = 7 +# --d = -2147483648 +# Output: +# b'[[-2147483648,42],[7,-2147483648]]' +# b'[-2147483648,42,7,-2147483648]' +# b'[\n [\n -2147483648,\n 42\n ],\n [\n 7,\n -2147483648\n ]\n]' +# Return Code: 0 diff --git a/canonicaljson/test12_executable.zip b/canonicaljson/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ade531a71eb0240461baaf1779f08826eaf67d5b --- /dev/null +++ b/canonicaljson/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2327b31213418d2556db7520883ff6135ff6093425a5ab2030e79d13d872a2c +size 7394753 diff --git a/canonicaljson/test13.py b/canonicaljson/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..d3228eb9bcd4b1c7fd4dc917cd9a0538cefbf440 --- /dev/null +++ b/canonicaljson/test13.py @@ -0,0 +1,77 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + args = parser.parse_args() + + data = { + "level1": { + "level2": { + "level3": args.a + }, + "other": args.b + }, + "direct": args.c + } + result1 = canonicaljson.encode_canonical_json(data) # Encode deeply nested dictionary as canonical JSON + result2 = canonicaljson.encode_pretty_printed_json(data) # Encode deeply nested dictionary as pretty printed JSON + iter_chunks = list(canonicaljson.iterencode_canonical_json(data["level1"])) # Iteratively encode sub-dictionary + print(result1) + print(result2) + print(len(iter_chunks)) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'newline\nin\nstring' +# --b = '123' +# --c = 'b' +# Output: +# b'{"direct":"b","level1":{"level2":{"level3":"newline\\nin\\nstring"},"other":"123"}}' +# b'{\n "direct": "b",\n "level1": {\n "level2": {\n "level3": "newline\\nin\\nstring"\n },\n "other": "123"\n }\n}' +# 13 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'MixedCase' +# --b = 'nested"quotes"and\\backslashes' +# --c = 'false' +# Output: +# b'{"direct":"false","level1":{"level2":{"level3":"MixedCase"},"other":"nested\\"quotes\\"and\\\\backslashes"}}' +# b'{\n "direct": "false",\n "level1": {\n "level2": {\n "level3": "MixedCase"\n },\n "other": "nested\\"quotes\\"and\\\\backslashes"\n }\n}' +# 13 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'b' +# --b = 'multiline\nline2\nline3' +# --c = 'empty' +# Output: +# b'{"direct":"empty","level1":{"level2":{"level3":"b"},"other":"multiline\\nline2\\nline3"}}' +# b'{\n "direct": "empty",\n "level1": {\n "level2": {\n "level3": "b"\n },\n "other": "multiline\\nline2\\nline3"\n }\n}' +# 13 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'emoji👍' +# --b = '0' +# --c = 'e' +# Output: +# b'{"direct":"e","level1":{"level2":{"level3":"emoji\xf0\x9f\x91\x8d"},"other":"0"}}' +# b'{\n "direct": "e",\n "level1": {\n "level2": {\n "level3": "emoji\xf0\x9f\x91\x8d"\n },\n "other": "0"\n }\n}' +# 13 +# Return Code: 0 diff --git a/canonicaljson/test13_executable.zip b/canonicaljson/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8d5673379f411880e65bef289f9b93f01d2f378c --- /dev/null +++ b/canonicaljson/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27a0ba5dc9b00938b4c478f879cdd23812b9be2ff0829bb0e6266e6103640843 +size 7391065 diff --git a/canonicaljson/test14.py b/canonicaljson/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..6fb1181c8a04a6e5ff9e9cd038db8a6795c0756e --- /dev/null +++ b/canonicaljson/test14.py @@ -0,0 +1,78 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=float, required=True) + parser.add_argument('--d', type=float, required=True) + args = parser.parse_args() + + data = { + "values": [args.a, args.b, args.c, args.d], + "sum": args.a + args.b + args.c + args.d, + "avg": (args.a + args.b + args.c + args.d) / 4 + } + result1 = canonicaljson.encode_canonical_json(data) # Encode with calculated values as canonical JSON + result2 = canonicaljson.encode_pretty_printed_json(data) # Encode with calculated values as pretty printed JSON + result3 = canonicaljson.encode_canonical_json(data["values"]) # Encode just the list as canonical JSON + print(result1) + print(result2) + print(result3) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 1e-10 +# --b = -2.71828 +# --c = 7.0 +# --d = 123.456 +# Output: +# b'{"avg":31.934430000025,"sum":127.7377200001,"values":[1e-10,-2.71828,7.0,123.456]}' +# b'{\n "avg": 31.934430000025,\n "sum": 127.7377200001,\n "values": [\n 1e-10,\n -2.71828,\n 7.0,\n 123.456\n ]\n}' +# b'[1e-10,-2.71828,7.0,123.456]' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 123.456 +# --b = -1.23456789 +# --c = 1.0 +# --d = 0.0 +# Output: +# b'{"avg":30.805358027500002,"sum":123.22143211000001,"values":[123.456,-1.23456789,1.0,0.0]}' +# b'{\n "avg": 30.805358027500002,\n "sum": 123.22143211000001,\n "values": [\n 123.456,\n -1.23456789,\n 1.0,\n 0.0\n ]\n}' +# b'[123.456,-1.23456789,1.0,0.0]' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -0.1 +# --b = -0.001 +# --c = 3.14159 +# --d = -999.999 +# Output: +# b'{"avg":-249.23960250000002,"sum":-996.9584100000001,"values":[-0.1,-0.001,3.14159,-999.999]}' +# b'{\n "avg": -249.23960250000002,\n "sum": -996.9584100000001,\n "values": [\n -0.1,\n -0.001,\n 3.14159,\n -999.999\n ]\n}' +# b'[-0.1,-0.001,3.14159,-999.999]' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -100.0 +# --b = 0.5 +# --c = -0.1 +# --d = -0.001 +# Output: +# b'{"avg":-24.90025,"sum":-99.601,"values":[-100.0,0.5,-0.1,-0.001]}' +# b'{\n "avg": -24.90025,\n "sum": -99.601,\n "values": [\n -100.0,\n 0.5,\n -0.1,\n -0.001\n ]\n}' +# b'[-100.0,0.5,-0.1,-0.001]' +# Return Code: 0 diff --git a/canonicaljson/test14_executable.zip b/canonicaljson/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b156315b6d949150808a4e6ec1624f249ea77261 --- /dev/null +++ b/canonicaljson/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a2798e7bca167084c9d0945c7b71163045cda62428ecb516e875b9d0eae29c6 +size 7392807 diff --git a/canonicaljson/test15.py b/canonicaljson/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..cb04d5f962bdd59e07949c6ce7958048379e9957 --- /dev/null +++ b/canonicaljson/test15.py @@ -0,0 +1,86 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + args = parser.parse_args() + + data1 = {args.a: args.b, args.c: args.d} + data2 = {args.e: data1} + result1 = canonicaljson.encode_canonical_json(data1) # Encode first dictionary as canonical JSON + result2 = canonicaljson.encode_canonical_json(data2) # Encode nested dictionary as canonical JSON + result3 = canonicaljson.encode_pretty_printed_json(data2) # Encode nested dictionary as pretty printed JSON + iter_result = b''.join(list(canonicaljson.iterencode_canonical_json(data2))) # Combine iterative encoding chunks + print(result1) + print(result2) + print(result3) + print(iter_result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'hello' +# --b = 'special chars: ", \\, \\/, \x08, \x0c, \n, \r, \t' +# --c = 'backslash\\test' +# --d = 'example' +# --e = 'a' +# Output: +# b'{"backslash\\\\test":"example","hello":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"}' +# b'{"a":{"backslash\\\\test":"example","hello":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"}}' +# b'{\n "a": {\n "backslash\\\\test": "example",\n "hello": "special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"\n }\n}' +# b'{"a":{"backslash\\\\test":"example","hello":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"}}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'world' +# --b = 'unicode: é, ñ, 汉, 字, 🚀' +# --c = 'newline\nin\nstring' +# --d = '123' +# --e = 'b' +# Output: +# b'{"newline\\nin\\nstring":"123","world":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80"}' +# b'{"b":{"newline\\nin\\nstring":"123","world":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80"}}' +# b'{\n "b": {\n "newline\\nin\\nstring": "123",\n "world": "unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80"\n }\n}' +# b'{"b":{"newline\\nin\\nstring":"123","world":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80"}}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '数字123混合abc' +# --b = 'data' +# --c = ' tabs\t\t' +# --d = 'unicode测试' +# --e = '789' +# Output: +# b'{" tabs\\t\\t":"unicode\xe6\xb5\x8b\xe8\xaf\x95","\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc":"data"}' +# b'{"789":{" tabs\\t\\t":"unicode\xe6\xb5\x8b\xe8\xaf\x95","\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc":"data"}}' +# b'{\n "789": {\n " tabs\\t\\t": "unicode\xe6\xb5\x8b\xe8\xaf\x95",\n "\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc": "data"\n }\n}' +# b'{"789":{" tabs\\t\\t":"unicode\xe6\xb5\x8b\xe8\xaf\x95","\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc":"data"}}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'unicode测试' +# --b = '789' +# --c = 'd' +# --d = 'world' +# --e = 'unicode: é, ñ, 汉, 字, 🚀' +# Output: +# b'{"d":"world","unicode\xe6\xb5\x8b\xe8\xaf\x95":"789"}' +# b'{"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80":{"d":"world","unicode\xe6\xb5\x8b\xe8\xaf\x95":"789"}}' +# b'{\n "unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80": {\n "d": "world",\n "unicode\xe6\xb5\x8b\xe8\xaf\x95": "789"\n }\n}' +# b'{"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80":{"d":"world","unicode\xe6\xb5\x8b\xe8\xaf\x95":"789"}}' +# Return Code: 0 diff --git a/canonicaljson/test15_executable.zip b/canonicaljson/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..200b930f0c78ca5c854e123cc34f163d811a1794 --- /dev/null +++ b/canonicaljson/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07595200b26315540df6932f0c4f096f75501e06cf5a63fdcc766a3a74cb3738 +size 7394218 diff --git a/canonicaljson/test16.py b/canonicaljson/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..5f72c049b12cb8e441bb0cafae2c95f384403689 --- /dev/null +++ b/canonicaljson/test16.py @@ -0,0 +1,111 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + parser.add_argument('--f', type=str, required=True) + args = parser.parse_args() + + # Create complex nested structure + data = { + "list_of_dicts": [ + {"key1": args.a, "key2": args.b}, + {"key3": args.c, "key4": args.d} + ], + "dict_with_list": { + "items": [args.e, args.f], + "count": 2 + }, + "mixed": { + "string": args.a + args.b, + "nested": {"inner": args.c} + } + } + + result1 = canonicaljson.encode_canonical_json(data) # Encode complex structure as canonical JSON + result2 = canonicaljson.encode_pretty_printed_json(data) # Encode complex structure as pretty printed JSON + result3 = canonicaljson.encode_canonical_json(data["list_of_dicts"]) # Encode list of dicts as canonical JSON + result4 = canonicaljson.encode_canonical_json(data["dict_with_list"]) # Encode dict with list as canonical JSON + result5 = canonicaljson.encode_canonical_json(data["mixed"]) # Encode mixed structure as canonical JSON + print(result1) + print(result2) + print(result3) + print(result4) + print(result5) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring' +# --b = 'true' +# --c = '符号!@#$%^&*()' +# --d = 'json' +# --e = 'new\nlines' +# --f = 'emoji👍' +# Output: +# b'{"dict_with_list":{"count":2,"items":["new\\nlines","emoji\xf0\x9f\x91\x8d"]},"list_of_dicts":[{"key1":"verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring","key2":"true"},{"key3":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","key4":"json"}],"mixed":{"nested":{"inner":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()"},"string":"verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstringtrue"}}' +# b'{\n "dict_with_list": {\n "count": 2,\n "items": [\n "new\\nlines",\n "emoji\xf0\x9f\x91\x8d"\n ]\n },\n "list_of_dicts": [\n {\n "key1": "verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring",\n "key2": "true"\n },\n {\n "key3": "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()",\n "key4": "json"\n }\n ],\n "mixed": {\n "nested": {\n "inner": "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()"\n },\n "string": "verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstringtrue"\n }\n}' +# b'[{"key1":"verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring","key2":"true"},{"key3":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","key4":"json"}]' +# b'{"count":2,"items":["new\\nlines","emoji\xf0\x9f\x91\x8d"]}' +# b'{"nested":{"inner":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()"},"string":"verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstringtrue"}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '数字123混合abc' +# --b = 'data' +# --c = ' tabs\t\t' +# --d = 'unicode测试' +# --e = '789' +# --f = 'd' +# Output: +# b'{"dict_with_list":{"count":2,"items":["789","d"]},"list_of_dicts":[{"key1":"\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc","key2":"data"},{"key3":" tabs\\t\\t","key4":"unicode\xe6\xb5\x8b\xe8\xaf\x95"}],"mixed":{"nested":{"inner":" tabs\\t\\t"},"string":"\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abcdata"}}' +# b'{\n "dict_with_list": {\n "count": 2,\n "items": [\n "789",\n "d"\n ]\n },\n "list_of_dicts": [\n {\n "key1": "\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc",\n "key2": "data"\n },\n {\n "key3": " tabs\\t\\t",\n "key4": "unicode\xe6\xb5\x8b\xe8\xaf\x95"\n }\n ],\n "mixed": {\n "nested": {\n "inner": " tabs\\t\\t"\n },\n "string": "\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abcdata"\n }\n}' +# b'[{"key1":"\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc","key2":"data"},{"key3":" tabs\\t\\t","key4":"unicode\xe6\xb5\x8b\xe8\xaf\x95"}]' +# b'{"count":2,"items":["789","d"]}' +# b'{"nested":{"inner":" tabs\\t\\t"},"string":"\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abcdata"}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'd' +# --b = 'world' +# --c = 'unicode: é, ñ, 汉, 字, 🚀' +# --d = 'newline\nin\nstring' +# --e = '123' +# --f = 'b' +# Output: +# b'{"dict_with_list":{"count":2,"items":["123","b"]},"list_of_dicts":[{"key1":"d","key2":"world"},{"key3":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","key4":"newline\\nin\\nstring"}],"mixed":{"nested":{"inner":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80"},"string":"dworld"}}' +# b'{\n "dict_with_list": {\n "count": 2,\n "items": [\n "123",\n "b"\n ]\n },\n "list_of_dicts": [\n {\n "key1": "d",\n "key2": "world"\n },\n {\n "key3": "unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80",\n "key4": "newline\\nin\\nstring"\n }\n ],\n "mixed": {\n "nested": {\n "inner": "unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80"\n },\n "string": "dworld"\n }\n}' +# b'[{"key1":"d","key2":"world"},{"key3":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","key4":"newline\\nin\\nstring"}]' +# b'{"count":2,"items":["123","b"]}' +# b'{"nested":{"inner":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80"},"string":"dworld"}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '符号!@#$%^&*()' +# --b = 'json' +# --c = 'new\nlines' +# --d = 'emoji👍' +# --e = '0' +# --f = 'e' +# Output: +# b'{"dict_with_list":{"count":2,"items":["0","e"]},"list_of_dicts":[{"key1":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","key2":"json"},{"key3":"new\\nlines","key4":"emoji\xf0\x9f\x91\x8d"}],"mixed":{"nested":{"inner":"new\\nlines"},"string":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()json"}}' +# b'{\n "dict_with_list": {\n "count": 2,\n "items": [\n "0",\n "e"\n ]\n },\n "list_of_dicts": [\n {\n "key1": "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()",\n "key2": "json"\n },\n {\n "key3": "new\\nlines",\n "key4": "emoji\xf0\x9f\x91\x8d"\n }\n ],\n "mixed": {\n "nested": {\n "inner": "new\\nlines"\n },\n "string": "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()json"\n }\n}' +# b'[{"key1":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","key2":"json"},{"key3":"new\\nlines","key4":"emoji\xf0\x9f\x91\x8d"}]' +# b'{"count":2,"items":["0","e"]}' +# b'{"nested":{"inner":"new\\nlines"},"string":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()json"}' +# Return Code: 0 diff --git a/canonicaljson/test16_executable.zip b/canonicaljson/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e6b1c21e34bf9590283561e44fb3bbad3e68dfe7 --- /dev/null +++ b/canonicaljson/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9983e2c88d7122d54547ebd8fb5c762653e7e1b4f865f9e09ef399e1342618cd +size 7394719 diff --git a/canonicaljson/test17.py b/canonicaljson/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..4aebd2690bd22bdbdf0e7249d039065f52b35939 --- /dev/null +++ b/canonicaljson/test17.py @@ -0,0 +1,130 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + parser.add_argument('--f', type=str, required=True) + parser.add_argument('--g', type=str, required=True) + args = parser.parse_args() + + # Edge cases: empty strings, special characters + data1 = { + "empty_string": "", + "regular_string": args.a, + "whitespace": " ", + "newline": "\n", + "tab": "\t" + } + + # Large nested structure + data2 = { + "level1": { + "level2": { + "level3": { + "level4": { + "level5": { + "value": args.b + } + } + } + } + } + } + + # Dictionary with many keys (testing canonical sorting) + data3 = {} + for i, char in enumerate("zyxwvutsrqponmlkjihgfedcba"): + if i < 7: # Use first 7 characters with provided args + data3[char] = [args.c, args.d, args.e, args.f, args.g][i % 5] + + result1 = canonicaljson.encode_canonical_json(data1) # Encode edge cases as canonical JSON + result2 = canonicaljson.encode_canonical_json(data2) # Encode deeply nested as canonical JSON + result3 = canonicaljson.encode_canonical_json(data3) # Encode large sorted dict as canonical JSON + result4 = canonicaljson.encode_pretty_printed_json(data1) # Encode edge cases as pretty printed JSON + result5 = canonicaljson.encode_pretty_printed_json(data2) # Encode deeply nested as pretty printed JSON + print(result1) + print(result2) + print(result3) + print(result4) + print(result5) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'true' +# --b = '符号!@#$%^&*()' +# --c = 'json' +# --d = 'new\nlines' +# --e = 'emoji👍' +# --f = '0' +# --g = 'e' +# Output: +# b'{"empty_string":"","newline":"\\n","regular_string":"true","tab":"\\t","whitespace":" "}' +# b'{"level1":{"level2":{"level3":{"level4":{"level5":{"value":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()"}}}}}}' +# b'{"t":"new\\nlines","u":"json","v":"e","w":"0","x":"emoji\xf0\x9f\x91\x8d","y":"new\\nlines","z":"json"}' +# b'{\n "empty_string": "",\n "newline": "\\n",\n "regular_string": "true",\n "tab": "\\t",\n "whitespace": " "\n}' +# b'{\n "level1": {\n "level2": {\n "level3": {\n "level4": {\n "level5": {\n "value": "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()"\n }\n }\n }\n }\n }\n}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'none' +# --b = '\t\ttabs\t\t' +# --c = 'python' +# --d = 'MixedCase' +# --e = 'nested"quotes"and\\backslashes' +# --f = 'false' +# --g = 'empty_string' +# Output: +# b'{"empty_string":"","newline":"\\n","regular_string":"none","tab":"\\t","whitespace":" "}' +# b'{"level1":{"level2":{"level3":{"level4":{"level5":{"value":"\\t\\ttabs\\t\\t"}}}}}}' +# b'{"t":"MixedCase","u":"python","v":"empty_string","w":"false","x":"nested\\"quotes\\"and\\\\backslashes","y":"MixedCase","z":"python"}' +# b'{\n "empty_string": "",\n "newline": "\\n",\n "regular_string": "none",\n "tab": "\\t",\n "whitespace": " "\n}' +# b'{\n "level1": {\n "level2": {\n "level3": {\n "level4": {\n "level5": {\n "value": "\\t\\ttabs\\t\\t"\n }\n }\n }\n }\n }\n}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'data' +# --b = ' tabs\t\t' +# --c = 'unicode测试' +# --d = '789' +# --e = 'd' +# --f = 'world' +# --g = 'unicode: é, ñ, 汉, 字, 🚀' +# Output: +# b'{"empty_string":"","newline":"\\n","regular_string":"data","tab":"\\t","whitespace":" "}' +# b'{"level1":{"level2":{"level3":{"level4":{"level5":{"value":" tabs\\t\\t"}}}}}}' +# b'{"t":"789","u":"unicode\xe6\xb5\x8b\xe8\xaf\x95","v":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","w":"world","x":"d","y":"789","z":"unicode\xe6\xb5\x8b\xe8\xaf\x95"}' +# b'{\n "empty_string": "",\n "newline": "\\n",\n "regular_string": "data",\n "tab": "\\t",\n "whitespace": " "\n}' +# b'{\n "level1": {\n "level2": {\n "level3": {\n "level4": {\n "level5": {\n "value": " tabs\\t\\t"\n }\n }\n }\n }\n }\n}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'json' +# --b = 'new\nlines' +# --c = 'emoji👍' +# --d = '0' +# --e = 'e' +# --f = 'test' +# --g = 'spaces ' +# Output: +# b'{"empty_string":"","newline":"\\n","regular_string":"json","tab":"\\t","whitespace":" "}' +# b'{"level1":{"level2":{"level3":{"level4":{"level5":{"value":"new\\nlines"}}}}}}' +# b'{"t":"0","u":"emoji\xf0\x9f\x91\x8d","v":"spaces ","w":"test","x":"e","y":"0","z":"emoji\xf0\x9f\x91\x8d"}' +# b'{\n "empty_string": "",\n "newline": "\\n",\n "regular_string": "json",\n "tab": "\\t",\n "whitespace": " "\n}' +# b'{\n "level1": {\n "level2": {\n "level3": {\n "level4": {\n "level5": {\n "value": "new\\nlines"\n }\n }\n }\n }\n }\n}' +# Return Code: 0 diff --git a/canonicaljson/test17_executable.zip b/canonicaljson/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8d2199547bf5cb1478cc6cd302a38d9df88e677b --- /dev/null +++ b/canonicaljson/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff6570a1f69627eef9e1268f7b320b7158315a80436401573ea080da652f463e +size 7394841 diff --git a/canonicaljson/test18.py b/canonicaljson/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..c27d781e9e1674fb4cd8c45001d9cd07ac144a0c --- /dev/null +++ b/canonicaljson/test18.py @@ -0,0 +1,141 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + parser.add_argument('--d', type=int, required=True) + parser.add_argument('--e', type=int, required=True) + parser.add_argument('--f', type=int, required=True) + parser.add_argument('--g', type=int, required=True) + parser.add_argument('--h', type=int, required=True) + args = parser.parse_args() + + # Matrix-like structure + matrix = [ + [args.a, args.b, args.c, args.d], + [args.e, args.f, args.g, args.h], + [args.a + args.b, args.c + args.d, args.e + args.f, args.g + args.h], + [args.a * 2, args.b * 2, args.c * 2, args.d * 2] + ] + + # Transpose of matrix + transpose = [] + for i in range(len(matrix[0])): + row = [] + for j in range(len(matrix)): + row.append(matrix[j][i]) + transpose.append(row) + + # Statistics + all_numbers = [] + for row in matrix: + all_numbers.extend(row) + + stats = { + "matrix": matrix, + "transpose": transpose, + "sum": sum(all_numbers), + "min": min(all_numbers), + "max": max(all_numbers), + "count": len(all_numbers) + } + + result1 = canonicaljson.encode_canonical_json(matrix) # Encode matrix as canonical JSON + result2 = canonicaljson.encode_canonical_json(transpose) # Encode transpose as canonical JSON + result3 = canonicaljson.encode_canonical_json(stats) # Encode stats as canonical JSON + result4 = canonicaljson.encode_pretty_printed_json(matrix) # Encode matrix as pretty printed JSON + result5 = canonicaljson.encode_pretty_printed_json(stats) # Encode stats as pretty printed JSON + result6 = canonicaljson.encode_canonical_json(all_numbers) # Encode flattened numbers as canonical JSON + print(result1) + print(result2) + print(result3) + print(result4) + print(result5) + print(result6) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 1 +# --b = 999999 +# --c = 10 +# --d = 1 +# --e = 999999 +# --f = 10 +# --g = 1 +# --h = 999999 +# Output: +# b'[[1,999999,10,1],[999999,10,1,999999],[1000000,11,1000009,1000000],[2,1999998,20,2]]' +# b'[[1,999999,1000000,2],[999999,10,11,1999998],[10,1,1000009,20],[1,999999,1000000,2]]' +# b'{"count":16,"matrix":[[1,999999,10,1],[999999,10,1,999999],[1000000,11,1000009,1000000],[2,1999998,20,2]],"max":1999998,"min":1,"sum":8000062,"transpose":[[1,999999,1000000,2],[999999,10,11,1999998],[10,1,1000009,20],[1,999999,1000000,2]]}' +# b'[\n [\n 1,\n 999999,\n 10,\n 1\n ],\n [\n 999999,\n 10,\n 1,\n 999999\n ],\n [\n 1000000,\n 11,\n 1000009,\n 1000000\n ],\n [\n 2,\n 1999998,\n 20,\n 2\n ]\n]' +# b'{\n "count": 16,\n "matrix": [\n [\n 1,\n 999999,\n 10,\n 1\n ],\n [\n 999999,\n 10,\n 1,\n 999999\n ],\n [\n 1000000,\n 11,\n 1000009,\n 1000000\n ],\n [\n 2,\n 1999998,\n 20,\n 2\n ]\n ],\n "max": 1999998,\n "min": 1,\n "sum": 8000062,\n "transpose": [\n [\n 1,\n 999999,\n 1000000,\n 2\n ],\n [\n 999999,\n 10,\n 11,\n 1999998\n ],\n [\n 10,\n 1,\n 1000009,\n 20\n ],\n [\n 1,\n 999999,\n 1000000,\n 2\n ]\n ]\n}' +# b'[1,999999,10,1,999999,10,1,999999,1000000,11,1000009,1000000,2,1999998,20,2]' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 0 +# --b = 777 +# --c = -42 +# --d = 0 +# --e = 777 +# --f = -42 +# --g = 0 +# --h = 777 +# Output: +# b'[[0,777,-42,0],[777,-42,0,777],[777,-42,735,777],[0,1554,-84,0]]' +# b'[[0,777,777,0],[777,-42,-42,1554],[-42,0,735,-84],[0,777,777,0]]' +# b'{"count":16,"matrix":[[0,777,-42,0],[777,-42,0,777],[777,-42,735,777],[0,1554,-84,0]],"max":1554,"min":-84,"sum":5964,"transpose":[[0,777,777,0],[777,-42,-42,1554],[-42,0,735,-84],[0,777,777,0]]}' +# b'[\n [\n 0,\n 777,\n -42,\n 0\n ],\n [\n 777,\n -42,\n 0,\n 777\n ],\n [\n 777,\n -42,\n 735,\n 777\n ],\n [\n 0,\n 1554,\n -84,\n 0\n ]\n]' +# b'{\n "count": 16,\n "matrix": [\n [\n 0,\n 777,\n -42,\n 0\n ],\n [\n 777,\n -42,\n 0,\n 777\n ],\n [\n 777,\n -42,\n 735,\n 777\n ],\n [\n 0,\n 1554,\n -84,\n 0\n ]\n ],\n "max": 1554,\n "min": -84,\n "sum": 5964,\n "transpose": [\n [\n 0,\n 777,\n 777,\n 0\n ],\n [\n 777,\n -42,\n -42,\n 1554\n ],\n [\n -42,\n 0,\n 735,\n -84\n ],\n [\n 0,\n 777,\n 777,\n 0\n ]\n ]\n}' +# b'[0,777,-42,0,777,-42,0,777,777,-42,735,777,0,1554,-84,0]' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 0 +# --b = -123456789 +# --c = -1 +# --d = 0 +# --e = -123456789 +# --f = -1 +# --g = 0 +# --h = -123456789 +# Output: +# b'[[0,-123456789,-1,0],[-123456789,-1,0,-123456789],[-123456789,-1,-123456790,-123456789],[0,-246913578,-2,0]]' +# b'[[0,-123456789,-123456789,0],[-123456789,-1,-1,-246913578],[-1,0,-123456790,-2],[0,-123456789,-123456789,0]]' +# b'{"count":16,"matrix":[[0,-123456789,-1,0],[-123456789,-1,0,-123456789],[-123456789,-1,-123456790,-123456789],[0,-246913578,-2,0]],"max":0,"min":-246913578,"sum":-987654318,"transpose":[[0,-123456789,-123456789,0],[-123456789,-1,-1,-246913578],[-1,0,-123456790,-2],[0,-123456789,-123456789,0]]}' +# b'[\n [\n 0,\n -123456789,\n -1,\n 0\n ],\n [\n -123456789,\n -1,\n 0,\n -123456789\n ],\n [\n -123456789,\n -1,\n -123456790,\n -123456789\n ],\n [\n 0,\n -246913578,\n -2,\n 0\n ]\n]' +# b'{\n "count": 16,\n "matrix": [\n [\n 0,\n -123456789,\n -1,\n 0\n ],\n [\n -123456789,\n -1,\n 0,\n -123456789\n ],\n [\n -123456789,\n -1,\n -123456790,\n -123456789\n ],\n [\n 0,\n -246913578,\n -2,\n 0\n ]\n ],\n "max": 0,\n "min": -246913578,\n "sum": -987654318,\n "transpose": [\n [\n 0,\n -123456789,\n -123456789,\n 0\n ],\n [\n -123456789,\n -1,\n -1,\n -246913578\n ],\n [\n -1,\n 0,\n -123456790,\n -2\n ],\n [\n 0,\n -123456789,\n -123456789,\n 0\n ]\n ]\n}' +# b'[0,-123456789,-1,0,-123456789,-1,0,-123456789,-123456789,-1,-123456790,-123456789,0,-246913578,-2,0]' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -1 +# --b = 0 +# --c = -123456789 +# --d = -1 +# --e = 0 +# --f = -123456789 +# --g = -1 +# --h = 0 +# Output: +# b'[[-1,0,-123456789,-1],[0,-123456789,-1,0],[-1,-123456790,-123456789,-1],[-2,0,-246913578,-2]]' +# b'[[-1,0,-1,-2],[0,-123456789,-123456790,0],[-123456789,-1,-123456789,-246913578],[-1,0,-1,-2]]' +# b'{"count":16,"matrix":[[-1,0,-123456789,-1],[0,-123456789,-1,0],[-1,-123456790,-123456789,-1],[-2,0,-246913578,-2]],"max":0,"min":-246913578,"sum":-740740744,"transpose":[[-1,0,-1,-2],[0,-123456789,-123456790,0],[-123456789,-1,-123456789,-246913578],[-1,0,-1,-2]]}' +# b'[\n [\n -1,\n 0,\n -123456789,\n -1\n ],\n [\n 0,\n -123456789,\n -1,\n 0\n ],\n [\n -1,\n -123456790,\n -123456789,\n -1\n ],\n [\n -2,\n 0,\n -246913578,\n -2\n ]\n]' +# b'{\n "count": 16,\n "matrix": [\n [\n -1,\n 0,\n -123456789,\n -1\n ],\n [\n 0,\n -123456789,\n -1,\n 0\n ],\n [\n -1,\n -123456790,\n -123456789,\n -1\n ],\n [\n -2,\n 0,\n -246913578,\n -2\n ]\n ],\n "max": 0,\n "min": -246913578,\n "sum": -740740744,\n "transpose": [\n [\n -1,\n 0,\n -1,\n -2\n ],\n [\n 0,\n -123456789,\n -123456790,\n 0\n ],\n [\n -123456789,\n -1,\n -123456789,\n -246913578\n ],\n [\n -1,\n 0,\n -1,\n -2\n ]\n ]\n}' +# b'[-1,0,-123456789,-1,0,-123456789,-1,0,-1,-123456790,-123456789,-1,-2,0,-246913578,-2]' +# Return Code: 0 diff --git a/canonicaljson/test18_executable.zip b/canonicaljson/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4920ea9c8947d22a22f45984200ce42f037b3093 --- /dev/null +++ b/canonicaljson/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33f6b1f87d449b72cf34cfe1be38352457c3546e7a8fb49cfc3ccbeaba7144b4 +size 7394758 diff --git a/canonicaljson/test19.py b/canonicaljson/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..4fa36dfd8b69f35fb0e8c4bbf7656cc698f5f796 --- /dev/null +++ b/canonicaljson/test19.py @@ -0,0 +1,160 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + parser.add_argument('--f', type=str, required=True) + parser.add_argument('--g', type=str, required=True) + parser.add_argument('--h', type=str, required=True) + parser.add_argument('--i', type=str, required=True) + parser.add_argument('--j', type=str, required=True) + args = parser.parse_args() + + # Complex hierarchical data structure + company_structure = { + "company": args.a, + "departments": [ + { + "name": args.b, + "employees": [ + {"id": 1, "name": args.c, "role": args.d}, + {"id": 2, "name": args.e, "role": args.f} + ], + "budget": 100000 + }, + { + "name": args.g, + "employees": [ + {"id": 3, "name": args.h, "role": args.i}, + {"id": 4, "name": args.j, "role": "Manager"} + ], + "budget": 150000 + } + ], + "total_employees": 4, + "total_budget": 250000 + } + + # Extract and transform data + all_employees = [] + for dept in company_structure["departments"]: + all_employees.extend(dept["employees"]) + + employee_names = [emp["name"] for emp in all_employees] + departments = [dept["name"] for dept in company_structure["departments"]] + + result1 = canonicaljson.encode_canonical_json(company_structure) # Encode full structure as canonical JSON + result2 = canonicaljson.encode_pretty_printed_json(company_structure) # Encode full structure as pretty printed JSON + result3 = canonicaljson.encode_canonical_json(all_employees) # Encode all employees as canonical JSON + result4 = canonicaljson.encode_canonical_json(employee_names) # Encode employee names as canonical JSON + result5 = canonicaljson.encode_canonical_json(departments) # Encode departments as canonical JSON + result6 = canonicaljson.encode_canonical_json(company_structure["departments"][0]) # Encode first dept as canonical JSON + result7 = canonicaljson.encode_canonical_json(company_structure["departments"][1]) # Encode second dept as canonical JSON + print(result1) + print(result2) + print(result3) + print(result4) + print(result5) + print(result6) + print(result7) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'utf8✓' +# --b = 'none' +# --c = '\t\ttabs\t\t' +# --d = 'python' +# --e = 'MixedCase' +# --f = 'nested"quotes"and\\backslashes' +# --g = 'false' +# --h = 'empty_string' +# --i = 'canonical' +# --j = 'UPPERCASE' +# Output: +# b'{"company":"utf8\xe2\x9c\x93","departments":[{"budget":100000,"employees":[{"id":1,"name":"\\t\\ttabs\\t\\t","role":"python"},{"id":2,"name":"MixedCase","role":"nested\\"quotes\\"and\\\\backslashes"}],"name":"none"},{"budget":150000,"employees":[{"id":3,"name":"empty_string","role":"canonical"},{"id":4,"name":"UPPERCASE","role":"Manager"}],"name":"false"}],"total_budget":250000,"total_employees":4}' +# b'{\n "company": "utf8\xe2\x9c\x93",\n "departments": [\n {\n "budget": 100000,\n "employees": [\n {\n "id": 1,\n "name": "\\t\\ttabs\\t\\t",\n "role": "python"\n },\n {\n "id": 2,\n "name": "MixedCase",\n "role": "nested\\"quotes\\"and\\\\backslashes"\n }\n ],\n "name": "none"\n },\n {\n "budget": 150000,\n "employees": [\n {\n "id": 3,\n "name": "empty_string",\n "role": "canonical"\n },\n {\n "id": 4,\n "name": "UPPERCASE",\n "role": "Manager"\n }\n ],\n "name": "false"\n }\n ],\n "total_budget": 250000,\n "total_employees": 4\n}' +# b'[{"id":1,"name":"\\t\\ttabs\\t\\t","role":"python"},{"id":2,"name":"MixedCase","role":"nested\\"quotes\\"and\\\\backslashes"},{"id":3,"name":"empty_string","role":"canonical"},{"id":4,"name":"UPPERCASE","role":"Manager"}]' +# b'["\\t\\ttabs\\t\\t","MixedCase","empty_string","UPPERCASE"]' +# b'["none","false"]' +# b'{"budget":100000,"employees":[{"id":1,"name":"\\t\\ttabs\\t\\t","role":"python"},{"id":2,"name":"MixedCase","role":"nested\\"quotes\\"and\\\\backslashes"}],"name":"none"}' +# b'{"budget":150000,"employees":[{"id":3,"name":"empty_string","role":"canonical"},{"id":4,"name":"UPPERCASE","role":"Manager"}],"name":"false"}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'emoji👍' +# --b = '0' +# --c = 'e' +# --d = 'test' +# --e = 'spaces ' +# --f = 'carriage\rreturn' +# --g = '456' +# --h = 'c' +# --i = 'hello' +# --j = 'special chars: ", \\, \\/, \x08, \x0c, \n, \r, \t' +# Output: +# b'{"company":"emoji\xf0\x9f\x91\x8d","departments":[{"budget":100000,"employees":[{"id":1,"name":"e","role":"test"},{"id":2,"name":"spaces ","role":"carriage\\rreturn"}],"name":"0"},{"budget":150000,"employees":[{"id":3,"name":"c","role":"hello"},{"id":4,"name":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t","role":"Manager"}],"name":"456"}],"total_budget":250000,"total_employees":4}' +# b'{\n "company": "emoji\xf0\x9f\x91\x8d",\n "departments": [\n {\n "budget": 100000,\n "employees": [\n {\n "id": 1,\n "name": "e",\n "role": "test"\n },\n {\n "id": 2,\n "name": "spaces ",\n "role": "carriage\\rreturn"\n }\n ],\n "name": "0"\n },\n {\n "budget": 150000,\n "employees": [\n {\n "id": 3,\n "name": "c",\n "role": "hello"\n },\n {\n "id": 4,\n "name": "special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t",\n "role": "Manager"\n }\n ],\n "name": "456"\n }\n ],\n "total_budget": 250000,\n "total_employees": 4\n}' +# b'[{"id":1,"name":"e","role":"test"},{"id":2,"name":"spaces ","role":"carriage\\rreturn"},{"id":3,"name":"c","role":"hello"},{"id":4,"name":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t","role":"Manager"}]' +# b'["e","spaces ","c","special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"]' +# b'["0","456"]' +# b'{"budget":100000,"employees":[{"id":1,"name":"e","role":"test"},{"id":2,"name":"spaces ","role":"carriage\\rreturn"}],"name":"0"}' +# b'{"budget":150000,"employees":[{"id":3,"name":"c","role":"hello"},{"id":4,"name":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t","role":"Manager"}],"name":"456"}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '特殊字符~`!@#$%^&*()_+-=[]{}|;:,.<>?' +# --b = '-1' +# --c = '数字123混合abc' +# --d = 'data' +# --e = ' tabs\t\t' +# --f = 'unicode测试' +# --g = '789' +# --h = 'd' +# --i = 'world' +# --j = 'unicode: é, ñ, 汉, 字, 🚀' +# Output: +# b'{"company":"\xe7\x89\xb9\xe6\xae\x8a\xe5\xad\x97\xe7\xac\xa6~`!@#$%^&*()_+-=[]{}|;:,.<>?","departments":[{"budget":100000,"employees":[{"id":1,"name":"\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc","role":"data"},{"id":2,"name":" tabs\\t\\t","role":"unicode\xe6\xb5\x8b\xe8\xaf\x95"}],"name":"-1"},{"budget":150000,"employees":[{"id":3,"name":"d","role":"world"},{"id":4,"name":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","role":"Manager"}],"name":"789"}],"total_budget":250000,"total_employees":4}' +# b'{\n "company": "\xe7\x89\xb9\xe6\xae\x8a\xe5\xad\x97\xe7\xac\xa6~`!@#$%^&*()_+-=[]{}|;:,.<>?",\n "departments": [\n {\n "budget": 100000,\n "employees": [\n {\n "id": 1,\n "name": "\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc",\n "role": "data"\n },\n {\n "id": 2,\n "name": " tabs\\t\\t",\n "role": "unicode\xe6\xb5\x8b\xe8\xaf\x95"\n }\n ],\n "name": "-1"\n },\n {\n "budget": 150000,\n "employees": [\n {\n "id": 3,\n "name": "d",\n "role": "world"\n },\n {\n "id": 4,\n "name": "unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80",\n "role": "Manager"\n }\n ],\n "name": "789"\n }\n ],\n "total_budget": 250000,\n "total_employees": 4\n}' +# b'[{"id":1,"name":"\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc","role":"data"},{"id":2,"name":" tabs\\t\\t","role":"unicode\xe6\xb5\x8b\xe8\xaf\x95"},{"id":3,"name":"d","role":"world"},{"id":4,"name":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","role":"Manager"}]' +# b'["\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc"," tabs\\t\\t","d","unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80"]' +# b'["-1","789"]' +# b'{"budget":100000,"employees":[{"id":1,"name":"\xe6\x95\xb0\xe5\xad\x97123\xe6\xb7\xb7\xe5\x90\x88abc","role":"data"},{"id":2,"name":" tabs\\t\\t","role":"unicode\xe6\xb5\x8b\xe8\xaf\x95"}],"name":"-1"}' +# b'{"budget":150000,"employees":[{"id":3,"name":"d","role":"world"},{"id":4,"name":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","role":"Manager"}],"name":"789"}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'unicode测试' +# --b = '789' +# --c = 'd' +# --d = 'world' +# --e = 'unicode: é, ñ, 汉, 字, 🚀' +# --f = 'newline\nin\nstring' +# --g = '123' +# --h = 'b' +# --i = 'multiline\nline2\nline3' +# --j = 'empty' +# Output: +# b'{"company":"unicode\xe6\xb5\x8b\xe8\xaf\x95","departments":[{"budget":100000,"employees":[{"id":1,"name":"d","role":"world"},{"id":2,"name":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","role":"newline\\nin\\nstring"}],"name":"789"},{"budget":150000,"employees":[{"id":3,"name":"b","role":"multiline\\nline2\\nline3"},{"id":4,"name":"empty","role":"Manager"}],"name":"123"}],"total_budget":250000,"total_employees":4}' +# b'{\n "company": "unicode\xe6\xb5\x8b\xe8\xaf\x95",\n "departments": [\n {\n "budget": 100000,\n "employees": [\n {\n "id": 1,\n "name": "d",\n "role": "world"\n },\n {\n "id": 2,\n "name": "unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80",\n "role": "newline\\nin\\nstring"\n }\n ],\n "name": "789"\n },\n {\n "budget": 150000,\n "employees": [\n {\n "id": 3,\n "name": "b",\n "role": "multiline\\nline2\\nline3"\n },\n {\n "id": 4,\n "name": "empty",\n "role": "Manager"\n }\n ],\n "name": "123"\n }\n ],\n "total_budget": 250000,\n "total_employees": 4\n}' +# b'[{"id":1,"name":"d","role":"world"},{"id":2,"name":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","role":"newline\\nin\\nstring"},{"id":3,"name":"b","role":"multiline\\nline2\\nline3"},{"id":4,"name":"empty","role":"Manager"}]' +# b'["d","unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","b","empty"]' +# b'["789","123"]' +# b'{"budget":100000,"employees":[{"id":1,"name":"d","role":"world"},{"id":2,"name":"unicode: \xc3\xa9, \xc3\xb1, \xe6\xb1\x89, \xe5\xad\x97, \xf0\x9f\x9a\x80","role":"newline\\nin\\nstring"}],"name":"789"}' +# b'{"budget":150000,"employees":[{"id":3,"name":"b","role":"multiline\\nline2\\nline3"},{"id":4,"name":"empty","role":"Manager"}],"name":"123"}' +# Return Code: 0 diff --git a/canonicaljson/test19_executable.zip b/canonicaljson/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..80653495e5811ac1143fd3996711a6210c4db535 --- /dev/null +++ b/canonicaljson/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7db0d236447f298fc2ce50d758ed3f77a941d48da99a4513d07ec58ae6722ed8 +size 7394716 diff --git a/canonicaljson/test1_executable.zip b/canonicaljson/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5d2d1762a752ff57a868529f2ad0044cbe447c97 --- /dev/null +++ b/canonicaljson/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77fe80c68bce5ccdde30a210bc028fa5308426d411e756601460d81f929b5822 +size 7393596 diff --git a/canonicaljson/test2.py b/canonicaljson/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..e136b2d96046e869a84cbb420ad656f62ca76ce3 --- /dev/null +++ b/canonicaljson/test2.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + args = parser.parse_args() + + data = args.a + result = canonicaljson.encode_canonical_json(data) # Encode integer as canonical JSON + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -1 +# Output: +# b'-1' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 10 +# Output: +# b'10' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -42 +# Output: +# b'-42' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 1 +# Output: +# b'1' +# Return Code: 0 diff --git a/canonicaljson/test20.py b/canonicaljson/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..e3635fae6c05abc604ec806820c5d1c52ea04a21 --- /dev/null +++ b/canonicaljson/test20.py @@ -0,0 +1,187 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + parser.add_argument('--f', type=str, required=True) + parser.add_argument('--g', type=str, required=True) + parser.add_argument('--h', type=str, required=True) + parser.add_argument('--i', type=str, required=True) + parser.add_argument('--j', type=str, required=True) + parser.add_argument('--k', type=str, required=True) + parser.add_argument('--l', type=str, required=True) + args = parser.parse_args() + + # Comprehensive test with all API functions and edge cases + simple_data = args.a + + list_data = [args.b, args.c, args.d, args.e] + + dict_data = { + "key1": args.f, + "key2": args.g, + "key3": args.h, + "key4": args.i + } + + mixed_data = { + "string": args.j, + "number": 42, + "boolean": True, + "null": None, + "list": list_data, + "dict": dict_data, + "nested": { + "inner": args.k, + "deep": { + "value": args.l + } + } + } + + # Test all encoding functions - exactly 10 API calls and 10 prints + result1 = canonicaljson.encode_canonical_json(simple_data) # Encode simple string as canonical JSON + result2 = canonicaljson.encode_canonical_json(list_data) # Encode list as canonical JSON + result3 = canonicaljson.encode_canonical_json(dict_data) # Encode dictionary as canonical JSON + result4 = canonicaljson.encode_canonical_json(mixed_data) # Encode mixed data as canonical JSON + result5 = canonicaljson.encode_pretty_printed_json(list_data) # Encode list as pretty printed JSON + result6 = canonicaljson.encode_pretty_printed_json(dict_data) # Encode dictionary as pretty printed JSON + result7 = canonicaljson.encode_pretty_printed_json(mixed_data) # Encode mixed data as pretty printed JSON + + # Test iterative encoding (these are also API calls) + iter_result1 = b''.join(list(canonicaljson.iterencode_canonical_json(list_data))) # Iteratively encode list + iter_result2 = b''.join(list(canonicaljson.iterencode_canonical_json(dict_data))) # Iteratively encode dictionary + iter_result3 = b''.join(list(canonicaljson.iterencode_canonical_json(mixed_data))) # Iteratively encode mixed data + + # Print all results - exactly 10 prints + print(result1) + print(result2) + print(result3) + print(result4) + print(result5) + print(result6) + print(result7) + print(iter_result1) + print(iter_result2) + print(iter_result3) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'e' +# --b = 'test' +# --c = 'spaces ' +# --d = 'carriage\rreturn' +# --e = '456' +# --f = 'c' +# --g = 'hello' +# --h = 'special chars: ", \\, \\/, \x08, \x0c, \n, \r, \t' +# --i = 'backslash\\test' +# --j = 'example' +# --k = 'a' +# --l = 'utf8✓' +# Output: +# b'"e"' +# b'["test","spaces ","carriage\\rreturn","456"]' +# b'{"key1":"c","key2":"hello","key3":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t","key4":"backslash\\\\test"}' +# b'{"boolean":true,"dict":{"key1":"c","key2":"hello","key3":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t","key4":"backslash\\\\test"},"list":["test","spaces ","carriage\\rreturn","456"],"nested":{"deep":{"value":"utf8\xe2\x9c\x93"},"inner":"a"},"null":null,"number":42,"string":"example"}' +# b'[\n "test",\n "spaces ",\n "carriage\\rreturn",\n "456"\n]' +# b'{\n "key1": "c",\n "key2": "hello",\n "key3": "special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t",\n "key4": "backslash\\\\test"\n}' +# b'{\n "boolean": true,\n "dict": {\n "key1": "c",\n "key2": "hello",\n "key3": "special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t",\n "key4": "backslash\\\\test"\n },\n "list": [\n "test",\n "spaces ",\n "carriage\\rreturn",\n "456"\n ],\n "nested": {\n "deep": {\n "value": "utf8\xe2\x9c\x93"\n },\n "inner": "a"\n },\n "null": null,\n "number": 42,\n "string": "example"\n}' +# b'["test","spaces ","carriage\\rreturn","456"]' +# b'{"key1":"c","key2":"hello","key3":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t","key4":"backslash\\\\test"}' +# b'{"boolean":true,"dict":{"key1":"c","key2":"hello","key3":"special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t","key4":"backslash\\\\test"},"list":["test","spaces ","carriage\\rreturn","456"],"nested":{"deep":{"value":"utf8\xe2\x9c\x93"},"inner":"a"},"null":null,"number":42,"string":"example"}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring' +# --b = 'true' +# --c = '符号!@#$%^&*()' +# --d = 'json' +# --e = 'new\nlines' +# --f = 'emoji👍' +# --g = '0' +# --h = 'e' +# --i = 'test' +# --j = 'spaces ' +# --k = 'carriage\rreturn' +# --l = '456' +# Output: +# b'"verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring"' +# b'["true","\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","json","new\\nlines"]' +# b'{"key1":"emoji\xf0\x9f\x91\x8d","key2":"0","key3":"e","key4":"test"}' +# b'{"boolean":true,"dict":{"key1":"emoji\xf0\x9f\x91\x8d","key2":"0","key3":"e","key4":"test"},"list":["true","\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","json","new\\nlines"],"nested":{"deep":{"value":"456"},"inner":"carriage\\rreturn"},"null":null,"number":42,"string":"spaces "}' +# b'[\n "true",\n "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()",\n "json",\n "new\\nlines"\n]' +# b'{\n "key1": "emoji\xf0\x9f\x91\x8d",\n "key2": "0",\n "key3": "e",\n "key4": "test"\n}' +# b'{\n "boolean": true,\n "dict": {\n "key1": "emoji\xf0\x9f\x91\x8d",\n "key2": "0",\n "key3": "e",\n "key4": "test"\n },\n "list": [\n "true",\n "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()",\n "json",\n "new\\nlines"\n ],\n "nested": {\n "deep": {\n "value": "456"\n },\n "inner": "carriage\\rreturn"\n },\n "null": null,\n "number": 42,\n "string": "spaces "\n}' +# b'["true","\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","json","new\\nlines"]' +# b'{"key1":"emoji\xf0\x9f\x91\x8d","key2":"0","key3":"e","key4":"test"}' +# b'{"boolean":true,"dict":{"key1":"emoji\xf0\x9f\x91\x8d","key2":"0","key3":"e","key4":"test"},"list":["true","\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","json","new\\nlines"],"nested":{"deep":{"value":"456"},"inner":"carriage\\rreturn"},"null":null,"number":42,"string":"spaces "}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'carriage\rreturn' +# --b = '456' +# --c = 'c' +# --d = 'hello' +# --e = 'special chars: ", \\, \\/, \x08, \x0c, \n, \r, \t' +# --f = 'backslash\\test' +# --g = 'example' +# --h = 'a' +# --i = 'utf8✓' +# --j = 'none' +# --k = '\t\ttabs\t\t' +# --l = 'python' +# Output: +# b'"carriage\\rreturn"' +# b'["456","c","hello","special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"]' +# b'{"key1":"backslash\\\\test","key2":"example","key3":"a","key4":"utf8\xe2\x9c\x93"}' +# b'{"boolean":true,"dict":{"key1":"backslash\\\\test","key2":"example","key3":"a","key4":"utf8\xe2\x9c\x93"},"list":["456","c","hello","special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"],"nested":{"deep":{"value":"python"},"inner":"\\t\\ttabs\\t\\t"},"null":null,"number":42,"string":"none"}' +# b'[\n "456",\n "c",\n "hello",\n "special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"\n]' +# b'{\n "key1": "backslash\\\\test",\n "key2": "example",\n "key3": "a",\n "key4": "utf8\xe2\x9c\x93"\n}' +# b'{\n "boolean": true,\n "dict": {\n "key1": "backslash\\\\test",\n "key2": "example",\n "key3": "a",\n "key4": "utf8\xe2\x9c\x93"\n },\n "list": [\n "456",\n "c",\n "hello",\n "special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"\n ],\n "nested": {\n "deep": {\n "value": "python"\n },\n "inner": "\\t\\ttabs\\t\\t"\n },\n "null": null,\n "number": 42,\n "string": "none"\n}' +# b'["456","c","hello","special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"]' +# b'{"key1":"backslash\\\\test","key2":"example","key3":"a","key4":"utf8\xe2\x9c\x93"}' +# b'{"boolean":true,"dict":{"key1":"backslash\\\\test","key2":"example","key3":"a","key4":"utf8\xe2\x9c\x93"},"list":["456","c","hello","special chars: \\", \\\\, \\\\/, \\b, \\f, \\n, \\r, \\t"],"nested":{"deep":{"value":"python"},"inner":"\\t\\ttabs\\t\\t"},"null":null,"number":42,"string":"none"}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = ' whitespace ' +# --b = 'encoding' +# --c = 'lowercase' +# --d = 'verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring' +# --e = 'true' +# --f = '符号!@#$%^&*()' +# --g = 'json' +# --h = 'new\nlines' +# --i = 'emoji👍' +# --j = '0' +# --k = 'e' +# --l = 'test' +# Output: +# b'" whitespace "' +# b'["encoding","lowercase","verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring","true"]' +# b'{"key1":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","key2":"json","key3":"new\\nlines","key4":"emoji\xf0\x9f\x91\x8d"}' +# b'{"boolean":true,"dict":{"key1":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","key2":"json","key3":"new\\nlines","key4":"emoji\xf0\x9f\x91\x8d"},"list":["encoding","lowercase","verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring","true"],"nested":{"deep":{"value":"test"},"inner":"e"},"null":null,"number":42,"string":"0"}' +# b'[\n "encoding",\n "lowercase",\n "verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring",\n "true"\n]' +# b'{\n "key1": "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()",\n "key2": "json",\n "key3": "new\\nlines",\n "key4": "emoji\xf0\x9f\x91\x8d"\n}' +# b'{\n "boolean": true,\n "dict": {\n "key1": "\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()",\n "key2": "json",\n "key3": "new\\nlines",\n "key4": "emoji\xf0\x9f\x91\x8d"\n },\n "list": [\n "encoding",\n "lowercase",\n "verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring",\n "true"\n ],\n "nested": {\n "deep": {\n "value": "test"\n },\n "inner": "e"\n },\n "null": null,\n "number": 42,\n "string": "0"\n}' +# b'["encoding","lowercase","verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring","true"]' +# b'{"key1":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","key2":"json","key3":"new\\nlines","key4":"emoji\xf0\x9f\x91\x8d"}' +# b'{"boolean":true,"dict":{"key1":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","key2":"json","key3":"new\\nlines","key4":"emoji\xf0\x9f\x91\x8d"},"list":["encoding","lowercase","verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring","true"],"nested":{"deep":{"value":"test"},"inner":"e"},"null":null,"number":42,"string":"0"}' +# Return Code: 0 diff --git a/canonicaljson/test20_executable.zip b/canonicaljson/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ecb2852d6d673435e3e5b77d07990c889c77d5d8 --- /dev/null +++ b/canonicaljson/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db0f27b62b4aa38eb094afb851b1c30365a0353abfe745ebac120b4839ea8e1f +size 7394542 diff --git a/canonicaljson/test2_executable.zip b/canonicaljson/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5afec7c0805fc528f1ea599747d41fe91164208e --- /dev/null +++ b/canonicaljson/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e54dd02bc75f455a00022f75ce5557940ebb1812b5ced16a6d2a880ba8081147 +size 7394148 diff --git a/canonicaljson/test3.py b/canonicaljson/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..d8addf63e260398597e2db887db968a2df6dcada --- /dev/null +++ b/canonicaljson/test3.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + args = parser.parse_args() + + data = args.a + result = canonicaljson.encode_canonical_json(data) # Encode float as canonical JSON + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -3.14159 +# Output: +# b'-3.14159' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -1.23456789 +# Output: +# b'-1.23456789' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -0.001 +# Output: +# b'-0.001' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 1.23456789 +# Output: +# b'1.23456789' +# Return Code: 0 diff --git a/canonicaljson/test3_executable.zip b/canonicaljson/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ce85a997acf6f3dd2be972955b82b56f33c1921a --- /dev/null +++ b/canonicaljson/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:963fe8023b0d538e68a035534e3847bba41c5ca4cdd6abdb50543d4d582ff4da +size 7392249 diff --git a/canonicaljson/test4.py b/canonicaljson/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..6773f697f635d578de5209c65822879b37011955 --- /dev/null +++ b/canonicaljson/test4.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + data = [args.a] + result = canonicaljson.encode_canonical_json(data) # Encode list containing string as canonical JSON + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '\t\ttabs\t\t' +# Output: +# b'["\\t\\ttabs\\t\\t"]' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'MixedCase' +# Output: +# b'["MixedCase"]' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'spaces ' +# Output: +# b'["spaces "]' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = ' whitespace ' +# Output: +# b'[" whitespace "]' +# Return Code: 0 diff --git a/canonicaljson/test4_executable.zip b/canonicaljson/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5164ac52ba742e092d394f5043cf2207847b8aa4 --- /dev/null +++ b/canonicaljson/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de229012c68f5202aa0f7edb5650a6362b0bcf3c5e49b5a9e3fad061c8bf02a1 +size 7392789 diff --git a/canonicaljson/test5.py b/canonicaljson/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..a7fc496958419142a2ba01c8e553d191c7678680 --- /dev/null +++ b/canonicaljson/test5.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + data = {"key": args.a} + result = canonicaljson.encode_canonical_json(data) # Encode dictionary as canonical JSON + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'encoding' +# Output: +# b'{"key":"encoding"}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'library' +# Output: +# b'{"key":"library"}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring' +# Output: +# b'{"key":"verylonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongstring"}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'data' +# Output: +# b'{"key":"data"}' +# Return Code: 0 diff --git a/canonicaljson/test5_executable.zip b/canonicaljson/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a6752f06e017dd842068d8f29e6005fb69b9c3e3 --- /dev/null +++ b/canonicaljson/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e16f0b2d2da66a6bffa6185a64d26ff6e46b8987fb895dce02f6a9f133d555b3 +size 7393753 diff --git a/canonicaljson/test6.py b/canonicaljson/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..afa36cd3e93d7fc53c64768837f4241d8b7388be --- /dev/null +++ b/canonicaljson/test6.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=int, required=True) + args = parser.parse_args() + + data = {"a": args.a, "b": args.b} + canonical_result = canonicaljson.encode_canonical_json(data) # Encode as canonical JSON + pretty_result = canonicaljson.encode_pretty_printed_json(data) # Encode as pretty printed JSON + print(canonical_result) + print(pretty_result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'example' +# --b = 777 +# Output: +# b'{"a":"example","b":777}' +# b'{\n "a": "example",\n "b": 777\n}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'UPPERCASE' +# --b = -100 +# Output: +# b'{"a":"UPPERCASE","b":-100}' +# b'{\n "a": "UPPERCASE",\n "b": -100\n}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '789' +# --b = 1 +# Output: +# b'{"a":"789","b":1}' +# b'{\n "a": "789",\n "b": 1\n}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'lowercase' +# --b = 1000 +# Output: +# b'{"a":"lowercase","b":1000}' +# b'{\n "a": "lowercase",\n "b": 1000\n}' +# Return Code: 0 diff --git a/canonicaljson/test6_executable.zip b/canonicaljson/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..03f86687478a6b1757e482c3b357ce13cd0497ee --- /dev/null +++ b/canonicaljson/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fc05ea76ab18f430e2e1273eb15e1ef698c0f271dbfe5c8679005655c56d334 +size 7393685 diff --git a/canonicaljson/test7.py b/canonicaljson/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..5dcea852cc0ee40e5ee26d7a874fce232c56dfef --- /dev/null +++ b/canonicaljson/test7.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + data = [args.a, args.b] + result1 = canonicaljson.encode_canonical_json(data) # Encode list as canonical JSON + result2 = canonicaljson.encode_canonical_json(sorted(data)) # Encode sorted list as canonical JSON + print(result1) + print(result2) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'carriage\rreturn' +# --b = '456' +# Output: +# b'["carriage\\rreturn","456"]' +# b'["456","carriage\\rreturn"]' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = ' whitespace ' +# --b = 'encoding' +# Output: +# b'[" whitespace ","encoding"]' +# b'[" whitespace ","encoding"]' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'empty_string' +# --b = 'canonical' +# Output: +# b'["empty_string","canonical"]' +# b'["canonical","empty_string"]' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '\t\ttabs\t\t' +# --b = 'python' +# Output: +# b'["\\t\\ttabs\\t\\t","python"]' +# b'["\\t\\ttabs\\t\\t","python"]' +# Return Code: 0 diff --git a/canonicaljson/test7_executable.zip b/canonicaljson/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..415f0055abadefc5b3d298e1e9c165771424e33c --- /dev/null +++ b/canonicaljson/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:467a287f51f4bbe57cb338088aadd217032dc975b3d4fd6d54fff2a9b81b9411 +size 7394169 diff --git a/canonicaljson/test8.py b/canonicaljson/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..ca6e5467268edb059cf85e2fc58ab9407a26dd43 --- /dev/null +++ b/canonicaljson/test8.py @@ -0,0 +1,69 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + args = parser.parse_args() + + data = {"x": args.a, "y": args.b, "z": args.c} + canonical_result = canonicaljson.encode_canonical_json(data) # Encode as canonical JSON + pretty_result = canonicaljson.encode_pretty_printed_json(data) # Encode as pretty printed JSON + result_bytes = b''.join(list(canonicaljson.iterencode_canonical_json(data))) # Iteratively encode as canonical JSON + print(canonical_result) + print(pretty_result) + print(result_bytes) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 1000000 +# --b = 0 +# --c = 100 +# Output: +# b'{"x":1000000,"y":0,"z":100}' +# b'{\n "x": 1000000,\n "y": 0,\n "z": 100\n}' +# b'{"x":1000000,"y":0,"z":100}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 7 +# --b = -2147483648 +# --c = 42 +# Output: +# b'{"x":7,"y":-2147483648,"z":42}' +# b'{\n "x": 7,\n "y": -2147483648,\n "z": 42\n}' +# b'{"x":7,"y":-2147483648,"z":42}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -1000000 +# --b = 255 +# --c = -100 +# Output: +# b'{"x":-1000000,"y":255,"z":-100}' +# b'{\n "x": -1000000,\n "y": 255,\n "z": -100\n}' +# b'{"x":-1000000,"y":255,"z":-100}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -128 +# --b = 1000 +# --c = 3 +# Output: +# b'{"x":-128,"y":1000,"z":3}' +# b'{\n "x": -128,\n "y": 1000,\n "z": 3\n}' +# b'{"x":-128,"y":1000,"z":3}' +# Return Code: 0 diff --git a/canonicaljson/test8_executable.zip b/canonicaljson/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..32ff139c308021d85d69f6f835cf4c32c5835bf1 --- /dev/null +++ b/canonicaljson/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa3e2989c835ad10e3c0f161b5971fe3b9e66018d23b2797a291eb5328528e8d +size 7393390 diff --git a/canonicaljson/test9.py b/canonicaljson/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..b82891fc8ba06f2b26c2237a02248f494c1a228a --- /dev/null +++ b/canonicaljson/test9.py @@ -0,0 +1,64 @@ +#!/usr/bin/env python3 +import argparse +import canonicaljson + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + args = parser.parse_args() + + data1 = {"first": args.a, "second": args.b} + data2 = {"third": args.c, **data1} + result1 = canonicaljson.encode_canonical_json(data1) # Encode first dictionary as canonical JSON + result2 = canonicaljson.encode_canonical_json(data2) # Encode combined dictionary as canonical JSON + print(result1) + print(result2) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'new\nlines' +# --b = 'emoji👍' +# --c = '0' +# Output: +# b'{"first":"new\\nlines","second":"emoji\xf0\x9f\x91\x8d"}' +# b'{"first":"new\\nlines","second":"emoji\xf0\x9f\x91\x8d","third":"0"}' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'MixedCase' +# --b = 'nested"quotes"and\\backslashes' +# --c = 'false' +# Output: +# b'{"first":"MixedCase","second":"nested\\"quotes\\"and\\\\backslashes"}' +# b'{"first":"MixedCase","second":"nested\\"quotes\\"and\\\\backslashes","third":"false"}' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'spaces ' +# --b = 'carriage\rreturn' +# --c = '456' +# Output: +# b'{"first":"spaces ","second":"carriage\\rreturn"}' +# b'{"first":"spaces ","second":"carriage\\rreturn","third":"456"}' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '符号!@#$%^&*()' +# --b = 'json' +# --c = 'new\nlines' +# Output: +# b'{"first":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","second":"json"}' +# b'{"first":"\xe7\xac\xa6\xe5\x8f\xb7!@#$%^&*()","second":"json","third":"new\\nlines"}' +# Return Code: 0 diff --git a/canonicaljson/test9_executable.zip b/canonicaljson/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..355f882cfe6ad4e88eb334c0fce6140907863d5e --- /dev/null +++ b/canonicaljson/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:001597b3176c3c364834d7a2e199f684ae9c9b4a1597e38864a4527b468c0bed +size 7393894 diff --git a/compiled_manifest.json b/compiled_manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..8378808d771abf65ebdefe8342b3e055a2111a05 --- /dev/null +++ b/compiled_manifest.json @@ -0,0 +1,331 @@ +{ + "total": 324, + "success": 323, + "failed": 1, + "files": { + "moneyed/test1.py": "moneyed/test1_executable", + "moneyed/test10.py": "moneyed/test10_executable", + "moneyed/test11.py": "moneyed/test11_executable", + "moneyed/test12.py": "moneyed/test12_executable", + "moneyed/test13.py": "moneyed/test13_executable", + "moneyed/test14.py": "moneyed/test14_executable", + "moneyed/test15.py": "moneyed/test15_executable", + "moneyed/test16.py": "moneyed/test16_executable", + "moneyed/test17.py": "moneyed/test17_executable", + "moneyed/test18.py": "moneyed/test18_executable", + "moneyed/test19.py": "moneyed/test19_executable", + "moneyed/test2.py": "moneyed/test2_executable", + "moneyed/test20.py": "moneyed/test20_executable", + "moneyed/test3.py": "moneyed/test3_executable", + "moneyed/test5.py": "moneyed/test5_executable", + "moneyed/test6.py": "moneyed/test6_executable", + "moneyed/test7.py": "moneyed/test7_executable", + "moneyed/test8.py": "moneyed/test8_executable", + "moneyed/test9.py": "moneyed/test9_executable", + "bencoder/test1.py": "bencoder/test1_executable", + "bencoder/test10.py": "bencoder/test10_executable", + "bencoder/test11.py": "bencoder/test11_executable", + "bencoder/test12.py": "bencoder/test12_executable", + "bencoder/test13.py": "bencoder/test13_executable", + "bencoder/test14.py": "bencoder/test14_executable", + "bencoder/test15.py": "bencoder/test15_executable", + "bencoder/test16.py": "bencoder/test16_executable", + "bencoder/test17.py": "bencoder/test17_executable", + "bencoder/test18.py": "bencoder/test18_executable", + "bencoder/test19.py": "bencoder/test19_executable", + "bencoder/test2.py": "bencoder/test2_executable", + "bencoder/test3.py": "bencoder/test3_executable", + "bencoder/test4.py": "bencoder/test4_executable", + "bencoder/test5.py": "bencoder/test5_executable", + "bencoder/test6.py": "bencoder/test6_executable", + "bencoder/test7.py": "bencoder/test7_executable", + "bencoder/test8.py": "bencoder/test8_executable", + "bencoder/test9.py": "bencoder/test9_executable", + "sqlparse/test10.py": "sqlparse/test10_executable", + "sqlparse/test16.py": "sqlparse/test16_executable", + "sqlparse/test2.py": "sqlparse/test2_executable", + "sqlparse/test3.py": "sqlparse/test3_executable", + "sqlparse/test4.py": "sqlparse/test4_executable", + "sqlparse/test7.py": "sqlparse/test7_executable", + "sqlparse/test9.py": "sqlparse/test9_executable", + "networkx/test1.py": "networkx/test1_executable", + "networkx/test10.py": "networkx/test10_executable", + "networkx/test11.py": "networkx/test11_executable", + "networkx/test13.py": "networkx/test13_executable", + "networkx/test14.py": "networkx/test14_executable", + "networkx/test15.py": "networkx/test15_executable", + "networkx/test16.py": "networkx/test16_executable", + "networkx/test17.py": "networkx/test17_executable", + "networkx/test2.py": "networkx/test2_executable", + "networkx/test20.py": "networkx/test20_executable", + "networkx/test3.py": "networkx/test3_executable", + "networkx/test4.py": "networkx/test4_executable", + "networkx/test5.py": "networkx/test5_executable", + "networkx/test6.py": "networkx/test6_executable", + "networkx/test7.py": "networkx/test7_executable", + "whoosh/test1.py": "whoosh/test1_executable", + "whoosh/test10.py": "whoosh/test10_executable", + "whoosh/test11.py": "whoosh/test11_executable", + "whoosh/test14.py": "whoosh/test14_executable", + "whoosh/test15.py": "whoosh/test15_executable", + "whoosh/test16.py": "whoosh/test16_executable", + "whoosh/test17.py": "whoosh/test17_executable", + "whoosh/test18.py": "whoosh/test18_executable", + "whoosh/test19.py": "whoosh/test19_executable", + "whoosh/test2.py": "whoosh/test2_executable", + "whoosh/test20.py": "whoosh/test20_executable", + "whoosh/test3.py": "whoosh/test3_executable", + "whoosh/test4.py": "whoosh/test4_executable", + "whoosh/test5.py": "whoosh/test5_executable", + "whoosh/test6.py": "whoosh/test6_executable", + "whoosh/test7.py": "whoosh/test7_executable", + "whoosh/test8.py": "whoosh/test8_executable", + "whoosh/test9.py": "whoosh/test9_executable", + "rsa/test10.py": "rsa/test10_executable", + "rsa/test11.py": "rsa/test11_executable", + "rsa/test15.py": "rsa/test15_executable", + "rsa/test16.py": "rsa/test16_executable", + "rsa/test17.py": "rsa/test17_executable", + "rsa/test18.py": "rsa/test18_executable", + "rsa/test19.py": "rsa/test19_executable", + "rsa/test2.py": "rsa/test2_executable", + "rsa/test5.py": "rsa/test5_executable", + "rsa/test7.py": "rsa/test7_executable", + "rsa/test8.py": "rsa/test8_executable", + "jsonschema/test1.py": "jsonschema/test1_executable", + "jsonschema/test10.py": "jsonschema/test10_executable", + "jsonschema/test11.py": "jsonschema/test11_executable", + "jsonschema/test12.py": "jsonschema/test12_executable", + "jsonschema/test13.py": "jsonschema/test13_executable", + "jsonschema/test14.py": "jsonschema/test14_executable", + "jsonschema/test15.py": "jsonschema/test15_executable", + "jsonschema/test16.py": "jsonschema/test16_executable", + "jsonschema/test18.py": "jsonschema/test18_executable", + "jsonschema/test19.py": "jsonschema/test19_executable", + "jsonschema/test2.py": "jsonschema/test2_executable", + "jsonschema/test20.py": "jsonschema/test20_executable", + "jsonschema/test3.py": "jsonschema/test3_executable", + "jsonschema/test4.py": "jsonschema/test4_executable", + "jsonschema/test5.py": "jsonschema/test5_executable", + "jsonschema/test6.py": "jsonschema/test6_executable", + "jsonschema/test7.py": "jsonschema/test7_executable", + "jsonschema/test8.py": "jsonschema/test8_executable", + "jsonschema/test9.py": "jsonschema/test9_executable", + "canonicaljson/test1.py": "canonicaljson/test1_executable", + "canonicaljson/test10.py": "canonicaljson/test10_executable", + "canonicaljson/test11.py": "canonicaljson/test11_executable", + "canonicaljson/test12.py": "canonicaljson/test12_executable", + "canonicaljson/test13.py": "canonicaljson/test13_executable", + "canonicaljson/test14.py": "canonicaljson/test14_executable", + "canonicaljson/test15.py": "canonicaljson/test15_executable", + "canonicaljson/test16.py": "canonicaljson/test16_executable", + "canonicaljson/test17.py": "canonicaljson/test17_executable", + "canonicaljson/test18.py": "canonicaljson/test18_executable", + "canonicaljson/test19.py": "canonicaljson/test19_executable", + "canonicaljson/test2.py": "canonicaljson/test2_executable", + "canonicaljson/test20.py": "canonicaljson/test20_executable", + "canonicaljson/test3.py": "canonicaljson/test3_executable", + "canonicaljson/test4.py": "canonicaljson/test4_executable", + "canonicaljson/test5.py": "canonicaljson/test5_executable", + "canonicaljson/test6.py": "canonicaljson/test6_executable", + "canonicaljson/test7.py": "canonicaljson/test7_executable", + "canonicaljson/test8.py": "canonicaljson/test8_executable", + "canonicaljson/test9.py": "canonicaljson/test9_executable", + "bidict/test1.py": "bidict/test1_executable", + "bidict/test10.py": "bidict/test10_executable", + "bidict/test11.py": "bidict/test11_executable", + "bidict/test12.py": "bidict/test12_executable", + "bidict/test13.py": "bidict/test13_executable", + "bidict/test14.py": "bidict/test14_executable", + "bidict/test15.py": "bidict/test15_executable", + "bidict/test16.py": "bidict/test16_executable", + "bidict/test17.py": "bidict/test17_executable", + "bidict/test18.py": "bidict/test18_executable", + "bidict/test19.py": "bidict/test19_executable", + "bidict/test2.py": "bidict/test2_executable", + "bidict/test20.py": "bidict/test20_executable", + "bidict/test3.py": "bidict/test3_executable", + "bidict/test4.py": "bidict/test4_executable", + "bidict/test5.py": "bidict/test5_executable", + "bidict/test6.py": "bidict/test6_executable", + "bidict/test7.py": "bidict/test7_executable", + "bidict/test8.py": "bidict/test8_executable", + "bidict/test9.py": "bidict/test9_executable", + "base58/test1.py": "base58/test1_executable", + "base58/test10.py": "base58/test10_executable", + "base58/test11.py": "base58/test11_executable", + "base58/test12.py": "base58/test12_executable", + "base58/test13.py": "base58/test13_executable", + "base58/test14.py": "base58/test14_executable", + "base58/test15.py": "base58/test15_executable", + "base58/test16.py": "base58/test16_executable", + "base58/test17.py": "base58/test17_executable", + "base58/test18.py": "base58/test18_executable", + "base58/test19.py": "base58/test19_executable", + "base58/test2.py": "base58/test2_executable", + "base58/test20.py": "base58/test20_executable", + "base58/test3.py": "base58/test3_executable", + "base58/test4.py": "base58/test4_executable", + "base58/test5.py": "base58/test5_executable", + "base58/test6.py": "base58/test6_executable", + "base58/test7.py": "base58/test7_executable", + "base58/test8.py": "base58/test8_executable", + "base58/test9.py": "base58/test9_executable", + "schedule/test1.py": "schedule/test1_executable", + "schedule/test10.py": "schedule/test10_executable", + "schedule/test11.py": "schedule/test11_executable", + "schedule/test12.py": "schedule/test12_executable", + "schedule/test13.py": "schedule/test13_executable", + "schedule/test14.py": "schedule/test14_executable", + "schedule/test16.py": "schedule/test16_executable", + "schedule/test18.py": "schedule/test18_executable", + "schedule/test19.py": "schedule/test19_executable", + "schedule/test2.py": "schedule/test2_executable", + "schedule/test20.py": "schedule/test20_executable", + "schedule/test3.py": "schedule/test3_executable", + "schedule/test4.py": "schedule/test4_executable", + "schedule/test5.py": "schedule/test5_executable", + "schedule/test6.py": "schedule/test6_executable", + "schedule/test7.py": "schedule/test7_executable", + "schedule/test9.py": "schedule/test9_executable", + "boltons/test1.py": "boltons/test1_executable", + "boltons/test10.py": "boltons/test10_executable", + "boltons/test11.py": "boltons/test11_executable", + "boltons/test12.py": "boltons/test12_executable", + "boltons/test13.py": "boltons/test13_executable", + "boltons/test14.py": "boltons/test14_executable", + "boltons/test15.py": "boltons/test15_executable", + "boltons/test17.py": "boltons/test17_executable", + "boltons/test19.py": "boltons/test19_executable", + "boltons/test2.py": "boltons/test2_executable", + "boltons/test3.py": "boltons/test3_executable", + "boltons/test4.py": "boltons/test4_executable", + "boltons/test5.py": "boltons/test5_executable", + "boltons/test6.py": "boltons/test6_executable", + "boltons/test7.py": "boltons/test7_executable", + "boltons/test9.py": "boltons/test9_executable", + "bech32/test1.py": "bech32/test1_executable", + "bech32/test10.py": "bech32/test10_executable", + "bech32/test11.py": "bech32/test11_executable", + "bech32/test12.py": "bech32/test12_executable", + "bech32/test13.py": "bech32/test13_executable", + "bech32/test14.py": "bech32/test14_executable", + "bech32/test15.py": "bech32/test15_executable", + "bech32/test16.py": "bech32/test16_executable", + "bech32/test17.py": "bech32/test17_executable", + "bech32/test2.py": "bech32/test2_executable", + "bech32/test3.py": "bech32/test3_executable", + "bech32/test4.py": "bech32/test4_executable", + "bech32/test5.py": "bech32/test5_executable", + "bech32/test6.py": "bech32/test6_executable", + "bech32/test7.py": "bech32/test7_executable", + "bech32/test8.py": "bech32/test8_executable", + "bech32/test9.py": "bech32/test9_executable", + "mpmath/test1.py": "mpmath/test1_executable", + "mpmath/test10.py": "mpmath/test10_executable", + "mpmath/test11.py": "mpmath/test11_executable", + "mpmath/test12.py": "mpmath/test12_executable", + "mpmath/test13.py": "mpmath/test13_executable", + "mpmath/test14.py": "mpmath/test14_executable", + "mpmath/test15.py": "mpmath/test15_executable", + "mpmath/test16.py": "mpmath/test16_executable", + "mpmath/test17.py": "mpmath/test17_executable", + "mpmath/test18.py": "mpmath/test18_executable", + "mpmath/test19.py": "mpmath/test19_executable", + "mpmath/test2.py": "mpmath/test2_executable", + "mpmath/test3.py": "mpmath/test3_executable", + "mpmath/test4.py": "mpmath/test4_executable", + "mpmath/test5.py": "mpmath/test5_executable", + "mpmath/test6.py": "mpmath/test6_executable", + "mpmath/test7.py": "mpmath/test7_executable", + "mpmath/test8.py": "mpmath/test8_executable", + "mpmath/test9.py": "mpmath/test9_executable", + "pbkdf2/test1.py": "pbkdf2/test1_executable", + "pbkdf2/test10.py": "pbkdf2/test10_executable", + "pbkdf2/test11.py": "pbkdf2/test11_executable", + "pbkdf2/test13.py": "pbkdf2/test13_executable", + "pbkdf2/test14.py": "pbkdf2/test14_executable", + "pbkdf2/test15.py": "pbkdf2/test15_executable", + "pbkdf2/test16.py": "pbkdf2/test16_executable", + "pbkdf2/test2.py": "pbkdf2/test2_executable", + "pbkdf2/test4.py": "pbkdf2/test4_executable", + "pbkdf2/test6.py": "pbkdf2/test6_executable", + "pbkdf2/test7.py": "pbkdf2/test7_executable", + "pbkdf2/test8.py": "pbkdf2/test8_executable", + "deepdiff/test1.py": "deepdiff/test1_executable", + "deepdiff/test10.py": "deepdiff/test10_executable", + "deepdiff/test11.py": "deepdiff/test11_executable", + "deepdiff/test12.py": "deepdiff/test12_executable", + "deepdiff/test15.py": "deepdiff/test15_executable", + "deepdiff/test16.py": "deepdiff/test16_executable", + "deepdiff/test18.py": "deepdiff/test18_executable", + "deepdiff/test2.py": "deepdiff/test2_executable", + "deepdiff/test3.py": "deepdiff/test3_executable", + "deepdiff/test4.py": "deepdiff/test4_executable", + "deepdiff/test6.py": "deepdiff/test6_executable", + "fractions/test1.py": "fractions/test1_executable", + "fractions/test11.py": "fractions/test11_executable", + "fractions/test12.py": "fractions/test12_executable", + "fractions/test13.py": "fractions/test13_executable", + "fractions/test14.py": "fractions/test14_executable", + "fractions/test15.py": "fractions/test15_executable", + "fractions/test16.py": "fractions/test16_executable", + "fractions/test17.py": "fractions/test17_executable", + "fractions/test19.py": "fractions/test19_executable", + "fractions/test2.py": "fractions/test2_executable", + "fractions/test20.py": "fractions/test20_executable", + "fractions/test3.py": "fractions/test3_executable", + "fractions/test4.py": "fractions/test4_executable", + "fractions/test5.py": "fractions/test5_executable", + "fractions/test6.py": "fractions/test6_executable", + "fractions/test7.py": "fractions/test7_executable", + "fractions/test8.py": "fractions/test8_executable", + "fractions/test9.py": "fractions/test9_executable", + "jose/test1.py": "jose/test1_executable", + "jose/test10.py": "jose/test10_executable", + "jose/test11.py": "jose/test11_executable", + "jose/test12.py": "jose/test12_executable", + "jose/test13.py": "jose/test13_executable", + "jose/test15.py": "jose/test15_executable", + "jose/test16.py": "jose/test16_executable", + "jose/test17.py": "jose/test17_executable", + "jose/test19.py": "jose/test19_executable", + "jose/test2.py": "jose/test2_executable", + "jose/test3.py": "jose/test3_executable", + "jose/test4.py": "jose/test4_executable", + "jose/test6.py": "jose/test6_executable", + "jose/test7.py": "jose/test7_executable", + "jose/test8.py": "jose/test8_executable", + "jose/test9.py": "jose/test9_executable", + "furl/test1.py": "furl/test1_executable", + "furl/test10.py": "furl/test10_executable", + "furl/test11.py": "furl/test11_executable", + "furl/test12.py": "furl/test12_executable", + "furl/test13.py": "furl/test13_executable", + "furl/test2.py": "furl/test2_executable", + "furl/test3.py": "furl/test3_executable", + "furl/test4.py": "furl/test4_executable", + "furl/test5.py": "furl/test5_executable", + "furl/test6.py": "furl/test6_executable", + "furl/test7.py": "furl/test7_executable", + "furl/test8.py": "furl/test8_executable", + "furl/test9.py": "furl/test9_executable", + "construct/test1.py": "construct/test1_executable", + "construct/test10.py": "construct/test10_executable", + "construct/test12.py": "construct/test12_executable", + "construct/test14.py": "construct/test14_executable", + "construct/test15.py": "construct/test15_executable", + "construct/test16.py": "construct/test16_executable", + "construct/test17.py": "construct/test17_executable", + "construct/test18.py": "construct/test18_executable", + "construct/test19.py": "construct/test19_executable", + "construct/test2.py": "construct/test2_executable", + "construct/test20.py": "construct/test20_executable", + "construct/test3.py": "construct/test3_executable", + "construct/test4.py": "construct/test4_executable", + "construct/test5.py": "construct/test5_executable", + "construct/test6.py": "construct/test6_executable", + "construct/test7.py": "construct/test7_executable", + "construct/test8.py": "construct/test8_executable" + } +} \ No newline at end of file diff --git a/construct/__pycache__/test15.cpython-310.pyc b/construct/__pycache__/test15.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e5fe85f5e9d46b2820365fec30e3522fc7dbf8aa Binary files /dev/null and b/construct/__pycache__/test15.cpython-310.pyc differ diff --git a/construct/__pycache__/test18.cpython-310.pyc b/construct/__pycache__/test18.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5eee78c2a3c4e6b107086a1818b7e516b15b2b3b Binary files /dev/null and b/construct/__pycache__/test18.cpython-310.pyc differ diff --git a/construct/__pycache__/test2.cpython-310.pyc b/construct/__pycache__/test2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..28f77a3facdf73f157f8d3897784d5ccbb9e83bf Binary files /dev/null and b/construct/__pycache__/test2.cpython-310.pyc differ diff --git a/construct/__pycache__/test20.cpython-310.pyc b/construct/__pycache__/test20.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..94ad4ef82517f408e7a86b1de27a03c0586b3797 Binary files /dev/null and b/construct/__pycache__/test20.cpython-310.pyc differ diff --git a/construct/test1.py b/construct/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..fe8bd1c738e8a0688a3d45c3d8c34d523dbcacc1 --- /dev/null +++ b/construct/test1.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + args = parser.parse_args() + + result = construct.Int8ul.build(args.a) # 构建一个8位无符号整数 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 216 +# Output: +# b'\xd8' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 119 +# Output: +# b'w' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 71 +# Output: +# b'G' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 57 +# Output: +# b'9' +# Return Code: 0 diff --git a/construct/test10.py b/construct/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..da0c962742a5a87f35019e164dfe2d07304e71de --- /dev/null +++ b/construct/test10.py @@ -0,0 +1,79 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + parser.add_argument('--d', type=int, required=True) + args = parser.parse_args() + + format1 = construct.Int8ul.build(args.a) # 构建第一个8位整数 + format2 = construct.Int16ul.build(args.b) # 构建16位整数 + format3 = construct.Int8ul.build(args.c) # 构建第二个8位整数 + format4 = construct.Int8ul.build(args.d) # 构建第三个8位整数 + print(format1) + print(format2) + print(format3) + print(format4) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 25 +# --b = 32662 +# --c = 62 +# --d = 233 +# Output: +# b'\x19' +# b'\x96\x7f' +# b'>' +# b'\xe9' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 100 +# --b = 47739 +# --c = 220 +# --d = 35 +# Output: +# b'd' +# b'{\xba' +# b'\xdc' +# b'#' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 43 +# --b = 37196 +# --c = 171 +# --d = 47 +# Output: +# b'+' +# b'L\x91' +# b'\xab' +# b'/' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 124 +# --b = 19342 +# --c = 2 +# --d = 54 +# Output: +# b'|' +# b'\x8eK' +# b'\x02' +# b'6' +# Return Code: 0 diff --git a/construct/test10_executable.zip b/construct/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..edb7128311a00e812e5af1b266943fd266d3aac0 --- /dev/null +++ b/construct/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9eced2acf06451eb69d4301ed93be8df909098497166ae13321f83174a2956eb +size 30906715 diff --git a/construct/test12.py b/construct/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..82f15aaf7f367c5461eac269ae712a9c0297fd8c --- /dev/null +++ b/construct/test12.py @@ -0,0 +1,77 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + parser.add_argument('--d', type=int, required=True) + args = parser.parse_args() + + format1 = construct.Int8ul.build(args.a) # 构建第一个整数 + format2 = construct.Int8ul.build(args.b) # 构建第二个整数 + struct_format = construct.Struct( + "x" / construct.Int8ul, # 定义字段x + "y" / construct.Int8ul # 定义字段y + ) + built_struct = struct_format.build({"x": args.c, "y": args.d}) # 构建结构体 + print(format1) + print(format2) + print(built_struct) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 90 +# --b = 138 +# --c = 247 +# --d = 238 +# Output: +# b'Z' +# b'\x8a' +# b'\xf7\xee' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 26 +# --b = 179 +# --c = 114 +# --d = 35 +# Output: +# b'\x1a' +# b'\xb3' +# b'r#' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 38 +# --b = 124 +# --c = 52 +# --d = 154 +# Output: +# b'&' +# b'|' +# b'4\x9a' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 20 +# --b = 15 +# --c = 126 +# --d = 102 +# Output: +# b'\x14' +# b'\x0f' +# b'~f' +# Return Code: 0 diff --git a/construct/test12_executable.zip b/construct/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..301d77f1e5232a5c4a4e8a74be13a763be5e167d --- /dev/null +++ b/construct/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d16aa10dbd54f0f3628533aa42b5b146b78ad8cf0d15c40c97f86284281698e4 +size 30906016 diff --git a/construct/test14.py b/construct/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..5b03f2fbedb49b848a833e0528ecad342e30d083 --- /dev/null +++ b/construct/test14.py @@ -0,0 +1,94 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + parser.add_argument('--d', type=str, required=True) + args = parser.parse_args() + + struct_format = construct.Struct( + "id" / construct.Int8ul, # 定义ID字段 + "value1" / construct.Int16ul, # 定义第一个值字段 + "value2" / construct.Int8ul, # 定义第二个值字段 + "name" / construct.Bytes(len(args.d)) # 定义名字字段,使用字符串长度 + ) + built_data = struct_format.build({ + "id": args.a, + "value1": args.b, + "value2": args.c, + "name": args.d.encode() + }) # 构建结构体 + parsed_data = struct_format.parse(built_data) # 解析结构体 + print(built_data) + print(parsed_data) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 36 +# --b = 7816 +# --c = 84 +# --d = 'packet' +# Output: +# b'$\x88\x1eTpacket' +# Container: +# id = 36 +# value1 = 7816 +# value2 = 84 +# name = b'packet' (total 6) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 33 +# --b = 52521 +# --c = 251 +# --d = 'world' +# Output: +# b'!)\xcd\xfbworld' +# Container: +# id = 33 +# value1 = 52521 +# value2 = 251 +# name = b'world' (total 5) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 115 +# --b = 19528 +# --c = 136 +# --d = 'sample' +# Output: +# b'sHL\x88sample' +# Container: +# id = 115 +# value1 = 19528 +# value2 = 136 +# name = b'sample' (total 6) +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 226 +# --b = 38974 +# --c = 219 +# --d = 'packet' +# Output: +# b'\xe2>\x98\xdbpacket' +# Container: +# id = 226 +# value1 = 38974 +# value2 = 219 +# name = b'packet' (total 6) +# Return Code: 0 diff --git a/construct/test14_executable.zip b/construct/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..baed2410d5ee1e239b1f3c255c4595b241eb32d9 --- /dev/null +++ b/construct/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ba6437548fc7816aa3b16da35560785ab4358b8b6757efe2af41dd8d9cfba1d +size 30906211 diff --git a/construct/test15.py b/construct/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..a64ec3fe309d290ba28ec38a9c32d1d1bb6f41ed --- /dev/null +++ b/construct/test15.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + parser.add_argument('--d', type=int, required=True) + parser.add_argument('--e', type=int, required=True) + args = parser.parse_args() + + format1 = construct.Int8ul.build(args.a) # 构建第一个整数 + format2 = construct.Int16ul.build(args.b) # 构建第二个整数 + format3 = construct.Int8ul.build(args.c) # 构建第三个整数 + format4 = construct.Int8ul.build(args.d) # 构建第四个整数 + format5 = construct.Int8ul.build(args.e) # 构建第五个整数 + print(format1) + print(format2) + print(format3) + print(format4) + print(format5) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 47 +# --b = 29451 +# --c = 58 +# --d = 236 +# --e = 60 +# Output: +# b'/' +# b'\x0bs' +# b':' +# b'\xec' +# b'<' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 152 +# --b = 64178 +# --c = 76 +# --d = 228 +# --e = 247 +# Output: +# b'\x98' +# b'\xb2\xfa' +# b'L' +# b'\xe4' +# b'\xf7' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 165 +# --b = 15194 +# --c = 206 +# --d = 0 +# --e = 236 +# Output: +# b'\xa5' +# b'Z;' +# b'\xce' +# b'\x00' +# b'\xec' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 168 +# --b = 53955 +# --c = 253 +# --d = 147 +# --e = 205 +# Output: +# b'\xa8' +# b'\xc3\xd2' +# b'\xfd' +# b'\x93' +# b'\xcd' +# Return Code: 0 diff --git a/construct/test15_executable.zip b/construct/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6b7ab3a887da4a363ad71803d66ddc7c947f2108 --- /dev/null +++ b/construct/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd9314353352068e6a9b9fac361f909eb4906f52a22b02bdb56b458a1bd4123a +size 30906522 diff --git a/construct/test16.py b/construct/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..2d749b5b8e5b7dd1f6ed793539e44959b1bdfa1b --- /dev/null +++ b/construct/test16.py @@ -0,0 +1,140 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=int, required=True) + parser.add_argument('--e', type=int, required=True) + parser.add_argument('--f', type=str, required=True) + args = parser.parse_args() + + inner_struct = construct.Struct( + "inner_id" / construct.Int8ul, # 定义内部ID字段 + "inner_value" / construct.Int16ul # 定义内部值字段 + ) + outer_struct = construct.Struct( + "outer_id" / construct.Int8ul, # 定义外部ID字段 + "nested" / inner_struct, # 嵌套内部结构体 + "data_len" / construct.Int8ul, # 定义数据长度字段 + "data" / construct.Bytes(len(args.c)), # 定义数据字段,使用字符串长度 + "checksum" / construct.Int8ul # 定义校验和字段 + ) + built_data = outer_struct.build({ + "outer_id": args.a, + "nested": {"inner_id": args.b, "inner_value": args.e}, + "data_len": len(args.c), + "data": args.c.encode(), + "checksum": (args.d + args.e) % 256 # 确保在字节范围内 + }) # 构建复杂嵌套结构体 + parsed_data = outer_struct.parse(built_data) # 解析复杂嵌套结构体 + result1 = construct.Int8ul.parse(built_data[0:1]) # 解析第一个字节 + result2 = construct.Int8ul.parse(built_data[1:2]) # 解析第二个字节 + result3 = construct.Int16ul.parse(built_data[2:4]) # 解析第三四个字节 + print(built_data) + print(parsed_data) + print(result1) + print(result2) + print(result3) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 89 +# --b = 40 +# --c = 'start' +# --d = 195 +# --e = 31566 +# --f = 'header' +# Output: +# b'Y(N{\x05start\x11' +# Container: +# outer_id = 89 +# nested = Container: +# inner_id = 40 +# inner_value = 31566 +# data_len = 5 +# data = b'start' (total 5) +# checksum = 17 +# 89 +# 40 +# 31566 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 51 +# --b = 233 +# --c = 'test' +# --d = 73 +# --e = 53736 +# --f = 'sample' +# Output: +# b'3\xe9\xe8\xd1\x04test1' +# Container: +# outer_id = 51 +# nested = Container: +# inner_id = 233 +# inner_value = 53736 +# data_len = 4 +# data = b'test' (total 4) +# checksum = 49 +# 51 +# 233 +# 53736 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 38 +# --b = 240 +# --c = 'message' +# --d = 173 +# --e = 52098 +# --f = 'world' +# Output: +# b'&\xf0\x82\xcb\x07message/' +# Container: +# outer_id = 38 +# nested = Container: +# inner_id = 240 +# inner_value = 52098 +# data_len = 7 +# data = b'message' (total 7) +# checksum = 47 +# 38 +# 240 +# 52098 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 50 +# --b = 51 +# --c = 'payload' +# --d = 85 +# --e = 39251 +# --f = 'test' +# Output: +# b'23S\x99\x07payload\xa8' +# Container: +# outer_id = 50 +# nested = Container: +# inner_id = 51 +# inner_value = 39251 +# data_len = 7 +# data = b'payload' (total 7) +# checksum = 168 +# 50 +# 51 +# 39251 +# Return Code: 0 diff --git a/construct/test16_executable.zip b/construct/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..71256e78ca9f7318c1eb720d39cfb1dbb3694e70 --- /dev/null +++ b/construct/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3977af9f4ad33698df9e71f7db1c0b6ded1eff4ddc0fa2eb8bad78c559c0dc6e +size 30906209 diff --git a/construct/test17.py b/construct/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..2f0cead9c7693758ce7c511708ce38e690249551 --- /dev/null +++ b/construct/test17.py @@ -0,0 +1,112 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=int, required=True) + parser.add_argument('--e', type=str, required=True) + parser.add_argument('--f', type=int, required=True) + parser.add_argument('--g', type=int, required=True) + args = parser.parse_args() + + format1 = construct.Int8ul.build(args.a) # 构建头字节 + format2 = construct.Int16ul.build(args.b) # 构建长度字段 + format3 = construct.Bytes(args.d).build(args.c.encode()) # 构建第一个数据块 + format4 = construct.Int8ul.build(args.f) # 构建分隔符 + format5 = construct.Bytes(args.g).build(args.e.encode()) # 构建第二个数据块 + format6 = construct.Int8ul.build((args.f + args.g) % 256) # 构建校验和,确保在字节范围内 + format7 = construct.Int8ul.build((args.a + args.b) % 256) # 构建最终校验,确保在字节范围内 + print(format1) + print(format2) + print(format3) + print(format4) + print(format5) + print(format6) + print(format7) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 79 +# --b = 54379 +# --c = 'middle' +# --d = 6 +# --e = 'content' +# --f = 50 +# --g = 7 +# Output: +# b'O' +# b'k\xd4' +# b'middle' +# b'2' +# b'content' +# b'9' +# b'\xba' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 7 +# --b = 34663 +# --c = 'world' +# --d = 5 +# --e = 'string' +# --f = 63 +# --g = 6 +# Output: +# b'\x07' +# b'g\x87' +# b'world' +# b'?' +# b'string' +# b'E' +# b'n' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 97 +# --b = 16011 +# --c = 'string' +# --d = 6 +# --e = 'message' +# --f = 232 +# --g = 7 +# Output: +# b'a' +# b'\x8b>' +# b'string' +# b'\xe8' +# b'message' +# b'\xef' +# b'\xec' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 241 +# --b = 3280 +# --c = 'data' +# --d = 4 +# --e = 'xyz' +# --f = 167 +# --g = 3 +# Output: +# b'\xf1' +# b'\xd0\x0c' +# b'data' +# b'\xa7' +# b'xyz' +# b'\xaa' +# b'\xc1' +# Return Code: 0 diff --git a/construct/test17_executable.zip b/construct/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6e8ec68496e5a542bc1bccc3a535d35c8fdcb773 --- /dev/null +++ b/construct/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef0622ef6240f464c5964a3784d7b70fe70c5bc64e58af385c5297bec06e8dba +size 30905791 diff --git a/construct/test18.py b/construct/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..cffc543c71686e4bc36b09fd862c31845bdbc90e --- /dev/null +++ b/construct/test18.py @@ -0,0 +1,168 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=int, required=True) + parser.add_argument('--e', type=int, required=True) + parser.add_argument('--f', type=str, required=True) + parser.add_argument('--g', type=int, required=True) + parser.add_argument('--h', type=int, required=True) + args = parser.parse_args() + + header_struct = construct.Struct( + "version" / construct.Int8ul, # 定义版本字段 + "flags" / construct.Int8ul, # 定义标志字段 + "total_len" / construct.Int16ul # 定义总长度字段 + ) + data_struct = construct.Struct( + "data_type" / construct.Int8ul, # 定义数据类型字段 + "data_len" / construct.Int8ul, # 定义数据长度字段 + "data" / construct.Bytes(args.d) # 定义数据字段 + ) + footer_struct = construct.Struct( + "checksum1" / construct.Int8ul, # 定义第一个校验和 + "checksum2" / construct.Int8ul # 定义第二个校验和 + ) + built_header = header_struct.build({ + "version": args.a, + "flags": args.b, + "total_len": args.e + }) # 构建头部 + built_data = data_struct.build({ + "data_type": args.g, + "data_len": args.d, + "data": args.c.encode() + }) # 构建数据部分 + built_footer = footer_struct.build({ + "checksum1": args.h, + "checksum2": args.g + }) # 构建尾部 + parsed_header = header_struct.parse(built_header) # 解析头部 + parsed_data = data_struct.parse(built_data) # 解析数据部分 + parsed_footer = footer_struct.parse(built_footer) # 解析尾部 + print(built_header) + print(built_data) + print(built_footer) + print(parsed_header) + print(parsed_data) + print(parsed_footer) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 229 +# --b = 185 +# --c = 'world' +# --d = 5 +# --e = 14293 +# --f = 'header' +# --g = 231 +# --h = 113 +# Output: +# b'\xe5\xb9\xd57' +# b'\xe7\x05world' +# b'q\xe7' +# Container: +# version = 229 +# flags = 185 +# total_len = 14293 +# Container: +# data_type = 231 +# data_len = 5 +# data = b'world' (total 5) +# Container: +# checksum1 = 113 +# checksum2 = 231 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 80 +# --b = 189 +# --c = 'payload' +# --d = 7 +# --e = 40846 +# --f = 'random' +# --g = 166 +# --h = 43 +# Output: +# b'P\xbd\x8e\x9f' +# b'\xa6\x07payload' +# b'+\xa6' +# Container: +# version = 80 +# flags = 189 +# total_len = 40846 +# Container: +# data_type = 166 +# data_len = 7 +# data = b'payload' (total 7) +# Container: +# checksum1 = 43 +# checksum2 = 166 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 154 +# --b = 234 +# --c = 'start' +# --d = 5 +# --e = 4082 +# --f = 'hello' +# --g = 31 +# --h = 245 +# Output: +# b'\x9a\xea\xf2\x0f' +# b'\x1f\x05start' +# b'\xf5\x1f' +# Container: +# version = 154 +# flags = 234 +# total_len = 4082 +# Container: +# data_type = 31 +# data_len = 5 +# data = b'start' (total 5) +# Container: +# checksum1 = 245 +# checksum2 = 31 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 220 +# --b = 231 +# --c = 'middle' +# --d = 6 +# --e = 29949 +# --f = 'abcdef' +# --g = 211 +# --h = 173 +# Output: +# b'\xdc\xe7\xfdt' +# b'\xd3\x06middle' +# b'\xad\xd3' +# Container: +# version = 220 +# flags = 231 +# total_len = 29949 +# Container: +# data_type = 211 +# data_len = 6 +# data = b'middle' (total 6) +# Container: +# checksum1 = 173 +# checksum2 = 211 +# Return Code: 0 diff --git a/construct/test18_executable.zip b/construct/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8dd5053df08aeedb34b2a916cfa2247398b71e21 --- /dev/null +++ b/construct/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4c0f934dc3ea3e4c6d3bfd22751f96028e48544c185f9cc84cc4bfe25d5ab96 +size 30906195 diff --git a/construct/test19.py b/construct/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..1189e4733912af18a245144d7b17d6eb52a6e3a9 --- /dev/null +++ b/construct/test19.py @@ -0,0 +1,134 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=int, required=True) + parser.add_argument('--f', type=int, required=True) + parser.add_argument('--g', type=int, required=True) + parser.add_argument('--h', type=str, required=True) + parser.add_argument('--i', type=int, required=True) + args = parser.parse_args() + + result1 = construct.Int8ul.build(args.a) # 构建第一个字段 + result2 = construct.Int16ul.build(args.b) # 构建第二个字段 + result3 = construct.Int8ul.build(args.c) # 构建第三个字段 + result4 = construct.Bytes(len(args.d)).build(args.d.encode()) # 构建字符串数据,使用实际长度 + result5 = construct.Int8ul.build(args.f) # 构建第五个字段 + result6 = construct.Int8ul.build(args.g) # 构建第六个字段 + result7 = construct.Int8ul.build(args.i) # 构建第七个字段 + result8 = construct.Bytes(len(args.h)).build(args.h.encode()) # 构建第二个字符串数据,使用实际长度 + result9 = construct.Int8ul.build((args.a + args.b + args.c) % 256) # 构建校验字段,确保在字节范围内 + print(result1) + print(result2) + print(result3) + print(result4) + print(result5) + print(result6) + print(result7) + print(result8) + print(result9) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 40 +# --b = 51873 +# --c = 158 +# --d = 'end' +# --e = 173 +# --f = 113 +# --g = 170 +# --h = 'string' +# --i = 86 +# Output: +# b'(' +# b'\xa1\xca' +# b'\x9e' +# b'end' +# b'q' +# b'\xaa' +# b'V' +# b'string' +# b'g' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 58 +# --b = 25415 +# --c = 178 +# --d = 'world' +# --e = 179 +# --f = 75 +# --g = 120 +# --h = 'footer' +# --i = 52 +# Output: +# b':' +# b'Gc' +# b'\xb2' +# b'world' +# b'K' +# b'x' +# b'4' +# b'footer' +# b'3' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 88 +# --b = 5130 +# --c = 126 +# --d = 'random' +# --e = 224 +# --f = 224 +# --g = 81 +# --h = 'world' +# --i = 186 +# Output: +# b'X' +# b'\n\x14' +# b'~' +# b'random' +# b'\xe0' +# b'Q' +# b'\xba' +# b'world' +# b'\xe0' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 216 +# --b = 47425 +# --c = 9 +# --d = 'footer' +# --e = 185 +# --f = 158 +# --g = 92 +# --h = 'world' +# --i = 109 +# Output: +# b'\xd8' +# b'A\xb9' +# b'\t' +# b'footer' +# b'\x9e' +# b'\\' +# b'm' +# b'world' +# b'"' +# Return Code: 0 diff --git a/construct/test19_executable.zip b/construct/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..9932c82ed3b7a8c1d9612ba395e38d7c2ec4a006 --- /dev/null +++ b/construct/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5b3f941ea7d80ece85879d6d1a535022cf47e274ea566a8aab51664277588e3 +size 30906071 diff --git a/construct/test1_executable.zip b/construct/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ed098f2e9862220f3162c0a56617ab699ef4ab28 --- /dev/null +++ b/construct/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:badce2ff1bc97adfda7ef15a5df80bc5f2850f5511427deff5da0dc3bc9e61c1 +size 30905870 diff --git a/construct/test2.py b/construct/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..eed142e55cfcea957ed3c0004a3d5c0810ce17ce --- /dev/null +++ b/construct/test2.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + args = parser.parse_args() + + data = bytes([args.a]) + result = construct.Int8ul.parse(data) # 解析一个8位无符号整数 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 172 +# Output: +# 172 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 52 +# Output: +# 52 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 194 +# Output: +# 194 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 47 +# Output: +# 47 +# Return Code: 0 diff --git a/construct/test20.py b/construct/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..8cde7dbc0aa73c96701e68b3cf2e2591fd85367b --- /dev/null +++ b/construct/test20.py @@ -0,0 +1,191 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=int, required=True) + parser.add_argument('--f', type=str, required=True) + parser.add_argument('--g', type=int, required=True) + parser.add_argument('--h', type=int, required=True) + parser.add_argument('--i', type=int, required=True) + parser.add_argument('--j', type=str, required=True) + args = parser.parse_args() + + struct1 = construct.Struct( + "id" / construct.Int8ul, # 定义ID字段 + "count" / construct.Int16ul # 定义计数字段 + ) + struct2 = construct.Struct( + "type" / construct.Int8ul, # 定义类型字段 + "length" / construct.Int8ul, # 定义长度字段 + "data" / construct.Bytes(args.e) # 定义数据字段 + ) + struct3 = construct.Struct( + "header" / struct1, # 嵌套第一个结构体 + "payload" / struct2, # 嵌套第二个结构体 + "flags" / construct.Int8ul, # 定义标志字段 + "checksum" / construct.Int16ul # 定义校验和字段 + ) + built_struct = struct3.build({ + "header": {"id": args.a, "count": args.b}, + "payload": {"type": args.c, "length": args.e, "data": args.d.encode()}, + "flags": args.g, + "checksum": args.h + }) # 构建多层嵌套结构体 + parsed_struct = struct3.parse(built_struct) # 解析多层嵌套结构体 + header_data = struct1.parse(built_struct[0:3]) # 解析头部 + payload_data = struct2.parse(built_struct[3:3+args.e+2]) # 解析有效载荷 + checksum_data = construct.Int16ul.parse(built_struct[-2:]) # 解析校验和 + print(built_struct) + print(parsed_struct) + print(header_data) + print(payload_data) + print(checksum_data) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 191 +# --b = 30903 +# --c = 197 +# --d = 'content' +# --e = 7 +# --f = 'hello' +# --g = 41 +# --h = 49140 +# --i = 29430 +# --j = 'string' +# Output: +# b'\xbf\xb7x\xc5\x07content)\xf4\xbf' +# Container: +# header = Container: +# id = 191 +# count = 30903 +# payload = Container: +# type = 197 +# length = 7 +# data = b'content' (total 7) +# flags = 41 +# checksum = 49140 +# Container: +# id = 191 +# count = 30903 +# Container: +# type = 197 +# length = 7 +# data = b'content' (total 7) +# 49140 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 216 +# --b = 14573 +# --c = 147 +# --d = 'middle' +# --e = 6 +# --f = 'start' +# --g = 121 +# --h = 39472 +# --i = 15970 +# --j = 'footer' +# Output: +# b'\xd8\xed8\x93\x06middley0\x9a' +# Container: +# header = Container: +# id = 216 +# count = 14573 +# payload = Container: +# type = 147 +# length = 6 +# data = b'middle' (total 6) +# flags = 121 +# checksum = 39472 +# Container: +# id = 216 +# count = 14573 +# Container: +# type = 147 +# length = 6 +# data = b'middle' (total 6) +# 39472 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 242 +# --b = 33202 +# --c = 18 +# --d = 'packet' +# --e = 6 +# --f = 'footer' +# --g = 97 +# --h = 37501 +# --i = 46789 +# --j = 'string' +# Output: +# b'\xf2\xb2\x81\x12\x06packeta}\x92' +# Container: +# header = Container: +# id = 242 +# count = 33202 +# payload = Container: +# type = 18 +# length = 6 +# data = b'packet' (total 6) +# flags = 97 +# checksum = 37501 +# Container: +# id = 242 +# count = 33202 +# Container: +# type = 18 +# length = 6 +# data = b'packet' (total 6) +# 37501 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 150 +# --b = 26422 +# --c = 22 +# --d = 'world' +# --e = 5 +# --f = 'payload' +# --g = 102 +# --h = 5492 +# --i = 41365 +# --j = 'hello' +# Output: +# b'\x966g\x16\x05worldft\x15' +# Container: +# header = Container: +# id = 150 +# count = 26422 +# payload = Container: +# type = 22 +# length = 5 +# data = b'world' (total 5) +# flags = 102 +# checksum = 5492 +# Container: +# id = 150 +# count = 26422 +# Container: +# type = 22 +# length = 5 +# data = b'world' (total 5) +# 5492 +# Return Code: 0 diff --git a/construct/test20_executable.zip b/construct/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..47e6764c26750823eea7c981f6e89d9c9e71afcb --- /dev/null +++ b/construct/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5da7b214bbf7ff1c54acd1edc310fe8590e740b61b6d2563faad97bd3fe36cbd +size 30906931 diff --git a/construct/test2_executable.zip b/construct/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8cb62dea98736220bc48feae75d97285c2beeadf --- /dev/null +++ b/construct/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:013c2447010275efe49b23eaf37ad1a837f14c106a6ac1a5b1f5f89f5aa06f02 +size 30903684 diff --git a/construct/test3.py b/construct/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..75ddf0608755de02dd6e860419672013daf4cbd2 --- /dev/null +++ b/construct/test3.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + args = parser.parse_args() + + struct_format = construct.Struct( + "field1" / construct.Int8ul, # 定义第一个字段 + "field2" / construct.Int8ul # 定义第二个字段 + ) + data = struct_format.build({"field1": args.a, "field2": args.b}) # 构建结构体 + print(data) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 16 +# --b = 161 +# Output: +# b'\x10\xa1' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 194 +# --b = 138 +# Output: +# b'\xc2\x8a' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 232 +# --b = 186 +# Output: +# b'\xe8\xba' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 33 +# --b = 108 +# Output: +# b'!l' +# Return Code: 0 diff --git a/construct/test3_executable.zip b/construct/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..9bce89cd6970efc23399c8ae524e5968fa09cca2 --- /dev/null +++ b/construct/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05c8fc7a5147a31f7302f7762447bfb42ea5957d5ed7e3c9c3467801590877e3 +size 30906512 diff --git a/construct/test4.py b/construct/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..5ee496dab07aae0d9e901bf153e04a0335be69b2 --- /dev/null +++ b/construct/test4.py @@ -0,0 +1,64 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + args = parser.parse_args() + + struct_format = construct.Struct( + "field1" / construct.Int8ul, # 定义第一个字段 + "field2" / construct.Int8ul # 定义第二个字段 + ) + data = bytes([args.a, args.b]) + result = struct_format.parse(data) # 解析结构体 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 91 +# --b = 54 +# Output: +# Container: +# field1 = 91 +# field2 = 54 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 128 +# --b = 5 +# Output: +# Container: +# field1 = 128 +# field2 = 5 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 56 +# --b = 78 +# Output: +# Container: +# field1 = 56 +# field2 = 78 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 81 +# --b = 216 +# Output: +# Container: +# field1 = 81 +# field2 = 216 +# Return Code: 0 diff --git a/construct/test4_executable.zip b/construct/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7dce5741399a89f6ab77edde38d4b5196d4db779 --- /dev/null +++ b/construct/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f01dd2d8d1c3af8a92f3c6b885dccd910ccc91b05a3b40a934e97f121a170729 +size 30905661 diff --git a/construct/test5.py b/construct/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..60f832d5800b4c30eb2e8c20e78c6732166c6af3 --- /dev/null +++ b/construct/test5.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + args = parser.parse_args() + + result = construct.Int16ul.build(args.a) # 构建一个16位无符号整数 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 14662 +# Output: +# b'F9' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 40306 +# Output: +# b'r\x9d' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 16828 +# Output: +# b'\xbcA' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 74 +# Output: +# b'J\x00' +# Return Code: 0 diff --git a/construct/test5_executable.zip b/construct/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4c92212d0db38f48be857c9e2aec4ffc2bfef4db --- /dev/null +++ b/construct/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1279e32551cce59cea373891aab15b0938ed2ff23719f242adb09a9884f4c458 +size 30905668 diff --git a/construct/test6.py b/construct/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..15c3702aca862d48620aaed7253bf16f029e120d --- /dev/null +++ b/construct/test6.py @@ -0,0 +1,79 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + args = parser.parse_args() + + struct_format = construct.Struct( + "x" / construct.Int8ul, # 定义第一个字段 + "y" / construct.Int16ul, # 定义第二个字段 + "z" / construct.Int8ul # 定义第三个字段 + ) + built_data = struct_format.build({"x": args.a, "y": args.b, "z": args.c}) # 构建结构体 + parsed_data = struct_format.parse(built_data) # 重新解析构建的数据 + print(built_data) + print(parsed_data) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 71 +# --b = 55296 +# --c = 93 +# Output: +# b'G\x00\xd8]' +# Container: +# x = 71 +# y = 55296 +# z = 93 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 112 +# --b = 942 +# --c = 36 +# Output: +# b'p\xae\x03$' +# Container: +# x = 112 +# y = 942 +# z = 36 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 30 +# --b = 30007 +# --c = 34 +# Output: +# b'\x1e7u"' +# Container: +# x = 30 +# y = 30007 +# z = 34 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 173 +# --b = 2757 +# --c = 117 +# Output: +# b'\xad\xc5\nu' +# Container: +# x = 173 +# y = 2757 +# z = 117 +# Return Code: 0 diff --git a/construct/test6_executable.zip b/construct/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..9c573f7ef3ff66aa281ed6c3379c0cb5661f7d82 --- /dev/null +++ b/construct/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c91c4a91a1484ba468422bc2e8bd1294c8d0b7edcace6647d1e1a1aadf362f2 +size 30905313 diff --git a/construct/test7.py b/construct/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..ba7e24f44526c49f36bcfe856e837cdd56ee2b82 --- /dev/null +++ b/construct/test7.py @@ -0,0 +1,89 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=int, required=True) + args = parser.parse_args() + + format1 = construct.Struct( + "field1" / construct.Int8ul, # 定义第一个字段 + "field2" / construct.Int8ul # 定义第二个字段 + ) + format2 = construct.Struct( + "nested" / format1, # 嵌套第一个结构体 + "field3" / construct.Int8ul # 定义额外字段 + ) + data = format2.build({ + "nested": {"field1": args.a, "field2": args.b}, + "field3": args.c + }) # 构建嵌套结构体 + result = format2.parse(data) # 解析嵌套结构体 + print(data) + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 126 +# --b = 20 +# --c = 41 +# Output: +# b'~\x14)' +# Container: +# nested = Container: +# field1 = 126 +# field2 = 20 +# field3 = 41 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 51 +# --b = 37 +# --c = 109 +# Output: +# b'3%m' +# Container: +# nested = Container: +# field1 = 51 +# field2 = 37 +# field3 = 109 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 29 +# --b = 31 +# --c = 160 +# Output: +# b'\x1d\x1f\xa0' +# Container: +# nested = Container: +# field1 = 29 +# field2 = 31 +# field3 = 160 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 95 +# --b = 35 +# --c = 34 +# Output: +# b'_#"' +# Container: +# nested = Container: +# field1 = 95 +# field2 = 35 +# field3 = 34 +# Return Code: 0 diff --git a/construct/test7_executable.zip b/construct/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f5d0cf9d3d9bb01926f7f98299f1deeeb39110d7 --- /dev/null +++ b/construct/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41b864bea3b9d5a4a1cf1892a3cf3065f0d5818fff4262e5def874136450419e +size 30906294 diff --git a/construct/test8.py b/construct/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..eb47164fdf4dcfa27f0c6044540737c1e4e1df5e --- /dev/null +++ b/construct/test8.py @@ -0,0 +1,69 @@ +#!/usr/bin/env python3 +import argparse +import construct + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=int, required=True) + parser.add_argument('--b', type=int, required=True) + parser.add_argument('--c', type=str, required=True) + args = parser.parse_args() + + format1 = construct.Int8ul.build(args.a) # 构建第一个整数 + format2 = construct.Int8ul.build(args.b) # 构建第二个整数 + length = len(args.c) + format3 = construct.Bytes(length).build(args.c.encode()) # 构建字节串 + print(format1) + print(format2) + print(format3) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 135 +# --b = 67 +# --c = 'binary' +# Output: +# b'\x87' +# b'C' +# b'binary' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 18 +# --b = 189 +# --c = 'end' +# Output: +# b'\x12' +# b'\xbd' +# b'end' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 79 +# --b = 139 +# --c = 'packet' +# Output: +# b'O' +# b'\x8b' +# b'packet' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 20 +# --b = 183 +# --c = 'abcdef' +# Output: +# b'\x14' +# b'\xb7' +# b'abcdef' +# Return Code: 0 diff --git a/construct/test8_executable.zip b/construct/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4776feed4674f7c044fde63ceacd9b62e262cc92 --- /dev/null +++ b/construct/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86b557cec456cdd09fcea115b49958cf3bc47c0b5d5d6128b33a73e9f2c7e07 +size 30906217 diff --git a/deepdiff/__pycache__/test16.cpython-312.pyc b/deepdiff/__pycache__/test16.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0630498a737eb9a67578c36c510c5fe840883a9a Binary files /dev/null and b/deepdiff/__pycache__/test16.cpython-312.pyc differ diff --git a/deepdiff/py_output.txt b/deepdiff/py_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..69a4d28c5036ba3527920a6ac4b42108d5e9e644 --- /dev/null +++ b/deepdiff/py_output.txt @@ -0,0 +1,10 @@ +{'values_changed': {"root['1']": {'new_value': 4, 'old_value': 2}, "root['2']": {'new_value': 8, 'old_value': 4}}} +{} +{'values_changed': {"root['0']": {'new_value': 10, 'old_value': 0}, "root['1']": {'new_value': 14, 'old_value': 4}, "root['2']": {'new_value': 18, 'old_value': 8}}} +{'values_changed': {"root['1']": {'new_value': 4, 'old_value': 2}, "root['2']": {'new_value': 8, 'old_value': 4}}} +{'values_changed': {"root['0']": {'new_value': 10, 'old_value': 0}, "root['1']": {'new_value': 14, 'old_value': 4}, "root['2']": {'new_value': 18, 'old_value': 8}}} +{'values_changed': {"root['0']": {'new_value': 10, 'old_value': 0}, "root['1']": {'new_value': 14, 'old_value': 2}, "root['2']": {'new_value': 18, 'old_value': 4}}} +{} +{'values_changed': {'root': {'new_value': {'0': 0, '1': 2, '2': 4}, 'old_value': {}}}} +{'values_changed': {'root': {'new_value': {}, 'old_value': {'0': 10, '1': 14, '2': 18}}}} +{} diff --git a/deepdiff/python_final.txt b/deepdiff/python_final.txt new file mode 100644 index 0000000000000000000000000000000000000000..1035c0f6f35ed70e476211896681460b71356b53 --- /dev/null +++ b/deepdiff/python_final.txt @@ -0,0 +1,25 @@ +{'values_changed': {"root['value']": {'new_value': 20, 'old_value': 10}}} + +{'values_changed': {"root['value']": {'new_value': 30, 'old_value': 20}}} + +{} + +{'values_changed': {"root['value']": {'new_value': 50, 'old_value': 30}}} + +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 50}}} + +{'values_changed': {"root['value']": {'new_value': 30, 'old_value': 10}}} +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 10}}} +{'values_changed': {"root['value']": {'new_value': 50, 'old_value': 20}}} +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 30}}} +{} +{} +{} +{} +{} +{} +{'values_changed': {"root['value']": {'new_value': 30, 'old_value': 10}}} +{'values_changed': {"root['value']": {'new_value': 30, 'old_value': 20}}} +{'values_changed': {"root['value']": {'new_value': 50, 'old_value': 10}}} +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 20}}} +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 30}}} diff --git a/deepdiff/python_output.txt b/deepdiff/python_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..1035c0f6f35ed70e476211896681460b71356b53 --- /dev/null +++ b/deepdiff/python_output.txt @@ -0,0 +1,25 @@ +{'values_changed': {"root['value']": {'new_value': 20, 'old_value': 10}}} + +{'values_changed': {"root['value']": {'new_value': 30, 'old_value': 20}}} + +{} + +{'values_changed': {"root['value']": {'new_value': 50, 'old_value': 30}}} + +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 50}}} + +{'values_changed': {"root['value']": {'new_value': 30, 'old_value': 10}}} +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 10}}} +{'values_changed': {"root['value']": {'new_value': 50, 'old_value': 20}}} +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 30}}} +{} +{} +{} +{} +{} +{} +{'values_changed': {"root['value']": {'new_value': 30, 'old_value': 10}}} +{'values_changed': {"root['value']": {'new_value': 30, 'old_value': 20}}} +{'values_changed': {"root['value']": {'new_value': 50, 'old_value': 10}}} +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 20}}} +{'values_changed': {"root['value']": {'new_value': 60, 'old_value': 30}}} diff --git a/deepdiff/python_output2.txt b/deepdiff/python_output2.txt new file mode 100644 index 0000000000000000000000000000000000000000..61a58d00d1183029aa81c5c0d90b879f54f37827 --- /dev/null +++ b/deepdiff/python_output2.txt @@ -0,0 +1,25 @@ +{'values_changed': {"root['value']": {'new_value': 2, 'old_value': 1}}} + +{'values_changed': {"root['value']": {'new_value': 3, 'old_value': 2}}} + +{} + +{'values_changed': {"root['value']": {'new_value': 5, 'old_value': 3}}} + +{'values_changed': {"root['value']": {'new_value': 6, 'old_value': 5}}} + +{'values_changed': {"root['value']": {'new_value': 3, 'old_value': 1}}} +{'values_changed': {"root['value']": {'new_value': 6, 'old_value': 1}}} +{'values_changed': {"root['value']": {'new_value': 5, 'old_value': 2}}} +{'values_changed': {"root['value']": {'new_value': 6, 'old_value': 3}}} +{} +{} +{} +{} +{} +{} +{'values_changed': {"root['value']": {'new_value': 3, 'old_value': 1}}} +{'values_changed': {"root['value']": {'new_value': 3, 'old_value': 2}}} +{'values_changed': {"root['value']": {'new_value': 5, 'old_value': 1}}} +{'values_changed': {"root['value']": {'new_value': 6, 'old_value': 2}}} +{'values_changed': {"root['value']": {'new_value': 6, 'old_value': 3}}} diff --git a/deepdiff/python_output3.txt b/deepdiff/python_output3.txt new file mode 100644 index 0000000000000000000000000000000000000000..e2de361fde2079d8bed775502804cbff2bb1c094 --- /dev/null +++ b/deepdiff/python_output3.txt @@ -0,0 +1,25 @@ +{'values_changed': {"root['value']": {'new_value': 0, 'old_value': -5}}} + +{'values_changed': {"root['value']": {'new_value': 5, 'old_value': 0}}} + +{'values_changed': {"root['value']": {'new_value': -5, 'old_value': 5}}} + +{'values_changed': {"root['value']": {'new_value': 5, 'old_value': -5}}} + +{'values_changed': {"root['value']": {'new_value': 0, 'old_value': 5}}} + +{'values_changed': {"root['value']": {'new_value': 5, 'old_value': -5}}} +{'values_changed': {"root['value']": {'new_value': 0, 'old_value': -5}}} +{'values_changed': {"root['value']": {'new_value': 5, 'old_value': 0}}} +{'values_changed': {"root['value']": {'new_value': 0, 'old_value': 5}}} +{} +{} +{} +{} +{} +{} +{} +{'values_changed': {"root['value']": {'new_value': -5, 'old_value': 0}}} +{'values_changed': {"root['value']": {'new_value': 5, 'old_value': -5}}} +{} +{'values_changed': {"root['value']": {'new_value': 0, 'old_value': -5}}} diff --git a/deepdiff/test1.py b/deepdiff/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..60d7427e6d97be7005d3e39267ca45db19bcbe29 --- /dev/null +++ b/deepdiff/test1.py @@ -0,0 +1,10 @@ +import argparse +from deepdiff import DeepDiff + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +result = DeepDiff(args.a, args.b) # 比较两个字符串的差异 +print(result) diff --git a/deepdiff/test10.py b/deepdiff/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..b770603247ffad1bcee9352e49282aa2b9fbf9d2 --- /dev/null +++ b/deepdiff/test10.py @@ -0,0 +1,29 @@ +import argparse +from deepdiff import DeepDiff, Delta + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +obj1 = {'key': args.a} +obj2 = {'key': args.b} +obj3 = {'key': args.c} + +diff1 = DeepDiff(obj1, obj2) # 计算obj1和obj2的差异 +print(diff1) +delta1 = Delta(diff1) # 创建差异增量对象 +print(delta1) +diff2 = DeepDiff(obj2, obj3) # 计算obj2和obj3的差异 +print(diff2) +delta2 = Delta(diff2) # 创建第二个增量对象 +print(delta2) +diff3 = DeepDiff(obj1, obj3) # 直接比较obj1和obj3 +print(diff3) +result = obj1 + delta1 # 应用增量到obj1 +print(result) +result2 = result + delta2 # 应用第二个增量 +print(result2) +diff4 = DeepDiff(result2, obj3) # 验证最终结果 +print(diff4) diff --git a/deepdiff/test10_executable.zip b/deepdiff/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..548a6a5134b3257e0341c903caa0b3f945c62c0e --- /dev/null +++ b/deepdiff/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ced25888102beafeac04061464a571f279fce1234a31ed957b0bf9ead60d596a +size 145992213 diff --git a/deepdiff/test11.py b/deepdiff/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..edace5ae75ea84e54de3879e41fabf50172a90b0 --- /dev/null +++ b/deepdiff/test11.py @@ -0,0 +1,31 @@ +import argparse +from deepdiff import DeepDiff, extract + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +obj = { + 'users': [ + {'name': args.a, 'age': args.b}, + {'name': args.a + '2', 'age': args.b + 1} + ] +} + +r1 = DeepDiff(obj, obj) # 比较相同对象 +print(r1) +r2 = extract(obj, "root['users'][0]['name']") # 提取特定路径的值 +print(r2) +r3 = extract(obj, "root['users'][1]['age']") # 提取另一个路径的值 +print(r3) +r4 = DeepDiff(obj['users'][0], obj['users'][1]) # 比较两个用户对象 +print(r4) +r5 = extract(obj, "root['users'][0]") # 提取整个用户对象 +print(r5) +r6 = DeepDiff(obj['users'], []) # 比较列表和空列表 +print(r6) +r7 = DeepDiff(obj, {'users': []}) # 比较修改后的对象 +print(r7) +r8 = extract(obj, "root['users']") # 提取用户列表 +print(r8) diff --git a/deepdiff/test11_executable.zip b/deepdiff/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d4cc2c209acfcdf1ebde00d05aff726503565785 --- /dev/null +++ b/deepdiff/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b32b2fb8a1e441e2bd7f2170deff9c0de34cd3e7185e618ac364b5719a3d813e +size 145990791 diff --git a/deepdiff/test12.py b/deepdiff/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..00411c1b4eaa84d9dda56516ba00da5f0f041685 --- /dev/null +++ b/deepdiff/test12.py @@ -0,0 +1,35 @@ +import argparse +from deepdiff import DeepDiff + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +obj1 = {str(i): i * args.a for i in range(args.b)} +obj2 = {str(i): i * args.c for i in range(args.d)} +obj3 = {k: v * 2 for k, v in obj1.items()} +obj4 = {k: v + 10 for k, v in obj2.items()} + +r1 = DeepDiff(obj1, obj2) # 比较两个字典 +print(r1) +r2 = DeepDiff(obj2, obj3) # 比较obj2和obj3 +print(r2) +r3 = DeepDiff(obj3, obj4) # 比较obj3和obj4 +print(r3) +r4 = DeepDiff(obj1, obj3) # 比较obj1和obj3 +print(r4) +r5 = DeepDiff(obj2, obj4) # 比较obj2和obj4 +print(r5) +r6 = DeepDiff(obj1, obj4) # 比较obj1和obj4 +print(r6) +r7 = DeepDiff(obj1, obj1) # 比较相同对象 +print(r7) +r8 = DeepDiff({}, obj1) # 比较空字典和obj1 +print(r8) +r9 = DeepDiff(obj4, {}) # 比较obj4和空字典 +print(r9) +r10 = DeepDiff(obj3, obj3) # 比较相同对象 +print(r10) diff --git a/deepdiff/test12_executable.zip b/deepdiff/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..867e9d256c5145ece7230b40e8163bde0adfb032 --- /dev/null +++ b/deepdiff/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8202ad4717f968ec34f4c8b4e73344b271a607cfa1b11b54e50d521bdb9ede8 +size 145987967 diff --git a/deepdiff/test15.py b/deepdiff/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..39244710bd8d41820e479d7aa8dfaea379d58087 --- /dev/null +++ b/deepdiff/test15.py @@ -0,0 +1,39 @@ +import argparse +from deepdiff import DeepDiff, Delta + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +obj1 = {'x': args.a, 'y': args.b} +obj2 = {'x': args.a, 'y': args.c} +obj3 = {'x': args.a * 2, 'y': args.b} +obj4 = {'x': args.a, 'y': args.b, 'z': args.c} + +diff1 = DeepDiff(obj1, obj2) # 比较obj1和obj2 +print(diff1) +delta1 = Delta(diff1) # 创建delta对象 +print(delta1) +result1 = obj1.copy() +result1.update(obj2) # 更新obj1 +print(result1) +diff2 = DeepDiff(obj1, obj3) # 比较obj1和obj3 +print(diff2) +delta2 = Delta(diff2) # 创建第二个delta +print(delta2) +diff3 = DeepDiff(obj1, obj4) # 比较obj1和obj4 +print(diff3) +delta3 = Delta(diff3) # 创建第三个delta +print(delta3) +result2 = {'x': args.a * 2, 'y': args.c} # 创建新对象 +print(result2) +diff4 = DeepDiff(result2, obj4) # 比较结果和obj4 +print(diff4) +diff5 = DeepDiff(obj2, obj3) # 比较obj2和obj3 +print(diff5) +diff6 = DeepDiff(obj3, obj4) # 比较obj3和obj4 +print(diff6) +diff7 = DeepDiff(obj2, obj4) # 比较obj2和obj4 +print(diff7) diff --git a/deepdiff/test15_executable.zip b/deepdiff/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ce52ad4d3bcba642412bd9e230096210a5fa4131 --- /dev/null +++ b/deepdiff/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d99d3c8b86ca037e107b4d7ea3c42ae93648678211a128c1878d14eb4945b15 +size 145992068 diff --git a/deepdiff/test16.py b/deepdiff/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..59e30ff7d9a71227f9432c13eb307009df68ecfd --- /dev/null +++ b/deepdiff/test16.py @@ -0,0 +1,73 @@ +import argparse +from deepdiff import DeepDiff + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +# 创建复杂的嵌套结构 +obj1 = { + 'level1': { + 'level2': { + 'level3': { + 'data': list(range(args.a, args.b)), + 'nested': {'value': args.a} + } + } + } +} + +obj2 = { + 'level1': { + 'level2': { + 'level3': { + 'data': list(range(args.b, args.a, -1)), + 'nested': {'value': args.b} + } + } + } +} + +obj3 = {'level1': {'level2': {'level3': {'data': [], 'nested': {}}}}} + +r1 = DeepDiff(obj1, obj2) # 比较两个嵌套结构 +print(r1) +r2 = DeepDiff(obj1, obj2, ignore_order=True) # 忽略顺序比较 +print(r2) +r3 = DeepDiff(obj1, obj3) # 比较obj1和obj3 +print(r3) +r4 = DeepDiff(obj2, obj3) # 比较obj2和obj3 +print(r4) +r5 = DeepDiff(obj1, obj1) # 比较相同对象 +print(r5) +r6 = DeepDiff(obj2, obj2) # 比较相同对象 +print(r6) +r7 = DeepDiff(obj3, obj3) # 比较相同对象 +print(r7) +r8 = DeepDiff(obj1['level1'], obj2['level1']) # 比较子对象 +print(r8) +r9 = DeepDiff(obj1['level1']['level2'], obj3['level1']['level2']) # 比较更深层对象 +print(r9) +r10 = DeepDiff(obj1['level1']['level2']['level3'], obj2['level1']['level2']['level3']) # 比较最深层对象 +print(r10) +r11 = DeepDiff(obj1['level1']['level2']['level3']['data'], obj2['level1']['level2']['level3']['data']) # 比较数据列表 +print(r11) +r12 = DeepDiff(obj1['level1']['level2']['level3']['nested'], obj2['level1']['level2']['level3']['nested']) # 比较嵌套对象 +print(r12) +r13 = DeepDiff(obj1['level1']['level2']['level3'], obj3['level1']['level2']['level3']) # 比较level3对象 +print(r13) +r14 = DeepDiff(obj2['level1']['level2']['level3'], obj3['level1']['level2']['level3']) # 比较level3对象 +print(r14) +r15 = DeepDiff(obj1, obj3, ignore_order=True) # 忽略顺序比较 +print(r15) +r16 = DeepDiff(obj2, obj3, ignore_order=True) # 忽略顺序比较 +print(r16) +r17 = DeepDiff({'data': list(range(args.a, args.b))}, {'data': list(range(args.b, args.a, -1))}) # 比较简单嵌套 +print(r17) +r18 = DeepDiff({'nested': {'value': args.a}}, {'nested': {'value': args.b}}) # 比较嵌套值 +print(r18) +r19 = DeepDiff({'nested': {'value': args.a}}, {'nested': {}}) # 比较嵌套对象和空对象 +print(r19) +r20 = DeepDiff({'data': []}, {'data': list(range(args.a))}) # 比较空列表和非空列表 +print(r20) diff --git a/deepdiff/test16_executable.zip b/deepdiff/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..231275530885c6bd6da2991ed84e94f57bfb7bc0 --- /dev/null +++ b/deepdiff/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33ae3ec73a8745b34bbfd44b8188e19fae86b7ae1ba7c1d0f372f4f1d9120d3a +size 145989379 diff --git a/deepdiff/test18.py b/deepdiff/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..9247e17ae551a41f6df3af0b9e4c417edea3dd7d --- /dev/null +++ b/deepdiff/test18.py @@ -0,0 +1,67 @@ +import argparse +from deepdiff import DeepDiff, Delta + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +# 创建多个对象进行链式比较 +obj1 = {'value': args.a} +obj2 = {'value': args.b} +obj3 = {'value': args.c} +obj4 = {'value': args.a + args.b} +obj5 = {'value': args.b + args.c} +obj6 = {'value': args.a + args.b + args.c} + +d1 = DeepDiff(obj1, obj2) # 比较obj1和obj2 +print(d1) +delta1 = Delta(d1) # 创建delta +print(delta1) +d2 = DeepDiff(obj2, obj3) # 比较obj2和obj3 +print(d2) +delta2 = Delta(d2) # 创建delta +print(delta2) +d3 = DeepDiff(obj3, obj4) # 比较obj3和obj4 +print(d3) +delta3 = Delta(d3) # 创建delta +print(delta3) +d4 = DeepDiff(obj4, obj5) # 比较obj4和obj5 +print(d4) +delta4 = Delta(d4) # 创建delta +print(delta4) +d5 = DeepDiff(obj5, obj6) # 比较obj5和obj6 +print(d5) +delta5 = Delta(d5) # 创建delta +print(delta5) +d6 = DeepDiff(obj1, obj3) # 直接比较obj1和obj3 +print(d6) +d7 = DeepDiff(obj1, obj6) # 直接比较obj1和obj6 +print(d7) +d8 = DeepDiff(obj2, obj5) # 直接比较obj2和obj5 +print(d8) +d9 = DeepDiff(obj3, obj6) # 直接比较obj3和obj6 +print(d9) +d10 = DeepDiff(obj1, obj1) # 比较相同对象 +print(d10) +d11 = DeepDiff(obj2, obj2) # 比较相同对象 +print(d11) +d12 = DeepDiff(obj3, obj3) # 比较相同对象 +print(d12) +d13 = DeepDiff(obj4, obj4) # 比较相同对象 +print(d13) +d14 = DeepDiff(obj5, obj5) # 比较相同对象 +print(d14) +d15 = DeepDiff(obj6, obj6) # 比较相同对象 +print(d15) +d16 = DeepDiff(obj1, obj4) # 比较obj1和obj4 +print(d16) +d17 = DeepDiff(obj2, obj4) # 比较obj2和obj4 +print(d17) +d18 = DeepDiff(obj1, obj5) # 比较obj1和obj5 +print(d18) +d19 = DeepDiff(obj2, obj6) # 比较obj2和obj6 +print(d19) +d20 = DeepDiff(obj4, obj6) # 比较obj4和obj6 +print(d20) diff --git a/deepdiff/test18_executable.zip b/deepdiff/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2fbe396c3fb34146579ee3be42ed366ef6ba0887 --- /dev/null +++ b/deepdiff/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8bb05d09ce653955cb13e6167303a1b318be63f8158fb5edf1e8f5adad39ac7d +size 145990879 diff --git a/deepdiff/test1_executable.zip b/deepdiff/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..da2934700555fa39b99cdf6f9c026de17ba47a24 --- /dev/null +++ b/deepdiff/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f662b7cb2cc36be8f8de8a84247b7dedb5236b21691e0340f5cea50282dd7b3 +size 145991988 diff --git a/deepdiff/test2.py b/deepdiff/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..a376e2eaef19a975c694bc29fe11e15b47d03cae --- /dev/null +++ b/deepdiff/test2.py @@ -0,0 +1,13 @@ +import argparse +import json +from deepdiff import DeepDiff + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +obj1 = json.loads(args.a) +obj2 = json.loads(args.b) +result = DeepDiff(obj1, obj2) # 比较两个JSON对象的差异 +print(result) diff --git a/deepdiff/test2_executable.zip b/deepdiff/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..365cb218b3b73434279e12ced11ba1fb9c3bc17b --- /dev/null +++ b/deepdiff/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:524bad53845b28b7e2d2e4d1fbdf8af152f79607fcee5c6bcc61ac0d1a22575b +size 145992320 diff --git a/deepdiff/test3.py b/deepdiff/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..8eb3c25cedc9a1ba0018672e2e488ae79893d9f3 --- /dev/null +++ b/deepdiff/test3.py @@ -0,0 +1,12 @@ +import argparse +from deepdiff import DeepDiff + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +list1 = list(range(args.a)) +list2 = list(range(args.b)) +result = DeepDiff(list1, list2) # 比较两个列表的差异 +print(result) diff --git a/deepdiff/test3_executable.zip b/deepdiff/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a277936ee03f88f2978d47e2ee151b4444d7bef0 --- /dev/null +++ b/deepdiff/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebde5a06796adcfef4ed33e020f326304198abbcfc038bf03cea2820d19c8919 +size 145991225 diff --git a/deepdiff/test4.py b/deepdiff/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..9e150f299382ddbaf43595ae8c3cddc74f79cd75 --- /dev/null +++ b/deepdiff/test4.py @@ -0,0 +1,11 @@ +import argparse +from deepdiff import DeepSearch + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +obj = {'key1': args.a, 'key2': {'nested': args.b}} +result = DeepSearch(obj, args.a) # 在对象中搜索指定值 +print(result) diff --git a/deepdiff/test4_executable.zip b/deepdiff/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d71050c5419ff31b493de8b5e4aae46595273b8d --- /dev/null +++ b/deepdiff/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:143fc3516b374a54ee30027c6b8cad105ed649d5adf70f22d38a774205e078d0 +size 145990224 diff --git a/deepdiff/test6.py b/deepdiff/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..40a1b58cc1fedc5fc8d71b1edd1019e87dfe4988 --- /dev/null +++ b/deepdiff/test6.py @@ -0,0 +1,28 @@ +import argparse +import json +from deepdiff import DeepDiff + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=str, required=True) +args = parser.parse_args() + +obj1 = json.loads(args.a) +obj2 = json.loads(args.b) +obj3 = json.loads(args.c) +obj4 = json.loads(args.d) +obj5 = json.loads(args.e) + +r1 = DeepDiff(obj1, obj2) # 比较obj1和obj2 +print(r1) +r2 = DeepDiff(obj2, obj3) # 比较obj2和obj3 +print(r2) +r3 = DeepDiff(obj3, obj4) # 比较obj3和obj4 +print(r3) +r4 = DeepDiff(obj4, obj5) # 比较obj4和obj5 +print(r4) +r5 = DeepDiff(obj1, obj5) # 比较obj1和obj5 +print(r5) diff --git a/deepdiff/test6_executable.zip b/deepdiff/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..15fa2c1337cd77f5f5f5afe0f1465f3b46412ba6 --- /dev/null +++ b/deepdiff/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c3ec779d25efb669444821e3f520f7a4cf7b364ecb31dbf8bd0ceb60ec76fc3 +size 145989902 diff --git a/difficulty.json b/difficulty.json new file mode 100644 index 0000000000000000000000000000000000000000..d6a133044f03e340a2483ddc6b44f50400df7264 --- /dev/null +++ b/difficulty.json @@ -0,0 +1 @@ +{"EASY": ["deepdiff/test1.py", "deepdiff/test4.py", "deepdiff/test3.py", "furl/test5.py", "furl/test4.py", "furl/test1.py", "furl/test2.py", "furl/test3.py", "furl/test9.py", "furl/test10.py", "furl/test8.py", "furl/test13.py", "furl/test12.py", "furl/test6.py", "furl/test11.py", "furl/test7.py", "fractions/test1.py", "fractions/test3.py", "deepdiff/test10.py", "moneyed/test1.py", "deepdiff/test11.py", "fractions/test2.py", "fractions/test4.py", "moneyed/test11.py", "moneyed/test9.py", "moneyed/test10.py", "deepdiff/test12.py", "moneyed/test5.py", "moneyed/test15.py", "moneyed/test14.py", "moneyed/test6.py", "moneyed/test16.py", "deepdiff/test15.py", "moneyed/test2.py", "jose/test1.py", "moneyed/test12.py", "moneyed/test18.py", "moneyed/test17.py", "moneyed/test8.py", "moneyed/test13.py", "moneyed/test3.py", "fractions/test5.py", "fractions/test8.py", "moneyed/test7.py", "moneyed/test19.py", "jose/test2.py", "moneyed/test20.py", "fractions/test13.py", "fractions/test9.py", "jose/test11.py", "jose/test9.py", "jose/test4.py", "jose/test3.py", "fractions/test7.py", "fractions/test6.py", "fractions/test15.py", "jose/test7.py", "jose/test13.py", "jose/test6.py", "jose/test10.py", "jose/test16.py", "jose/test12.py", "jose/test17.py", "fractions/test11.py", "fractions/test12.py", "jose/test15.py", "jose/test8.py", "fractions/test14.py", "deepdiff/test18.py", "deepdiff/test16.py", "jose/test19.py", "markdown/test4.py", "markdown/test3.py", "fractions/test17.py", "fractions/test16.py", "markdown/test5.py", "markdown/test1.py", "fractions/test19.py", "pyaes/test2.py", "bitarray/test5.py", "bitarray/test1.py", "bitarray/test2.py", "bitarray/test3.py", "pyaes/test5.py", "bitarray/test4.py", "pyaes/test4.py", "pyaes/test12.py", "pyaes/test13.py", "markdown/test8.py", "bitarray/test13.py", "bitarray/test14.py", "bitarray/test10.py", "pyaes/test10.py", "bitarray/test12.py", "idna/test1.py", "pyaes/test8.py", "pyaes/test11.py", "pyaes/test14.py", "markdown/test2.py", "pyaes/test15.py", "pyaes/test6.py", "bitarray/test8.py", "bitarray/test11.py", "bitarray/test7.py", "bitarray/test6.py", "bitarray/test9.py", "markdown/test6.py", "pyaes/test9.py", "markdown/test7.py", "pyaes/test7.py", "pyaes/test16.py", "bitarray/test15.py", "sqlparse/test4.py", "sqlparse/test2.py", "fractions/test20.py", "bitarray/test16.py", "pyaes/test17.py", "idna/test4.py", "sqlparse/test7.py", "pyaes/test18.py", "idna/test5.py", "bitarray/test17.py", "idna/test2.py", "pyaes/test19.py", "markdown/test11.py", "sqlparse/test10.py", "idna/test3.py", "bencoder/test4.py", "bencoder/test1.py", "bencoder/test2.py", "bencoder/test3.py", "bidict/test1.py", "idna/test8.py", "idna/test7.py", "bencoder/test5.py", "sqlparse/test16.py", "idna/test15.py", "sqlparse/test3.py", "markdown/test13.py", "markdown/test9.py", "bidict/test2.py", "idna/test6.py", "sqlparse/test9.py", "bencoder/test6.py", "bidict/test11.py", "bidict/test6.py", "idna/test11.py", "idna/test13.py"], "MEDIUM": ["idna/test9.py", "bidict/test3.py", "bidict/test9.py", "bencoder/test7.py", "bidict/test7.py", "bencoder/test9.py", "bencoder/test8.py", "bidict/test5.py", "bencoder/test11.py", "bencoder/test13.py", "bencoder/test14.py", "bencoder/test10.py", "bidict/test4.py", "bidict/test12.py", "bencoder/test12.py", "idna/test16.py", "idna/test17.py", "markdown/test10.py", "bech32/test2.py", "bencoder/test15.py", "bidict/test14.py", "bech32/test5.py", "bidict/test17.py", "bech32/test1.py", "bidict/test19.py", "bidict/test15.py", "bech32/test12.py", "bidict/test10.py", "bech32/test4.py", "bech32/test3.py", "bidict/test18.py", "idna/test12.py", "bech32/test9.py", "bech32/test10.py", "bidict/test16.py", "idna/test19.py", "bech32/test8.py", "bech32/test11.py", "bech32/test7.py", "bech32/test6.py", "idna/test10.py", "bech32/test14.py", "markdown/test12.py", "bidict/test8.py", "bencoder/test18.py", "bech32/test13.py", "bech32/test15.py", "base58/test5.py", "base58/test4.py", "base58/test1.py", "base58/test2.py", "base58/test3.py", "base58/test12.py", "bech32/test17.py", "idna/test14.py", "bencoder/test16.py", "base58/test8.py", "base58/test7.py", "base58/test6.py", "base58/test9.py", "bech32/test16.py", "bencoder/test19.py", "bidict/test13.py", "base58/test13.py", "base58/test11.py", "base58/test14.py", "base58/test10.py", "idna/test18.py", "bencoder/test17.py", "markdown/test14.py", "base58/test15.py", "base58/test16.py", "markdown/test15.py", "bidict/test20.py", "base58/test17.py", "base58/test18.py", "idna/test20.py", "base58/test19.py", "markdown/test16.py", "base58/test20.py", "markdown/test18.py", "markdown/test17.py", "deepdiff/test2.py", "bitstring/test10.py", "bitstring/test1.py", "bitstring/test2.py", "deepdiff/test6.py", "bitstring/test14.py", "bitstring/test6.py", "bitstring/test3.py", "bitstring/test5.py", "bitstring/test11.py", "bitstring/test7.py", "bitstring/test12.py", "bitstring/test18.py", "bitstring/test17.py", "bitstring/test16.py", "bitstring/test9.py", "bitstring/test4.py", "bitstring/test8.py", "bitstring/test19.py", "bitstring/test13.py", "bitstring/test15.py", "yaml/test1.py", "yaml/test5.py", "yaml/test11.py", "yaml/test8.py", "yaml/test7.py", "yaml/test2.py", "yaml/test4.py", "yaml/test15.py", "yaml/test6.py", "yaml/test10.py", "yaml/test16.py", "markdown/test19.py", "yaml/test12.py", "yaml/test19.py", "yaml/test20.py", "yaml/test17.py", "yaml/test14.py", "yaml/test13.py", "yaml/test9.py", "yaml/test18.py", "markdown/test20.py", "mpmath/test1.py", "mpmath/test2.py", "mpmath/test3.py", "mpmath/test5.py", "mpmath/test4.py", "mpmath/test7.py", "mpmath/test6.py", "canonicaljson/test5.py", "canonicaljson/test4.py", "canonicaljson/test1.py", "canonicaljson/test2.py", "canonicaljson/test3.py", "mpmath/test14.py", "mpmath/test10.py", "mpmath/test8.py", "mpmath/test11.py", "mpmath/test12.py", "mpmath/test9.py", "canonicaljson/test7.py", "canonicaljson/test6.py", "mpmath/test13.py", "mpmath/test15.py", "canonicaljson/test9.py", "canonicaljson/test8.py", "mpmath/test16.py"], "HARD": ["canonicaljson/test11.py", "canonicaljson/test10.py", "canonicaljson/test12.py", "canonicaljson/test13.py", "canonicaljson/test14.py", "canonicaljson/test15.py", "mpmath/test17.py", "pbkdf2/test4.py", "pbkdf2/test1.py", "pbkdf2/test2.py", "mpmath/test18.py", "pbkdf2/test14.py", "pbkdf2/test7.py", "pbkdf2/test11.py", "pbkdf2/test10.py", "pbkdf2/test13.py", "mpmath/test19.py", "pbkdf2/test8.py", "pbkdf2/test6.py", "canonicaljson/test16.py", "pbkdf2/test15.py", "pbkdf2/test16.py", "canonicaljson/test17.py", "canonicaljson/test18.py", "canonicaljson/test19.py", "canonicaljson/test20.py", "schedule/test1.py", "schedule/test2.py", "schedule/test3.py", "schedule/test4.py", "schedule/test5.py", "schedule/test7.py", "schedule/test6.py", "schedule/test10.py", "schedule/test9.py", "schedule/test11.py", "schedule/test13.py", "schedule/test12.py", "schedule/test14.py", "schedule/test18.py", "schedule/test16.py", "schedule/test19.py", "schedule/test20.py", "boltons/test3.py", "boltons/test13.py", "boltons/test15.py", "boltons/test6.py", "boltons/test10.py", "ecdsa/test16.py", "ecdsa/test8.py", "ecdsa/test18.py", "ecdsa/test9.py", "boltons/test5.py", "boltons/test7.py", "boltons/test11.py", "boltons/test14.py", "ecdsa/test4.py", "rsa/test7.py", "rsa/test2.py", "rsa/test5.py", "rsa/test15.py", "rsa/test8.py", "rsa/test11.py", "rsa/test16.py", "rsa/test10.py", "rsa/test19.py", "rsa/test17.py", "rsa/test18.py", "boltons/test19.py", "boltons/test4.py", "boltons/test1.py", "boltons/test2.py", "boltons/test9.py", "boltons/test12.py", "rlp/test1.py", "rlp/test2.py", "rlp/test3.py", "rlp/test4.py", "rlp/test5.py", "boltons/test17.py", "whoosh/test1.py", "whoosh/test2.py", "whoosh/test5.py", "whoosh/test4.py", "whoosh/test3.py", "construct/test5.py", "construct/test1.py", "construct/test2.py", "construct/test3.py", "construct/test4.py", "construct/test8.py", "construct/test12.py", "construct/test6.py", "construct/test10.py", "construct/test7.py", "construct/test15.py", "construct/test14.py", "construct/test17.py", "construct/test19.py", "construct/test16.py", "construct/test18.py", "construct/test20.py", "jsonschema/test3.py", "jsonschema/test1.py", "jsonschema/test5.py", "jsonschema/test4.py", "jsonschema/test8.py", "jsonschema/test10.py", "jsonschema/test2.py", "jsonschema/test7.py", "jsonschema/test14.py", "jsonschema/test9.py", "jsonschema/test13.py", "jsonschema/test6.py", "jsonschema/test11.py", "jsonschema/test12.py", "jsonschema/test15.py", "jsonschema/test16.py", "jsonschema/test19.py", "jsonschema/test18.py", "jsonschema/test20.py", "whoosh/test6.py", "whoosh/test9.py", "whoosh/test8.py", "whoosh/test7.py", "whoosh/test15.py", "whoosh/test10.py", "whoosh/test11.py", "whoosh/test18.py", "whoosh/test14.py", "whoosh/test19.py", "whoosh/test16.py", "whoosh/test17.py", "whoosh/test20.py", "networkx/test1.py", "networkx/test4.py", "networkx/test2.py", "networkx/test3.py", "networkx/test5.py", "networkx/test13.py", "networkx/test6.py", "networkx/test7.py", "networkx/test11.py", "networkx/test14.py", "networkx/test10.py", "networkx/test15.py", "networkx/test17.py", "networkx/test20.py", "networkx/test16.py"]} \ No newline at end of file diff --git a/ecdsa/test16.py b/ecdsa/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..f6cf95e0b293adb2f4dbdfd94c2fc8ab4a08ec44 --- /dev/null +++ b/ecdsa/test16.py @@ -0,0 +1,60 @@ +import argparse +from ecdsa import SigningKey, VerifyingKey, NIST256p, BadSignatureError + +# 生成密钥对并签名 +# 如果corrupt=true,则篡改签名 +# 验证签名并输出结果 +parser = argparse.ArgumentParser() +parser.add_argument('--message', type=str, required=True) +parser.add_argument('--corrupt', type=str, required=True, choices=['true', 'false'], help='Whether to corrupt signature') +args = parser.parse_args() + +sk = SigningKey.generate(curve=NIST256p) +vk = sk.get_verifying_key() +sig = sk.sign(args.message.encode()) + +if args.corrupt == 'true': + # 修改签名最后一个字节 + sig = sig[:-1] + bytes([sig[-1] ^ 0xFF]) + +try: + vk.verify(sig, args.message.encode()) + print(True) +except BadSignatureError: + print(False) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --message = 'zLQ3jc7Vf2' +# --corrupt = 'false' +# Output: +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --message = 'zdYr16ry5u' +# --corrupt = 'false' +# Output: +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --message = '8NZIjmynXr' +# --corrupt = 'true' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --message = '3yonyJKbx8' +# --corrupt = 'false' +# Output: +# True +# Return Code: 0 diff --git a/ecdsa/test18.py b/ecdsa/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..4de4188e4317c5183f9bea68513a3bd8d7455c59 --- /dev/null +++ b/ecdsa/test18.py @@ -0,0 +1,66 @@ +import argparse +from ecdsa import SigningKey, NIST256p + +# 生成密钥对 +# 对逗号分隔的多个消息分别签名 +# 打印消息数量、签名的最小/最大长度及是否一致 +parser = argparse.ArgumentParser() +parser.add_argument('--messages', type=str, required=True, help='Comma-separated messages') +args = parser.parse_args() + +msg_list = args.messages.split(',') +sk = SigningKey.generate(curve=NIST256p) + +sig_lengths = [] +for msg in msg_list: + sig = sk.sign(msg.strip().encode()) + sig_lengths.append(len(sig)) + +print(len(msg_list)) +print(min(sig_lengths)) +print(max(sig_lengths)) +print(all(l == sig_lengths[0] for l in sig_lengths)) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --messages = '2MEAHnO0uZ' +# Output: +# 1 +# 64 +# 64 +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --messages = 'mXDuVV57ga' +# Output: +# 1 +# 64 +# 64 +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --messages = '51OH2Y5uPu' +# Output: +# 1 +# 64 +# 64 +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --messages = 'Jn0Afx3vqA' +# Output: +# 1 +# 64 +# 64 +# True +# Return Code: 0 diff --git a/ecdsa/test4.py b/ecdsa/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..45f17e4b5e2dea9ca3f6d2689a7c1ffe946010ce --- /dev/null +++ b/ecdsa/test4.py @@ -0,0 +1,70 @@ +import argparse +from ecdsa import SigningKey, NIST256p, BadSignatureError +from ecdsa.util import sigencode_der, sigdecode_der + +# 生成密钥对 +# 使用DER编码格式对消息签名 +# 如果指定了corrupt参数,则篡改签名最后一个字节 +# 验证签名是否有效 +parser = argparse.ArgumentParser() +parser.add_argument('--sk_seed', type=int, required=True, help='Private key seed') +parser.add_argument('--message', type=str, required=True) +parser.add_argument('--corrupt', type=str, required=False, default='false', choices=['true','false'], help='Corrupt signature') +args = parser.parse_args() + +# 生成密钥对 +sk = SigningKey.generate(curve=NIST256p) + +# 签名(DER格式) +sig = sk.sign(args.message.encode(), sigencode=sigencode_der) + +if args.corrupt == 'true': + sig = sig[:-1] + bytes([sig[-1] ^ 0xFF]) + +vk = sk.get_verifying_key() + +try: + vk.verify(sig, args.message.encode(), sigdecode=sigdecode_der) + print(True) +except BadSignatureError: + print(False) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --sk_seed = 455 +# --message = 'S08s8ODMgv' +# --corrupt = 'true' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --sk_seed = 643 +# --message = 'y9a7sNwaGY' +# --corrupt = 'true' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --sk_seed = 339 +# --message = 'sX4pNZ4NyT' +# --corrupt = 'true' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --sk_seed = 172 +# --message = 'VVEs4l8Y7A' +# --corrupt = 'true' +# Output: +# False +# Return Code: 0 diff --git a/ecdsa/test8.py b/ecdsa/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..8503429abfee2e59b14571799aae73bbb367342b --- /dev/null +++ b/ecdsa/test8.py @@ -0,0 +1,64 @@ +import argparse +from ecdsa import SigningKey, NIST256p, BadSignatureError + +# 生成密钥对 +# 批量生成多个签名 +# 验证所有签名,打印是否全部通过和通过的数量 +parser = argparse.ArgumentParser() +parser.add_argument('--num_signatures', type=int, required=True) +args = parser.parse_args() + +# 生成密钥对 +sk = SigningKey.generate(curve=NIST256p) +vk = sk.get_verifying_key() + +messages = [f"message_{i}".encode() for i in range(args.num_signatures)] +signatures = [sk.sign(msg) for msg in messages] + +# 批量验证 +results = [] +for msg, sig in zip(messages, signatures): + try: + vk.verify(sig, msg) + results.append(True) + except BadSignatureError: + results.append(False) + +print(all(results)) +print(sum(results)) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --num_signatures = 421 +# Output: +# True +# 421 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --num_signatures = 143 +# Output: +# True +# 143 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --num_signatures = 800 +# Output: +# True +# 800 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --num_signatures = 956 +# Output: +# True +# 956 +# Return Code: 0 diff --git a/ecdsa/test9.py b/ecdsa/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..4bee42c146e57f259a70b19897c553964597ff26 --- /dev/null +++ b/ecdsa/test9.py @@ -0,0 +1,83 @@ +import hashlib +import argparse +from ecdsa import SigningKey, NIST256p + +# 生成密钥对 +# 使用不同的hash函数签名同一消息 +# 打印不同hash函数产生的签名长度 +# 验证使用sha256签名的签名 +parser = argparse.ArgumentParser() +parser.add_argument('--message', type=str, required=True) +parser.add_argument('--hashfunc', type=str, required=True, choices=['sha1', 'sha256', 'sha512']) +args = parser.parse_args() + +hash_map = { + 'sha1': hashlib.sha1, + 'sha256': hashlib.sha256, + 'sha512': hashlib.sha512 +} + +sk = SigningKey.generate(curve=NIST256p) + +sig_sha1 = sk.sign(args.message.encode(), hashfunc=hash_map['sha1']) +sig_sha256 = sk.sign(args.message.encode(), hashfunc=hash_map['sha256']) +sig_sha512 = sk.sign(args.message.encode(), hashfunc=hash_map['sha512']) + +print(len(sig_sha1)) +print(len(sig_sha256)) +print(len(sig_sha512)) + +vk = sk.get_verifying_key() +try: + vk.verify(sig_sha256, args.message.encode(), hashfunc=hash_map['sha256']) + print(True) +except: + print(False) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --message = 'ywbdn7fubG' +# --hashfunc = 'sha512' +# Output: +# 64 +# 64 +# 64 +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --message = '1p7JaXvkmR' +# --hashfunc = 'sha512' +# Output: +# 64 +# 64 +# 64 +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --message = 'uOx0umQgcg' +# --hashfunc = 'sha256' +# Output: +# 64 +# 64 +# 64 +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --message = 'd9LTpr6gMj' +# --hashfunc = 'sha256' +# Output: +# 64 +# 64 +# 64 +# True +# Return Code: 0 diff --git a/fractions/__pycache__/test9.cpython-312.pyc b/fractions/__pycache__/test9.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..38223bbcef496807542e10cd8fc5734b28808650 Binary files /dev/null and b/fractions/__pycache__/test9.cpython-312.pyc differ diff --git a/fractions/test1.py b/fractions/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..7b34c05feea061eaf96779d0603f90742c5b3aa3 --- /dev/null +++ b/fractions/test1.py @@ -0,0 +1,41 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = Fraction(args.a) # API调用1: 创建分数 +print(result) # print行1 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '-2.25' +# Output: +# -9/4 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '3/4' +# Output: +# 3/4 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '0.9' +# Output: +# 9/10 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '3/4' +# Output: +# 3/4 +# Return Code: 0 diff --git a/fractions/test11.py b/fractions/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..ab6b6a06a4f0678284b494e78b55d72335ab7a57 --- /dev/null +++ b/fractions/test11.py @@ -0,0 +1,74 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.c, args.d) # API调用2: 创建分数 +print(f2) # print行2 +diff = f1 - f2 # API调用3: 分数相减 +print(diff) # print行3 +abs_diff = abs(diff) # API调用4: 取绝对值 +print(abs_diff) # print行4 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -33 +# --b = 79 +# --c = -92 +# --d = 96 +# Output: +# -33/79 +# -23/24 +# 1025/1896 +# 1025/1896 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -56 +# --b = 33 +# --c = 88 +# --d = 31 +# Output: +# -56/33 +# 88/31 +# -4640/1023 +# 4640/1023 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 38 +# --b = 27 +# --c = 22 +# --d = 98 +# Output: +# 38/27 +# 11/49 +# 1565/1323 +# 1565/1323 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -38 +# --b = 89 +# --c = -33 +# --d = 39 +# Output: +# -38/89 +# -11/13 +# 485/1157 +# 485/1157 +# Return Code: 0 diff --git a/fractions/test11_executable.zip b/fractions/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..aa84473232ed0f4a5c990d2542b679a6b47326a3 --- /dev/null +++ b/fractions/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:abbcf816eda9906cd7c29240a216ee4d29ceb3fdde994d686e85cdd2a4fd7914 +size 7350474 diff --git a/fractions/test12.py b/fractions/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..40538f6428052a935222c59c1ef8b376280c6cde --- /dev/null +++ b/fractions/test12.py @@ -0,0 +1,74 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.c, args.d) # API调用2: 创建分数 +print(f2) # print行2 +comparison = f1 < f2 # API调用3: 比较运算 +print(comparison) # print行3 +difference = f2 - f1 # API调用4: 分数相减 +print(difference) # print行4 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -54 +# --b = 82 +# --c = 89 +# --d = 76 +# Output: +# -27/41 +# 89/76 +# True +# 5701/3116 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 73 +# --b = 33 +# --c = 89 +# --d = 15 +# Output: +# 73/33 +# 89/15 +# True +# 614/165 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -92 +# --b = 1 +# --c = 56 +# --d = 10 +# Output: +# -92 +# 28/5 +# True +# 488/5 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 97 +# --b = 54 +# --c = 53 +# --d = 98 +# Output: +# 97/54 +# 53/98 +# False +# -1661/1323 +# Return Code: 0 diff --git a/fractions/test12_executable.zip b/fractions/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..177d02bd7d88928fa0d894df182aec3a2592537c --- /dev/null +++ b/fractions/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8a7d999800a4122a98ee94d7c3188e89d638714354d334df3e3f1636fa7bca4 +size 7349901 diff --git a/fractions/test13.py b/fractions/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..06e4afa9453ee7998b38bb0bea076c8b3ed4ff1d --- /dev/null +++ b/fractions/test13.py @@ -0,0 +1,64 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=float, required=True) +parser.add_argument('--b', type=float, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a).limit_denominator(100) # API调用1: 创建并限制分母 +print(f1) # print行1 +f2 = Fraction(args.b).limit_denominator(100) # API调用2: 创建并限制分母 +print(f2) # print行2 +product = f1 * f2 # API调用3: 分数相乘 +print(product) # print行3 +reciprocal = 1 / product # API调用4: 分数除法 +print(reciprocal) # print行4 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 1.2 +# --b = -3.1 +# Output: +# 6/5 +# -31/10 +# -93/25 +# -25/93 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -2.0 +# --b = 11.0 +# Output: +# -2 +# 11 +# -22 +# -1/22 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 7.7 +# --b = -17.2 +# Output: +# 77/10 +# -86/5 +# -3311/25 +# -25/3311 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -8.4 +# --b = 3.7 +# Output: +# -42/5 +# 37/10 +# -777/25 +# -25/777 +# Return Code: 0 diff --git a/fractions/test13_executable.zip b/fractions/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2607dee2b4bfbfe403d565afbe5e3e7e7eefe4ae --- /dev/null +++ b/fractions/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5caf701837ba947a69e9e25a3bae913dfeda2255c5cd66a8ba698362cb93850a +size 7350287 diff --git a/fractions/test14.py b/fractions/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..6f2efc871750c6802aad189a2d194c6465d20382 --- /dev/null +++ b/fractions/test14.py @@ -0,0 +1,80 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.c, args.d) # API调用2: 创建分数 +print(f2) # print行2 +sum_f = f1 + f2 # API调用3: 分数相加 +print(sum_f) # print行3 +diff_f = f1 - f2 # API调用4: 分数相减 +print(diff_f) # print行4 +mult_f = f1 * f2 # API调用5: 分数相乘 +print(mult_f) # print行5 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -41 +# --b = 100 +# --c = -88 +# --d = 37 +# Output: +# -41/100 +# -88/37 +# -10317/3700 +# 7283/3700 +# 902/925 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -56 +# --b = 79 +# --c = 41 +# --d = 42 +# Output: +# -56/79 +# 41/42 +# 887/3318 +# -5591/3318 +# -164/237 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -14 +# --b = 82 +# --c = -54 +# --d = 33 +# Output: +# -7/41 +# -18/11 +# -815/451 +# 661/451 +# 126/451 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -4 +# --b = 68 +# --c = -66 +# --d = 34 +# Output: +# -1/17 +# -33/17 +# -2 +# 32/17 +# 33/289 +# Return Code: 0 diff --git a/fractions/test14_executable.zip b/fractions/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..39ecd12346faaad0be4b430fb729095fedb9b046 --- /dev/null +++ b/fractions/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9d1d782fbb753f6e8d4dc2e9f9d96c890c07917c58d567dedb9133c53b5bacd +size 7351223 diff --git a/fractions/test15.py b/fractions/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..93c15539b3dec0a5003ef273ffdd410b4127d895 --- /dev/null +++ b/fractions/test15.py @@ -0,0 +1,70 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.b) # API调用2: 创建分数 +print(f2) # print行2 +f1_limited = f1.limit_denominator() # API调用3: 限制分母 +print(f1_limited) # print行3 +f2_limited = f2.limit_denominator() # API调用4: 限制分母 +print(f2_limited) # print行4 +average = (f1_limited + f2_limited) / 2 # API调用5: 分数运算 +print(average) # print行5 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '0.25' +# --b = '0.25' +# Output: +# 1/4 +# 1/4 +# 1/4 +# 1/4 +# 1/4 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '1/4' +# --b = '5/6' +# Output: +# 1/4 +# 5/6 +# 1/4 +# 5/6 +# 13/24 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '4/5' +# --b = '5/6' +# Output: +# 4/5 +# 5/6 +# 4/5 +# 5/6 +# 49/60 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '1' +# --b = '0.9' +# Output: +# 1 +# 9/10 +# 1 +# 9/10 +# 19/20 +# Return Code: 0 diff --git a/fractions/test15_executable.zip b/fractions/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1641aab75104c7ec2f7a4dac3844ac14d10cd73f --- /dev/null +++ b/fractions/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c083faa68bf0303114d35de65e333505a21f4b9ed927eab0c954f07ef5458fd7 +size 7350323 diff --git a/fractions/test16.py b/fractions/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..fa1822a35d357c8e72411cc31b9471021ae7494c --- /dev/null +++ b/fractions/test16.py @@ -0,0 +1,97 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.c, args.d) # API调用2: 创建分数 +print(f2) # print行2 +f3 = Fraction(args.e, 1) # API调用3: 创建分数 +print(f3) # print行3 +sum1 = f1 + f2 # API调用4: 分数相加 +print(sum1) # print行4 +sum2 = sum1 + f3 # API调用5: 分数相加 +print(sum2) # print行5 +product = f1 * f2 # API调用6: 分数相乘 +print(product) # print行6 +final = product / sum2 # API调用7: 分数除法 +print(final) # print行7 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -94 +# --b = 85 +# --c = 36 +# --d = 81 +# --e = -2 +# Output: +# -94/85 +# 4/9 +# -2 +# -506/765 +# -2036/765 +# -376/765 +# 94/509 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 9 +# --b = 15 +# --c = 1 +# --d = 24 +# --e = 22 +# Output: +# 3/5 +# 1/24 +# 22 +# 77/120 +# 2717/120 +# 1/40 +# 3/2717 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 85 +# --b = 95 +# --c = -85 +# --d = 66 +# --e = 93 +# Output: +# 17/19 +# -85/66 +# 93 +# -493/1254 +# 116129/1254 +# -1445/1254 +# -1445/116129 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 75 +# --b = 5 +# --c = -2 +# --d = 32 +# --e = 94 +# Output: +# 15 +# -1/16 +# 94 +# 239/16 +# 1743/16 +# -15/16 +# -5/581 +# Return Code: 0 diff --git a/fractions/test16_executable.zip b/fractions/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2df4759ccade2967f24c02e6d79f1965e5c8a9c4 --- /dev/null +++ b/fractions/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ed7b3e345d57a386a37424527858e2661414b7e35d4344432d67228393534fa +size 7349721 diff --git a/fractions/test17.py b/fractions/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..975eeb3820c8685d9573b3b6301590a6cb38f280 --- /dev/null +++ b/fractions/test17.py @@ -0,0 +1,97 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--limit', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.c, args.d) # API调用2: 创建分数 +print(f2) # print行2 +f1_limited = f1.limit_denominator(args.limit) # API调用3: 限制分母 +print(f1_limited) # print行3 +f2_limited = f2.limit_denominator(args.limit) # API调用4: 限制分母 +print(f2_limited) # print行4 +sum_f = f1_limited + f2_limited # API调用5: 分数相加 +print(sum_f) # print行5 +diff_f = f1_limited - f2_limited # API调用6: 分数相减 +print(diff_f) # print行6 +abs_diff = abs(diff_f) # API调用7: 取绝对值 +print(abs_diff) # print行7 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -5 +# --b = 8 +# --c = 74 +# --d = 61 +# --limit = 1000 +# Output: +# -5/8 +# 74/61 +# -5/8 +# 74/61 +# 287/488 +# -897/488 +# 897/488 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -32 +# --b = 74 +# --c = -30 +# --d = 20 +# --limit = 100 +# Output: +# -16/37 +# -3/2 +# -16/37 +# -3/2 +# -143/74 +# 79/74 +# 79/74 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 56 +# --b = 8 +# --c = -7 +# --d = 91 +# --limit = 100 +# Output: +# 7 +# -1/13 +# 7 +# -1/13 +# 90/13 +# 92/13 +# 92/13 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -23 +# --b = 95 +# --c = -52 +# --d = 27 +# --limit = 100 +# Output: +# -23/95 +# -52/27 +# -23/95 +# -52/27 +# -5561/2565 +# 4319/2565 +# 4319/2565 +# Return Code: 0 diff --git a/fractions/test17_executable.zip b/fractions/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..372aa26c21423c5ffc30ca390d4a3f0dd101df0f --- /dev/null +++ b/fractions/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4166ba4b939e4831b860250cb28e4613d66d7da1b644659cd0e2fae2bb584264 +size 7351075 diff --git a/fractions/test19.py b/fractions/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..ccca6ba3b4fa2d9d8c5ae952288a9354db4a572f --- /dev/null +++ b/fractions/test19.py @@ -0,0 +1,104 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=float, required=True) +parser.add_argument('--b', type=float, required=True) +parser.add_argument('--c', type=float, required=True) +parser.add_argument('--d', type=float, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a).limit_denominator(1000) # API调用1: 创建并限制分母 +print(f1) # print行1 +f2 = Fraction(args.b).limit_denominator(1000) # API调用2: 创建并限制分母 +print(f2) # print行2 +f3 = Fraction(args.c).limit_denominator(1000) # API调用3: 创建并限制分母 +print(f3) # print行3 +f4 = Fraction(args.d).limit_denominator(1000) # API调用4: 创建并限制分母 +print(f4) # print行4 +product1 = f1 * f2 # API调用5: 分数相乘 +print(product1) # print行5 +product2 = f3 * f4 # API调用6: 分数相乘 +print(product2) # print行6 +ratio = product1 / product2 # API调用7: 分数除法 +print(ratio) # print行7 +reciprocal = 1 / ratio # API调用8: 分数除法 +print(reciprocal) # print行8 +sqrt_approx = ratio ** 0.5 # API调用9: 计算平方根 +print(sqrt_approx) # print行9 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -2.5 +# --b = -5.6 +# --c = -17.3 +# --d = -7.5 +# Output: +# -5/2 +# -28/5 +# -173/10 +# -15/2 +# 14 +# 519/4 +# 56/519 +# 519/56 +# 0.32848106082660633 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 12.9 +# --b = 0.1 +# --c = 9.4 +# --d = 8.3 +# Output: +# 129/10 +# 1/10 +# 47/5 +# 83/10 +# 129/100 +# 3901/50 +# 129/7802 +# 7802/129 +# 0.1285854657197322 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 17.4 +# --b = 12.4 +# --c = 19.2 +# --d = 4.3 +# Output: +# 87/5 +# 62/5 +# 96/5 +# 43/10 +# 5394/25 +# 2064/25 +# 899/344 +# 344/899 +# 1.6165927418565431 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 16.8 +# --b = -11.5 +# --c = 8.0 +# --d = 0.8 +# Output: +# 84/5 +# -23/2 +# 8 +# 4/5 +# -966/5 +# 32/5 +# -483/16 +# -16/483 +# (3.364297788510436e-16+5.494315243958978j) +# Return Code: 0 diff --git a/fractions/test19_executable.zip b/fractions/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..9a176a0a474e8f236767da96db8d1993db24ef89 --- /dev/null +++ b/fractions/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf027e40b0c8b7ee2ec59f15011040523d858cddc655c4e4c8d5d11bd8547fd8 +size 7350561 diff --git a/fractions/test1_executable.zip b/fractions/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5610ddac3dce34b19fd3613949dcdd56f5a5aded --- /dev/null +++ b/fractions/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:763f7ac0b79f20f6952c069996bb4478923e3309374e0eef025bc9d90a2337af +size 7350569 diff --git a/fractions/test2.py b/fractions/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..4b98dd3e4480631d3f19d1186e3d7ad82f8087d1 --- /dev/null +++ b/fractions/test2.py @@ -0,0 +1,46 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +result = Fraction(args.a, args.b) # API调用1: 创建分数 +print(result) # print行1 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 9 +# --b = 22 +# Output: +# 9/22 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -21 +# --b = 54 +# Output: +# -7/18 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 12 +# --b = 20 +# Output: +# 3/5 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 96 +# --b = 34 +# Output: +# 48/17 +# Return Code: 0 diff --git a/fractions/test20.py b/fractions/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..2fe9f26e43b34c4780220cde43c791da4b71e8ff --- /dev/null +++ b/fractions/test20.py @@ -0,0 +1,126 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +parser.add_argument('--f', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.c, args.d) # API调用2: 创建分数 +print(f2) # print行2 +f3 = Fraction(args.e, args.f) # API调用3: 创建分数 +print(f3) # print行3 +sum1 = f1 + f2 # API调用4: 分数相加 +print(sum1) # print行4 +sum2 = sum1 + f3 # API调用5: 分数相加 +print(sum2) # print行5 +product1 = f1 * f2 # API调用6: 分数相乘 +print(product1) # print行6 +product2 = product1 * f3 # API调用7: 分数相乘 +print(product2) # print行7 +harmonic_mean = 3 / (1/f1 + 1/f2 + 1/f3) # API调用8: 分数运算 +print(harmonic_mean) # print行8 +arithmetic_mean = (f1 + f2 + f3) / 3 # API调用9: 分数运算 +print(arithmetic_mean) # print行9 +comparison1 = f1 > f2 # API调用10: 比较运算 +print(comparison1) # print行10 +comparison2 = f2 > f3 # API调用11: 比较运算 +print(comparison2) # print行11 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 22 +# --b = 64 +# --c = -64 +# --d = 11 +# --e = -47 +# --f = 10 +# Output: +# 11/32 +# -64/11 +# -47/10 +# -1927/352 +# -17907/1760 +# -2 +# 47/5 +# 33088/27843 +# -5969/1760 +# True +# False +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 71 +# --b = 67 +# --c = -64 +# --d = 15 +# --e = 57 +# --f = 28 +# Output: +# 71/67 +# -64/15 +# 57/28 +# -3223/1005 +# -32959/28140 +# -4544/1005 +# -21584/2345 +# 777024/310943 +# -32959/84420 +# True +# False +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 32 +# --b = 49 +# --c = -76 +# --d = 36 +# --e = -35 +# --f = 3 +# Output: +# 32/49 +# -19/9 +# -35/3 +# -643/441 +# -5788/441 +# -608/441 +# 3040/189 +# 63840/20681 +# -5788/1323 +# True +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -26 +# --b = 54 +# --c = 46 +# --d = 24 +# --e = 66 +# --f = 63 +# Output: +# -13/27 +# 23/12 +# 22/21 +# 155/108 +# 1877/756 +# -299/324 +# -3289/3402 +# -6578/1317 +# 1877/2268 +# False +# True +# Return Code: 0 diff --git a/fractions/test20_executable.zip b/fractions/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..718b3c40aa6b97c3555ed722baf0b5587af3b860 --- /dev/null +++ b/fractions/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c2a5b95d9d50af204db866fcf05b5aea2411001c2b9696e6bd5950d4a7d02de +size 7348195 diff --git a/fractions/test2_executable.zip b/fractions/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..bb89b6899761758449da0bb9a06e75b5f8ba5a87 --- /dev/null +++ b/fractions/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77a24a9c05b6c8d6ae78be3c817651d8f74b429fefe9f79a73cb7e0faa72b573 +size 7350348 diff --git a/fractions/test3.py b/fractions/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..0598c52484ad565572db45898188a2239f70ecbc --- /dev/null +++ b/fractions/test3.py @@ -0,0 +1,41 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=float, required=True) +args = parser.parse_args() + +result = Fraction(args.a) # API调用1: 创建分数 +print(result) # print行1 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -3.9 +# Output: +# -8782019273372467/2251799813685248 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -10.4 +# Output: +# -5854679515581645/562949953421312 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -10.2 +# Output: +# -2871044762448691/281474976710656 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -1.2 +# Output: +# -5404319552844595/4503599627370496 +# Return Code: 0 diff --git a/fractions/test3_executable.zip b/fractions/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0a288f4fa594b5e0c8dcb7e38a9d2afc50bd0f17 --- /dev/null +++ b/fractions/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:871370e163856acd341680d038117d8d738decc7ac7f2774041323a0134381a8 +size 7350472 diff --git a/fractions/test4.py b/fractions/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..a4cba2af2dfb23942e4ce38ef86cf4857d3b8a21 --- /dev/null +++ b/fractions/test4.py @@ -0,0 +1,47 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a) # API调用1: 创建分数 +print(f1) # print行1 +result = f1.limit_denominator() # API调用2: 限制分母 +print(result) # print行2 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '0.75' +# Output: +# 3/4 +# 3/4 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '19/7' +# Output: +# 19/7 +# 19/7 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '1/3' +# Output: +# 1/3 +# 1/3 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '0' +# Output: +# 0 +# 0 +# Return Code: 0 diff --git a/fractions/test4_executable.zip b/fractions/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..472695b17fb201084d2b829c8b8e332ddade8327 --- /dev/null +++ b/fractions/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b838573623acdb6c798af052a6cb5f4af747b48c13d0de687cdcc4d93cefcadd +size 7350761 diff --git a/fractions/test5.py b/fractions/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..7ee3c3471f16842254442e325c9dd50f934ecc69 --- /dev/null +++ b/fractions/test5.py @@ -0,0 +1,57 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +result = f1.limit_denominator(args.c) # API调用2: 限制分母 +print(result) # print行2 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 69 +# --b = 12 +# --c = 1000 +# Output: +# 23/4 +# 23/4 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 24 +# --b = 43 +# --c = 50 +# Output: +# 24/43 +# 24/43 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 29 +# --b = 25 +# --c = 1000 +# Output: +# 29/25 +# 29/25 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 36 +# --b = 87 +# --c = 100 +# Output: +# 12/29 +# 12/29 +# Return Code: 0 diff --git a/fractions/test5_executable.zip b/fractions/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..838fbebefdf8b8f0ed63f87b468d37441bae1711 --- /dev/null +++ b/fractions/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93df0ab74deea20b18d50ecc81474ef20af0ae4bc3b7801d36f9bb1654b7c8ca +size 7349777 diff --git a/fractions/test6.py b/fractions/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..36e27abe0e669e017c64029aa7b8ad1219e5655d --- /dev/null +++ b/fractions/test6.py @@ -0,0 +1,68 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.c, args.d) # API调用2: 创建分数 +print(f2) # print行2 +result = f1 + f2 # API调用3: 分数相加 +print(result) # print行3 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -13 +# --b = 89 +# --c = -28 +# --d = 67 +# Output: +# -13/89 +# -28/67 +# -3363/5963 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 44 +# --b = 82 +# --c = 15 +# --d = 91 +# Output: +# 22/41 +# 15/91 +# 2617/3731 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 34 +# --b = 36 +# --c = 60 +# --d = 66 +# Output: +# 17/18 +# 10/11 +# 367/198 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -44 +# --b = 40 +# --c = 1 +# --d = 58 +# Output: +# -11/10 +# 1/58 +# -157/145 +# Return Code: 0 diff --git a/fractions/test6_executable.zip b/fractions/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..87a14e1b49fa865c9886e4fa7a0affe48e52a573 --- /dev/null +++ b/fractions/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30c8abf910b4e592f8474a1e7491dad290b930110d5a835f14ff064c539ebae2 +size 7348467 diff --git a/fractions/test7.py b/fractions/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..bd1f25379f2d73e0389637ea6358d3c5df4bd559 --- /dev/null +++ b/fractions/test7.py @@ -0,0 +1,68 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.c, args.d) # API调用2: 创建分数 +print(f2) # print行2 +result = f1 * f2 # API调用3: 分数相乘 +print(result) # print行3 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -42 +# --b = 48 +# --c = 33 +# --d = 68 +# Output: +# -7/8 +# 33/68 +# -231/544 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -85 +# --b = 81 +# --c = 6 +# --d = 87 +# Output: +# -85/81 +# 2/29 +# -170/2349 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 61 +# --b = 65 +# --c = 3 +# --d = 46 +# Output: +# 61/65 +# 3/46 +# 183/2990 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -33 +# --b = 17 +# --c = 54 +# --d = 63 +# Output: +# -33/17 +# 6/7 +# -198/119 +# Return Code: 0 diff --git a/fractions/test7_executable.zip b/fractions/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fab9c7c6ef6cd43d2f2b22b1608b0f4c000a9360 --- /dev/null +++ b/fractions/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:953c5d46bfe061c81dfa40e32096b87d53a0b5c0daad1918d88c9f166fbdb8c9 +size 7348609 diff --git a/fractions/test8.py b/fractions/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..f78b1af6deb4b2b29497ca89d1f8335e7d19764b --- /dev/null +++ b/fractions/test8.py @@ -0,0 +1,58 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a, args.b) # API调用1: 创建分数 +print(f1) # print行1 +numerator = f1.numerator # API调用2: 获取分子 +print(numerator) # print行2 +denominator = f1.denominator # API调用3: 获取分母 +print(denominator) # print行3 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 66 +# --b = 31 +# Output: +# 66/31 +# 66 +# 31 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 23 +# --b = 46 +# Output: +# 1/2 +# 1 +# 2 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -76 +# --b = 99 +# Output: +# -76/99 +# -76 +# 99 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 53 +# --b = 77 +# Output: +# 53/77 +# 53 +# 77 +# Return Code: 0 diff --git a/fractions/test8_executable.zip b/fractions/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e3faea22226a44d26424bd46c909c45c73d9a38b --- /dev/null +++ b/fractions/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eda5082cbb2e5fd6cd15aae6b12979fd5936f5cd40a9c6a66baaa6b2d9f1f311 +size 7351065 diff --git a/fractions/test9.py b/fractions/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..64dadeb1888c832ca3977c0ac5539f36b541f556 --- /dev/null +++ b/fractions/test9.py @@ -0,0 +1,64 @@ +import argparse +from fractions import Fraction + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=float, required=True) +parser.add_argument('--b', type=float, required=True) +args = parser.parse_args() + +f1 = Fraction(args.a) # API调用1: 创建分数 +print(f1) # print行1 +f2 = Fraction(args.b) # API调用2: 创建分数 +print(f2) # print行2 +f1_limited = f1.limit_denominator() # API调用3: 限制分母 +print(f1_limited) # print行3 +f2_limited = f2.limit_denominator() # API调用4: 限制分母 +print(f2_limited) # print行4 + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -12.4 +# --b = 1.5 +# Output: +# -6980579422424269/562949953421312 +# 3/2 +# -62/5 +# 3/2 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 15.6 +# --b = -16.7 +# Output: +# 8782019273372467/562949953421312 +# -4700632111067955/281474976710656 +# 78/5 +# -167/10 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -13.7 +# --b = 15.6 +# Output: +# -3856207180935987/281474976710656 +# 8782019273372467/562949953421312 +# -137/10 +# 78/5 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 20.0 +# --b = -9.5 +# Output: +# 20 +# -19/2 +# 20 +# -19/2 +# Return Code: 0 diff --git a/fractions/test9_executable.zip b/fractions/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c6286f6e51d5ecadf3bbcc3032acde9f91de0d11 --- /dev/null +++ b/fractions/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6c86563399e99ae6d7e417e7839a5353273345ea3012cadfefc7db434d6ded5 +size 7350563 diff --git a/furl/test1.py b/furl/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..0c31f69f92908b9236be19b985b1b367ba58daee --- /dev/null +++ b/furl/test1.py @@ -0,0 +1,9 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.url) # 输出完整URL字符串 diff --git a/furl/test10.py b/furl/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..f8c7fa3aa6aba4e1881b9ab35ce1e1058aba2ea4 --- /dev/null +++ b/furl/test10.py @@ -0,0 +1,14 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.args.add(args.b, 'test1')) # 添加参数并输出 +print(f.args.add(args.b, 'test2')) # 添加同名参数并输出 +print(f.args.getlist(args.b)) # 获取同名参数列表并输出 +print(f.args.pop(args.b)) # 移除参数并输出 +print(f.url) # 输出完整URL diff --git a/furl/test10_executable.zip b/furl/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b7d2aa59be168ac4245ec8e17bf833b63991cd61 --- /dev/null +++ b/furl/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7386a1635665910c4ce6e85613e567fb7f5b82a9f96dbb4d2ea2e6f8cb56d17b +size 7418781 diff --git a/furl/test11.py b/furl/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..e9086030da363bdb8b03c2a727c26ba6eba30455 --- /dev/null +++ b/furl/test11.py @@ -0,0 +1,16 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.scheme) # 输出协议 +print(f.username) # 输出用户名 +print(f.password) # 输出密码 +print(f.set(username=args.b).username) # 设置用户名并输出 +print(f.set(password=args.c).password) # 设置密码并输出 +print(f.url) # 输出完整URL diff --git a/furl/test11_executable.zip b/furl/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5a7d62fdc7184928a1abad537bd24658e69532d4 --- /dev/null +++ b/furl/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62a5a173b90b5c03439f5de276aa3fd85df2420aea85fba6fd8622bb79b65ff9 +size 7418351 diff --git a/furl/test12.py b/furl/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..e4687897e8e6287e981bdf2ebb21c0a0e3a101cd --- /dev/null +++ b/furl/test12.py @@ -0,0 +1,15 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.fragment.__setattr__('str', args.b) or f.fragment) # 设置fragment并输出 +print(f.fragment.add(args.c)) # 添加fragment内容并输出 +print(f.fragment.set(args.d, 'value')) # 设置fragment参数并输出 +print(f.url) # 输出完整URL diff --git a/furl/test12_executable.zip b/furl/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..099c44d02edcdd68dd73fae52ac6332f47c282a3 --- /dev/null +++ b/furl/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb5a0ddb27af96b5117d4ff2edaa6a8f2b42a5960417eeff54bbbe99d6b136e8 +size 7419694 diff --git a/furl/test13.py b/furl/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..74c4de4069fa50e88d35a2cf141faa4323763869 --- /dev/null +++ b/furl/test13.py @@ -0,0 +1,15 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.path.__setattr__('str', args.b) or f.path) # 设置路径并输出 +print(f.path.normalize()) # 规范化路径并输出 +print(f.set(port=args.c).port) # 设置端口并输出 +print(f.copy().url) # 复制furl对象并输出URL +print(f.url) # 输出原URL diff --git a/furl/test13_executable.zip b/furl/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6ceb1c99815a93c4f0930a84fd7270fd559f419a --- /dev/null +++ b/furl/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87012582d66f0af6a07d7e38c6f027be6b57e1ec1498ba10f2cc2e357eac9881 +size 7418352 diff --git a/furl/test1_executable.zip b/furl/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a467f9d4c59206e6986fe34300d464a7d35334a6 --- /dev/null +++ b/furl/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:feab0fadbb283245e2f8fe2af77979111987a1b6896b3ab253f82820f92b2b2d +size 7418424 diff --git a/furl/test2.py b/furl/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..5f8faef9e754eadf4cc4842210fec6c6567d8413 --- /dev/null +++ b/furl/test2.py @@ -0,0 +1,10 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.set(host=args.b).url) # 设置host并输出修改后的URL diff --git a/furl/test2_executable.zip b/furl/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2336f94a39d1b93a8074daad92bfa4a43504b64a --- /dev/null +++ b/furl/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b00900eed9274d5636384313471040135cfb20ba328708198e3a314263321f1 +size 7418851 diff --git a/furl/test3.py b/furl/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..2da3f001730d8d6ca68464b31c09f9f426bfef36 --- /dev/null +++ b/furl/test3.py @@ -0,0 +1,10 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.set(port=args.b).url) # 设置端口并输出修改后的URL diff --git a/furl/test3_executable.zip b/furl/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..228b6eb4562ea3712f899cab7c4781deefa89a78 --- /dev/null +++ b/furl/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:555d89bf83d4e7ffab437d8aadf74ea9334e68805b6dd0fbed6ca7199254c0f7 +size 7418367 diff --git a/furl/test4.py b/furl/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..0c31f69f92908b9236be19b985b1b367ba58daee --- /dev/null +++ b/furl/test4.py @@ -0,0 +1,9 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.url) # 输出完整URL字符串 diff --git a/furl/test4_executable.zip b/furl/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1ab229da8aa785174bd98c02a667a27b84df6203 --- /dev/null +++ b/furl/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d9574bfc0ff3d4935fa7683cc707c8d3400e8f67ded3004628c80b332444235 +size 7417338 diff --git a/furl/test5.py b/furl/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..0c31f69f92908b9236be19b985b1b367ba58daee --- /dev/null +++ b/furl/test5.py @@ -0,0 +1,9 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.url) # 输出完整URL字符串 diff --git a/furl/test5_executable.zip b/furl/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..82de76185962bcce07079709eb5398a033300404 --- /dev/null +++ b/furl/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af8a44f83268722360caf3794216ccaed0680b1ec5b6c30aafbcbd92c23f6d02 +size 7418597 diff --git a/furl/test6.py b/furl/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..3d1b412ffea1746324930157e58ccb590764f007 --- /dev/null +++ b/furl/test6.py @@ -0,0 +1,15 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.scheme) # 输出协议 +print(f.host) # 输出主机名 +print(f.path) # 输出路径 +print(f.query.add({args.b: args.c})) # 添加查询参数并输出 +print(f.url) # 输出完整URL diff --git a/furl/test6_executable.zip b/furl/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6933b72b1e3a16e78d0cddfc79e12d8b063d49b2 --- /dev/null +++ b/furl/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:415e1a5fb401b5a07052be586381b32107ceb0dc74613dc11dc1d35bc2027366 +size 7419055 diff --git a/furl/test7.py b/furl/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..723eaec1f4f0fd0edbb4a7735c37cc84977beb55 --- /dev/null +++ b/furl/test7.py @@ -0,0 +1,16 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.set(scheme=args.b).scheme) # 设置协议并输出 +print(f.set(port=args.c).port) # 设置端口并输出 +f.path = args.d # 设置路径 +print(f.path) # 输出路径 +print(f.url) # 输出完整URL diff --git a/furl/test7_executable.zip b/furl/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..626a923cf3d3aec229483f0489a147dfa955ea58 --- /dev/null +++ b/furl/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b5d73906ebfee17be11160c4b6fb76eed944bf078ed45063acce2da7491b51e +size 7417834 diff --git a/furl/test8.py b/furl/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..e83dfc8adcfb9690079ad44fb6a61826ef1ed9a1 --- /dev/null +++ b/furl/test8.py @@ -0,0 +1,15 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.query.add({args.b: args.c})) # 添加查询参数并输出 +print(f.query.add({args.d: 'value2'})) # 添加另一个查询参数并输出 +print(f.query.remove([args.b])) # 移除查询参数并输出 +print(f.url) # 输出完整URL diff --git a/furl/test8_executable.zip b/furl/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..733f39d9ad421a7c49e6b84d63a80e0edcfaac20 --- /dev/null +++ b/furl/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4cfac07cc1e88db9ff05db6bb7d06f2a59342f1235eee7495cd4787c5284f9a +size 7418285 diff --git a/furl/test9.py b/furl/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..06ba94c8969aa78ae1b4329f5b7e050fc3c2405d --- /dev/null +++ b/furl/test9.py @@ -0,0 +1,13 @@ +import argparse +from furl import furl + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +f = furl(args.a) # 创建furl对象,解析URL +print(f.path.segments.append(args.b) or f.path) # 添加路径段并输出路径 +print(f.path.segments) # 输出路径段列表 +print(f.path.segments.remove(args.b) or f.path) # 移除路径段并输出路径 +print(f.url) # 输出完整URL diff --git a/furl/test9_executable.zip b/furl/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..224fe46b3f51b279f2b9a4e7cabd1fc5a4ad872d --- /dev/null +++ b/furl/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68fc1d933ead7974b8795c028e8e42514245c19236aaa6d8207f2adf63d02cdb +size 7417837 diff --git a/icon_repozero.png b/icon_repozero.png new file mode 100644 index 0000000000000000000000000000000000000000..50b2c3b753557fd7ee11491677dafe2dc2c53100 --- /dev/null +++ b/icon_repozero.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62cb316655c9a9b6645596b91dc6b0ed3a84264903f0ac98935b281d0a2e58ca +size 318703 diff --git a/idna/__pycache__/test12.cpython-310.pyc b/idna/__pycache__/test12.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e74a1d762cd0ef717f0205f97dd2ccca0302fe28 Binary files /dev/null and b/idna/__pycache__/test12.cpython-310.pyc differ diff --git a/idna/__pycache__/test19.cpython-310.pyc b/idna/__pycache__/test19.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5d2d88ff26687b841f62ed2b16e5242526b24145 Binary files /dev/null and b/idna/__pycache__/test19.cpython-310.pyc differ diff --git a/idna/test1.py b/idna/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..2bf84afc39825badf20d3205b070561062c673af --- /dev/null +++ b/idna/test1.py @@ -0,0 +1,70 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +args = parser.parse_args() + +domain = args.domain + +# 使用idna.encode()将域名编码为ASCII兼容格式 +encoded = idna.encode(domain) +print(encoded) + +# 使用idna.decode()将编码后的域名解码回Unicode +decoded = idna.decode(encoded) +print(decoded) + +# 注意:idna.ulabel()和idna.alabel()用于单个标签 +# 这里我们演示对第一个标签的处理 +first_label = domain.split('.')[0] +if first_label: + ulabel_result = idna.ulabel(idna.encode(first_label)) + print(ulabel_result) + + alabel_result = idna.alabel(first_label) + print(alabel_result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = 'προγραμματισμός.gr' +# Output: +# b'xn--mxaae0anacrikcslm7j.gr' +# προγραμματισμός.gr +# προγραμματισμός +# b'xn--mxaae0anacrikcslm7j' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'café.fr' +# Output: +# b'xn--caf-dma.fr' +# café.fr +# café +# b'xn--caf-dma' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'программирование.рф' +# Output: +# b'xn--80aafcnpc2aandfgoce.xn--p1ai' +# программирование.рф +# программирование +# b'xn--80aafcnpc2aandfgoce' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'సాంకేతికతłęь.in' +# Output: +# b'xn--nea5fz9hs9kzca8hb9o9bo8g.in' +# సాంకేతికతłęь.in +# సాంకేతికతłęь +# b'xn--nea5fz9hs9kzca8hb9o9bo8g' +# Return Code: 0 diff --git a/idna/test10.py b/idna/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..e04e27451c75dbf8d5026a99aad9197cfeca25a8 --- /dev/null +++ b/idna/test10.py @@ -0,0 +1,148 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--transitional', type=bool, required=False, default=False) +parser.add_argument('--strict', type=bool, required=False, default=False) +parser.add_argument('--verify_checks', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +transitional = args.transitional +strict = args.strict +verify_checks = args.verify_checks + +first_label = domain.split('.')[0] + +# 1. UTS46重映射(预处理) +try: + preprocessed = idna.uts46_remap(domain, std3_rules=True, transitional=transitional) + print(preprocessed) +except: + preprocessed = domain + print(preprocessed) + +# 2. 编码为IDNA格式 +try: + encoded = idna.encode(preprocessed, transitional=transitional, strict=strict) + print(encoded) +except idna.core.IDNAError as e: + print(f"encode_error: {e}") + encoded = None + +# 3. 检查各种有效性(可选) +if verify_checks and encoded: + # 检查标签长度 + try: + valid_len = idna.valid_label_length(encoded) + print(valid_len) + except: + print("label_len_error") + + # 检查整体字符串长度 + try: + valid_str = idna.valid_string_length(encoded, trailing_dot=False) + print(valid_str) + except: + print("str_len_error") + + # 检查连字符 + try: + hyphen_ok = idna.check_hyphen_ok(encoded) + print(hyphen_ok) + except: + print("hyphen_error") + + # 检查初始组合符 + try: + init_comb_ok = idna.check_initial_combiner(encoded) + print(init_comb_ok) + except: + print("init_comb_error") + +# 4. 获取第一个标签的ULabel和ALabel +if first_label: + try: + ulabel = idna.ulabel(idna.encode(first_label, transitional=transitional, strict=strict)) + print(ulabel) + except: + pass + + try: + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = 'προγραμματισμός.gr' +# --transitional = True +# --strict = True +# --verify_checks = True +# Output: +# προγραμματισμόσ.gr +# b'xn--mxaae0anacrikc3abk7j.gr' +# True +# True +# True +# init_comb_error +# προγραμματισμός +# b'xn--mxaae0anacrikcslm7j' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'дом.рф' +# --transitional = True +# --strict = True +# --verify_checks = True +# Output: +# дом.рф +# b'xn--d1aqf.xn--p1ai' +# True +# True +# True +# init_comb_error +# дом +# b'xn--d1aqf' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'السعودية.sa' +# --transitional = False +# --strict = False +# --verify_checks = False +# Output: +# السعودية.sa +# b'xn--mgberp4a5d4ar.sa' +# True +# True +# True +# init_comb_error +# السعودية +# b'xn--mgberp4a5d4ar' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = '例え.jp' +# --transitional = False +# --strict = False +# --verify_checks = False +# Output: +# 例え.jp +# b'xn--r8jz45g.jp' +# True +# True +# True +# init_comb_error +# 例え +# b'xn--r8jz45g' +# Return Code: 0 diff --git a/idna/test10_executable.zip b/idna/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b103a06389ba3d5dbb03f922f9585ff003a9a6e2 --- /dev/null +++ b/idna/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5f3de77929015a0d6ce77f362ce0a9c2d0444a4cdf0bd580680f020a5393c70 +size 7419158 diff --git a/idna/test11.py b/idna/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..c56cb102025317a04651a479b36b29f4b022c2d9 --- /dev/null +++ b/idna/test11.py @@ -0,0 +1,113 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--rounds', type=int, required=False, default=3) +parser.add_argument('--use_uts46', type=bool, required=False, default=True) +args = parser.parse_args() + +domain = args.domain +rounds = args.rounds +use_uts46 = args.use_uts46 + +first_label = domain.split('.')[0] + +# 测试多轮编码-解码循环 +current = domain + +for i in range(min(rounds, 10)): # 限制最大轮次防止死循环 + try: + # UTS46重映射(可选) + if use_uts46: + current = idna.uts46_remap(current) + + # 编码 + current = idna.encode(current) + print(f"round{i+1}_encoded: {current}") + + # 解码 + current = idna.decode(current) + print(f"round{i+1}_decoded: {current}") + except idna.core.IDNAError as e: + print(f"round{i+1}_error: {e}") + break + +# 最终结果 +try: + final_encoded = idna.encode(current) + print(final_encoded) + + # 验证一致性 + if first_label: + try: + final_ulabel = idna.ulabel(idna.encode(first_label)) + is_consistent = (final_ulabel == first_label) or True # 简化检查 + print(is_consistent) + except: + print(False) +except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = ' Grüne.de' +# --rounds = 2 +# --use_uts46 = False +# Output: +# round1_error: Codepoint U+0020 not allowed at position 1 in ' Grüne.de' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'السعودية.sa' +# --rounds = 2 +# --use_uts46 = False +# Output: +# round1_encoded: b'xn--mgberp4a5d4ar.sa' +# round1_decoded: السعودية.sa +# round2_encoded: b'xn--mgberp4a5d4ar.sa' +# round2_decoded: السعودية.sa +# b'xn--mgberp4a5d4ar.sa' +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'résumé.com' +# --rounds = 5 +# --use_uts46 = True +# Output: +# round1_encoded: b'xn--rsum-bpad.com' +# round1_decoded: résumé.com +# round2_encoded: b'xn--rsum-bpad.com' +# round2_decoded: résumé.com +# round3_encoded: b'xn--rsum-bpad.com' +# round3_decoded: résumé.com +# round4_encoded: b'xn--rsum-bpad.com' +# round4_decoded: résumé.com +# round5_encoded: b'xn--rsum-bpad.com' +# round5_decoded: résumé.com +# b'xn--rsum-bpad.com' +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'münchen.de' +# --rounds = 3 +# --use_uts46 = True +# Output: +# round1_encoded: b'xn--mnchen-3ya.de' +# round1_decoded: münchen.de +# round2_encoded: b'xn--mnchen-3ya.de' +# round2_decoded: münchen.de +# round3_encoded: b'xn--mnchen-3ya.de' +# round3_decoded: münchen.de +# b'xn--mnchen-3ya.de' +# True +# Return Code: 0 diff --git a/idna/test11_executable.zip b/idna/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..bac3c19c8a0bd5dbf4b49583940f1b21c73cbedb --- /dev/null +++ b/idna/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8f5c7829bf7ed7267494397c916a1b0a1adc5065fc1ea1fd13526fa28b000c8 +size 7419526 diff --git a/idna/test12.py b/idna/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..905ca9b1ab10293f203bc83f7961846b11b765f8 --- /dev/null +++ b/idna/test12.py @@ -0,0 +1,143 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--transitional', type=bool, required=False, default=False) +parser.add_argument('--bidi_check', type=bool, required=False, default=True) +args = parser.parse_args() + +domain = args.domain +transitional = args.transitional +bidi_check = args.bidi_check + +first_label = domain.split('.')[0] + +# 1. UTS46变体处理 +try: + uts46_result = idna.uts46_remap(domain, std3_rules=True, transitional=transitional) + print(uts46_result) +except: + uts46_result = domain + print(uts46_result) + +# 2. 编码,考虑transitional参数 +try: + encoded = idna.encode(uts46_result, transitional=transitional, strict=False) + print(encoded) +except idna.core.IDNAError as e: + print(f"encode_error: {e}") + encoded = None + +if encoded: + # 3. 检查双向文本(如果启用) + if bidi_check: + try: + bidi_ok = idna.check_bidi(encoded) + print(bidi_ok) + except: + print("bidi_error") + + # 4. 检查初始组合符 + try: + init_comb_ok = idna.check_initial_combiner(encoded) + print(init_comb_ok) + except: + print("init_comb_error") + + # 5. 检查上下文J(特殊字符) + try: + contextj_ok = idna.valid_contextj(encoded) + print(contextj_ok) + except: + print("contextj_error") + + # 6. 检查上下文O(其他字符) + try: + contexto_ok = idna.valid_contexto(encoded) + print(contexto_ok) + except: + print("contexto_error") + + # 7. 最终有效性 + try: + final_valid = idna.valid_string_length(encoded, trailing_dot=False) + print(final_valid) + except: + print("final_valid_error") + +# 8. 获取第一个标签的ULabel +if first_label: + try: + ulabel = idna.ulabel(idna.encode(first_label)) + print(ulabel) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = '例え.jp' +# --transitional = False +# --bidi_check = False +# Output: +# 例え.jp +# b'xn--r8jz45g.jp' +# bidi_error +# init_comb_error +# contextj_error +# contexto_error +# True +# 例え +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'example.com' +# --transitional = False +# --bidi_check = False +# Output: +# example.com +# b'example.com' +# bidi_error +# init_comb_error +# contextj_error +# contexto_error +# True +# example +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'москва.рф' +# --transitional = True +# --bidi_check = True +# Output: +# москва.рф +# b'xn--80adxhks.xn--p1ai' +# bidi_error +# init_comb_error +# contextj_error +# contexto_error +# True +# москва +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'προγραμματισμός.gr' +# --transitional = True +# --bidi_check = True +# Output: +# προγραμματισμόσ.gr +# b'xn--mxaae0anacrikc3abk7j.gr' +# bidi_error +# init_comb_error +# contextj_error +# contexto_error +# True +# προγραμματισμός +# Return Code: 0 diff --git a/idna/test12_executable.zip b/idna/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..66bc2a76fb33a4d123109483d6e5b693a6a163cd --- /dev/null +++ b/idna/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e80dac36970ec1e381dae8472553ed8cbf08173beddd25ee0c3255b8dbaa76b +size 7415958 diff --git a/idna/test13.py b/idna/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..9549f5532d070a9a148d213c2cdc2b060965a01a --- /dev/null +++ b/idna/test13.py @@ -0,0 +1,113 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--input1', type=str, required=True) +parser.add_argument('--input2', type=str, required=True) +parser.add_argument('--mode', type=str, required=True, choices=['compare', 'merge', 'validate']) +parser.add_argument('--transitional', type=bool, required=False, default=False) +args = parser.parse_args() + +input1 = args.input1 +input2 = args.input2 +mode = args.mode +transitional = args.transitional + +def process_domain(domain): + try: + remapped = idna.uts46_remap(domain, transitional=transitional) + encoded = idna.encode(remapped, transitional=transitional) + return encoded + except: + return None + +encoded1 = process_domain(input1) +encoded2 = process_domain(input2) + +print(encoded1 if encoded1 else "process_error_1") +print(encoded2 if encoded2 else "process_error_2") + +if mode == 'compare': + are_equal = (encoded1 == encoded2) if (encoded1 and encoded2) else False + print(are_equal) + +elif mode == 'merge': + if encoded1 and encoded2: + merged = f"{encoded1}.{encoded2}" + print(merged) + try: + valid = idna.valid_string_length(merged, trailing_dot=False) + print(valid) + except: + print(False) + else: + print("merge_error") + +elif mode == 'validate': + if encoded1: + try: + valid1 = idna.valid_label_length(encoded1) + print(valid1) + except: + print(False) + if encoded2: + try: + valid2 = idna.valid_label_length(encoded2) + print(valid2) + except: + print(False) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --input1 = 'xn--n3h.com' +# --input2 = 'xn--n3h.com' +# --mode = 'compare' +# --transitional = True +# Output: +# process_error_1 +# process_error_2 +# False +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --input1 = '例.cn' +# --input2 = '例.cn' +# --mode = 'merge' +# --transitional = True +# Output: +# b'xn--fsq.cn' +# b'xn--fsq.cn' +# b'xn--fsq.cn'.b'xn--fsq.cn' +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --input1 = 'プログラム.jp' +# --input2 = 'program.jp' +# --mode = 'validate' +# --transitional = True +# Output: +# b'xn--qck0d2a9as.jp' +# b'program.jp' +# True +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --input1 = 'bäckerei.at' +# --input2 = 'backerei.at' +# --mode = 'merge' +# --transitional = False +# Output: +# b'xn--bckerei-5wa.at' +# b'backerei.at' +# b'xn--bckerei-5wa.at'.b'backerei.at' +# True +# Return Code: 0 diff --git a/idna/test13_executable.zip b/idna/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..15284c2569dfb2f224091f92370f4a48c1b0c627 --- /dev/null +++ b/idna/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ddb9b97a8707e0f7971f21bca4fc017f85b431493f23cfcca48464c97bb82bf +size 7418895 diff --git a/idna/test14.py b/idna/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..648f12c4839d306b2c287459968ca2e83fda6e40 --- /dev/null +++ b/idna/test14.py @@ -0,0 +1,163 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--enable_strict', type=bool, required=False, default=False) +parser.add_argument('--enable_uts46', type=bool, required=False, default=True) +parser.add_argument('--check_bidi', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +enable_strict = args.enable_strict +enable_uts46 = args.enable_uts46 +check_bidi = args.check_bidi + +# 多步骤处理链 +step1 = domain + +# 步骤1: 可选UTS46重映射 +if enable_uts46: + try: + step1 = idna.uts46_remap(step1) + except: + pass +print(step1) + +# 步骤2: 编码 +try: + step2 = idna.encode(step1, transitional=False, strict=enable_strict) + print(step2) +except idna.core.IDNAError: + step2 = None + print("encode_error") + +if step2: + # 步骤3: 获取ULabel(第一个标签) + first_label = domain.split('.')[0] + if first_label: + try: + step3 = idna.ulabel(idna.encode(first_label, transitional=False, strict=enable_strict)) + print(step3) + except: + pass + + # 步骤4: 获取ALabel(第一个标签) + if first_label: + try: + step4 = idna.alabel(first_label) + print(step4) + except: + pass + + # 步骤5: 可选双向检查 + if check_bidi: + try: + step5 = idna.check_bidi(step2) + print(step5) + except: + print("bidi_error") + + # 步骤6: 验证标签长度 + try: + step6 = idna.valid_label_length(step2) + print(step6) + except: + print("label_len_error") + + # 步骤7: 验证整体字符串长度 + try: + step7 = idna.valid_string_length(step2, trailing_dot=False) + print(step7) + except: + print("str_len_error") + + # 步骤8: 检查连字符使用 + try: + step8 = idna.check_hyphen_ok(step2) + print(step8) + except: + print("hyphen_error") + + # 最终解码验证 + try: + final_decoded = idna.decode(step2) + print(final_decoded) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = 'apache.org' +# --enable_strict = False +# --enable_uts46 = True +# --check_bidi = False +# Output: +# apache.org +# b'apache.org' +# apache +# b'apache' +# bidi_error +# True +# True +# True +# apache.org +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = '中国.中国' +# --enable_strict = False +# --enable_uts46 = True +# --check_bidi = False +# Output: +# 中国.中国 +# b'xn--fiqs8s.xn--fiqs8s' +# 中国 +# b'xn--fiqs8s' +# bidi_error +# True +# True +# True +# 中国.中国 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'プログラム.jp' +# --enable_strict = True +# --enable_uts46 = False +# --check_bidi = True +# Output: +# プログラム.jp +# b'xn--qck0d2a9as.jp' +# プログラム +# b'xn--qck0d2a9as' +# bidi_error +# True +# True +# True +# プログラム.jp +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'example.com' +# --enable_strict = False +# --enable_uts46 = True +# --check_bidi = False +# Output: +# example.com +# b'example.com' +# example +# b'example' +# bidi_error +# True +# True +# True +# example.com +# Return Code: 0 diff --git a/idna/test14_executable.zip b/idna/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..9003daba1a56c15d868760849fb99d3a1e5967b7 --- /dev/null +++ b/idna/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3291187a2022857f0b77342f6a1dcb662753d12cf8d15bd4dbfcde2a690a90ac +size 7416534 diff --git a/idna/test15.py b/idna/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..7b3ccd7ccec97bc92f8c099b3ea5dc56b7836b95 --- /dev/null +++ b/idna/test15.py @@ -0,0 +1,103 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--strict', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +strict = args.strict + +first_label = domain.split('.')[0] + +# 测试不同参数下的编码行为 +try: + # 1. 基本编码 + encoded_basic = idna.encode(domain, transitional=False, strict=False) + print(encoded_basic) +except idna.core.IDNAError as e: + print(f"basic_error: {e}") + encoded_basic = None + +try: + # 2. 使用UTS46重映射 + remapped = idna.uts46_remap(domain) + print(remapped) +except Exception as e: + print("remap_error") + +try: + # 3. 严格模式编码 + encoded_strict = idna.encode(domain, transitional=False, strict=True) + print(encoded_strict) +except idna.core.IDNAError as e: + print("strict_error") + +# 4. 尝试解码 +if encoded_basic: + try: + decoded = idna.decode(encoded_basic, strict=strict) + print(decoded) + except: + print("decode_error") + +# 5. 检查标签 +if first_label and encoded_basic: + try: + idna.check_label(idna.encode(first_label)) + print("label_ok") + except: + print("label_invalid") + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = '中国.中国' +# --strict = False +# Output: +# b'xn--fiqs8s.xn--fiqs8s' +# 中国.中国 +# b'xn--fiqs8s.xn--fiqs8s' +# 中国.中国 +# label_invalid +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'bäckerei.at' +# --strict = False +# Output: +# b'xn--bckerei-5wa.at' +# bäckerei.at +# b'xn--bckerei-5wa.at' +# bäckerei.at +# label_invalid +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'example.com' +# --strict = False +# Output: +# b'example.com' +# example.com +# b'example.com' +# example.com +# label_ok +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'москва.рф' +# --strict = True +# Output: +# b'xn--80adxhks.xn--p1ai' +# москва.рф +# b'xn--80adxhks.xn--p1ai' +# москва.рф +# label_invalid +# Return Code: 0 diff --git a/idna/test15_executable.zip b/idna/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e094d885eb4d9cf4898b832563e6e5333b71444d --- /dev/null +++ b/idna/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4b17644d1dc7f1fc81bd34dad6d1659ac660a1102a20ef9cad25c3918833216 +size 7419155 diff --git a/idna/test16.py b/idna/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..27b05d9c326312cd54c12a018cd31b5d14ddaf9f --- /dev/null +++ b/idna/test16.py @@ -0,0 +1,128 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--encoding_policy', type=str, required=True, choices=['transitional', 'nontransitional', 'both']) +parser.add_argument('--verify', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +policy = args.encoding_policy +verify = args.verify + +first_label = domain.split('.')[0] + +# 预处理:UTS46重映射 +try: + remapped = idna.uts46_remap(domain, std3_rules=True) + print(remapped) +except: + remapped = domain + print(remapped) + +if policy == 'transitional': + # 仅使用transitional编码 + try: + encoded = idna.encode(remapped, transitional=True, strict=False) + print(encoded) + except: + print("trans_encoded_error") + +elif policy == 'nontransitional': + # 仅使用non-transitional编码 + try: + encoded = idna.encode(remapped, transitional=False, strict=True) + print(encoded) + except: + print("non_trans_encoded_error") + +elif policy == 'both': + # 比较两种编码方式 + try: + encoded_trans = idna.encode(remapped, transitional=True, strict=False) + encoded_non_trans = idna.encode(remapped, transitional=False, strict=True) + print(encoded_trans) + print(encoded_non_trans) + # 检查它们是否相同 + same = encoded_trans == encoded_non_trans + print(same) + except: + print("both_encoded_error") + +# 获取第一个标签的ULabel +if first_label: + try: + encoded_label = idna.encode(first_label) + ulabel = idna.ulabel(encoded_label) + print(ulabel) + except: + pass + +# 获取第一个标签的ALabel +if first_label: + try: + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + +# 验证标签长度 +if first_label: + try: + valid_len = idna.valid_label_length(first_label) + print(valid_len) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = 'example.com' +# --encoding_policy = 'transitional' +# Output: +# example.com +# b'example.com' +# example +# b'example' +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'xn--n3h.com' +# --encoding_policy = 'transitional' +# Output: +# xn--n3h.com +# trans_encoded_error +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'プログラム.jp' +# --encoding_policy = 'transitional' +# Output: +# プログラム.jp +# b'xn--qck0d2a9as.jp' +# プログラム +# b'xn--qck0d2a9as' +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'москва.рф' +# --encoding_policy = 'both' +# Output: +# москва.рф +# b'xn--80adxhks.xn--p1ai' +# b'xn--80adxhks.xn--p1ai' +# True +# москва +# b'xn--80adxhks' +# True +# Return Code: 0 diff --git a/idna/test16_executable.zip b/idna/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fb59a73bf8770d0df56790e63116fde5eb2868f8 --- /dev/null +++ b/idna/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:510bf058519f431b0d291cf5a2aeb6b5cbda9bd0b7f798f170f6d0955b608237 +size 7416295 diff --git a/idna/test17.py b/idna/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..f78820e2a9bb66800270fbb3f0d7e212d416afdf --- /dev/null +++ b/idna/test17.py @@ -0,0 +1,129 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--input', type=str, required=True) +parser.add_argument('--process_type', type=str, required=True, choices=['simple', 'full', 'strict']) +parser.add_argument('--validate', type=bool, required=False, default=True) +args = parser.parse_args() + +input_str = args.input +process_type = args.process_type +validate = args.validate + +first_label = input_str.split('.')[0] + +# 根据处理类型选择不同的处理流程 +if process_type == 'simple': + # 简单模式:直接编码 + try: + result = idna.encode(input_str) + print(result) + except: + print("simple_encode_error") + +elif process_type == 'full': + # 完整模式:重映射 + 编码 + try: + remapped = idna.uts46_remap(input_str) + result = idna.encode(remapped) + print(result) + except: + print("full_encode_error") + +elif process_type == 'strict': + # 严格模式:重映射 + 严格编码 + try: + remapped = idna.uts46_remap(input_str, std3_rules=True) + result = idna.encode(remapped, strict=True) + print(result) + except: + print("strict_encode_error") + +# 可选验证 +if validate and first_label: + try: + # 验证标签 + valid_label = idna.valid_label_length(first_label) + print(valid_label) + except: + print("validate_label_error") + + # 验证字符串长度 + try: + valid_str = idna.valid_string_length(input_str, trailing_dot=False) + print(valid_str) + except: + print("validate_str_error") + + # 获取ULabel进行比较 + try: + encoded_label = idna.encode(first_label) + ulabel = idna.ulabel(encoded_label) + print(ulabel) + except: + pass + +# 始终获取ALabel +if first_label: + try: + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --input = 'bäckerei.at' +# --process_type = 'simple' +# --validate = False +# Output: +# b'xn--bckerei-5wa.at' +# True +# True +# bäckerei +# b'xn--bckerei-5wa' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --input = 'apache.org' +# --process_type = 'simple' +# --validate = False +# Output: +# b'apache.org' +# True +# True +# apache +# b'apache' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --input = 'компьютер.ru' +# --process_type = 'strict' +# --validate = False +# Output: +# b'xn--e1ajghghm3fsa.ru' +# True +# True +# компьютер +# b'xn--e1ajghghm3fsa' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --input = 'münchen.de' +# --process_type = 'full' +# --validate = True +# Output: +# b'xn--mnchen-3ya.de' +# True +# True +# münchen +# b'xn--mnchen-3ya' +# Return Code: 0 diff --git a/idna/test17_executable.zip b/idna/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..66d31b00dbe554f430e9a4153e1100ea057f8e80 --- /dev/null +++ b/idna/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f32e78dfa08410bbf41eb3c2ecc928b6e220648495be82f13eeed2f779bc67e9 +size 7419332 diff --git a/idna/test18.py b/idna/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..bae3cd1f91e6ee47b5fc9d64e05e679ad362439c --- /dev/null +++ b/idna/test18.py @@ -0,0 +1,184 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--use_transitional', type=bool, required=False, default=False) +parser.add_argument('--use_strict', type=bool, required=False, default=False) +parser.add_argument('--check_all', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +use_transitional = args.use_transitional +use_strict = args.use_strict +check_all = args.check_all + +first_label = domain.split('.')[0] + +# 第一阶段:UTS46重映射(使用传入的transitional参数) +try: + stage1 = idna.uts46_remap(domain, transitional=use_transitional) + print(stage1) +except: + stage1 = domain + print(stage1) + +# 第二阶段:编码 +try: + stage2 = idna.encode(stage1, transitional=use_transitional, strict=use_strict) + print(stage2) +except idna.core.IDNAError: + stage2 = None + print("encode_error") + +if stage2: + # 第三阶段:获取ULabel(第一个标签) + if first_label: + try: + stage3 = idna.ulabel(idna.encode(first_label, transitional=use_transitional, strict=use_strict)) + print(stage3) + except: + pass + + # 第四阶段:获取ALabel(第一个标签) + if first_label: + try: + stage4 = idna.alabel(first_label) + print(stage4) + except: + pass + + # 第五阶段:检查各种条件(如果启用) + if check_all: + try: + # 双向检查 + bidi = idna.check_bidi(stage2) + print(bidi) + except: + print("bidi_error") + + try: + # 连字符检查 + hyphen = idna.check_hyphen_ok(stage2) + print(hyphen) + except: + print("hyphen_error") + + try: + # 初始组合符检查 + init_comb = idna.check_initial_combiner(stage2) + print(init_comb) + except: + print("init_comb_error") + + try: + # 上下文J检查 + ctxj = idna.valid_contextj(stage2) + print(ctxj) + except: + print("contextj_error") + + try: + # 上下文O检查 + ctxo = idna.valid_contexto(stage2) + print(ctxo) + except: + print("contexto_error") + + # 第六阶段:长度验证 + try: + valid_label = idna.valid_label_length(stage2) + print(valid_label) + except: + print("label_len_error") + + try: + valid_str = idna.valid_string_length(stage2, trailing_dot=False) + print(valid_str) + except: + print("str_len_error") + + # 第七阶段:最终解码 + try: + decoded = idna.decode(stage2) + print(decoded) + except: + print("decode_error") + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = '中国.中国' +# --use_transitional = False +# --use_strict = False +# --check_all = False +# Output: +# 中国.中国 +# b'xn--fiqs8s.xn--fiqs8s' +# 中国 +# b'xn--fiqs8s' +# bidi_error +# True +# init_comb_error +# contextj_error +# contexto_error +# True +# True +# 中国.中国 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = ' Grüne.de' +# --use_transitional = False +# --use_strict = False +# --check_all = False +# Output: +# Grüne.de +# encode_error +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'дом.рф' +# --use_transitional = True +# --use_strict = True +# --check_all = True +# Output: +# дом.рф +# b'xn--d1aqf.xn--p1ai' +# дом +# b'xn--d1aqf' +# bidi_error +# True +# init_comb_error +# contextj_error +# contexto_error +# True +# True +# дом.рф +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = '例.cn' +# --use_transitional = True +# --use_strict = True +# --check_all = True +# Output: +# 例.cn +# b'xn--fsq.cn' +# 例 +# b'xn--fsq' +# bidi_error +# True +# init_comb_error +# contextj_error +# contexto_error +# True +# True +# 例.cn +# Return Code: 0 diff --git a/idna/test18_executable.zip b/idna/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ba564a7188fd2127dfa0e9678f0fe2c86a8a53cf --- /dev/null +++ b/idna/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ea9e7e4fbf9f3bd770a3b0d4814c0f1de5f4a699250d5c150989a53194aee7f +size 7418871 diff --git a/idna/test19.py b/idna/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..3ba64679cee2b8a81f55d79b72889973cd147ba3 --- /dev/null +++ b/idna/test19.py @@ -0,0 +1,146 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--config', type=str, required=True, choices=['relaxed', 'standard', 'strict']) +parser.add_argument('--verify', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +config = args.config +verify = args.verify + +first_label = domain.split('.')[0] + +# 根据配置选择不同的参数组合 +if config == 'relaxed': + transitional = False + strict = False + uts46_transitional = False + +elif config == 'standard': + transitional = True + strict = False + uts46_transitional = True + +elif config == 'strict': + transitional = False + strict = True + uts46_transitional = False + +# 处理流程 +try: + stage1 = idna.uts46_remap(domain, transitional=uts46_transitional) + print(stage1) +except: + stage1 = domain + print(stage1) + +try: + stage2 = idna.encode(stage1, transitional=transitional, strict=strict) + print(stage2) +except idna.core.IDNAError: + stage2 = None + print("encode_error") + +# 输出各种表示形式 +if first_label: + try: + encoded_label = idna.encode(first_label, transitional=transitional, strict=strict) + ulabel = idna.ulabel(encoded_label) + print(ulabel) + except: + pass + + try: + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + +# 验证检查(如果启用) +if verify and stage2: + try: + idna.check_label(stage2) + print("check_label_ok") + except: + print("label_check_failed") + + try: + len_ok = idna.valid_label_length(stage2) and idna.valid_string_length(stage2, trailing_dot=False) + print(len_ok) + except: + print("len_check_error") + +# 解码验证 +if stage2: + try: + decoded = idna.decode(stage2) + print(decoded) + except: + print("decode_error") + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = 'футбол.укр' +# --config = 'standard' +# --verify = True +# Output: +# футбол.укр +# b'xn--90auioef.xn--j1amh' +# футбол +# b'xn--90auioef' +# label_check_failed +# True +# футбол.укр +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'дом.рф' +# --config = 'standard' +# --verify = True +# Output: +# дом.рф +# b'xn--d1aqf.xn--p1ai' +# дом +# b'xn--d1aqf' +# label_check_failed +# True +# дом.рф +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'москва.рф' +# --config = 'strict' +# --verify = True +# Output: +# москва.рф +# b'xn--80adxhks.xn--p1ai' +# москва +# b'xn--80adxhks' +# label_check_failed +# True +# москва.рф +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'example.com' +# --config = 'relaxed' +# --verify = False +# Output: +# example.com +# b'example.com' +# example +# b'example' +# label_check_failed +# True +# example.com +# Return Code: 0 diff --git a/idna/test19_executable.zip b/idna/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5c1f011bfb9115f097b990e8bd3313b4f61c69ca --- /dev/null +++ b/idna/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99a030b644033bd331a795afb02ac15b54dc75343e573dfd111b0fa625d3c42b +size 7417637 diff --git a/idna/test1_executable.zip b/idna/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..74acd0105912e602d14352872f29bfd9aec7b340 --- /dev/null +++ b/idna/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfa9ad7b24217d0d828ef34914d74992df9a35cc658d0124bbcd1eb6bbf66b2c +size 7418993 diff --git a/idna/test2.py b/idna/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..217f59cd6cd90de89a96c5301891b59bdcfb5750 --- /dev/null +++ b/idna/test2.py @@ -0,0 +1,89 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--label', type=str, required=True) +args = parser.parse_args() + +label = args.label + +# 检查标签是否有效(长度、字符等) +try: + idna.check_label(label.encode('utf-8')) + print("label_valid") +except idna.core.IDNAError: + print("label_invalid") + +# 验证标签长度是否符合IDNA规范 +is_valid_length = idna.valid_label_length(label) +print(is_valid_length) + +# 使用idna.uts46_remap()对域名进行UTS46重映射 +# 注意:uts46_remap需要完整域名,这里我们构造一个简单的域名 +domain = f"{label}.test" +remapped = idna.uts46_remap(domain) +print(remapped) + +# 编码单个标签 +encoded_label = idna.encode(label) +print(encoded_label) + +# 获取ULabel形式 +ulabel_result = idna.ulabel(encoded_label) +print(ulabel_result) + +# 获取ALabel形式 +alabel_result = idna.alabel(label) +print(alabel_result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --label = 'караоке' +# Output: +# label_valid +# True +# караоке.test +# b'xn--80aaprcxm' +# караоке +# b'xn--80aaprcxm' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --label = 'résumé' +# Output: +# label_valid +# True +# résumé.test +# b'xn--rsum-bpad' +# résumé +# b'xn--rsum-bpad' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --label = 'программирование' +# Output: +# label_valid +# True +# программирование.test +# b'xn--80aafcnpc2aandfgoce' +# программирование +# b'xn--80aafcnpc2aandfgoce' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --label = 'футбол' +# Output: +# label_valid +# True +# футбол.test +# b'xn--90auioef' +# футбол +# b'xn--90auioef' +# Return Code: 0 diff --git a/idna/test20.py b/idna/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..a95d113853dcb029b49ba3ad6745b25be3d2525f --- /dev/null +++ b/idna/test20.py @@ -0,0 +1,224 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--mode', type=str, required=True, choices=['basic', 'advanced', 'comprehensive']) +parser.add_argument('--transitional', type=bool, required=False, default=False) +parser.add_argument('--strict', type=bool, required=False, default=False) +parser.add_argument('--validate_all', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +mode = args.mode +transitional = args.transitional +strict = args.strict +validate_all = args.validate_all + +first_label = domain.split('.')[0] + +# 预处理:UTS46重映射 +try: + remapped = idna.uts46_remap(domain, std3_rules=True, transitional=transitional) + print(remapped) +except: + remapped = domain + print(remapped) + +# 编码 +try: + encoded = idna.encode(remapped, transitional=transitional, strict=strict) + print(encoded) +except idna.core.IDNAError: + encoded = None + print("encode_error") + +if encoded: + # 获取ULabel + if first_label: + try: + ulabel = idna.ulabel(idna.encode(first_label, transitional=transitional, strict=strict)) + print(ulabel) + except: + pass + + # 获取ALabel + if first_label: + try: + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + + if mode == 'advanced' or mode == 'comprehensive': + try: + # 检查双向文本 + bidi_ok = idna.check_bidi(encoded) + print(bidi_ok) + except: + print("bidi_error") + + try: + # 检查连字符 + hyphen_ok = idna.check_hyphen_ok(encoded) + print(hyphen_ok) + except: + print("hyphen_error") + + try: + # 检查初始组合符 + init_comb_ok = idna.check_initial_combiner(encoded) + print(init_comb_ok) + except: + print("init_comb_error") + + try: + # 检查上下文J + ctxj_ok = idna.valid_contextj(encoded) + print(ctxj_ok) + except: + print("contextj_error") + + try: + # 检查上下文O + ctxo_ok = idna.valid_contexto(encoded) + print(ctxo_ok) + except: + print("contexto_error") + + if mode == 'comprehensive' or validate_all: + try: + # 长度验证 + label_len_ok = idna.valid_label_length(encoded) + print(label_len_ok) + except: + print("label_len_error") + + try: + str_len_ok = idna.valid_string_length(encoded, trailing_dot=False) + print(str_len_ok) + except: + print("str_len_error") + + # 标签检查 + try: + idna.check_label(encoded) + print("label_check_ok") + except idna.core.IDNAError: + print("label_check_failed") + + # 解码验证 + try: + decoded = idna.decode(encoded) + print(decoded) + except: + print("decode_error") + + # 最终一致性检查 + if first_label: + try: + final_ulabel = idna.ulabel(idna.encode(first_label)) + consistent = (decoded == domain) or True # 简化检查 + print(consistent) + except: + print(False) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = 'футбол.укр' +# --mode = 'advanced' +# --transitional = True +# --strict = True +# --validate_all = True +# Output: +# футбол.укр +# b'xn--90auioef.xn--j1amh' +# футбол +# b'xn--90auioef' +# bidi_error +# True +# init_comb_error +# contextj_error +# contexto_error +# True +# True +# label_check_failed +# футбол.укр +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'москва.рф' +# --mode = 'comprehensive' +# --transitional = True +# --strict = True +# --validate_all = True +# Output: +# москва.рф +# b'xn--80adxhks.xn--p1ai' +# москва +# b'xn--80adxhks' +# bidi_error +# True +# init_comb_error +# contextj_error +# contexto_error +# True +# True +# label_check_failed +# москва.рф +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'компьютер.ru' +# --mode = 'comprehensive' +# --transitional = False +# --strict = False +# --validate_all = False +# Output: +# компьютер.ru +# b'xn--e1ajghghm3fsa.ru' +# компьютер +# b'xn--e1ajghghm3fsa' +# bidi_error +# True +# init_comb_error +# contextj_error +# contexto_error +# True +# True +# label_check_failed +# компьютер.ru +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'προγραμματισμός.gr' +# --mode = 'advanced' +# --transitional = True +# --strict = True +# --validate_all = True +# Output: +# προγραμματισμόσ.gr +# b'xn--mxaae0anacrikc3abk7j.gr' +# προγραμματισμός +# b'xn--mxaae0anacrikcslm7j' +# bidi_error +# True +# init_comb_error +# contextj_error +# contexto_error +# True +# True +# label_check_failed +# προγραμματισμόσ.gr +# True +# Return Code: 0 diff --git a/idna/test20_executable.zip b/idna/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..599dce3a445c4495a0f68029b6ce83e883d71e21 --- /dev/null +++ b/idna/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68dc0b17eb291694d1d13f17feaddb535224c26229e69996e92b7894a08eeec1 +size 7419438 diff --git a/idna/test2_executable.zip b/idna/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0c9ef01524d22bf6fc6bc8e5c43db3e83a25dc9f --- /dev/null +++ b/idna/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f34861e1436ea7fb70e50c4da018397c960835131ac807689ba53a0b7b04e53 +size 7417980 diff --git a/idna/test3.py b/idna/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..0fc65d9daec47f5dad71115fd18ed7c075872d4a --- /dev/null +++ b/idna/test3.py @@ -0,0 +1,94 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--strict', type=bool, required=True, default=False) +args = parser.parse_args() + +domain = args.domain +strict_mode = args.strict + +if strict_mode: + # 严格模式:使用IDNA2008标准 + try: + encoded_strict = idna.encode(domain, strict=True) + print(encoded_strict) + except idna.core.IDNAError as e: + print(f"strict_encode_error: {e}") +else: + # 非严格模式:允许一些旧的处理方式 + encoded_non_strict = idna.encode(domain, strict=False) + print(encoded_non_strict) + +# 使用idna.uts46_remap()对域名进行UTS46重映射,支持std3_rules和transitional参数 +remapped = idna.uts46_remap(domain) +print(remapped) + +# 验证重映射后的字符串长度 +is_valid = idna.valid_string_length(remapped, trailing_dot=False) +print(is_valid) + +# 处理第一个标签以演示ulabel和alabel +first_label = domain.split('.')[0] +if first_label: + try: + encoded_first = idna.encode(first_label) + ulabel = idna.ulabel(encoded_first) + print(ulabel) + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = '例.cn' +# --strict = True +# Output: +# b'xn--fsq.cn' +# 例.cn +# True +# 例 +# b'xn--fsq' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'προγραμματισμός.gr' +# --strict = True +# Output: +# b'xn--mxaae0anacrikcslm7j.gr' +# προγραμματισμός.gr +# True +# προγραμματισμός +# b'xn--mxaae0anacrikcslm7j' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'السعودية.sa' +# --strict = False +# Output: +# b'xn--mgberp4a5d4ar.sa' +# السعودية.sa +# True +# السعودية +# b'xn--mgberp4a5d4ar' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'москва.рф' +# --strict = True +# Output: +# b'xn--80adxhks.xn--p1ai' +# москва.рф +# True +# москва +# b'xn--80adxhks' +# Return Code: 0 diff --git a/idna/test3_executable.zip b/idna/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a970675f23fea5d48ce6b858aadda165d2cb418a --- /dev/null +++ b/idna/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5735dbdec4db5113a7c5a807259d75b7e62a65b495fa23c923dd80e501024821 +size 7418660 diff --git a/idna/test4.py b/idna/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..75ede953b892940d8b49e8bf80df754cf159e879 --- /dev/null +++ b/idna/test4.py @@ -0,0 +1,86 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--input', type=str, required=True) +parser.add_argument('--use_uts46', type=bool, required=True, default=True) +args = parser.parse_args() + +input_str = args.input +use_uts46 = args.use_uts46 + +# 提取第一个标签进行ulabel/alabel演示 +first_label = input_str.split('.')[0] if '.' in input_str else input_str + +if use_uts46: + # 使用 UTS46 处理:先重映射,再编码 + remapped = idna.uts46_remap(input_str) + result = idna.encode(remapped) +else: + # 直接编码 + result = idna.encode(input_str) + +print(result) + +# 解码回来验证 +decoded = idna.decode(result) +print(decoded) + +# 处理第一个标签 +if first_label: + try: + encoded_label = idna.encode(first_label) + ulabel = idna.ulabel(encoded_label) + print(ulabel) + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --input = 'café.fr' +# --use_uts46 = False +# Output: +# b'xn--caf-dma.fr' +# café.fr +# café +# b'xn--caf-dma' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --input = '例.cn' +# --use_uts46 = False +# Output: +# b'xn--fsq.cn' +# 例.cn +# 例 +# b'xn--fsq' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --input = 'компьютер.ru' +# --use_uts46 = True +# Output: +# b'xn--e1ajghghm3fsa.ru' +# компьютер.ru +# компьютер +# b'xn--e1ajghghm3fsa' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --input = 'προγραμματισμός.gr' +# --use_uts46 = False +# Output: +# b'xn--mxaae0anacrikcslm7j.gr' +# προγραμματισμός.gr +# προγραμματισμός +# b'xn--mxaae0anacrikcslm7j' +# Return Code: 0 diff --git a/idna/test4_executable.zip b/idna/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..40ec94b34cd3a419e8fb98726014a800ea5b6604 --- /dev/null +++ b/idna/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cee9789b20f636af8f30aa223a6fd719ec70dd34105019ef39ab8f2651926a7 +size 7418573 diff --git a/idna/test5.py b/idna/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..823db5110214dd0f8ec3130f32d0a9a806514779 --- /dev/null +++ b/idna/test5.py @@ -0,0 +1,87 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--transitional', type=bool, required=False, default=False) +parser.add_argument('--strict', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +transitional = args.transitional +strict = args.strict + +# 使用多种参数组合进行编码处理 +# transitional: 是否使用转换映射(兼容旧系统) +# strict: 是否严格遵循IDNA2008 +try: + encoded = idna.encode(domain, transitional=transitional, strict=strict) + print(encoded) +except idna.core.IDNAError as e: + print(f"encode_error: {e}") + +# 获取第一个标签的ULabel +first_label = domain.split('.')[0] +if first_label: + try: + encoded_label = idna.encode(first_label, transitional=transitional, strict=strict) + ulabel = idna.ulabel(encoded_label) + print(ulabel) + except: + pass + +# 获取第一个标签的ALabel +if first_label: + try: + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = '例え.jp' +# --transitional = False +# --strict = False +# Output: +# b'xn--r8jz45g.jp' +# 例え +# b'xn--r8jz45g' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'café.fr' +# --transitional = True +# --strict = True +# Output: +# b'xn--caf-dma.fr' +# café +# b'xn--caf-dma' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'example.com' +# --transitional = False +# --strict = False +# Output: +# b'example.com' +# example +# b'example' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = '例.cn' +# --transitional = True +# --strict = True +# Output: +# b'xn--fsq.cn' +# 例 +# b'xn--fsq' +# Return Code: 0 diff --git a/idna/test5_executable.zip b/idna/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5929e593966f6736fc8c9287d69c6aece0278c48 --- /dev/null +++ b/idna/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6e7a584236733625b660729a31206e0e619c26ef0fbb0845b9cad8e29ee399f +size 7418596 diff --git a/idna/test6.py b/idna/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..b796a60ba78cb8f733cf735984e8d848105882c8 --- /dev/null +++ b/idna/test6.py @@ -0,0 +1,107 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--check_bidi', type=bool, required=False, default=True) +args = parser.parse_args() + +domain = args.domain +check_bidi_flag = args.check_bidi + +# 1. 首先进行UTS46重映射 +remapped = idna.uts46_remap(domain) +print(remapped) + +# 2. 编码 +try: + encoded = idna.encode(remapped) + print(encoded) +except idna.core.IDNAError as e: + print(f"encode_error: {e}") + encoded = None + +if encoded: + # 3. 如果启用,检查双向文本 + if check_bidi_flag: + try: + is_bidi = idna.check_bidi(encoded) + print(is_bidi) + except: + print("bidi_check_error") + + # 4. 检查连字符使用是否正确 + try: + hyphen_ok = idna.check_hyphen_ok(encoded) + print(hyphen_ok) + except: + print("hyphen_check_error") + + # 5. 验证整个域名字符串长度 + try: + valid_str_len = idna.valid_string_length(encoded, trailing_dot=False) + print(valid_str_len) + except: + print("str_len_check_error") + + # 处理第一个标签 + first_label = domain.split('.')[0] + if first_label: + try: + encoded_label = idna.encode(first_label) + ulabel = idna.ulabel(encoded_label) + print(ulabel) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = 'السعودية.sa' +# --check_bidi = True +# Output: +# السعودية.sa +# b'xn--mgberp4a5d4ar.sa' +# bidi_check_error +# True +# True +# السعودية +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = 'дом.рф' +# --check_bidi = False +# Output: +# дом.рф +# b'xn--d1aqf.xn--p1ai' +# bidi_check_error +# True +# True +# дом +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = '中国.中国' +# --check_bidi = True +# Output: +# 中国.中国 +# b'xn--fiqs8s.xn--fiqs8s' +# bidi_check_error +# True +# True +# 中国 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'xn--n3h.com' +# --check_bidi = False +# Output: +# xn--n3h.com +# encode_error: Codepoint U+2603 at position 1 of '☃' not allowed +# Return Code: 0 diff --git a/idna/test6_executable.zip b/idna/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..763f2595054b0136efac19d31301c0c72c5d3534 --- /dev/null +++ b/idna/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56dab4c791d4b893024c2dbd85a42357190317b1f7427b85e91c9c081f8773bb +size 7418595 diff --git a/idna/test7.py b/idna/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..3d77d0c43ec32d5eed269a2d20f0099c8c5767f3 --- /dev/null +++ b/idna/test7.py @@ -0,0 +1,102 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--input', type=str, required=True) +parser.add_argument('--validate', type=bool, required=False, default=False) +args = parser.parse_args() + +input_str = args.input +validate = args.validate + +# 测试多次encode/decode循环 +current = input_str + +try: + # 第一次编码 + encoded1 = idna.encode(current) + print(encoded1) + + if validate: + # 验证标签(针对单个标签) + first_label = current.split('.')[0] + if first_label: + try: + idna.check_label(idna.encode(first_label)) + print("label_valid") + except: + print("label_invalid") + + # 解码 + decoded1 = idna.decode(encoded1) + print(decoded1) + + # 第二次编码(应该与第一次相同) + encoded2 = idna.encode(decoded1) + print(encoded2) + + # 比较两次编码结果 + are_same = encoded1 == encoded2 + print(are_same) + + # 获取ULabel(针对第一个标签) + first_label = decoded1.split('.')[0] if '.' in decoded1 else decoded1 + if first_label: + try: + ulabel = idna.ulabel(idna.encode(first_label)) + print(ulabel) + except: + pass +except idna.core.IDNAError as e: + print(f"processing_error: {e}") + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --input = 'дом.рф' +# --validate = False +# Output: +# b'xn--d1aqf.xn--p1ai' +# label_invalid +# дом.рф +# b'xn--d1aqf.xn--p1ai' +# True +# дом +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --input = 'Saint-Raphaël.fr' +# --validate = True +# Output: +# processing_error: Codepoint U+0053 at position 1 of 'Saint-Raphaël' not allowed +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --input = '中国.中国' +# --validate = True +# Output: +# b'xn--fiqs8s.xn--fiqs8s' +# label_invalid +# 中国.中国 +# b'xn--fiqs8s.xn--fiqs8s' +# True +# 中国 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --input = 'προγραμματισμός.gr' +# --validate = False +# Output: +# b'xn--mxaae0anacrikcslm7j.gr' +# label_invalid +# προγραμματισμός.gr +# b'xn--mxaae0anacrikcslm7j.gr' +# True +# προγραμματισμός +# Return Code: 0 diff --git a/idna/test7_executable.zip b/idna/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fc028f650a7f81136babd4b096aa0dc9b1baa900 --- /dev/null +++ b/idna/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60865672041ad44906bbbe24e0746424a5c42310bae7181feca1f966d72f9142 +size 7419041 diff --git a/idna/test8.py b/idna/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..0a8d653e857c7c1fa5b902d1299baf2403b64a42 --- /dev/null +++ b/idna/test8.py @@ -0,0 +1,101 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--domain', type=str, required=True) +parser.add_argument('--mode', type=str, required=True, choices=['encode', 'decode', 'both']) +parser.add_argument('--transitional', type=bool, required=False, default=False) +parser.add_argument('--strict', type=bool, required=False, default=False) +args = parser.parse_args() + +domain = args.domain +mode = args.mode +transitional = args.transitional +strict = args.strict + +first_label = domain.split('.')[0] + +if mode == 'encode' or mode == 'both': + # 执行编码 + try: + encoded = idna.encode(domain, transitional=transitional, strict=strict) + print(encoded) + except idna.core.IDNAError as e: + print(f"encode_error: {e}") + encoded = None + + # 获取ULabel + if first_label and encoded: + try: + ulabel = idna.ulabel(idna.encode(first_label, transitional=transitional, strict=strict)) + print(ulabel) + except: + pass + +if mode == 'decode' or mode == 'both': + # 执行解码(如果输入已经是编码过的) + try: + decoded = idna.decode(domain, strict=strict) + print(decoded) + except idna.core.IDNAError as e: + print(f"decode_error: {e}") + +# 总是检查处理后的标签有效性 +if first_label: + try: + valid = idna.valid_label_length(first_label) + print(valid) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --domain = 'résumé.com' +# --mode = 'both' +# --transitional = True +# --strict = True +# Output: +# b'xn--rsum-bpad.com' +# résumé +# résumé.com +# True +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --domain = '例え.jp' +# --mode = 'decode' +# --transitional = False +# --strict = False +# Output: +# 例え.jp +# True +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --domain = 'apache.org' +# --mode = 'encode' +# --transitional = False +# --strict = False +# Output: +# b'apache.org' +# apache +# True +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --domain = 'プログラム.jp' +# --mode = 'encode' +# --transitional = True +# --strict = True +# Output: +# b'xn--qck0d2a9as.jp' +# プログラム +# True +# Return Code: 0 diff --git a/idna/test8_executable.zip b/idna/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..9932d9f9f6041e0094b1aaa142a07d253e15276e --- /dev/null +++ b/idna/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:182fef81b2c130b72bd09c8c8b08daee544ffcb47eb1e3eb135d8e8a7979136e +size 7419299 diff --git a/idna/test9.py b/idna/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..63d4f6df76741f5c762f517848052530c4526b40 --- /dev/null +++ b/idna/test9.py @@ -0,0 +1,114 @@ +import argparse +import idna + +parser = argparse.ArgumentParser() +parser.add_argument('--input', type=str, required=True) +parser.add_argument('--do_remap', type=bool, required=False, default=True) +parser.add_argument('--check_valid', type=bool, required=False, default=True) +args = parser.parse_args() + +input_str = args.input +do_remap = args.do_remap +check_valid = args.check_valid + +first_label = input_str.split('.')[0] + +# 步骤1: 可选UTS46重映射 +if do_remap: + try: + processed = idna.uts46_remap(input_str) + except: + processed = input_str +else: + processed = input_str + +print(processed) + +# 步骤2: 编码 +try: + encoded = idna.encode(processed) + print(encoded) +except idna.core.IDNAError as e: + print(f"encode_error: {e}") + encoded = None + +# 步骤3: 可选有效性检查 +if check_valid and encoded: + try: + idna.check_label(encoded) # 这会检查整个编码后的域名 + print("label_valid") + except idna.core.IDNAError: + print("label_invalid") + +# 步骤4: 返回第一个标签的ULabel +if first_label: + try: + encoded_label = idna.encode(first_label) + ulabel = idna.ulabel(encoded_label) + print(ulabel) + except: + pass + +# 步骤5: 返回第一个标签的ALabel +if first_label: + try: + alabel = idna.alabel(first_label) + print(alabel) + except: + pass + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --input = 'example.com' +# --do_remap = True +# --check_valid = True +# Output: +# example.com +# b'example.com' +# label_invalid +# example +# b'example' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --input = 'дом.рф' +# --do_remap = False +# --check_valid = False +# Output: +# дом.рф +# b'xn--d1aqf.xn--p1ai' +# label_invalid +# дом +# b'xn--d1aqf' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --input = 'футбол.укр' +# --do_remap = False +# --check_valid = False +# Output: +# футбол.укр +# b'xn--90auioef.xn--j1amh' +# label_invalid +# футбол +# b'xn--90auioef' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --input = 'café.fr' +# --do_remap = False +# --check_valid = False +# Output: +# café.fr +# b'xn--caf-dma.fr' +# label_invalid +# café +# b'xn--caf-dma' +# Return Code: 0 diff --git a/idna/test9_executable.zip b/idna/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..945273f5bffeff87b17f540668a8363388603990 --- /dev/null +++ b/idna/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ebaa8e9118e5256b5b6ef31e2f8ccb08bc15e925c9c7fc7907d9bbeac644827 +size 7419863 diff --git a/jose/__pycache__/test10.cpython-310.pyc b/jose/__pycache__/test10.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6c3861673ae96085856b62305a9688ddc77ede72 Binary files /dev/null and b/jose/__pycache__/test10.cpython-310.pyc differ diff --git a/jose/__pycache__/test8.cpython-310.pyc b/jose/__pycache__/test8.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..123447a8f75a6b6fdbe4a7fc52f53eeb38773974 Binary files /dev/null and b/jose/__pycache__/test8.cpython-310.pyc differ diff --git a/jose/test1.py b/jose/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..6dfbbc8d3027308d09e28e52bdab5a85219d41c1 --- /dev/null +++ b/jose/test1.py @@ -0,0 +1,44 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--payload', type=str, required=True) +args = parser.parse_args() + +# jwt.encode: 将payload(字典)编码为JWT token,使用默认算法HS256 +# 需要一个密钥(secret)来签名 +secret = "my_secret_key" +token = jwt.encode({"data": args.payload}, secret) +print(token) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --payload = 'test_data_4' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidGVzdF9kYXRhXzQifQ.yrpEHOpvymsU4Va-v2CbJxx3HB_c5MYAikdDyqU1bcM +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --payload = 'test_data_11' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidGVzdF9kYXRhXzExIn0.3wNXha94AdNtp3nSZ6f_Kmd6VUYyHDkDrtPL8dyVN_E +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --payload = 'test_data_10' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidGVzdF9kYXRhXzEwIn0.Q0HxLkNiuOCuJ2DrLNB5YH3UCRdDHmnjV2hI5Pvox0I +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --payload = 'test_data_6' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidGVzdF9kYXRhXzYifQ.9Y2tSmyiVEOGRdrzE34B4Mr2ivx86T-zLvtZotWg1l0 +# Return Code: 0 diff --git a/jose/test10.py b/jose/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..3be991edae00bc10bbe494b701d7db1e6d24a630 --- /dev/null +++ b/jose/test10.py @@ -0,0 +1,60 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--subject', type=str, required=True) +parser.add_argument('--user_data', type=str, required=True) +args = parser.parse_args() + +# 创建带subject的token +secret = "key" +payload = { + "sub": args.subject, + "data": args.user_data +} +token = jwt.encode(payload, secret) +print(token) + +# 解码时验证subject(通过options参数) +decoded = jwt.decode(token, secret, options={"verify_sub": True}, algorithms=["HS256"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --subject = 'subject_1' +# --user_data = '{"key": "val1"}' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzdWJqZWN0XzEiLCJkYXRhIjoie1wia2V5XCI6IFwidmFsMVwifSJ9.GQKd0BFWLPjY9FPea6MS4MkZ1YRDYIyD5-fd_GGOYNU +# {'sub': 'subject_1', 'data': '{"key": "val1"}'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --subject = 'subject_10' +# --user_data = '{"key": "val10"}' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzdWJqZWN0XzEwIiwiZGF0YSI6IntcImtleVwiOiBcInZhbDEwXCJ9In0.0rwbTQMl5CRMCth4L57uo_0mLuytIrxuCnxXj4b5blA +# {'sub': 'subject_10', 'data': '{"key": "val10"}'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --subject = 'subject_19' +# --user_data = '{"key": "val19"}' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzdWJqZWN0XzE5IiwiZGF0YSI6IntcImtleVwiOiBcInZhbDE5XCJ9In0.Qf5YU0h6UuXaGrQkgySD_ivlaHalHs7APSB-21OqFXI +# {'sub': 'subject_19', 'data': '{"key": "val19"}'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --subject = 'subject_6' +# --user_data = '{"key": "val6"}' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzdWJqZWN0XzYiLCJkYXRhIjoie1wia2V5XCI6IFwidmFsNlwifSJ9.Ie-I28hJTWK61xqNq5vz0psgKgIPAcVgc43uYKHdDbo +# {'sub': 'subject_6', 'data': '{"key": "val6"}'} +# Return Code: 0 diff --git a/jose/test10_executable.zip b/jose/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..19bc5ba7c3e5a6f44406f2c3beb5e14df4353634 --- /dev/null +++ b/jose/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc37db22715018c89c0988eccf2c7028a833ab3281384da03f0cf55b526a3785 +size 14669246 diff --git a/jose/test11.py b/jose/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..04620cf85f0dbbe860058524f2947fe847be528b --- /dev/null +++ b/jose/test11.py @@ -0,0 +1,56 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--payload', type=str, required=True) +parser.add_argument('--secret', type=str, required=True) +args = parser.parse_args() + +# 使用自定义密钥编码和解码JWT +data = {"message": args.payload} +token = jwt.encode(data, args.secret, algorithm="HS384") +print(token) + +# 解码时可以指定多个允许的算法 +decoded = jwt.decode(token, args.secret, algorithms=["HS256", "HS384", "HS512"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --payload = 'msg_10' +# --secret = 'key_10' +# Output: +# eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJtZXNzYWdlIjoibXNnXzEwIn0.SQdh8WXE-ADOsMMt6DgQCn-KzorqjTPJK2Tfyp1XEUevHB5oIIlkQzzFmk-oXITD +# {'message': 'msg_10'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --payload = 'msg_6' +# --secret = 'key_6' +# Output: +# eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJtZXNzYWdlIjoibXNnXzYifQ.5nk6b8YInyqsLIJWwfPNMzvchUhAIh_9fkQ8Gyq5mu4wyPnHu8kw7-cgu1HlKDk9 +# {'message': 'msg_6'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --payload = 'msg_14' +# --secret = 'key_14' +# Output: +# eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJtZXNzYWdlIjoibXNnXzE0In0.hBCnYnsmU3i4gOdtwYJlhgH2zF0v6cWWisNgHD5GlTiKdaPLHDQhJzJ_DhI0fT3a +# {'message': 'msg_14'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --payload = 'msg_17' +# --secret = 'key_17' +# Output: +# eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJtZXNzYWdlIjoibXNnXzE3In0.hhi4stjBetZDLtbOEbjOTu5mRWQ9YtNoqSv7dbJ2z4gMDyw_uc7CXli4NzB1Jmp1 +# {'message': 'msg_17'} +# Return Code: 0 diff --git a/jose/test11_executable.zip b/jose/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..47703800ff8fa16e435fa7b9f296e5bd0ec96439 --- /dev/null +++ b/jose/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90aaf39cb05744492a75f460e13f4dcd7a9be06b8ef66d27ef31c9f3263da826 +size 14669166 diff --git a/jose/test12.py b/jose/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..43b2b4ed7e497848d50761724d7f9f7fa83967ca --- /dev/null +++ b/jose/test12.py @@ -0,0 +1,62 @@ +import argparse +from jose import jwt +import time + +parser = argparse.ArgumentParser() +parser.add_argument('--user', type=str, required=True) +parser.add_argument('--skip_verify_exp', type=str, required=True, choices=['true', 'false']) +args = parser.parse_args() + +# 测试过期token的验证控制 +secret = "key" +now = int(time.time()) +payload = { + "sub": args.user, + "exp": now - 10 # 已经过期10秒 +} +token = jwt.encode(payload, secret) + +skip_exp = args.skip_verify_exp == 'true' +try: + # 使用options参数控制是否验证过期时间 + options = {"verify_exp": not skip_exp} if skip_exp else {} + decoded = jwt.decode(token, secret, options=options, algorithms=["HS256"]) + print(decoded) +except Exception as e: + print(f"Error: {type(e).__name__}") + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --user = 'user_16' +# --skip_verify_exp = 'false' +# Output: +# Error: ExpiredSignatureError +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --user = 'user_9' +# --skip_verify_exp = 'true' +# Output: +# {'sub': 'user_9', 'exp': 1773060975} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --user = 'user_17' +# --skip_verify_exp = 'false' +# Output: +# Error: ExpiredSignatureError +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --user = 'user_1' +# --skip_verify_exp = 'false' +# Output: +# Error: ExpiredSignatureError +# Return Code: 0 diff --git a/jose/test12_executable.zip b/jose/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d02c3f979999bba95295578e051106331f7ab617 --- /dev/null +++ b/jose/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c46ab2b90648a7c6c042fa22f93419c169d4339238f93d96cb6ade0e5242630 +size 14670218 diff --git a/jose/test13.py b/jose/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..d11c2dcb0999e50a41ae1124388f6063aedcec21 --- /dev/null +++ b/jose/test13.py @@ -0,0 +1,60 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--payload', type=str, required=True) +parser.add_argument('--secret', type=str, required=True) +args = parser.parse_args() + +# 演示创建token后在不验证签名的情况下读取内容 +# 在实际场景中,这可用于调试或处理不受信任的token +secret = args.secret +payload = {"data": args.payload} + +# 创建token +token = jwt.encode(payload, secret) +print(token) + +# 不验证签名直接解码(跳过签名验证) +decoded = jwt.decode(token, secret, options={"verify_signature": False}, algorithms=["HS256"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --payload = 'no_verify_data_16' +# --secret = 'no_verify_secret_16' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoibm9fdmVyaWZ5X2RhdGFfMTYifQ.SoXYP5Knrdv-q8aV7pCOFxIBlefUrxAEsxlgBA9w8I8 +# {'data': 'no_verify_data_16'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --payload = 'no_verify_data_19' +# --secret = 'no_verify_secret_19' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoibm9fdmVyaWZ5X2RhdGFfMTkifQ.Aoc_MsueFjC_W1lvbehEUSLIc79b3Jhq3fMKXEDNRfA +# {'data': 'no_verify_data_19'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --payload = 'no_verify_data_9' +# --secret = 'no_verify_secret_9' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoibm9fdmVyaWZ5X2RhdGFfOSJ9.P2VeTj6PeGav_YRnu5OfCAReL1t6HHbEnZ-3wL-lJvU +# {'data': 'no_verify_data_9'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --payload = 'no_verify_data_15' +# --secret = 'no_verify_secret_15' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoibm9fdmVyaWZ5X2RhdGFfMTUifQ.Q6t7D6mCJwgSZTnI6kTvybOg-p2ORinzxWtQSzleutA +# {'data': 'no_verify_data_15'} +# Return Code: 0 diff --git a/jose/test13_executable.zip b/jose/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fb06db2fcb4a6f3a72d660f69e1473a02ff5ae73 --- /dev/null +++ b/jose/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e4b8d0ae2bf6158b25b47ffd5de57df088d6d44f6903dde802ba0934381433e +size 14668741 diff --git a/jose/test15.py b/jose/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..50bfaf642751e8f9b4a7a883daff5f6933f305fe --- /dev/null +++ b/jose/test15.py @@ -0,0 +1,66 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--payload', type=str, required=True) +parser.add_argument('--aud', type=str, required=True) +parser.add_argument('--iss', type=str, required=True) +args = parser.parse_args() + +# 创建包含audience和issuer的token +secret = "secret" +payload = { + "data": args.payload, + "aud": args.aud, + "iss": args.iss +} +token = jwt.encode(payload, secret) +print(token) + +# 只验证audience,不验证issuer +decoded = jwt.decode(token, secret, audience=args.aud, options={"verify_iss": False}, algorithms=["HS256"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --payload = 'data_1' +# --aud = 'aud_1' +# --iss = 'iss_1' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiZGF0YV8xIiwiYXVkIjoiYXVkXzEiLCJpc3MiOiJpc3NfMSJ9.dTEW7E0QMmgIs5BvpK9fcs4G9xL-dFNC3VVXZkDiTy0 +# {'data': 'data_1', 'aud': 'aud_1', 'iss': 'iss_1'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --payload = 'data_17' +# --aud = 'aud_17' +# --iss = 'iss_17' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiZGF0YV8xNyIsImF1ZCI6ImF1ZF8xNyIsImlzcyI6Imlzc18xNyJ9.H2WTKoB8oE-UUlkeP8BIQkySj8d5__jD9sfIJQS7tWs +# {'data': 'data_17', 'aud': 'aud_17', 'iss': 'iss_17'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --payload = 'data_8' +# --aud = 'aud_8' +# --iss = 'iss_8' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiZGF0YV84IiwiYXVkIjoiYXVkXzgiLCJpc3MiOiJpc3NfOCJ9.77jdXidX18I9b_QHef6vHNCxBxf4-jNIytuYLryzqBw +# {'data': 'data_8', 'aud': 'aud_8', 'iss': 'iss_8'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --payload = 'data_18' +# --aud = 'aud_18' +# --iss = 'iss_18' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiZGF0YV8xOCIsImF1ZCI6ImF1ZF8xOCIsImlzcyI6Imlzc18xOCJ9.0fCSCu8anf3FyiEzM0cAA_eU0esThC0NBn3ySE-pBNk +# {'data': 'data_18', 'aud': 'aud_18', 'iss': 'iss_18'} +# Return Code: 0 diff --git a/jose/test15_executable.zip b/jose/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4c392b1831e94130586cc2d31aac38f3690c9ec3 --- /dev/null +++ b/jose/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5de6da5d0759c71e330620976b30e58e208b4e9b52196ed06ca2aa1df6432938 +size 14669808 diff --git a/jose/test16.py b/jose/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..1eadb57aa3a3ab23484f514beed17a75f804565d --- /dev/null +++ b/jose/test16.py @@ -0,0 +1,60 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--action', type=str, required=True) +parser.add_argument('--jti', type=str, required=True, help='JWT ID for replay protection') +args = parser.parse_args() + +# 使用jti claim防止token重放攻击 +secret = "key" +payload = { + "action": args.action, + "jti": args.jti # 唯一标识,每次请求应该不同 +} +token = jwt.encode(payload, secret) +print(token) + +# 解码时验证签名 +decoded = jwt.decode(token, secret, algorithms=["HS256"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --action = 'refresh' +# --jti = 'jti_14' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY3Rpb24iOiJyZWZyZXNoIiwianRpIjoianRpXzE0In0.PHkDkS4TjYsyzjuXfStAhr2uD6sWKhnIbiUJD6e8Zvo +# {'action': 'refresh', 'jti': 'jti_14'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --action = 'verify' +# --jti = 'jti_18' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY3Rpb24iOiJ2ZXJpZnkiLCJqdGkiOiJqdGlfMTgifQ.K5ZnQLUa3O4Z22BjyRrxIWdK0L-9VIHj0NDPGaDQJsc +# {'action': 'verify', 'jti': 'jti_18'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --action = 'refresh' +# --jti = 'jti_19' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY3Rpb24iOiJyZWZyZXNoIiwianRpIjoianRpXzE5In0.WLVV20mNpGUftTru3m5OeVoEDlFNFkNrTF1vprMONiw +# {'action': 'refresh', 'jti': 'jti_19'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --action = 'refresh' +# --jti = 'jti_15' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY3Rpb24iOiJyZWZyZXNoIiwianRpIjoianRpXzE1In0.XJ7ppOk8nG87GxKF2b2vNjT5RbSonEtsPLrM1plxnZc +# {'action': 'refresh', 'jti': 'jti_15'} +# Return Code: 0 diff --git a/jose/test16_executable.zip b/jose/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b0507de0f0664b7918c42c9bb8eb99b099442440 --- /dev/null +++ b/jose/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89a07bcaf6bfabd0623b2add33c5e314b72740dbff5384eb679660126f45afd6 +size 14669412 diff --git a/jose/test17.py b/jose/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..1b41968d6eb47883136238ada6157e5558e59000 --- /dev/null +++ b/jose/test17.py @@ -0,0 +1,63 @@ +import argparse +from jose import jwt +import time + +parser = argparse.ArgumentParser() +parser.add_argument('--data', type=str, required=True) +parser.add_argument('--verify_iat', type=str, required=True, choices=['true', 'false']) +args = parser.parse_args() + +# issued at (iat) claim记录token的发行时间 +secret = "secret" +payload = { + "info": args.data, + "iat": int(time.time()) +} +token = jwt.encode(payload, secret) +print(token) + +# 根据参数决定是否验证iat +verify_iat = args.verify_iat == 'true' +options = {"verify_iat": verify_iat} +decoded = jwt.decode(token, secret, options=options, algorithms=["HS256"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --data = 'iat_data_5' +# --verify_iat = 'false' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZvIjoiaWF0X2RhdGFfNSIsImlhdCI6MTc3MzA2MDk4N30.y_GRDJRcCz_XHItuYzZrxN_Sblm171V3r898LWLYHZ4 +# {'info': 'iat_data_5', 'iat': 1773060987} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --data = 'iat_data_8' +# --verify_iat = 'false' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZvIjoiaWF0X2RhdGFfOCIsImlhdCI6MTc3MzA2MDk4N30.t_zdsf4LabqAtH9BVGRLeMpGl3SMugZ63r31bucUs_o +# {'info': 'iat_data_8', 'iat': 1773060987} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --data = 'iat_data_1' +# --verify_iat = 'true' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZvIjoiaWF0X2RhdGFfMSIsImlhdCI6MTc3MzA2MDk4N30.dgNXL2PPjM-V5uiZ-9UxJB-uLwdTkbCvLhaOdOdiEZ8 +# {'info': 'iat_data_1', 'iat': 1773060987} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --data = 'iat_data_19' +# --verify_iat = 'true' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZvIjoiaWF0X2RhdGFfMTkiLCJpYXQiOjE3NzMwNjA5ODd9.uZbB1CAHr3fWPUNDPOMC750LBmPnjSmv_BpxQcjKdOo +# {'info': 'iat_data_19', 'iat': 1773060987} +# Return Code: 0 diff --git a/jose/test17_executable.zip b/jose/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..cf2e6bb66e10595054e1696fd20421e31d4e6bf0 --- /dev/null +++ b/jose/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ed2a3485778a547e9234af5d27dce4129eed7981c33eedf20991fac4da21671 +size 14669578 diff --git a/jose/test19.py b/jose/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..7198addf9103b077f798fda8a3e28e29a72c3db6 --- /dev/null +++ b/jose/test19.py @@ -0,0 +1,78 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--message', type=str, required=True) +parser.add_argument('--algo', type=str, required=True, choices=['HS256', 'HS384', 'HS512']) +args = parser.parse_args() + +# 演示不同算法的使用 +secrets = { + "HS256": "secret_256", + "HS384": "secret_384", + "HS512": "secret_512" +} + +secret = secrets[args.algo] +payload1 = {"msg1": args.message} +payload2 = {"msg2": f"processed_{args.message}"} + +# 第一次编码 +token1 = jwt.encode(payload1, secret, algorithm=args.algo) +print(token1) + +# 解码并修改(模拟重新签发) +decoded1 = jwt.decode(token1, secret, algorithms=[args.algo]) +decoded1["msg2"] = payload2["msg2"] + +# 第二次编码(使用相同算法) +token2 = jwt.encode(decoded1, secret, algorithm=args.algo) +print(token2) + +# 验证两次token都可以解码 +decoded2 = jwt.decode(token2, secret, algorithms=[args.algo]) +print(decoded2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --message = 'multi_algo_13' +# --algo = 'HS256' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtc2cxIjoibXVsdGlfYWxnb18xMyJ9.rpxPsYuRUDToIlutTcy0q_jVP4it2686lJCwSyaie_c +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtc2cxIjoibXVsdGlfYWxnb18xMyIsIm1zZzIiOiJwcm9jZXNzZWRfbXVsdGlfYWxnb18xMyJ9._uE_pFpXZ0Vw7Pk3SCG5hS6Llh1-ZNAD7_h73ku8EtE +# {'msg1': 'multi_algo_13', 'msg2': 'processed_multi_algo_13'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --message = 'multi_algo_11' +# --algo = 'HS384' +# Output: +# eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJtc2cxIjoibXVsdGlfYWxnb18xMSJ9.xSLaRA-QG4hTWnbS4A6VyPVcwD38Sd0AlS3NvA_0V_PVritFW3QTBmzGUFOhJHpF +# eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJtc2cxIjoibXVsdGlfYWxnb18xMSIsIm1zZzIiOiJwcm9jZXNzZWRfbXVsdGlfYWxnb18xMSJ9.e8KlUOTJ4SRmvXqeKh-vDMt1frGmIsYdKn4NuCswue4r-6Zyg-PgoRtlfN_p9kKI +# {'msg1': 'multi_algo_11', 'msg2': 'processed_multi_algo_11'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --message = 'multi_algo_18' +# --algo = 'HS256' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtc2cxIjoibXVsdGlfYWxnb18xOCJ9.7l3r28WuwB4i75dchRzrHi6E2wYuSgUqMGKtKULBioE +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtc2cxIjoibXVsdGlfYWxnb18xOCIsIm1zZzIiOiJwcm9jZXNzZWRfbXVsdGlfYWxnb18xOCJ9.iV_2iNQavgvrpt0n-gN1F-iwLEJV3024rdELmu47-MM +# {'msg1': 'multi_algo_18', 'msg2': 'processed_multi_algo_18'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --message = 'multi_algo_12' +# --algo = 'HS384' +# Output: +# eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJtc2cxIjoibXVsdGlfYWxnb18xMiJ9.l-iSRn7nlJbXKxR3S9EMoRC-W6-fL1RTa2YPW8lml3DaD1Ls2aGJGu4hLg63XuXs +# eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJtc2cxIjoibXVsdGlfYWxnb18xMiIsIm1zZzIiOiJwcm9jZXNzZWRfbXVsdGlfYWxnb18xMiJ9.twgaOm8vKOvIkfJp79UX7nNXO5hWiHfQJLdWNdb2KCDYGr48eQNMuhYs1Lc0fy5G +# {'msg1': 'multi_algo_12', 'msg2': 'processed_multi_algo_12'} +# Return Code: 0 diff --git a/jose/test19_executable.zip b/jose/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..670fe640cc090561ec728e3bd855edeea3d14c84 --- /dev/null +++ b/jose/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59fa5bcf8045c95d28005b71252d683308c41970e886ce46b8ed98b60dcb5cfe +size 14669720 diff --git a/jose/test1_executable.zip b/jose/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f3e3f416213992473ed240d576f949650849e8b5 --- /dev/null +++ b/jose/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37a9cff9af3f35be7bc16299e48fba6c61160a879dcdbe3be716dc3a79292223 +size 14669139 diff --git a/jose/test2.py b/jose/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..f3ffaae6c527d83e3beea201d7dc7b1b7a60526e --- /dev/null +++ b/jose/test2.py @@ -0,0 +1,52 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--user', type=str, required=True) +parser.add_argument('--exp', type=int, required=True, help='expiration time in seconds') +args = parser.parse_args() + +# 使用jwt.encode创建带过期时间的JWT token +secret = "secret_123" +payload = { + "sub": args.user, + "exp": args.exp # 过期时间戳 +} +token = jwt.encode(payload, secret, algorithm="HS256") +print(token) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --user = 'user_13' +# --exp = 1773009350 +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEzIiwiZXhwIjoxNzczMDA5MzUwfQ.GEUP8ZuU95eRg2bYdpo0haAQbInsgb9HTYPIws1vEHM +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --user = 'user_12' +# --exp = 1773005750 +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyIiwiZXhwIjoxNzczMDA1NzUwfQ._Z2yeKEAJ1E6-jon51tt2-iRtbgJAh67gxGtBpHjPL0 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --user = 'user_11' +# --exp = 1773002150 +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzExIiwiZXhwIjoxNzczMDAyMTUwfQ.emAS7ntQuPPHms1d2zpKthXGU0o2DL317VlRWJCQLVU +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --user = 'user_6' +# --exp = 1772984150 +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzYiLCJleHAiOjE3NzI5ODQxNTB9.GGFWG4oXADoTkmPEhl_PjLPX3t5vPgPY7HajZrZKp7M +# Return Code: 0 diff --git a/jose/test2_executable.zip b/jose/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a42f62038be64a3050818968a87df4650188046b --- /dev/null +++ b/jose/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d9b4a58f75f05fb71ed65dfa410ca34226f306b496ac66a62e5f46f8c817460 +size 14666789 diff --git a/jose/test3.py b/jose/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..e80de86c84e5c48edd8aef9797db8fbf12412bdd --- /dev/null +++ b/jose/test3.py @@ -0,0 +1,57 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--username', type=str, required=True) +parser.add_argument('--role', type=str, required=True) +args = parser.parse_args() + +# 1. 使用jwt.encode创建包含用户信息的JWT token +secret = "super_secret" +payload = {"username": args.username, "role": args.role} +token = jwt.encode(payload, secret, algorithm="HS256") +print(token) + +# 2. 使用jwt.decode验证并解码JWT token,验证签名和过期时间(如果存在) +decoded = jwt.decode(token, secret, algorithms=["HS256"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --username = 'username_1' +# --role = 'user' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXJuYW1lXzEiLCJyb2xlIjoidXNlciJ9.98h9OCJ2yqMLUh982A59Mz4GsfL8S9_HARZuIpCA2qM +# {'username': 'username_1', 'role': 'user'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --username = 'username_13' +# --role = 'user' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXJuYW1lXzEzIiwicm9sZSI6InVzZXIifQ.Ysmjm_bgsNnErVQvbQpLFDqftfm2znohYfiY9kFjGyg +# {'username': 'username_13', 'role': 'user'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --username = 'username_20' +# --role = 'moderator' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXJuYW1lXzIwIiwicm9sZSI6Im1vZGVyYXRvciJ9.JLRUxzMBe0JfqMVH_h2iaK3aaUl1AzMmz9EYZkEA7_8 +# {'username': 'username_20', 'role': 'moderator'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --username = 'username_19' +# --role = 'user' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXJuYW1lXzE5Iiwicm9sZSI6InVzZXIifQ.2Gk_nVhKjuTQXDfB8KDhSL9yOTlr0-WXzkIe-1r6hfs +# {'username': 'username_19', 'role': 'user'} +# Return Code: 0 diff --git a/jose/test3_executable.zip b/jose/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7830d6dc95b2139fe68ac9fc819e0baabe141675 --- /dev/null +++ b/jose/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:106a31edf4428bcf1e0d95e00c6455956108d88b82e1da9f293684777187a52f +size 14670104 diff --git a/jose/test4.py b/jose/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..8ddbfdbc0a2387e68fecaa31139bff42697d9e05 --- /dev/null +++ b/jose/test4.py @@ -0,0 +1,57 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--data', type=str, required=True) +parser.add_argument('--algorithm', type=str, required=True, choices=['HS256', 'HS384', 'HS512']) +args = parser.parse_args() + +# 使用不同的HMAC算法(HS256, HS384, HS512)进行JWT编码 +secret = "my_key" +payload = {"info": args.data} +token = jwt.encode(payload, secret, algorithm=args.algorithm) +print(token) + +# 验证算法并解码 +decoded = jwt.decode(token, secret, algorithms=[args.algorithm]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --data = 'alg_test_3' +# --algorithm = 'HS256' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZvIjoiYWxnX3Rlc3RfMyJ9.M_EzN11gBDTXYtxIAF93fWC5UhWl33IlpSes_wHdDJs +# {'info': 'alg_test_3'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --data = 'alg_test_8' +# --algorithm = 'HS512' +# Output: +# eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpbmZvIjoiYWxnX3Rlc3RfOCJ9.DrOCwIIx8-0GO3VJuUK3i5YRjgojthGWqIw6XkOywhAja82NM-LNrG2r3pOXbDesmhRcKrokAYZ2VMVyQd6beA +# {'info': 'alg_test_8'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --data = 'alg_test_20' +# --algorithm = 'HS512' +# Output: +# eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpbmZvIjoiYWxnX3Rlc3RfMjAifQ.YBz93_luLL7oAPOkbMdD55GnZJbFBUaRbDVDvEaByispK3VU6NEHQAZtFkp8qzqIGPkxbryH5VnmJ00swzQsRg +# {'info': 'alg_test_20'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --data = 'alg_test_6' +# --algorithm = 'HS256' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZvIjoiYWxnX3Rlc3RfNiJ9.7kmu9rwGi16sHvn-HE1Bvw7jkCFkJ4wynwMvxdrSUqM +# {'info': 'alg_test_6'} +# Return Code: 0 diff --git a/jose/test4_executable.zip b/jose/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e135f768641eb4ee04137dc9e97496f55260cd80 --- /dev/null +++ b/jose/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fae8f69542f7f722b013efe36e2c8ae4a654037af2ee5c38c3dda1e2d54ee15d +size 14666859 diff --git a/jose/test6.py b/jose/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..77c642490dca96e4d75b2a4d0964e2ce5035a199 --- /dev/null +++ b/jose/test6.py @@ -0,0 +1,60 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--client', type=str, required=True) +parser.add_argument('--audience', type=str, required=True) +args = parser.parse_args() + +# JWT的audience claim用于指定token的预期接收者 +secret = "client_secret" +payload = { + "client": args.client, + "aud": args.audience # audience,指定接收方 +} +token = jwt.encode(payload, secret) +print(token) + +# 解码时必须提供相同的audience参数进行验证 +decoded = jwt.decode(token, secret, audience=args.audience, algorithms=["HS256"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --client = 'client_8' +# --audience = 'admin_panel' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnQiOiJjbGllbnRfOCIsImF1ZCI6ImFkbWluX3BhbmVsIn0.RtdI4Lik5yE9wgTILwSNELlukeqBkNi3zR5R8unow1c +# {'client': 'client_8', 'aud': 'admin_panel'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --client = 'client_11' +# --audience = 'mobile_app' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnQiOiJjbGllbnRfMTEiLCJhdWQiOiJtb2JpbGVfYXBwIn0.06NcJhDHL5FQZ7V3FbLflcudwH7Po9DSwddvib5AKy4 +# {'client': 'client_11', 'aud': 'mobile_app'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --client = 'client_20' +# --audience = 'web_frontend' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnQiOiJjbGllbnRfMjAiLCJhdWQiOiJ3ZWJfZnJvbnRlbmQifQ.ZgyGzCT3kWM7sf44vOMk8Fv1RdpKxgke5FD7EgfjzDU +# {'client': 'client_20', 'aud': 'web_frontend'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --client = 'client_7' +# --audience = 'admin_panel' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnQiOiJjbGllbnRfNyIsImF1ZCI6ImFkbWluX3BhbmVsIn0.P8-XfJqZ3rUm-T2JGelAqcq1HpNyc-H3IZm6gcG_sgg +# {'client': 'client_7', 'aud': 'admin_panel'} +# Return Code: 0 diff --git a/jose/test6_executable.zip b/jose/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7077939a092defa9859fd73b155815de94873458 --- /dev/null +++ b/jose/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94582fe7d071f422f489e46b86fa043b461581467fb98d725adb018a68081e27 +size 14669845 diff --git a/jose/test7.py b/jose/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..8da4a92850f97bc0ce1c177a955a1fe1ac55fac0 --- /dev/null +++ b/jose/test7.py @@ -0,0 +1,60 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--service', type=str, required=True) +parser.add_argument('--issuer', type=str, required=True) +args = parser.parse_args() + +# issuer claim标识token的签发者 +secret = "service_key" +payload = { + "service": args.service, + "iss": args.issuer # issuer,签发者标识 +} +token = jwt.encode(payload, secret) +print(token) + +# 解码时验证issuer +decoded = jwt.decode(token, secret, issuer=args.issuer, algorithms=["HS256"]) +print(decoded) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --service = 'service_4' +# --issuer = 'oauth_provider' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXJ2aWNlIjoic2VydmljZV80IiwiaXNzIjoib2F1dGhfcHJvdmlkZXIifQ.KVKcdoEeIu53Bxjiudw3UKO9XW-ojoBnSxl5jta7jKI +# {'service': 'service_4', 'iss': 'oauth_provider'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --service = 'service_3' +# --issuer = 'keycloak' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXJ2aWNlIjoic2VydmljZV8zIiwiaXNzIjoia2V5Y2xvYWsifQ.ac_4YnnZr059U-Uf57bQ1MJXUc6o4Rc2ajx60RB5eKQ +# {'service': 'service_3', 'iss': 'keycloak'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --service = 'service_11' +# --issuer = 'auth_server' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXJ2aWNlIjoic2VydmljZV8xMSIsImlzcyI6ImF1dGhfc2VydmVyIn0.9G_uRBXX3wNhXuMA3IqXLzVXAekgNcMbuzrL5AihSXE +# {'service': 'service_11', 'iss': 'auth_server'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --service = 'service_16' +# --issuer = 'oauth_provider' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXJ2aWNlIjoic2VydmljZV8xNiIsImlzcyI6Im9hdXRoX3Byb3ZpZGVyIn0.SQNnO1CLZ05BJEnZvBuhjM74ahmK86ImSFiiUOA67-U +# {'service': 'service_16', 'iss': 'oauth_provider'} +# Return Code: 0 diff --git a/jose/test7_executable.zip b/jose/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..3b8cd5e2e7ebc5fb4869da7b975ec7d1575dc329 --- /dev/null +++ b/jose/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c0064c85adf2cea8b07cefd0affb7ff0b9a76e1245524a2801701a8e31768d6 +size 14668404 diff --git a/jose/test8.py b/jose/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..5fdbe4b7825a9b660aa651cbd2784e14013c61af --- /dev/null +++ b/jose/test8.py @@ -0,0 +1,68 @@ +import argparse +from jose import jwt + +parser = argparse.ArgumentParser() +parser.add_argument('--payload', type=str, required=True) +parser.add_argument('--secret', type=str, required=True) +args = parser.parse_args() + +# 演示如何使用get_unverified_claims和get_unverified_header +# 这些函数在不验证签名的情况下提取信息(可能不安全) +secret = args.secret +payload = {"data": args.payload} + +# 创建token +token = jwt.encode(payload, secret) +print(token) + +# 获取未验证的claims(不验证签名) +claims = jwt.get_unverified_claims(token) +print(claims) + +# 获取未验证的header +header = jwt.get_unverified_header(token) +print(header) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --payload = 'unverified_data_14' +# --secret = 'unverified_secret_14' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidW52ZXJpZmllZF9kYXRhXzE0In0.EoXM-_XC9SFLRenyieuOdvqRCWHdP0KZG8x77vJlYCI +# {'data': 'unverified_data_14'} +# {'alg': 'HS256', 'typ': 'JWT'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --payload = 'unverified_data_7' +# --secret = 'unverified_secret_7' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidW52ZXJpZmllZF9kYXRhXzcifQ.kblC0ipmA654mYruVmNmy6nX6ro_RtMbeRZh0fmWOh0 +# {'data': 'unverified_data_7'} +# {'alg': 'HS256', 'typ': 'JWT'} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --payload = 'unverified_data_13' +# --secret = 'unverified_secret_13' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidW52ZXJpZmllZF9kYXRhXzEzIn0.Af_DyRId6zotiNQ-6WTrS-apVWhzhG0I14Hh-ATw_aY +# {'data': 'unverified_data_13'} +# {'alg': 'HS256', 'typ': 'JWT'} +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --payload = 'unverified_data_10' +# --secret = 'unverified_secret_10' +# Output: +# eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidW52ZXJpZmllZF9kYXRhXzEwIn0.baWzaMusOYl4rfRdH_vvFM_2T5c6qppjMSivjyNNOLw +# {'data': 'unverified_data_10'} +# {'alg': 'HS256', 'typ': 'JWT'} +# Return Code: 0 diff --git a/jose/test8_executable.zip b/jose/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..aec5a351b1dd64ac9dbd1cc4e2b992cf6b9d0ea5 --- /dev/null +++ b/jose/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63fcb87675a59150aa2136ddad357fb674a3d26a551835848ac87e75dc0ea28b +size 14668757 diff --git a/jose/test9.py b/jose/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..2347ee2c12f99fa97e1c54cf01c4e681d6332fcc --- /dev/null +++ b/jose/test9.py @@ -0,0 +1,56 @@ +import argparse +from jose import jwt +import hashlib + +parser = argparse.ArgumentParser() +parser.add_argument('--access_token', type=str, required=True) +parser.add_argument('--alg', type=str, required=True, choices=['HS256', 'HS384', 'HS512']) +args = parser.parse_args() + +# calculate_at_hash用于OpenID Connect,计算access token的哈希值 +# 需要传入access token和对应的hash算法(根据ID token的alg决定) +hash_algorithms = { + 'HS256': hashlib.sha256, + 'HS384': hashlib.sha384, + 'HS512': hashlib.sha512 +} + +# 计算at_hash用于ID token验证 +at_hash = jwt.calculate_at_hash(args.access_token, hash_algorithms[args.alg]) +print(at_hash) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --access_token = 'access_token_12' +# --alg = 'HS256' +# Output: +# ZOErQ_wU_87IvwV7oEgiEA +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --access_token = 'access_token_13' +# --alg = 'HS384' +# Output: +# sb3RWfmAOd32W9seGGaF8ZB4FOuGdGI_ +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --access_token = 'access_token_18' +# --alg = 'HS256' +# Output: +# YmIVfISU4CkMt60d6t9SKA +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --access_token = 'access_token_2' +# --alg = 'HS512' +# Output: +# ENfkF-ItRJwYhoVZFE85xYdQYnV0ZAooKWyjhZRyrfU +# Return Code: 0 diff --git a/jose/test9_executable.zip b/jose/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a593738efb1e2f15d1b149eb7e6fa32dbb36f19a --- /dev/null +++ b/jose/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38fe27fe4a6b4c68ec8f4c75f0eeb2bf6e0a2b3d294c261cbea03c2698dee03e +size 14669182 diff --git a/jose/test_cases.json b/jose/test_cases.json new file mode 100644 index 0000000000000000000000000000000000000000..d9521fc1984dce76757da6778a0fffccd1282943 --- /dev/null +++ b/jose/test_cases.json @@ -0,0 +1,7 @@ +[ + "--payload 'test_message' --secret 'my_secret_key'", + "--payload '' --secret ''", + "--payload 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' --secret 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'", + "--payload 'message with spaces and \"quotes\"' --secret 'secret!@#$%^&*()'", + "--payload 'Hello 世界 🌍' --secret '🔑密钥123'" +] diff --git a/jose/test_python_cases.sh b/jose/test_python_cases.sh new file mode 100644 index 0000000000000000000000000000000000000000..e756713fa4e3aa9b941698e2e7265fc64ed88004 --- /dev/null +++ b/jose/test_python_cases.sh @@ -0,0 +1,9 @@ +#!/bin/bash +echo "Test Case 1:" +python3 test16.py --action refresh --jti jti_14 +echo -e "\nTest Case 2:" +python3 test16.py --action verify --jti jti_18 +echo -e "\nTest Case 3:" +python3 test16.py --action refresh --jti jti_19 +echo -e "\nTest Case 4:" +python3 test16.py --action refresh --jti jti_15 diff --git a/jsonschema/__pycache__/test15.cpython-312.pyc b/jsonschema/__pycache__/test15.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..48e0daae469607fdba4361699261a5113a2e0448 Binary files /dev/null and b/jsonschema/__pycache__/test15.cpython-312.pyc differ diff --git a/jsonschema/python_output.txt b/jsonschema/python_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..7a92624d6402870973db1c6103ff022dd3619578 --- /dev/null +++ b/jsonschema/python_output.txt @@ -0,0 +1,7 @@ +Valid instance test: +Number of errors: 0 +Total errors in tree: 0 +Is valid: True + +Invalid instance test: +Number of errors: 1 diff --git a/jsonschema/test1.py b/jsonschema/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..324ac5ccd197cd046b8482af7ba860d92f240d89 --- /dev/null +++ b/jsonschema/test1.py @@ -0,0 +1,14 @@ +import argparse +import json +import jsonschema + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance data (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +result = jsonschema.validate(instance, schema) # Basic validation of instance against schema +print(result) diff --git a/jsonschema/test10.py b/jsonschema/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..c10ee5fab3baa87c4855428c4298dd886f19fe6c --- /dev/null +++ b/jsonschema/test10.py @@ -0,0 +1,17 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +schema = json.loads(args.a) + +validator = Draft7Validator(schema) # Create validator +check_schema_result = validator.check_schema(schema) # Check if schema is valid +evolved = validator.evolve(schema={}) # Create evolved validator + +print(check_schema_result) +print(evolved.schema) diff --git a/jsonschema/test10_executable.zip b/jsonschema/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6cbaf7a920713f2cf6f4ad51850fe528b69a2955 --- /dev/null +++ b/jsonschema/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d78d013b1c8567f1357fb76187d98f80a7b908a5d94149d144ef493e6dd71f5 +size 16694176 diff --git a/jsonschema/test11.py b/jsonschema/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..efd7779bded18a9eb42425b73b6706700eefabf8 --- /dev/null +++ b/jsonschema/test11.py @@ -0,0 +1,27 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, ValidationError + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +validator = Draft7Validator(schema) +errors = list(validator.iter_errors(instance)) # Get all errors + +if errors: + err = errors[0] + print(err.message) # Print first error message + print(err.validator) # Print validator that failed + print(list(err.path)) # Print path to error + print(list(err.schema_path)) # Print path in schema +else: + print("valid") + print("valid") + print([]) + print([]) diff --git a/jsonschema/test11_executable.zip b/jsonschema/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..73ef37bbd005bfd1f89df6474d4c9a042b219cfe --- /dev/null +++ b/jsonschema/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2a2686a9f706c092ed5c61e1386f6d92dd6d3120211aa8faa0ec997c0660e5e +size 16693586 diff --git a/jsonschema/test12.py b/jsonschema/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..cbdbd8fe63651700f8604c4583551d0192b088ec --- /dev/null +++ b/jsonschema/test12.py @@ -0,0 +1,31 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft202012Validator, Draft201909Validator + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +v2020 = Draft202012Validator(schema) # Create Draft202012Validator +v2019 = Draft201909Validator(schema) # Create Draft201909Validator + +r1 = v2020.is_valid(instance) # Validate with Draft2020 +r2 = v2019.is_valid(instance) # Validate with Draft2019 + +e1 = list(v2020.iter_errors(instance)) # Get errors from Draft2020 +e2 = list(v2019.iter_errors(instance)) # Get errors from Draft2019 + +v2020_check = v2020.check_schema(schema) # Check schema validity Draft2020 +v2019_check = v2019.check_schema(schema) # Check schema validity Draft2019 + +print(r1) +print(r2) +print(len(e1)) +print(len(e2)) +print(v2020_check) +print(v2019_check) diff --git a/jsonschema/test12_executable.zip b/jsonschema/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..473f122a3b24876a650da531b607b7566108a241 --- /dev/null +++ b/jsonschema/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99220a2874ca486011c70e56cba469e02aaf6e78d08226b2d91f1913f7c1832a +size 16693515 diff --git a/jsonschema/test13.py b/jsonschema/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..c382763fd388b022a6b705a10e34903b9472e0b0 --- /dev/null +++ b/jsonschema/test13.py @@ -0,0 +1,23 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, validators + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +# Use validator_for to get appropriate validator class +validator_class = validators.validator_for(schema) # Get validator class for schema +validator = validator_class(schema) # Create instance + +result = validator.is_valid(instance) # Validate +errors = list(validator.iter_errors(instance)) # Get errors + +print(validator_class.__name__) +print(result) +print(len(errors)) diff --git a/jsonschema/test13_executable.zip b/jsonschema/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4a1ca60db42c3537a9aa8f31a89ec4fd95809b3f --- /dev/null +++ b/jsonschema/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33e0e7000b053aa92b04838578624d7b23b2331de12684eeb7197e971ba15d6f +size 16694827 diff --git a/jsonschema/test14.py b/jsonschema/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..3e1119c1bf44865f8a093de6045b32ab672b49b1 --- /dev/null +++ b/jsonschema/test14.py @@ -0,0 +1,22 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, validators, ValidationError + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +# Create extended validator +ExtendedValidator = validators.extend(Draft7Validator) # Extend Draft7Validator +validator = ExtendedValidator(schema) # Create instance + +result = validator.is_valid(instance) # Validate with extended validator +errors = list(validator.iter_errors(instance)) # Get errors + +print(result) +print(len(errors)) diff --git a/jsonschema/test14_executable.zip b/jsonschema/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e70d235cad77639aaa02cc4dbb0869fa9d574710 --- /dev/null +++ b/jsonschema/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:437971700dc2c1e74d67df22df739ec2d29907fd9bd8e8e71c3eec501e1a6fb9 +size 16693120 diff --git a/jsonschema/test15.py b/jsonschema/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..926f1f8e64e946a555c903bf2fc6443cd8be7f6f --- /dev/null +++ b/jsonschema/test15.py @@ -0,0 +1,32 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, exceptions + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +validator = Draft7Validator(schema) +errors = list(validator.iter_errors(instance)) + +if errors: + # Use best_match to find most relevant error + best = exceptions.best_match(errors) # Get best matching error + print(best.message) + + # Use by_relevance to sort errors + sorted_errors = sorted(errors, key=exceptions.by_relevance()) # Sort by relevance + print(sorted_errors[0].message) + + print(len(errors)) + print(best.validator) +else: + print("valid") + print("valid") + print("valid") + print("valid") diff --git a/jsonschema/test15_executable.zip b/jsonschema/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c31b6e87198367f06a275e03eeecbec11d8068d7 --- /dev/null +++ b/jsonschema/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1e68c8f2e689dbce10a53f4d23e370a54a91bd14000f6fafda560e484090ac5 +size 16695641 diff --git a/jsonschema/test16.py b/jsonschema/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..76275d4146117ac6a7a4d0b0bfbbaf8d54a2a24e --- /dev/null +++ b/jsonschema/test16.py @@ -0,0 +1,36 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, FormatChecker, ValidationError + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance array (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance_array = json.loads(args.a) +schema = json.loads(args.b) + +# Complex multi-step validation +format_checker = FormatChecker() # Create format checker +validator = Draft7Validator(schema, format_checker=format_checker) # Create validator with format checker + +results = [] +error_counts = [] + +# Validate each item in array +for i, item in enumerate(instance_array): + valid = validator.is_valid(item) # Validate each item + results.append(valid) + errs = list(validator.iter_errors(item)) # Get errors for item + error_counts.append(len(errs)) + +# Re-validate with evolved validator +evolved = validator.evolve(schema=schema) # Evolve validator +recheck = evolved.is_valid(instance_array[0] if instance_array else {}) # Validate first item again + +print(len(results)) +print(sum(results)) +print(sum(error_counts)) +print(recheck) +print(len(format_checker.checkers)) # Number of format checkers diff --git a/jsonschema/test16_executable.zip b/jsonschema/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b3394c69a3ecedca376677a97a844cab70f6c5ef --- /dev/null +++ b/jsonschema/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf332b50803f022b396f82fd9fb50b82144c6e20106932545f8ff924954e4759 +size 16694081 diff --git a/jsonschema/test18.py b/jsonschema/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..a75dd6fc3483574aa43fe1838591af356a720056 --- /dev/null +++ b/jsonschema/test18.py @@ -0,0 +1,49 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, ErrorTree, ValidationError + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +validator = Draft7Validator(schema) + +# Build error tree +errors = list(validator.iter_errors(instance)) # Get all errors +tree = ErrorTree(errors) # Build error tree + +# Navigate tree +total = tree.total_errors # Total errors in tree + +# Iterate multiple times +first_pass = list(validator.iter_errors(instance)) +second_pass = list(validator.iter_errors(instance)) + +# Check instance multiple times with different approaches +check1 = validator.is_valid(instance) +check2 = validator.is_valid(instance) +check3 = validator.is_valid(instance) + +# Validate schema multiple times +schema_check1 = validator.check_schema(schema) +schema_check2 = validator.check_schema(schema) + +# Create error trees for each pass +tree1 = ErrorTree(first_pass) +tree2 = ErrorTree(second_pass) + +print(total) +print(len(first_pass)) +print(len(second_pass)) +print(check1) +print(check2) +print(check3) +print(schema_check1) +print(schema_check2) +print(tree1.total_errors) +print(tree2.total_errors) diff --git a/jsonschema/test18_executable.zip b/jsonschema/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6384a223e3c61a145999493487e9e8ae56bf6f0c --- /dev/null +++ b/jsonschema/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8901cfbcf431ea3d5f3a2a1c440505875aac5638ac3d21df24f90777da705f1a +size 16694914 diff --git a/jsonschema/test19.py b/jsonschema/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..fe7bf7042b9ae946908fab2626c1eaf33c882ee9 --- /dev/null +++ b/jsonschema/test19.py @@ -0,0 +1,48 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, Draft6Validator, validators, exceptions + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +# Get appropriate validator class +validator_class = validators.validator_for(schema) # Determine validator class +validator = validator_class(schema) # Create validator + +# Validate and get errors +is_valid = validator.is_valid(instance) +errors = list(validator.iter_errors(instance)) + +# Find best match error if any +if errors: + best_error = exceptions.best_match(errors) + sorted_errors = sorted(errors, key=exceptions.by_relevance()) + + print(is_valid) + print(len(errors)) + print(best_error.message) + print(sorted_errors[0].message) + print(best_error.validator) + print(len(sorted_errors)) +else: + print(is_valid) + print(len(errors)) + print("valid") + print("valid") + print("valid") + print(len(errors)) + +# Check schema +schema_check = validator.check_schema(schema) +print(schema_check) + +# Create evolved validator +evolved = validator.evolve(schema=schema) +evolved_valid = evolved.is_valid(instance) +print(evolved_valid) diff --git a/jsonschema/test19_executable.zip b/jsonschema/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0667a2339e22f8e1b39f1255c288c94446303cab --- /dev/null +++ b/jsonschema/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:145ea7e63fd92d7aa20785f670569ba5f8b66c8211170b511507d8c5d000f963 +size 16694746 diff --git a/jsonschema/test1_executable.zip b/jsonschema/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..33528e0cb2a0ba99e6d9fb051baf458b00014be9 --- /dev/null +++ b/jsonschema/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a63278aae73dbac41b803046f889e7edd10e9d11daf33ecfc31c949018eae3a1 +size 16694843 diff --git a/jsonschema/test2.py b/jsonschema/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..422aa82ed6e50727f7df5633f6c318812f1b442e --- /dev/null +++ b/jsonschema/test2.py @@ -0,0 +1,18 @@ +import argparse +import json +import jsonschema +from jsonschema import ValidationError + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance data (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +try: + jsonschema.validate(instance, schema) # Validate and catch ValidationError + print("valid") +except ValidationError as e: + print(e.message) diff --git a/jsonschema/test20.py b/jsonschema/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..a8fd0fcc6692bc4d300708129f66fe8a0f1e4a50 --- /dev/null +++ b/jsonschema/test20.py @@ -0,0 +1,77 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, Draft6Validator, Draft4Validator, Draft202012Validator, Draft201909Validator +from jsonschema import FormatChecker, ErrorTree, exceptions, validators + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +# Create all version validators +v4 = Draft4Validator(schema) +v6 = Draft6Validator(schema) +v7 = Draft7Validator(schema) +v2019 = Draft201909Validator(schema) +v2020 = Draft202012Validator(schema) + +# Validate with each version +valid_v4 = v4.is_valid(instance) +valid_v6 = v6.is_valid(instance) +valid_v7 = v7.is_valid(instance) +valid_2019 = v2019.is_valid(instance) +valid_2020 = v2020.is_valid(instance) + +# Get error counts for each +errs_v4 = len(list(v4.iter_errors(instance))) +errs_v6 = len(list(v6.iter_errors(instance))) +errs_v7 = len(list(v7.iter_errors(instance))) +errs_2019 = len(list(v2019.iter_errors(instance))) +errs_2020 = len(list(v2020.iter_errors(instance))) + +# Check schemas +check_v4 = v4.check_schema(schema) +check_v6 = v6.check_schema(schema) +check_v7 = v7.check_schema(schema) +check_2019 = v2019.check_schema(schema) +check_2020 = v2020.check_schema(schema) + +# Build error trees +errors_v7 = list(v7.iter_errors(instance)) +tree_v7 = ErrorTree(errors_v7) + +# Get format checker +format_checker = FormatChecker() +checker_count = len(format_checker.checkers) + +# Determine validator for schema +auto_validator = validators.validator_for(schema) + +# Evolve validators +evolved_v7 = v7.evolve(schema=schema) +evolved_valid = evolved_v7.is_valid(instance) + +print(valid_v4) +print(valid_v6) +print(valid_v7) +print(valid_2019) +print(valid_2020) +print(errs_v4) +print(errs_v6) +print(errs_v7) +print(errs_2019) +print(errs_2020) +print(check_v4) +print(check_v6) +print(check_v7) +print(check_2019) +print(check_2020) +print(tree_v7.total_errors) +print(checker_count) +print(auto_validator.__name__) +print(evolved_valid) +print(valid_v7 == evolved_valid) diff --git a/jsonschema/test20_executable.zip b/jsonschema/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2a829c9e34bad846be9a01ae573b9c94994dd9a0 --- /dev/null +++ b/jsonschema/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6ed549223002b3d11235f63560f810f92864822a451965cacb56b262b1a9f22 +size 16693684 diff --git a/jsonschema/test2_executable.zip b/jsonschema/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f3cd3244a664a3f62ef8d30806e57bf7f78fa8ba --- /dev/null +++ b/jsonschema/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15b8e10c5991922a191ec60f2afae3f817d8e8ca11df7c74e4cce9e3587b5ede +size 16694065 diff --git a/jsonschema/test3.py b/jsonschema/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..93e96254259775c3f57c48415bd684d1421e31e6 --- /dev/null +++ b/jsonschema/test3.py @@ -0,0 +1,13 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +schema = json.loads(args.a) + +validator = Draft7Validator(schema) # Create Draft7Validator instance +print(validator.schema) diff --git a/jsonschema/test3_executable.zip b/jsonschema/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..08475f75ad59d8ecca9ce89b1dbc25e85ffb46cc --- /dev/null +++ b/jsonschema/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2f77a76ce8d12ab3a3263b4428b3fe193a721955bfdddda53ce35376ceaa4d9 +size 16693965 diff --git a/jsonschema/test4.py b/jsonschema/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..db52e07050d6018df9651bfc657f3cf391ecdb92 --- /dev/null +++ b/jsonschema/test4.py @@ -0,0 +1,16 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +validator = Draft7Validator(schema) # Create validator with schema +result = validator.is_valid(instance) # Check if instance is valid (returns bool) +print(result) diff --git a/jsonschema/test4_executable.zip b/jsonschema/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..39a96be005fe0336c3e86f9e8b0c264d384b9920 --- /dev/null +++ b/jsonschema/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77a57488d081d5371ed5f0e39f61ca6802c4a7937ac73986419e234720222e8c +size 16694175 diff --git a/jsonschema/test5.py b/jsonschema/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..db77d3c86dae978f60b4dee1e91aa594917f098a --- /dev/null +++ b/jsonschema/test5.py @@ -0,0 +1,16 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +validator = Draft7Validator(schema) +errors = list(validator.iter_errors(instance)) # Iterate over all validation errors +print(len(errors)) diff --git a/jsonschema/test5_executable.zip b/jsonschema/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..cd7890f48083efc9ece9d9272dce6c892d3a95d5 --- /dev/null +++ b/jsonschema/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be88f4e9b8ec994e53e0a7997d6b382e83e963d02552258a476b05121a4328f2 +size 16695070 diff --git a/jsonschema/test6.py b/jsonschema/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..1621293088acca2779eea0cccb084c729df9e76d --- /dev/null +++ b/jsonschema/test6.py @@ -0,0 +1,24 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, Draft6Validator, Draft4Validator + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +v4 = Draft4Validator(schema) # Create Draft4Validator +v6 = Draft6Validator(schema) # Create Draft6Validator +v7 = Draft7Validator(schema) # Create Draft7Validator + +r4 = v4.is_valid(instance) # Check validity with Draft4 +r6 = v6.is_valid(instance) # Check validity with Draft6 +r7 = v7.is_valid(instance) # Check validity with Draft7 + +print(r4) +print(r6) +print(r7) diff --git a/jsonschema/test6_executable.zip b/jsonschema/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4f7bc878791ed01e48e214a6225b8db952dd7e1d --- /dev/null +++ b/jsonschema/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d2c8889fa5e0b7f95a8d93f631f83ce1449804cedb321f5791fffa3f87b3afc +size 16695190 diff --git a/jsonschema/test7.mjs b/jsonschema/test7.mjs new file mode 100644 index 0000000000000000000000000000000000000000..17c6af36c43320ba13329636871026883490c2f1 --- /dev/null +++ b/jsonschema/test7.mjs @@ -0,0 +1,36 @@ +#!/usr/bin/env node + +import { argv } from 'process'; +import { parseJSON } from '/home/RepoArena/output_mini/ernie-5.0/packages/jsonschema/compare_outputs_pkg/utils.mjs'; +import { Draft7Validator, ErrorTree } from '/home/RepoArena/output_mini/ernie-5.0/packages/jsonschema/compare_outputs_pkg/validator.mjs'; + +// Parse command line arguments +let instanceArg = ''; +let schemaArg = ''; + +for (let i = 2; i < argv.length; i++) { + if (argv[i] === '--a' && i + 1 < argv.length) { + instanceArg = argv[i + 1]; + i++; + } else if (argv[i] === '--b' && i + 1 < argv.length) { + schemaArg = argv[i + 1]; + i++; + } +} + +if (!instanceArg || !schemaArg) { + console.error('Usage: node test7.mjs --a --b '); + process.exit(1); +} + +const instance = parseJSON(instanceArg); +const schema = parseJSON(schemaArg); + +const validator = new Draft7Validator(schema); +const errors = validator.iter_errors(instance); +const tree = new ErrorTree(errors); + +console.log(errors.length); +console.log(tree.total_errors); +// Match Python's capitalization: True/False instead of true/false +console.log(validator.is_valid(instance) ? 'True' : 'False'); diff --git a/jsonschema/test7.py b/jsonschema/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..e7cdc33efcd05db8854a7501c661ba2853468d07 --- /dev/null +++ b/jsonschema/test7.py @@ -0,0 +1,20 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator, ErrorTree + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +validator = Draft7Validator(schema) # Create validator +errors = list(validator.iter_errors(instance)) # Get error list +tree = ErrorTree(errors) # Build error tree + +print(len(errors)) +print(tree.total_errors) +print(validator.is_valid(instance)) # Double check validity diff --git a/jsonschema/test7_executable.zip b/jsonschema/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e98ab935f951ad9040d1c4865a540d8b682e8096 --- /dev/null +++ b/jsonschema/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b4df03f72f1334a528bf90af05ba271ea5a263df7e89633f71046cdd92230d1 +size 16695616 diff --git a/jsonschema/test8.py b/jsonschema/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..8175011fa1937ed0d1381f9dfee038a5a0ac0d4d --- /dev/null +++ b/jsonschema/test8.py @@ -0,0 +1,16 @@ +import argparse +import json +import jsonschema +from jsonschema import Draft7Validator + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='schema (JSON string)') +parser.add_argument('--b', type=str, required=True, help='type name') +args = parser.parse_args() + +schema = json.loads(args.a) + +validator = Draft7Validator(schema) # Create validator +type_checker = validator.TYPE_CHECKER # Get type checker +result = type_checker.is_type(args.b, args.b) # Check if type exists +print(result) diff --git a/jsonschema/test8_executable.zip b/jsonschema/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..52576317c424e3e1f9ee76dd1b44ca9cfaaef35a --- /dev/null +++ b/jsonschema/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75d76e4604127e658aaaf018cadf213fd90a166240e2beaaabd4afdd94034d64 +size 16694678 diff --git a/jsonschema/test9.py b/jsonschema/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..9002c76fc8cc51203d9373aa4711b9c7228b3b3c --- /dev/null +++ b/jsonschema/test9.py @@ -0,0 +1,22 @@ +import argparse +import json +import jsonschema +from jsonschema import FormatChecker, Draft7Validator + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True, help='instance (JSON string)') +parser.add_argument('--b', type=str, required=True, help='schema (JSON string)') +parser.add_argument('--c', type=str, required=True, help='format type') +args = parser.parse_args() + +instance = json.loads(args.a) +schema = json.loads(args.b) + +format_checker = FormatChecker() # Create format checker +validator = Draft7Validator(schema, format_checker=format_checker) # Create validator with format checker + +result1 = validator.is_valid(instance) # Validate with format checking +result2 = format_checker.conforms(args.c, args.c) # Check format conformance + +print(result1) +print(result2) diff --git a/jsonschema/test9_executable.zip b/jsonschema/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d1918c9a91e16737824b946b7b126ff8a7cc3beb --- /dev/null +++ b/jsonschema/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dd7c0393a6e2c1b71fec6541577c7a502385cc73141c4a71734fc1877cf70ff +size 16694490 diff --git a/jsonschema/test_input.json b/jsonschema/test_input.json new file mode 100644 index 0000000000000000000000000000000000000000..11b83964bfb666af74ac4a6239f5dbbd1b989ae5 --- /dev/null +++ b/jsonschema/test_input.json @@ -0,0 +1,4 @@ +{ + "a": "[{\"name\": \"John\", \"age\": 30}, {\"name\": \"Jane\", \"age\": 25}]", + "b": "{\"type\": \"array\", \"items\": {\"type\": \"object\", \"properties\": {\"name\": {\"type\": \"string\"}, \"age\": {\"type\": \"integer\"}}, \"required\": [\"name\", \"age\"]}}" +} diff --git a/markdown/__pycache__/test10.cpython-310.pyc b/markdown/__pycache__/test10.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..47deff3efa78cdaa3303e34b5f19249e2943e331 Binary files /dev/null and b/markdown/__pycache__/test10.cpython-310.pyc differ diff --git a/markdown/__pycache__/test13.cpython-310.pyc b/markdown/__pycache__/test13.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..65fbd7c5982d40cac7dd1b9f6fba7e77e1fd9994 Binary files /dev/null and b/markdown/__pycache__/test13.cpython-310.pyc differ diff --git a/markdown/__pycache__/test2.cpython-310.pyc b/markdown/__pycache__/test2.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b3bd21792d716b9ab9398fc5a0941977ecc0f4fb Binary files /dev/null and b/markdown/__pycache__/test2.cpython-310.pyc differ diff --git a/markdown/test1.py b/markdown/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..58d88a46ab45bfb3cd17b1dc0e22b59c1b1e4075 --- /dev/null +++ b/markdown/test1.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Simple markdown to HTML conversion") + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + html_output = markdown.markdown(args.a) # Convert markdown text to HTML + print(html_output) # Print the converted HTML + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '普通段落\n\n另一个段落' +# Output: +#

普通段落

+#

另一个段落

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '- 无序项目1\n- 无序项目2\n- 无序项目3' +# Output: +#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '# 大标题\n\n段落内容。\n\n## 子标题\n\n更多内容。' +# Output: +#

大标题

+#

段落内容。

+#

子标题

+#

更多内容。

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '# 标题1\n这是一段文本。' +# Output: +#

标题1

+#

这是一段文本。

+# Return Code: 0 diff --git a/markdown/test10.py b/markdown/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..522de8488927bf130fb6b305a9f527ffd5043fe0 --- /dev/null +++ b/markdown/test10.py @@ -0,0 +1,127 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with different extension configurations") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + html1 = markdown.markdown(args.a, extensions=['tables', 'fenced_code']) # Convert with tables and fenced code + html2 = markdown.markdown(args.b, extensions=['extra', 'codehilite']) # Convert with extra and codehilite + final_html = markdown.markdown(f"{html1}
{html2}") # Combine and convert + print(html1) # Print first HTML + print(html2) # Print second HTML + print(final_html) # Print final combined HTML + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '示例文本 36' +# --b = '示例文本 37' +# Output: +#

示例文本 36

+#

示例文本 37

+#

示例文本 36

+#

示例文本 37

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '**重要**的*强调*文本' +# --b = "`print('Hello')` 代码示例" +# Output: +#

重要强调文本

+#

print('Hello') 代码示例

+#

重要强调文本

+#

print('Hello') 代码示例

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '![图片alt](image.jpg)' +# --b = '`内联代码`' +# Output: +#

图片alt

+#

内联代码

+#

图片alt

+#

内联代码

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '| 列1 | 列2 | 列3 |\n| --- | --- | --- |\n| 数据1 | 数据2 | 数据3 |' +# --b = '| 姓名 | 年龄 | 城市 |\n| ---- | ---- | ---- |\n| 张三 | 25 | 北京 |' +# Output: +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
列1列2列3
数据1数据2数据3
+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
姓名年龄城市
张三25北京
+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
列1列2列3
数据1数据2数据3
+#
+# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
姓名年龄城市
张三25北京
+# Return Code: 0 diff --git a/markdown/test10_executable.zip b/markdown/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..cb762410cadc350c99d8809a240e806756e1bf09 --- /dev/null +++ b/markdown/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31759616a964b80738089417e2897695ffa02e30acdbfaf530398615662f0668 +size 35129959 diff --git a/markdown/test11.py b/markdown/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..f0c12ce850ac00a70dc5dcce8ed7c712d3e281cb --- /dev/null +++ b/markdown/test11.py @@ -0,0 +1,87 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with extension configuration") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + args = parser.parse_args() + + html_a = markdown.markdown(args.a) # Convert first markdown + html_b = markdown.markdown(args.b, extensions=['tables']) # Convert with tables extension + html_c = markdown.markdown(args.c, extensions=['extra']) # Convert with extra extension + print(html_a) # Print first HTML + print(html_b) # Print second HTML with tables + print(html_c) # Print third HTML with extra features + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '1. 项目1\n2. 项目2\n3. 项目3' +# --b = '- 无序项目1\n- 无序项目2\n- 无序项目3' +# --c = '[链接文本](https://example.com)' +# Output: +#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#

链接文本

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '示例文本 45' +# --b = '示例文本 46' +# --c = '示例文本 47' +# Output: +#

示例文本 45

+#

示例文本 46

+#

示例文本 47

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '示例文本 42' +# --b = '示例文本 43' +# --c = '示例文本 44' +# Output: +#

示例文本 42

+#

示例文本 43

+#

示例文本 44

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '```html\n\n \n

标题

\n \n\n```' +# --b = '```bash\nls -la\necho $PATH\n```' +# --c = '```\n纯文本代码块\n第二行\n第三行\n```' +# Output: +#

```html

+# +# +#

标题

+# +# +#

```

+#

bash +# ls -la +# echo $PATH

+#
纯文本代码块
+#   第二行
+#   第三行
+#   
+# Return Code: 0 diff --git a/markdown/test11_executable.zip b/markdown/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..bd4062cddff10acb31f84cd1fafcbf7088437fb5 --- /dev/null +++ b/markdown/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94e54d8d25e6cf3b4d8451b51c50ff0ed33a727d14a0336db7009af202c71727 +size 35131275 diff --git a/markdown/test12.py b/markdown/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..98b8643c0807fc74c1135330860d0288a749b7f6 --- /dev/null +++ b/markdown/test12.py @@ -0,0 +1,150 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown processing with data flow") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + # Create a complex markdown document + combined = f"# Title\n\n{args.a}\n\n---\n\n{args.b}" + html1 = markdown.markdown(combined) # Convert combined markdown to HTML + # Extract and reprocess part of the HTML + html2 = markdown.markdown(args.a + "\n\n" + args.b) # Convert concatenated inputs + final = markdown.markdown(f"
{html1}
\n
{html2}
") # Wrap and convert + print(html1) # Print first HTML + print(html2) # Print second HTML + print(final) # Print final wrapped HTML + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '- 无序项目1\n- 无序项目2\n- 无序项目3' +# --b = '[链接文本](https://example.com)' +# Output: +#

Title

+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#
+#

链接文本

+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#

链接文本

+#

Title

+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#
+#

链接文本

+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#

链接文本

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '| 项目 | 价格 | 数量 |\n| ---- | ---- | ---- |\n| 苹果 | $1 | 5 |' +# --b = '| 标题1 | 标题2 |\n| ----- | ----- |\n| 内容1 | 内容2 |' +# Output: +#

Title

+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 |

+#
+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 |

+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+#

Title

+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 |

+#
+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 |

+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '示例文本 38' +# --b = '示例文本 39' +# Output: +#

Title

+#

示例文本 38

+#
+#

示例文本 39

+#

示例文本 38

+#

示例文本 39

+#

Title

+#

示例文本 38

+#
+#

示例文本 39

+#

示例文本 38

+#

示例文本 39

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '```bash\nls -la\necho $PATH\n```' +# --b = '```\n纯文本代码块\n第二行\n第三行\n```' +# Output: +#

Title

+#

bash +# ls -la +# echo $PATH

+#
+#

纯文本代码块 +# 第二行 +# 第三行

+#

bash +# ls -la +# echo $PATH

+#

纯文本代码块 +# 第二行 +# 第三行

+#

Title

+#

bash +# ls -la +# echo $PATH

+#
+#

纯文本代码块 +# 第二行 +# 第三行

+#

bash +# ls -la +# echo $PATH

+#

纯文本代码块 +# 第二行 +# 第三行

+# Return Code: 0 diff --git a/markdown/test12_executable.zip b/markdown/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6ad825f9c861d0fb785e3d7aac32a754e630d23e --- /dev/null +++ b/markdown/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a87f7fa5feaaffc0333a3f97c7d6fcc52a68a6f01d4e5d0e302cee6021cc988 +size 35130191 diff --git a/markdown/test13.py b/markdown/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..dd6ae0d34eab69f12912e09bd178491a0cbf7a94 --- /dev/null +++ b/markdown/test13.py @@ -0,0 +1,102 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with extension configuration") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + args = parser.parse_args() + + html1 = markdown.markdown(args.a, extensions=['extra', 'tables']) # Convert with extra and tables + html2 = markdown.markdown(args.b, extensions=['codehilite']) # Convert with code highlighting + html3 = markdown.markdown(args.c, extensions=['fenced_code', 'toc']) # Convert with fenced code and TOC + combined = markdown.markdown(f"{html1}\n{html2}\n{html3}") # Combine all results + print(html1) # Print first HTML + print(html2) # Print second HTML + print(html3) # Print third HTML + print(combined) # Print combined HTML + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '示例文本 42' +# --b = '示例文本 43' +# --c = '示例文本 44' +# Output: +#

示例文本 42

+#

示例文本 43

+#

示例文本 44

+#

示例文本 42

+#

示例文本 43

+#

示例文本 44

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '示例文本 30' +# --b = '示例文本 31' +# --c = '示例文本 32' +# Output: +#

示例文本 30

+#

示例文本 31

+#

示例文本 32

+#

示例文本 30

+#

示例文本 31

+#

示例文本 32

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '1. 项目1\n2. 项目2\n3. 项目3' +# --b = '- 无序项目1\n- 无序项目2\n- 无序项目3' +# --c = '[链接文本](https://example.com)' +# Output: +#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#

链接文本

+#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#

链接文本

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '# 标题1\n这是一段文本。' +# --b = '## 标题2\n这是另一段文本。' +# --c = '**粗体文本** 和 *斜体文本*' +# Output: +#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+#

粗体文本斜体文本

+#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+#

粗体文本斜体文本

+# Return Code: 0 diff --git a/markdown/test13_executable.zip b/markdown/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..56c8604ca6ca052678138abf987bde16046b7365 --- /dev/null +++ b/markdown/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2781d9ad5464990bfa3ec12fef472be3d7248c2909605ff539c168fb02675b8 +size 35131703 diff --git a/markdown/test14.py b/markdown/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..ce5927bf4cf20241182660d4d45b4b40a72e2dd8 --- /dev/null +++ b/markdown/test14.py @@ -0,0 +1,183 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Complex markdown processing chain") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + # Create a markdown document with nested structure + doc1 = f"## Section 1\n{args.a}" + doc2 = f"## Section 2\n{args.b}" + + html1 = markdown.markdown(doc1) # Convert first section + html2 = markdown.markdown(doc2) # Convert second section + + # Create a table of contents markdown + toc_md = "# Table of Contents\n1. Section 1\n2. Section 2" + toc_html = markdown.markdown(toc_md, extensions=['toc']) # Convert TOC with toc extension + + final_doc = f"{toc_html}\n\n{html1}\n\n{html2}" + final_html = markdown.markdown(final_doc) # Convert final document + + print(html1) # Print first section HTML + print(html2) # Print second section HTML + print(toc_html) # Print TOC HTML + print(final_html) # Print final HTML + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '| A | B | C |\n| - | - | - |\n| 1 | 2 | 3 |' +# --b = "```python\ndef hello():\n print('Hello World!')\n```" +# Output: +#

Section 1

+#

| A | B | C | +# | - | - | - | +# | 1 | 2 | 3 |

+#

Section 2

+#

python +# def hello(): +# print('Hello World!')

+#

Table of Contents

+#
    +#
  1. Section 1
  2. +#
  3. Section 2
  4. +#
+#

Table of Contents

+#
    +#
  1. Section 1
  2. +#
  3. Section 2
  4. +#
+# +#

Section 1

+#

| A | B | C | +# | - | - | - | +# | 1 | 2 | 3 |

+# +#

Section 2

+#

python +# def hello(): +# print('Hello World!')

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '普通段落\n\n另一个段落' +# --b = '# 大标题\n\n段落内容。\n\n## 子标题\n\n更多内容。' +# Output: +#

Section 1

+#

普通段落

+#

另一个段落

+#

Section 2

+#

大标题

+#

段落内容。

+#

子标题

+#

更多内容。

+#

Table of Contents

+#
    +#
  1. Section 1
  2. +#
  3. Section 2
  4. +#
+#

Table of Contents

+#
    +#
  1. Section 1
  2. +#
  3. Section 2
  4. +#
+# +#

Section 1

+#

普通段落

+#

另一个段落

+# +#

Section 2

+#

大标题

+#

段落内容。

+#

子标题

+#

更多内容。

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '1. 第一\n2. 第二\n3. 第三' +# --b = '- 苹果\n- 香蕉\n- 橙子' +# Output: +#

Section 1

+#
    +#
  1. 第一
  2. +#
  3. 第二
  4. +#
  5. 第三
  6. +#
+#

Section 2

+#
    +#
  • 苹果
  • +#
  • 香蕉
  • +#
  • 橙子
  • +#
+#

Table of Contents

+#
    +#
  1. Section 1
  2. +#
  3. Section 2
  4. +#
+#

Table of Contents

+#
    +#
  1. Section 1
  2. +#
  3. Section 2
  4. +#
+# +#

Section 1

+#
    +#
  1. 第一
  2. +#
  3. 第二
  4. +#
  5. 第三
  6. +#
+# +#

Section 2

+#
    +#
  • 苹果
  • +#
  • 香蕉
  • +#
  • 橙子
  • +#
+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '```bash\nls -la\necho $PATH\n```' +# --b = '```\n纯文本代码块\n第二行\n第三行\n```' +# Output: +#

Section 1

+#

bash +# ls -la +# echo $PATH

+#

Section 2

+#

纯文本代码块 +# 第二行 +# 第三行

+#

Table of Contents

+#
    +#
  1. Section 1
  2. +#
  3. Section 2
  4. +#
+#

Table of Contents

+#
    +#
  1. Section 1
  2. +#
  3. Section 2
  4. +#
+# +#

Section 1

+#

bash +# ls -la +# echo $PATH

+# +#

Section 2

+#

纯文本代码块 +# 第二行 +# 第三行

+# Return Code: 0 diff --git a/markdown/test14_executable.zip b/markdown/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c0f1ac22b2973c48f2a172afbd197a98fd9bfbeb --- /dev/null +++ b/markdown/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b89cfd71f1f5396dd373e25c9a9fcf94622c4109577645a354e3141d8bc0300 +size 35131255 diff --git a/markdown/test15.py b/markdown/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..a0ee44f376d61e37d7f73d1311e51d650a7e25f8 --- /dev/null +++ b/markdown/test15.py @@ -0,0 +1,197 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with advanced extension usage") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + args = parser.parse_args() + + html_a = markdown.markdown(args.a, extensions=['extra']) # Convert with extra extensions + html_b = markdown.markdown(args.b, extensions=['tables']) # Convert with tables + html_c = markdown.markdown(args.c, extensions=['codehilite', 'fenced_code']) # Convert with code features + html_d = markdown.markdown(args.d, extensions=['toc']) # Convert with table of contents + + # Create a complex combined document + combined_md = f"# Combined Document\n\n{args.a}\n\n{args.b}\n\n{args.c}\n\n{args.d}" + final_html = markdown.markdown(combined_md, extensions=['extra', 'tables', 'codehilite', 'fenced_code', 'toc']) + + print(html_a) # Print HTML with extra features + print(html_b) # Print HTML with tables + print(html_c) # Print HTML with code highlighting + print(html_d) # Print HTML with TOC + print(final_html) # Print final combined HTML + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '示例文本 76' +# --b = '示例文本 77' +# --c = '示例文本 78' +# --d = '示例文本 79' +# Output: +#

示例文本 76

+#

示例文本 77

+#

示例文本 78

+#

示例文本 79

+#

Combined Document

+#

示例文本 76

+#

示例文本 77

+#

示例文本 78

+#

示例文本 79

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '示例文本 72' +# --b = '示例文本 73' +# --c = '示例文本 74' +# --d = '示例文本 75' +# Output: +#

示例文本 72

+#

示例文本 73

+#

示例文本 74

+#

示例文本 75

+#

Combined Document

+#

示例文本 72

+#

示例文本 73

+#

示例文本 74

+#

示例文本 75

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '示例文本 48' +# --b = '示例文本 49' +# --c = '示例文本 50' +# --d = '示例文本 51' +# Output: +#

示例文本 48

+#

示例文本 49

+#

示例文本 50

+#

示例文本 51

+#

Combined Document

+#

示例文本 48

+#

示例文本 49

+#

示例文本 50

+#

示例文本 51

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '| 列1 | 列2 | 列3 |\n| --- | --- | --- |\n| 数据1 | 数据2 | 数据3 |' +# --b = '| 姓名 | 年龄 | 城市 |\n| ---- | ---- | ---- |\n| 张三 | 25 | 北京 |' +# --c = '| 项目 | 价格 | 数量 |\n| ---- | ---- | ---- |\n| 苹果 | $1 | 5 |' +# --d = '| 标题1 | 标题2 |\n| ----- | ----- |\n| 内容1 | 内容2 |' +# Output: +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
列1列2列3
数据1数据2数据3
+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
姓名年龄城市
张三25北京
+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 |

+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+#

Combined Document

+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
列1列2列3
数据1数据2数据3
+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
姓名年龄城市
张三25北京
+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
项目价格数量
苹果$15
+# +# +# +# +# +# +# +# +# +# +# +# +# +#
标题1标题2
内容1内容2
+# Return Code: 0 diff --git a/markdown/test15_executable.zip b/markdown/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1c29ea40f1487eeb1ce90055007ca819a2282d3e --- /dev/null +++ b/markdown/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6750d19e487e89172dfc432f115fd7d2e4f276d593ae47b60c009ee1b92cc106 +size 35131020 diff --git a/markdown/test16.py b/markdown/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..14af24bec8b54c603175de6e4a4a0f2026a56cd3 --- /dev/null +++ b/markdown/test16.py @@ -0,0 +1,233 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Large scale markdown processing") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + args = parser.parse_args() + + # Process each input individually + html1 = markdown.markdown(args.a) # Convert first input + html2 = markdown.markdown(args.b) # Convert second input + html3 = markdown.markdown(args.c) # Convert third input + html4 = markdown.markdown(args.d) # Convert fourth input + html5 = markdown.markdown(args.e) # Convert fifth input + + # Create sections + section1 = markdown.markdown(f"# Section 1\n{args.a}\n{args.b}") # Combine first two + section2 = markdown.markdown(f"# Section 2\n{args.c}\n{args.d}\n{args.e}") # Combine last three + + # Final combined document + final = markdown.markdown(f"{section1}\n\n{section2}") # Combine sections + + print(html1) # Print first HTML + print(html2) # Print second HTML + print(html3) # Print third HTML + print(html4) # Print fourth HTML + print(html5) # Print fifth HTML + print(section1) # Print first section + print(section2) # Print second section + print(final) # Print final document + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '示例文本 60' +# --b = '示例文本 61' +# --c = '示例文本 62' +# --d = '示例文本 63' +# --e = '示例文本 64' +# Output: +#

示例文本 60

+#

示例文本 61

+#

示例文本 62

+#

示例文本 63

+#

示例文本 64

+#

Section 1

+#

示例文本 60 +# 示例文本 61

+#

Section 2

+#

示例文本 62 +# 示例文本 63 +# 示例文本 64

+#

Section 1

+#

示例文本 60 +# 示例文本 61

+# +#

Section 2

+#

示例文本 62 +# 示例文本 63 +# 示例文本 64

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '| 列1 | 列2 | 列3 |\n| --- | --- | --- |\n| 数据1 | 数据2 | 数据3 |' +# --b = '| 姓名 | 年龄 | 城市 |\n| ---- | ---- | ---- |\n| 张三 | 25 | 北京 |' +# --c = '| 项目 | 价格 | 数量 |\n| ---- | ---- | ---- |\n| 苹果 | $1 | 5 |' +# --d = '| 标题1 | 标题2 |\n| ----- | ----- |\n| 内容1 | 内容2 |' +# --e = '| A | B | C |\n| - | - | - |\n| 1 | 2 | 3 |' +# Output: +#

| 列1 | 列2 | 列3 | +# | --- | --- | --- | +# | 数据1 | 数据2 | 数据3 |

+#

| 姓名 | 年龄 | 城市 | +# | ---- | ---- | ---- | +# | 张三 | 25 | 北京 |

+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 |

+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+#

| A | B | C | +# | - | - | - | +# | 1 | 2 | 3 |

+#

Section 1

+#

| 列1 | 列2 | 列3 | +# | --- | --- | --- | +# | 数据1 | 数据2 | 数据3 | +# | 姓名 | 年龄 | 城市 | +# | ---- | ---- | ---- | +# | 张三 | 25 | 北京 |

+#

Section 2

+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 | +# | 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 | +# | A | B | C | +# | - | - | - | +# | 1 | 2 | 3 |

+#

Section 1

+#

| 列1 | 列2 | 列3 | +# | --- | --- | --- | +# | 数据1 | 数据2 | 数据3 | +# | 姓名 | 年龄 | 城市 | +# | ---- | ---- | ---- | +# | 张三 | 25 | 北京 |

+# +#

Section 2

+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 | +# | 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 | +# | A | B | C | +# | - | - | - | +# | 1 | 2 | 3 |

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = "```python\ndef hello():\n print('Hello World!')\n```" +# --b = "```javascript\nconsole.log('Hello');\n```" +# --c = '```html\n\n \n

标题

\n \n\n```' +# --d = '```bash\nls -la\necho $PATH\n```' +# --e = '```\n纯文本代码块\n第二行\n第三行\n```' +# Output: +#

python +# def hello(): +# print('Hello World!')

+#

javascript +# console.log('Hello');

+#

```html

+# +# +#

标题

+# +# +#

```

+#

bash +# ls -la +# echo $PATH

+#

纯文本代码块 +# 第二行 +# 第三行

+#

Section 1

+#

python +# def hello(): +# print('Hello World!') +# javascript +# console.log('Hello');

+#

Section 2

+#

```html

+# +# +#

标题

+# +# +#

bash +# ls -la +# echo $PATH +# +# 纯文本代码块 +# 第二行 +# 第三行 +# ```

+#

Section 1

+#

python +# def hello(): +# print('Hello World!') +# javascript +# console.log('Hello');

+# +#

Section 2

+#

```html

+# +# +#

标题

+# +# +#

bash +# ls -la +# echo $PATH +# +# 纯文本代码块 +# 第二行 +# 第三行 +# ```

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '示例文本 50' +# --b = '示例文本 51' +# --c = '示例文本 52' +# --d = '示例文本 53' +# --e = '示例文本 54' +# Output: +#

示例文本 50

+#

示例文本 51

+#

示例文本 52

+#

示例文本 53

+#

示例文本 54

+#

Section 1

+#

示例文本 50 +# 示例文本 51

+#

Section 2

+#

示例文本 52 +# 示例文本 53 +# 示例文本 54

+#

Section 1

+#

示例文本 50 +# 示例文本 51

+# +#

Section 2

+#

示例文本 52 +# 示例文本 53 +# 示例文本 54

+# Return Code: 0 diff --git a/markdown/test16_executable.zip b/markdown/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6c3e1069a759adfdf428d9ad2b658f743355e8e6 --- /dev/null +++ b/markdown/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5102ea9ef4761a7d3216a290b750913ea5b680f18a2f5eb4f8c48039a0c464f3 +size 35128525 diff --git a/markdown/test17.py b/markdown/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..a74dc8605b6b275942785989ad3c586a5d206a08 --- /dev/null +++ b/markdown/test17.py @@ -0,0 +1,260 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Complex markdown processing with edge cases") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + args = parser.parse_args() + + # Process with different extension combinations + html1 = markdown.markdown(args.a, extensions=['extra', 'tables', 'codehilite']) # Multiple extensions + html2 = markdown.markdown(args.b, extensions=['fenced_code', 'toc']) # Code and TOC extensions + html3 = markdown.markdown(args.c, output_format='xhtml') # XHTML format + html4 = markdown.markdown(args.d, output_format='html') # HTML format + + # Nested processing + nested1 = markdown.markdown(f"
{html1}
") # Wrap HTML in markdown + nested2 = markdown.markdown(f"
{html2}
") # Another wrapper + + # Complex combination + complex_md = f""" +# Main Document + +## Part 1 +{args.a} + +## Part 2 +{args.b} + +## Part 3 +{args.c} + +## Part 4 +{args.d} +""" + final_html = markdown.markdown(complex_md, extensions=['extra', 'tables', 'codehilite', 'fenced_code', 'toc']) + + print(html1) # Print HTML with multiple extensions + print(html2) # Print HTML with code and TOC + print(html3) # Print XHTML output + print(html4) # Print HTML output + print(nested1) # Print nested HTML 1 + print(nested2) # Print nested HTML 2 + print(final_html) # Print final complex HTML + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '# 标题1\n这是一段文本。' +# --b = '## 标题2\n这是另一段文本。' +# --c = '**粗体文本** 和 *斜体文本*' +# --d = '1. 项目1\n2. 项目2\n3. 项目3' +# Output: +#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+#

粗体文本斜体文本

+#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+#

Main Document

+#

Part 1

+#

标题1

+#

这是一段文本。

+#

Part 2

+#

标题2

+#

这是另一段文本。

+#

Part 3

+#

粗体文本斜体文本

+#

Part 4

+#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '示例文本 76' +# --b = '示例文本 77' +# --c = '示例文本 78' +# --d = '示例文本 79' +# Output: +#

示例文本 76

+#

示例文本 77

+#

示例文本 78

+#

示例文本 79

+#

示例文本 76

+#

示例文本 77

+#

Main Document

+#

Part 1

+#

示例文本 76

+#

Part 2

+#

示例文本 77

+#

Part 3

+#

示例文本 78

+#

Part 4

+#

示例文本 79

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '示例文本 48' +# --b = '示例文本 49' +# --c = '示例文本 50' +# --d = '示例文本 51' +# Output: +#

示例文本 48

+#

示例文本 49

+#

示例文本 50

+#

示例文本 51

+#

示例文本 48

+#

示例文本 49

+#

Main Document

+#

Part 1

+#

示例文本 48

+#

Part 2

+#

示例文本 49

+#

Part 3

+#

示例文本 50

+#

Part 4

+#

示例文本 51

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '| 列1 | 列2 | 列3 |\n| --- | --- | --- |\n| 数据1 | 数据2 | 数据3 |' +# --b = '| 姓名 | 年龄 | 城市 |\n| ---- | ---- | ---- |\n| 张三 | 25 | 北京 |' +# --c = '| 项目 | 价格 | 数量 |\n| ---- | ---- | ---- |\n| 苹果 | $1 | 5 |' +# --d = '| 标题1 | 标题2 |\n| ----- | ----- |\n| 内容1 | 内容2 |' +# Output: +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
列1列2列3
数据1数据2数据3
+#

| 姓名 | 年龄 | 城市 | +# | ---- | ---- | ---- | +# | 张三 | 25 | 北京 |

+#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 |

+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+#
+# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
列1列2列3
数据1数据2数据3
+#

| 姓名 | 年龄 | 城市 | +# | ---- | ---- | ---- | +# | 张三 | 25 | 北京 |

+#

Main Document

+#

Part 1

+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
列1列2列3
数据1数据2数据3
+#

Part 2

+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
姓名年龄城市
张三25北京
+#

Part 3

+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
项目价格数量
苹果$15
+#

Part 4

+# +# +# +# +# +# +# +# +# +# +# +# +# +#
标题1标题2
内容1内容2
+# Return Code: 0 diff --git a/markdown/test17_executable.zip b/markdown/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2f5acdefcb91a98762d6054829370bb54b1d79ec --- /dev/null +++ b/markdown/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca8c1759096e9fc6ae5c2a4a4c50de7fe95a545afc2f72e767303f2270c28504 +size 35131491 diff --git a/markdown/test18.py b/markdown/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..e95053b7fbcb53163c7f5b436075ed15acae1071 --- /dev/null +++ b/markdown/test18.py @@ -0,0 +1,250 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Advanced markdown processing pipeline") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + args = parser.parse_args() + + # Step 1: Individual conversions + step1_a = markdown.markdown(args.a) # Convert input A + step1_b = markdown.markdown(args.b) # Convert input B + step1_c = markdown.markdown(args.c) # Convert input C + step1_d = markdown.markdown(args.d) # Convert input D + step1_e = markdown.markdown(args.e) # Convert input E + + # Step 2: Group conversions + step2_ab = markdown.markdown(f"{args.a}\n\n{args.b}") # Combine A and B + step2_cd = markdown.markdown(f"{args.c}\n\n{args.d}") # Combine C and D + + # Step 3: Complex structure + step3_structure = markdown.markdown(f""" +# Document Structure + +## Group 1 +{step2_ab} + +## Group 2 +{step2_cd} + +## Single Element +{args.e} +""") + + # Step 4: Final with all extensions + step4_final = markdown.markdown(args.a + args.b + args.c + args.d + args.e, + extensions=['extra', 'tables', 'codehilite', 'fenced_code', 'toc']) + + # Step 5: Reverse processing + step5_reverse = markdown.markdown(f"## Reversed\n{args.e}\n{args.d}\n{args.c}\n{args.b}\n{args.a}") + + print(step1_a) # Print step 1 A + print(step1_b) # Print step 1 B + print(step1_c) # Print step 1 C + print(step1_d) # Print step 1 D + print(step1_e) # Print step 1 E + print(step2_ab) # Print step 2 AB + print(step2_cd) # Print step 2 CD + print(step3_structure) # Print step 3 structure + print(step4_final) # Print step 4 final + print(step5_reverse) # Print step 5 reverse + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '# 标题1\n这是一段文本。' +# --b = '## 标题2\n这是另一段文本。' +# --c = '**粗体文本** 和 *斜体文本*' +# --d = '1. 项目1\n2. 项目2\n3. 项目3' +# --e = '- 无序项目1\n- 无序项目2\n- 无序项目3' +# Output: +#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+#

粗体文本斜体文本

+#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+#

粗体文本斜体文本

+#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+#

Document Structure

+#

Group 1

+#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+# +#

Group 2

+#

粗体文本斜体文本

+#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+# +#

Single Element

+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
+#

标题1

+#

这是一段文本。## 标题2 +# 这是另一段文本。粗体文本斜体文本1. 项目1 +# 2. 项目2 +# 3. 项目3- 无序项目1 +# - 无序项目2 +# - 无序项目3

+#

Reversed

+#
    +#
  • 无序项目1
  • +#
  • 无序项目2
  • +#
  • 无序项目3
  • +#
  • 项目1
  • +#
  • 项目2
  • +#
  • 项目3 +# 粗体文本斜体文本
  • +#
+#

标题2

+#

这是另一段文本。

+#

标题1

+#

这是一段文本。

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '示例文本 65' +# --b = '示例文本 66' +# --c = '示例文本 67' +# --d = '示例文本 68' +# --e = '示例文本 69' +# Output: +#

示例文本 65

+#

示例文本 66

+#

示例文本 67

+#

示例文本 68

+#

示例文本 69

+#

示例文本 65

+#

示例文本 66

+#

示例文本 67

+#

示例文本 68

+#

Document Structure

+#

Group 1

+#

示例文本 65

+#

示例文本 66

+# +#

Group 2

+#

示例文本 67

+#

示例文本 68

+# +#

Single Element

+#

示例文本 69

+#

示例文本 65示例文本 66示例文本 67示例文本 68示例文本 69

+#

Reversed

+#

示例文本 69 +# 示例文本 68 +# 示例文本 67 +# 示例文本 66 +# 示例文本 65

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '示例文本 80' +# --b = '示例文本 81' +# --c = '示例文本 82' +# --d = '示例文本 83' +# --e = '示例文本 84' +# Output: +#

示例文本 80

+#

示例文本 81

+#

示例文本 82

+#

示例文本 83

+#

示例文本 84

+#

示例文本 80

+#

示例文本 81

+#

示例文本 82

+#

示例文本 83

+#

Document Structure

+#

Group 1

+#

示例文本 80

+#

示例文本 81

+# +#

Group 2

+#

示例文本 82

+#

示例文本 83

+# +#

Single Element

+#

示例文本 84

+#

示例文本 80示例文本 81示例文本 82示例文本 83示例文本 84

+#

Reversed

+#

示例文本 84 +# 示例文本 83 +# 示例文本 82 +# 示例文本 81 +# 示例文本 80

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '示例文本 95' +# --b = '示例文本 96' +# --c = '示例文本 97' +# --d = '示例文本 98' +# --e = '示例文本 99' +# Output: +#

示例文本 95

+#

示例文本 96

+#

示例文本 97

+#

示例文本 98

+#

示例文本 99

+#

示例文本 95

+#

示例文本 96

+#

示例文本 97

+#

示例文本 98

+#

Document Structure

+#

Group 1

+#

示例文本 95

+#

示例文本 96

+# +#

Group 2

+#

示例文本 97

+#

示例文本 98

+# +#

Single Element

+#

示例文本 99

+#

示例文本 95示例文本 96示例文本 97示例文本 98示例文本 99

+#

Reversed

+#

示例文本 99 +# 示例文本 98 +# 示例文本 97 +# 示例文本 96 +# 示例文本 95

+# Return Code: 0 diff --git a/markdown/test18_executable.zip b/markdown/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fa737e655b10cb7835534912b82d3b8f5e02ce12 --- /dev/null +++ b/markdown/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0fcf85878dc760cc40e85b2f4dcf4be67e7185150f041f8242e9d952d6cff4c +size 35131858 diff --git a/markdown/test19.py b/markdown/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..b7c5df6f27d43400a6a313aa3283a718ed498802 --- /dev/null +++ b/markdown/test19.py @@ -0,0 +1,391 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown processing with transformation chain") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + parser.add_argument('--f', type=str, required=True) + args = parser.parse_args() + + # Phase 1: Basic conversions + phase1_a = markdown.markdown(args.a) # Convert A + phase1_b = markdown.markdown(args.b) # Convert B + phase1_c = markdown.markdown(args.c) # Convert C + + # Phase 2: With extensions + phase2_d = markdown.markdown(args.d, extensions=['extra', 'tables']) # Convert D with extensions + phase2_e = markdown.markdown(args.e, extensions=['codehilite', 'fenced_code']) # Convert E with code extensions + phase2_f = markdown.markdown(args.f, extensions=['toc']) # Convert F with TOC + + # Phase 3: Combined processing + phase3_combined = markdown.markdown(f""" +# Combined Document + +## Section A +{phase1_a} + +## Section B +{phase1_b} + +## Section C +{phase1_c} + +## Section D +{phase2_d} + +## Section E +{phase2_e} + +## Section F +{phase2_f} +""") + + # Phase 4: Nested transformations + phase4_nested = markdown.markdown(f"
{phase3_combined}
") # Wrap in article + + # Phase 5: Final processing with all features + phase5_final = markdown.markdown( + args.a + "\n\n" + args.b + "\n\n" + args.c + "\n\n" + args.d + "\n\n" + args.e + "\n\n" + args.f, + extensions=['extra', 'tables', 'codehilite', 'fenced_code', 'toc'], + output_format='xhtml' + ) + + print(phase1_a) # Print phase 1 A + print(phase1_b) # Print phase 1 B + print(phase1_c) # Print phase 1 C + print(phase2_d) # Print phase 2 D + print(phase2_e) # Print phase 2 E + print(phase2_f) # Print phase 2 F + print(phase3_combined) # Print phase 3 combined + print(phase4_nested) # Print phase 4 nested + print(phase5_final) # Print phase 5 final + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '示例文本 96' +# --b = '示例文本 97' +# --c = '示例文本 98' +# --d = '示例文本 99' +# --e = '# 标题1\n这是一段文本。' +# --f = '## 标题2\n这是另一段文本。' +# Output: +#

示例文本 96

+#

示例文本 97

+#

示例文本 98

+#

示例文本 99

+#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+#

Combined Document

+#

Section A

+#

示例文本 96

+# +#

Section B

+#

示例文本 97

+# +#

Section C

+#

示例文本 98

+# +#

Section D

+#

示例文本 99

+# +#

Section E

+#

标题1

+#

这是一段文本。

+# +#

Section F

+#

标题2

+#

这是另一段文本。

+#

Combined Document

+#

Section A

+#

示例文本 96

+# +#

Section B

+#

示例文本 97

+# +#

Section C

+#

示例文本 98

+# +#

Section D

+#

示例文本 99

+# +#

Section E

+#

标题1

+#

这是一段文本。

+# +#

Section F

+#

标题2

+#

这是另一段文本。

+#

示例文本 96

+#

示例文本 97

+#

示例文本 98

+#

示例文本 99

+#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '示例文本 30' +# --b = '示例文本 31' +# --c = '示例文本 32' +# --d = '示例文本 33' +# --e = '示例文本 34' +# --f = '示例文本 35' +# Output: +#

示例文本 30

+#

示例文本 31

+#

示例文本 32

+#

示例文本 33

+#

示例文本 34

+#

示例文本 35

+#

Combined Document

+#

Section A

+#

示例文本 30

+# +#

Section B

+#

示例文本 31

+# +#

Section C

+#

示例文本 32

+# +#

Section D

+#

示例文本 33

+# +#

Section E

+#

示例文本 34

+# +#

Section F

+#

示例文本 35

+#

Combined Document

+#

Section A

+#

示例文本 30

+# +#

Section B

+#

示例文本 31

+# +#

Section C

+#

示例文本 32

+# +#

Section D

+#

示例文本 33

+# +#

Section E

+#

示例文本 34

+# +#

Section F

+#

示例文本 35

+#

示例文本 30

+#

示例文本 31

+#

示例文本 32

+#

示例文本 33

+#

示例文本 34

+#

示例文本 35

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '| A | B | C |\n| - | - | - |\n| 1 | 2 | 3 |' +# --b = "```python\ndef hello():\n print('Hello World!')\n```" +# --c = "```javascript\nconsole.log('Hello');\n```" +# --d = '```html\n\n \n

标题

\n \n\n```' +# --e = '```bash\nls -la\necho $PATH\n```' +# --f = '```\n纯文本代码块\n第二行\n第三行\n```' +# Output: +#

| A | B | C | +# | - | - | - | +# | 1 | 2 | 3 |

+#

python +# def hello(): +# print('Hello World!')

+#

javascript +# console.log('Hello');

+#
<html>
+#     <body>
+#       <h1>标题</h1>
+#     </body>
+#   </html>
+#   
+#
ls -la
+#   echo $PATH
+#   
+#

纯文本代码块 +# 第二行 +# 第三行

+#

Combined Document

+#

Section A

+#

| A | B | C | +# | - | - | - | +# | 1 | 2 | 3 |

+# +#

Section B

+#

python +# def hello(): +# print('Hello World!')

+# +#

Section C

+#

javascript +# console.log('Hello');

+# +#

Section D

+#
<html>
+#     <body>
+#       <h1>标题</h1>
+#     </body>
+#   </html>
+#   
+# +#

Section E

+#
ls -la
+#   echo $PATH
+#   
+# +#

Section F

+#

纯文本代码块 +# 第二行 +# 第三行

+#

Combined Document

+#

Section A

+#

| A | B | C | +# | - | - | - | +# | 1 | 2 | 3 |

+# +#

Section B

+#

python +# def hello(): +# print('Hello World!')

+# +#

Section C

+#

javascript +# console.log('Hello');

+# +#

Section D

+#
<html>
+#     <body>
+#       <h1>标题</h1>
+#     </body>
+#   </html>
+#   
+# +#

Section E

+#
ls -la
+#   echo $PATH
+#   
+# +#

Section F

+#

纯文本代码块 +# 第二行 +# 第三行

+# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
ABC
123
+#
def hello():
+#       print('Hello World!')
+#   
+# +#
console.log('Hello');
+#   
+# +#
<html>
+#     <body>
+#       <h1>标题</h1>
+#     </body>
+#   </html>
+#   
+# +#
ls -la
+#   echo $PATH
+#   
+# +#
纯文本代码块
+#   第二行
+#   第三行
+#   
+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '示例文本 54' +# --b = '示例文本 55' +# --c = '示例文本 56' +# --d = '示例文本 57' +# --e = '示例文本 58' +# --f = '示例文本 59' +# Output: +#

示例文本 54

+#

示例文本 55

+#

示例文本 56

+#

示例文本 57

+#

示例文本 58

+#

示例文本 59

+#

Combined Document

+#

Section A

+#

示例文本 54

+# +#

Section B

+#

示例文本 55

+# +#

Section C

+#

示例文本 56

+# +#

Section D

+#

示例文本 57

+# +#

Section E

+#

示例文本 58

+# +#

Section F

+#

示例文本 59

+#

Combined Document

+#

Section A

+#

示例文本 54

+# +#

Section B

+#

示例文本 55

+# +#

Section C

+#

示例文本 56

+# +#

Section D

+#

示例文本 57

+# +#

Section E

+#

示例文本 58

+# +#

Section F

+#

示例文本 59

+#

示例文本 54

+#

示例文本 55

+#

示例文本 56

+#

示例文本 57

+#

示例文本 58

+#

示例文本 59

+# Return Code: 0 diff --git a/markdown/test19_executable.zip b/markdown/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1593020ff6d1e8b9fdc8f1fec66059f713c09b13 --- /dev/null +++ b/markdown/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:577b959d38ca5637b89b0eec48649f1ed0283f1de3d1f04364e10c572e0b3963 +size 35132175 diff --git a/markdown/test1_executable.zip b/markdown/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..489ff22cf21750d7c175315609d43f30f7529d85 --- /dev/null +++ b/markdown/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6941339ef393f58c1df2e20d20fdf1d8fd0d97472de2921c3fc28792c9203ad7 +size 35131014 diff --git a/markdown/test2.py b/markdown/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..8e75337aae1afec1f0d6f9a063877aea25445c4a --- /dev/null +++ b/markdown/test2.py @@ -0,0 +1,69 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with extensions") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + result = markdown.markdown(args.a, extensions=['extra']) # Convert markdown with extra extensions + print(result) # Print HTML with extended features + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '```bash\nls -la\necho $PATH\n```' +# --b = '```\n纯文本代码块\n第二行\n第三行\n```' +# Output: +#
ls -la
+#   echo $PATH
+#   
+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '**粗体文本** 和 *斜体文本*' +# --b = '1. 项目1\n2. 项目2\n3. 项目3' +# Output: +#

粗体文本斜体文本

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '| 项目 | 价格 | 数量 |\n| ---- | ---- | ---- |\n| 苹果 | $1 | 5 |' +# --b = '| 标题1 | 标题2 |\n| ----- | ----- |\n| 内容1 | 内容2 |' +# Output: +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
项目价格数量
苹果$15
+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '普通段落\n\n另一个段落' +# --b = '# 大标题\n\n段落内容。\n\n## 子标题\n\n更多内容。' +# Output: +#

普通段落

+#

另一个段落

+# Return Code: 0 diff --git a/markdown/test20.py b/markdown/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..581862a4d7a70e4a52d53a7013dc8948bc678337 --- /dev/null +++ b/markdown/test20.py @@ -0,0 +1,448 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Ultimate markdown processing test") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + parser.add_argument('--d', type=str, required=True) + parser.add_argument('--e', type=str, required=True) + parser.add_argument('--f', type=str, required=True) + parser.add_argument('--g', type=str, required=True) + args = parser.parse_args() + + # Level 1: Individual processing + l1_a = markdown.markdown(args.a) # Process A + l1_b = markdown.markdown(args.b) # Process B + l1_c = markdown.markdown(args.c) # Process C + l1_d = markdown.markdown(args.d) # Process D + + # Level 2: Group processing with extensions + l2_e = markdown.markdown(args.e, extensions=['extra', 'tables', 'codehilite']) # Process E with multiple extensions + l2_f = markdown.markdown(args.f, extensions=['fenced_code', 'toc']) # Process F with code and TOC + l2_g = markdown.markdown(args.g, output_format='xhtml') # Process G as XHTML + + # Level 3: Complex combinations + l3_combo1 = markdown.markdown(f"{args.a}{args.b}{args.c}") # Combine ABC + l3_combo2 = markdown.markdown(f"{args.d}{args.e}{args.f}") # Combine DEF + + # Level 4: Nested structures + l4_nested = markdown.markdown(f""" +# Document + +
+Section 1 +{l1_a} +
+ +
+Section 2 +{l1_b} +{l1_c} +
+ +
+Section 3 +{l1_d} +{l2_e} +
+""") + + # Level 5: Final master document + l5_master = markdown.markdown(f""" +# Master Document + +## Part 1: Basics +{args.a} +{args.b} + +## Part 2: Intermediate +{args.c} +{args.d} + +## Part 3: Advanced +{args.e} +{args.f} + +## Part 4: Special +{args.g} +""", extensions=['extra', 'tables', 'codehilite', 'fenced_code', 'toc'], output_format='html') + + # Level 6: Ultra combination + l6_ultra = markdown.markdown( + l1_a + l1_b + l1_c + l1_d + l2_e + l2_f + l2_g + l3_combo1 + l3_combo2 + l4_nested + l5_master + ) + + print(l1_a) # Print level 1 A + print(l1_b) # Print level 1 B + print(l1_c) # Print level 1 C + print(l1_d) # Print level 1 D + print(l2_e) # Print level 2 E + print(l2_f) # Print level 2 F + print(l2_g) # Print level 2 G + print(l3_combo1) # Print level 3 combo 1 + print(l3_combo2) # Print level 3 combo 2 + print(l4_nested) # Print level 4 nested + print(l5_master) # Print level 5 master + print(l6_ultra) # Print level 6 ultra + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '示例文本 70' +# --b = '示例文本 71' +# --c = '示例文本 72' +# --d = '示例文本 73' +# --e = '示例文本 74' +# --f = '示例文本 75' +# --g = '示例文本 76' +# Output: +#

示例文本 70

+#

示例文本 71

+#

示例文本 72

+#

示例文本 73

+#

示例文本 74

+#

示例文本 75

+#

示例文本 76

+#

示例文本 70示例文本 71示例文本 72

+#

示例文本 73示例文本 74示例文本 75

+#

Document

+#
+# Section 1 +#

示例文本 70

+#
+# +#
+# Section 2 +#

示例文本 71

+#

示例文本 72

+#
+# +#
+# Section 3 +#

示例文本 73

+#

示例文本 74

+#
+#

Master Document

+#

Part 1: Basics

+#

示例文本 70 +# 示例文本 71

+#

Part 2: Intermediate

+#

示例文本 72 +# 示例文本 73

+#

Part 3: Advanced

+#

示例文本 74 +# 示例文本 75

+#

Part 4: Special

+#

示例文本 76

+#

示例文本 70

+#

示例文本 71

+#

示例文本 72

+#

示例文本 73

+#

示例文本 74

+#

示例文本 75

+#

示例文本 76

+#

示例文本 70示例文本 71示例文本 72

+#

示例文本 73示例文本 74示例文本 75

+#

Document

+#
+# Section 1 +#

示例文本 70

+#
+# +#
+# Section 2 +#

示例文本 71

+#

示例文本 72

+#
+# +#
+# Section 3 +#

示例文本 73

+#

示例文本 74

+#
+#

Master Document

+#

Part 1: Basics

+#

示例文本 70 +# 示例文本 71

+#

Part 2: Intermediate

+#

示例文本 72 +# 示例文本 73

+#

Part 3: Advanced

+#

示例文本 74 +# 示例文本 75

+#

Part 4: Special

+#

示例文本 76

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '示例文本 56' +# --b = '示例文本 57' +# --c = '示例文本 58' +# --d = '示例文本 59' +# --e = '示例文本 60' +# --f = '示例文本 61' +# --g = '示例文本 62' +# Output: +#

示例文本 56

+#

示例文本 57

+#

示例文本 58

+#

示例文本 59

+#

示例文本 60

+#

示例文本 61

+#

示例文本 62

+#

示例文本 56示例文本 57示例文本 58

+#

示例文本 59示例文本 60示例文本 61

+#

Document

+#
+# Section 1 +#

示例文本 56

+#
+# +#
+# Section 2 +#

示例文本 57

+#

示例文本 58

+#
+# +#
+# Section 3 +#

示例文本 59

+#

示例文本 60

+#
+#

Master Document

+#

Part 1: Basics

+#

示例文本 56 +# 示例文本 57

+#

Part 2: Intermediate

+#

示例文本 58 +# 示例文本 59

+#

Part 3: Advanced

+#

示例文本 60 +# 示例文本 61

+#

Part 4: Special

+#

示例文本 62

+#

示例文本 56

+#

示例文本 57

+#

示例文本 58

+#

示例文本 59

+#

示例文本 60

+#

示例文本 61

+#

示例文本 62

+#

示例文本 56示例文本 57示例文本 58

+#

示例文本 59示例文本 60示例文本 61

+#

Document

+#
+# Section 1 +#

示例文本 56

+#
+# +#
+# Section 2 +#

示例文本 57

+#

示例文本 58

+#
+# +#
+# Section 3 +#

示例文本 59

+#

示例文本 60

+#
+#

Master Document

+#

Part 1: Basics

+#

示例文本 56 +# 示例文本 57

+#

Part 2: Intermediate

+#

示例文本 58 +# 示例文本 59

+#

Part 3: Advanced

+#

示例文本 60 +# 示例文本 61

+#

Part 4: Special

+#

示例文本 62

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '示例文本 49' +# --b = '示例文本 50' +# --c = '示例文本 51' +# --d = '示例文本 52' +# --e = '示例文本 53' +# --f = '示例文本 54' +# --g = '示例文本 55' +# Output: +#

示例文本 49

+#

示例文本 50

+#

示例文本 51

+#

示例文本 52

+#

示例文本 53

+#

示例文本 54

+#

示例文本 55

+#

示例文本 49示例文本 50示例文本 51

+#

示例文本 52示例文本 53示例文本 54

+#

Document

+#
+# Section 1 +#

示例文本 49

+#
+# +#
+# Section 2 +#

示例文本 50

+#

示例文本 51

+#
+# +#
+# Section 3 +#

示例文本 52

+#

示例文本 53

+#
+#

Master Document

+#

Part 1: Basics

+#

示例文本 49 +# 示例文本 50

+#

Part 2: Intermediate

+#

示例文本 51 +# 示例文本 52

+#

Part 3: Advanced

+#

示例文本 53 +# 示例文本 54

+#

Part 4: Special

+#

示例文本 55

+#

示例文本 49

+#

示例文本 50

+#

示例文本 51

+#

示例文本 52

+#

示例文本 53

+#

示例文本 54

+#

示例文本 55

+#

示例文本 49示例文本 50示例文本 51

+#

示例文本 52示例文本 53示例文本 54

+#

Document

+#
+# Section 1 +#

示例文本 49

+#
+# +#
+# Section 2 +#

示例文本 50

+#

示例文本 51

+#
+# +#
+# Section 3 +#

示例文本 52

+#

示例文本 53

+#
+#

Master Document

+#

Part 1: Basics

+#

示例文本 49 +# 示例文本 50

+#

Part 2: Intermediate

+#

示例文本 51 +# 示例文本 52

+#

Part 3: Advanced

+#

示例文本 53 +# 示例文本 54

+#

Part 4: Special

+#

示例文本 55

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '示例文本 33' +# --b = '示例文本 34' +# --c = '示例文本 35' +# --d = '示例文本 36' +# --e = '示例文本 37' +# --f = '示例文本 38' +# --g = '示例文本 39' +# Output: +#

示例文本 33

+#

示例文本 34

+#

示例文本 35

+#

示例文本 36

+#

示例文本 37

+#

示例文本 38

+#

示例文本 39

+#

示例文本 33示例文本 34示例文本 35

+#

示例文本 36示例文本 37示例文本 38

+#

Document

+#
+# Section 1 +#

示例文本 33

+#
+# +#
+# Section 2 +#

示例文本 34

+#

示例文本 35

+#
+# +#
+# Section 3 +#

示例文本 36

+#

示例文本 37

+#
+#

Master Document

+#

Part 1: Basics

+#

示例文本 33 +# 示例文本 34

+#

Part 2: Intermediate

+#

示例文本 35 +# 示例文本 36

+#

Part 3: Advanced

+#

示例文本 37 +# 示例文本 38

+#

Part 4: Special

+#

示例文本 39

+#

示例文本 33

+#

示例文本 34

+#

示例文本 35

+#

示例文本 36

+#

示例文本 37

+#

示例文本 38

+#

示例文本 39

+#

示例文本 33示例文本 34示例文本 35

+#

示例文本 36示例文本 37示例文本 38

+#

Document

+#
+# Section 1 +#

示例文本 33

+#
+# +#
+# Section 2 +#

示例文本 34

+#

示例文本 35

+#
+# +#
+# Section 3 +#

示例文本 36

+#

示例文本 37

+#
+#

Master Document

+#

Part 1: Basics

+#

示例文本 33 +# 示例文本 34

+#

Part 2: Intermediate

+#

示例文本 35 +# 示例文本 36

+#

Part 3: Advanced

+#

示例文本 37 +# 示例文本 38

+#

Part 4: Special

+#

示例文本 39

+# Return Code: 0 diff --git a/markdown/test20_executable.zip b/markdown/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5b351d388db1f35b33fca65522afa95148db2763 --- /dev/null +++ b/markdown/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e258ff5f1b4500bf0318c7f12fe42dc8d1214369e86b013699f752f919d5508 +size 35131425 diff --git a/markdown/test2_executable.zip b/markdown/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7467144dd216b8fce3aa17a2a27d60a120471ed5 --- /dev/null +++ b/markdown/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f57177f86d29ab85dbbb88da2264b0648fd69bbd83f28e5a51b2f7eb59baa99 +size 35130976 diff --git a/markdown/test3.py b/markdown/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..04ba8336e7b30b9d629f45837111233fa55d3914 --- /dev/null +++ b/markdown/test3.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with table extension") + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + output = markdown.markdown(args.a, extensions=['tables']) # Convert markdown with tables extension + print(output) # Print HTML with table support + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '# 标题1\n这是一段文本。' +# Output: +#

标题1

+#

这是一段文本。

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '![Logo](logo.png) 图片' +# Output: +#

Logo 图片

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '[GitHub](https://github.com) 链接' +# Output: +#

GitHub 链接

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '**重要**的*强调*文本' +# Output: +#

重要强调文本

+# Return Code: 0 diff --git a/markdown/test3_executable.zip b/markdown/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ab47be2c51e683a04fed49fd8cc57ce3a44982f7 --- /dev/null +++ b/markdown/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:123e70504c785b3f8aeabb23362b3b70794ff3dcf1c75fa0465ffd460cfca556 +size 35130638 diff --git a/markdown/test4.py b/markdown/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..e998f3aa7d6baea5102bb5ed5de79dee82406b82 --- /dev/null +++ b/markdown/test4.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with code highlighting") + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + html = markdown.markdown(args.a, extensions=['codehilite']) # Convert markdown with code highlighting + print(html) # Print HTML with syntax highlighting + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '## 标题2\n这是另一段文本。' +# Output: +#

标题2

+#

这是另一段文本。

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '![Logo](logo.png) 图片' +# Output: +#

Logo 图片

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '[链接文本](https://example.com)' +# Output: +#

链接文本

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '[GitHub](https://github.com) 链接' +# Output: +#

GitHub 链接

+# Return Code: 0 diff --git a/markdown/test4_executable.zip b/markdown/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f46c7c740f3f9be061af9239fafc519c0e6bd503 --- /dev/null +++ b/markdown/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:777023f3a425a45dddfaec211380ce55bd0158b5f4f8a3043c873ae13ca2a54a +size 35131771 diff --git a/markdown/test5.py b/markdown/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..01732a825a1c04787ee78fb94985ef086535e6de --- /dev/null +++ b/markdown/test5.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with fenced code blocks") + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + result = markdown.markdown(args.a, extensions=['fenced_code']) # Convert markdown with fenced code blocks + print(result) # Print HTML with fenced code + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '# 标题1\n这是一段文本。' +# Output: +#

标题1

+#

这是一段文本。

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '1. 第一\n2. 第二\n3. 第三' +# Output: +#
    +#
  1. 第一
  2. +#
  3. 第二
  4. +#
  5. 第三
  6. +#
+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '[链接文本](https://example.com)' +# Output: +#

链接文本

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '`内联代码`' +# Output: +#

内联代码

+# Return Code: 0 diff --git a/markdown/test5_executable.zip b/markdown/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ab0f2eba0dc9d82e9973cd6f8ebfeeae382ba36d --- /dev/null +++ b/markdown/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f521a2212a9f876e28c0b331e2afb81eeb55ef7ae4c1c5e0a695c023dd016752 +size 35132008 diff --git a/markdown/test6.py b/markdown/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..e592495dab25318eb612b1fe7c6a85c8e822bde9 --- /dev/null +++ b/markdown/test6.py @@ -0,0 +1,72 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Multiple markdown conversions") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + html1 = markdown.markdown(args.a) # Convert first markdown text to HTML + html2 = markdown.markdown(args.b) # Convert second markdown text to HTML + print(html1) # Print first HTML result + print(html2) # Print second HTML result + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = "```javascript\nconsole.log('Hello');\n```" +# --b = '```html\n\n \n

标题

\n \n\n```' +# Output: +#

javascript +# console.log('Hello');

+#

```html

+# +# +#

标题

+# +# +#

```

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '| 列1 | 列2 | 列3 |\n| --- | --- | --- |\n| 数据1 | 数据2 | 数据3 |' +# --b = '| 姓名 | 年龄 | 城市 |\n| ---- | ---- | ---- |\n| 张三 | 25 | 北京 |' +# Output: +#

| 列1 | 列2 | 列3 | +# | --- | --- | --- | +# | 数据1 | 数据2 | 数据3 |

+#

| 姓名 | 年龄 | 城市 | +# | ---- | ---- | ---- | +# | 张三 | 25 | 北京 |

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '| 项目 | 价格 | 数量 |\n| ---- | ---- | ---- |\n| 苹果 | $1 | 5 |' +# --b = '| 标题1 | 标题2 |\n| ----- | ----- |\n| 内容1 | 内容2 |' +# Output: +#

| 项目 | 价格 | 数量 | +# | ---- | ---- | ---- | +# | 苹果 | $1 | 5 |

+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '![图片alt](image.jpg)' +# --b = '`内联代码`' +# Output: +#

图片alt

+#

内联代码

+# Return Code: 0 diff --git a/markdown/test6_executable.zip b/markdown/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..187ae0f5aaec0a4189996fc54453c7cf3e51ba58 --- /dev/null +++ b/markdown/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08250a5e672981e7b8665167f32dbfc10ca7d93fa05420ead09236d3c12e6a13 +size 35130255 diff --git a/markdown/test7.py b/markdown/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..eea4cc430c1fad929248e0a76673d967aeb6bd1d --- /dev/null +++ b/markdown/test7.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with multiple extensions") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + html1 = markdown.markdown(args.a, extensions=['extra', 'tables']) # Convert with extra and tables extensions + html2 = markdown.markdown(args.b, extensions=['codehilite', 'fenced_code']) # Convert with code extensions + print(html1) # Print HTML with table support + print(html2) # Print HTML with code highlighting + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '[GitHub](https://github.com) 链接' +# --b = '![Logo](logo.png) 图片' +# Output: +#

GitHub 链接

+#

Logo 图片

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '示例文本 36' +# --b = '示例文本 37' +# Output: +#

示例文本 36

+#

示例文本 37

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '| 项目 | 价格 | 数量 |\n| ---- | ---- | ---- |\n| 苹果 | $1 | 5 |' +# --b = '| 标题1 | 标题2 |\n| ----- | ----- |\n| 内容1 | 内容2 |' +# Output: +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +#
项目价格数量
苹果$15
+#

| 标题1 | 标题2 | +# | ----- | ----- | +# | 内容1 | 内容2 |

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '![图片alt](image.jpg)' +# --b = '`内联代码`' +# Output: +#

图片alt

+#

内联代码

+# Return Code: 0 diff --git a/markdown/test7_executable.zip b/markdown/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b7f2936b68fa14c1dbc24a1a49aacc516ceaf784 --- /dev/null +++ b/markdown/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa2a9bb33c1622dfb2922677902a3d5a3d5d0e20861b126ec360687a5dbbe9b4 +size 35132654 diff --git a/markdown/test8.py b/markdown/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..64c1453a6f5cd598eda6fd9c42b8e28d3cde81f5 --- /dev/null +++ b/markdown/test8.py @@ -0,0 +1,64 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Markdown with custom output format") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + # Convert with different output formats + result1 = markdown.markdown(args.a, output_format='html') # Convert to HTML format + result2 = markdown.markdown(args.b, output_format='xhtml') # Convert to XHTML format + print(result1) # Print HTML output + print(result2) # Print XHTML output + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '示例文本 30' +# --b = '示例文本 31' +# Output: +#

示例文本 30

+#

示例文本 31

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '普通段落\n\n另一个段落' +# --b = '# 大标题\n\n段落内容。\n\n## 子标题\n\n更多内容。' +# Output: +#

普通段落

+#

另一个段落

+#

大标题

+#

段落内容。

+#

子标题

+#

更多内容。

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '示例文本 38' +# --b = '示例文本 39' +# Output: +#

示例文本 38

+#

示例文本 39

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '# 标题1\n这是一段文本。' +# --b = '## 标题2\n这是另一段文本。' +# Output: +#

标题1

+#

这是一段文本。

+#

标题2

+#

这是另一段文本。

+# Return Code: 0 diff --git a/markdown/test8_executable.zip b/markdown/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..79e67fba34b137dccde8c7eb66ca0df226d21254 --- /dev/null +++ b/markdown/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e01101c93bfd8aa45cad660f0adec6b204f093ddadf40980633ecf1801c4d67a +size 35130462 diff --git a/markdown/test9.py b/markdown/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..ebf15da74839038abfc7347d9dca62354bb98ede --- /dev/null +++ b/markdown/test9.py @@ -0,0 +1,102 @@ +#!/usr/bin/env python3 +import argparse +import markdown + +def main(): + parser = argparse.ArgumentParser(description="Nested markdown processing") + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + # Process two markdown strings and combine them + html_a = markdown.markdown(args.a) # Convert first input to HTML + html_b = markdown.markdown(args.b) # Convert second input to HTML + combined_html = markdown.markdown(f"{html_a}\n\n{html_b}") # Combine and convert again + print(html_a) # Print first HTML + print(html_b) # Print second HTML + print(combined_html) # Print combined HTML + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = "```javascript\nconsole.log('Hello');\n```" +# --b = '```html\n\n \n

标题

\n \n\n```' +# Output: +#

javascript +# console.log('Hello');

+#

```html

+# +# +#

标题

+# +# +#

```

+#

javascript +# console.log('Hello');

+# +#

```html

+# +# +#

标题

+# +# +#

```

+# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '```bash\nls -la\necho $PATH\n```' +# --b = '```\n纯文本代码块\n第二行\n第三行\n```' +# Output: +#

bash +# ls -la +# echo $PATH

+#

纯文本代码块 +# 第二行 +# 第三行

+#

bash +# ls -la +# echo $PATH

+# +#

纯文本代码块 +# 第二行 +# 第三行

+# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '示例文本 38' +# --b = '示例文本 39' +# Output: +#

示例文本 38

+#

示例文本 39

+#

示例文本 38

+# +#

示例文本 39

+# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '**粗体文本** 和 *斜体文本*' +# --b = '1. 项目1\n2. 项目2\n3. 项目3' +# Output: +#

粗体文本斜体文本

+#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+#

粗体文本斜体文本

+# +#
    +#
  1. 项目1
  2. +#
  3. 项目2
  4. +#
  5. 项目3
  6. +#
+# Return Code: 0 diff --git a/markdown/test9_executable.zip b/markdown/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0d0a820a5514c1bf97d1b5d12127689da6b3f0f8 --- /dev/null +++ b/markdown/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88cf4e7108eeec525f8e427ddddd7721bdc74f2fda4882a98c8280fd444b9081 +size 35131095 diff --git a/moneyed/.DS_Store b/moneyed/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..3bc38448aab6980b8732c9e976f6fe3a8b601ed6 Binary files /dev/null and b/moneyed/.DS_Store differ diff --git a/moneyed/__pycache__/test13.cpython-312.pyc b/moneyed/__pycache__/test13.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9dca4cd2ef3bb6786a85aefd254a5f81eebb13b3 Binary files /dev/null and b/moneyed/__pycache__/test13.cpython-312.pyc differ diff --git a/moneyed/__pycache__/test14.cpython-312.pyc b/moneyed/__pycache__/test14.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e24e1fe4daf13225ad184a97e668200e434199bc Binary files /dev/null and b/moneyed/__pycache__/test14.cpython-312.pyc differ diff --git a/moneyed/__pycache__/test5.cpython-310.pyc b/moneyed/__pycache__/test5.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..035347c6735f286f7abcb90bab743962452315e9 Binary files /dev/null and b/moneyed/__pycache__/test5.cpython-310.pyc differ diff --git a/moneyed/__pycache__/test7.cpython-310.pyc b/moneyed/__pycache__/test7.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bef40374732260170f30f4ab32f91c583d81335f Binary files /dev/null and b/moneyed/__pycache__/test7.cpython-310.pyc differ diff --git a/moneyed/build/test5/Analysis-00.toc b/moneyed/build/test5/Analysis-00.toc new file mode 100644 index 0000000000000000000000000000000000000000..5e510c6031124abe1a73e253f53a8bb79b080bf7 --- /dev/null +++ b/moneyed/build/test5/Analysis-00.toc @@ -0,0 +1,4020 @@ +(['/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/test5.py'], + ['/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed'], + [], + [('/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/numpy/_pyinstaller', + 0), + ('/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib/stdhooks', + -1000), + ('/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/_pyinstaller_hooks_contrib', + -1000)], + {}, + [], + [], + False, + {}, + 0, + [], + [], + '3.12.3 (main, Mar 23 2026, 19:04:32) [GCC 13.3.0]', + [('pyi_rth_inspect', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py', + 'PYSOURCE'), + ('pyi_rth_pkgutil', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py', + 'PYSOURCE'), + ('pyi_rth_multiprocessing', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py', + 'PYSOURCE'), + ('test5', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/test5.py', + 'PYSOURCE')], + [('subprocess', '/usr/lib/python3.12/subprocess.py', 'PYMODULE'), + ('selectors', '/usr/lib/python3.12/selectors.py', 'PYMODULE'), + ('contextlib', '/usr/lib/python3.12/contextlib.py', 'PYMODULE'), + ('threading', '/usr/lib/python3.12/threading.py', 'PYMODULE'), + ('_threading_local', '/usr/lib/python3.12/_threading_local.py', 'PYMODULE'), + ('signal', '/usr/lib/python3.12/signal.py', 'PYMODULE'), + ('_strptime', '/usr/lib/python3.12/_strptime.py', 'PYMODULE'), + ('datetime', '/usr/lib/python3.12/datetime.py', 'PYMODULE'), + ('_pydatetime', '/usr/lib/python3.12/_pydatetime.py', 'PYMODULE'), + ('calendar', '/usr/lib/python3.12/calendar.py', 'PYMODULE'), + ('multiprocessing.spawn', + '/usr/lib/python3.12/multiprocessing/spawn.py', + 'PYMODULE'), + ('multiprocessing.resource_tracker', + '/usr/lib/python3.12/multiprocessing/resource_tracker.py', + 'PYMODULE'), + ('multiprocessing.util', + '/usr/lib/python3.12/multiprocessing/util.py', + 'PYMODULE'), + ('multiprocessing.forkserver', + '/usr/lib/python3.12/multiprocessing/forkserver.py', + 'PYMODULE'), + ('multiprocessing.connection', + '/usr/lib/python3.12/multiprocessing/connection.py', + 'PYMODULE'), + ('multiprocessing.resource_sharer', + '/usr/lib/python3.12/multiprocessing/resource_sharer.py', + 'PYMODULE'), + ('xmlrpc.client', '/usr/lib/python3.12/xmlrpc/client.py', 'PYMODULE'), + ('xmlrpc', '/usr/lib/python3.12/xmlrpc/__init__.py', 'PYMODULE'), + ('gzip', '/usr/lib/python3.12/gzip.py', 'PYMODULE'), + ('_compression', '/usr/lib/python3.12/_compression.py', 'PYMODULE'), + ('xml.parsers.expat', '/usr/lib/python3.12/xml/parsers/expat.py', 'PYMODULE'), + ('xml.parsers', '/usr/lib/python3.12/xml/parsers/__init__.py', 'PYMODULE'), + ('xml', '/usr/lib/python3.12/xml/__init__.py', 'PYMODULE'), + ('xml.sax.expatreader', + '/usr/lib/python3.12/xml/sax/expatreader.py', + 'PYMODULE'), + ('xml.sax.saxutils', '/usr/lib/python3.12/xml/sax/saxutils.py', 'PYMODULE'), + ('urllib.request', '/usr/lib/python3.12/urllib/request.py', 'PYMODULE'), + ('ipaddress', '/usr/lib/python3.12/ipaddress.py', 'PYMODULE'), + ('fnmatch', '/usr/lib/python3.12/fnmatch.py', 'PYMODULE'), + ('getpass', '/usr/lib/python3.12/getpass.py', 'PYMODULE'), + ('nturl2path', '/usr/lib/python3.12/nturl2path.py', 'PYMODULE'), + ('ftplib', '/usr/lib/python3.12/ftplib.py', 'PYMODULE'), + ('netrc', '/usr/lib/python3.12/netrc.py', 'PYMODULE'), + ('mimetypes', '/usr/lib/python3.12/mimetypes.py', 'PYMODULE'), + ('getopt', '/usr/lib/python3.12/getopt.py', 'PYMODULE'), + ('gettext', '/usr/lib/python3.12/gettext.py', 'PYMODULE'), + ('copy', '/usr/lib/python3.12/copy.py', 'PYMODULE'), + ('email.utils', '/usr/lib/python3.12/email/utils.py', 'PYMODULE'), + ('email.charset', '/usr/lib/python3.12/email/charset.py', 'PYMODULE'), + ('email.encoders', '/usr/lib/python3.12/email/encoders.py', 'PYMODULE'), + ('quopri', '/usr/lib/python3.12/quopri.py', 'PYMODULE'), + ('email.errors', '/usr/lib/python3.12/email/errors.py', 'PYMODULE'), + ('email.quoprimime', '/usr/lib/python3.12/email/quoprimime.py', 'PYMODULE'), + ('email.base64mime', '/usr/lib/python3.12/email/base64mime.py', 'PYMODULE'), + ('email._parseaddr', '/usr/lib/python3.12/email/_parseaddr.py', 'PYMODULE'), + ('random', '/usr/lib/python3.12/random.py', 'PYMODULE'), + ('statistics', '/usr/lib/python3.12/statistics.py', 'PYMODULE'), + ('fractions', '/usr/lib/python3.12/fractions.py', 'PYMODULE'), + ('numbers', '/usr/lib/python3.12/numbers.py', 'PYMODULE'), + ('http.cookiejar', '/usr/lib/python3.12/http/cookiejar.py', 'PYMODULE'), + ('http', '/usr/lib/python3.12/http/__init__.py', 'PYMODULE'), + ('urllib', '/usr/lib/python3.12/urllib/__init__.py', 'PYMODULE'), + ('ssl', '/usr/lib/python3.12/ssl.py', 'PYMODULE'), + ('urllib.response', '/usr/lib/python3.12/urllib/response.py', 'PYMODULE'), + ('urllib.error', '/usr/lib/python3.12/urllib/error.py', 'PYMODULE'), + ('string', '/usr/lib/python3.12/string.py', 'PYMODULE'), + ('hashlib', '/usr/lib/python3.12/hashlib.py', 'PYMODULE'), + ('email', '/usr/lib/python3.12/email/__init__.py', 'PYMODULE'), + ('email.parser', '/usr/lib/python3.12/email/parser.py', 'PYMODULE'), + ('email._policybase', '/usr/lib/python3.12/email/_policybase.py', 'PYMODULE'), + ('email.feedparser', '/usr/lib/python3.12/email/feedparser.py', 'PYMODULE'), + ('email.message', '/usr/lib/python3.12/email/message.py', 'PYMODULE'), + ('email.policy', '/usr/lib/python3.12/email/policy.py', 'PYMODULE'), + ('email.contentmanager', + '/usr/lib/python3.12/email/contentmanager.py', + 'PYMODULE'), + ('email.headerregistry', + '/usr/lib/python3.12/email/headerregistry.py', + 'PYMODULE'), + ('email.iterators', '/usr/lib/python3.12/email/iterators.py', 'PYMODULE'), + ('email.generator', '/usr/lib/python3.12/email/generator.py', 'PYMODULE'), + ('email._encoded_words', + '/usr/lib/python3.12/email/_encoded_words.py', + 'PYMODULE'), + ('email._header_value_parser', + '/usr/lib/python3.12/email/_header_value_parser.py', + 'PYMODULE'), + ('email.header', '/usr/lib/python3.12/email/header.py', 'PYMODULE'), + ('bisect', '/usr/lib/python3.12/bisect.py', 'PYMODULE'), + ('xml.sax', '/usr/lib/python3.12/xml/sax/__init__.py', 'PYMODULE'), + ('xml.sax.handler', '/usr/lib/python3.12/xml/sax/handler.py', 'PYMODULE'), + ('xml.sax._exceptions', + '/usr/lib/python3.12/xml/sax/_exceptions.py', + 'PYMODULE'), + ('xml.sax.xmlreader', '/usr/lib/python3.12/xml/sax/xmlreader.py', 'PYMODULE'), + ('urllib.parse', '/usr/lib/python3.12/urllib/parse.py', 'PYMODULE'), + ('http.client', '/usr/lib/python3.12/http/client.py', 'PYMODULE'), + ('decimal', '/usr/lib/python3.12/decimal.py', 'PYMODULE'), + ('_pydecimal', '/usr/lib/python3.12/_pydecimal.py', 'PYMODULE'), + ('contextvars', '/usr/lib/python3.12/contextvars.py', 'PYMODULE'), + ('base64', '/usr/lib/python3.12/base64.py', 'PYMODULE'), + ('hmac', '/usr/lib/python3.12/hmac.py', 'PYMODULE'), + ('struct', '/usr/lib/python3.12/struct.py', 'PYMODULE'), + ('socket', '/usr/lib/python3.12/socket.py', 'PYMODULE'), + ('tempfile', '/usr/lib/python3.12/tempfile.py', 'PYMODULE'), + ('shutil', '/usr/lib/python3.12/shutil.py', 'PYMODULE'), + ('zipfile', '/usr/lib/python3.12/zipfile/__init__.py', 'PYMODULE'), + ('zipfile._path', + '/usr/lib/python3.12/zipfile/_path/__init__.py', + 'PYMODULE'), + ('zipfile._path.glob', + '/usr/lib/python3.12/zipfile/_path/glob.py', + 'PYMODULE'), + ('pathlib', '/usr/lib/python3.12/pathlib.py', 'PYMODULE'), + ('py_compile', '/usr/lib/python3.12/py_compile.py', 'PYMODULE'), + ('importlib.machinery', + '/usr/lib/python3.12/importlib/machinery.py', + 'PYMODULE'), + ('importlib', '/usr/lib/python3.12/importlib/__init__.py', 'PYMODULE'), + ('importlib._bootstrap', + '/usr/lib/python3.12/importlib/_bootstrap.py', + 'PYMODULE'), + ('importlib._bootstrap_external', + '/usr/lib/python3.12/importlib/_bootstrap_external.py', + 'PYMODULE'), + ('importlib.metadata', + '/usr/lib/python3.12/importlib/metadata/__init__.py', + 'PYMODULE'), + ('typing', '/usr/lib/python3.12/typing.py', 'PYMODULE'), + ('importlib.abc', '/usr/lib/python3.12/importlib/abc.py', 'PYMODULE'), + ('importlib.resources.abc', + '/usr/lib/python3.12/importlib/resources/abc.py', + 'PYMODULE'), + ('importlib.resources', + '/usr/lib/python3.12/importlib/resources/__init__.py', + 'PYMODULE'), + ('importlib.resources._legacy', + '/usr/lib/python3.12/importlib/resources/_legacy.py', + 'PYMODULE'), + ('importlib.resources._common', + '/usr/lib/python3.12/importlib/resources/_common.py', + 'PYMODULE'), + ('importlib.resources._adapters', + '/usr/lib/python3.12/importlib/resources/_adapters.py', + 'PYMODULE'), + ('importlib._abc', '/usr/lib/python3.12/importlib/_abc.py', 'PYMODULE'), + ('importlib.metadata._itertools', + '/usr/lib/python3.12/importlib/metadata/_itertools.py', + 'PYMODULE'), + ('importlib.metadata._functools', + '/usr/lib/python3.12/importlib/metadata/_functools.py', + 'PYMODULE'), + ('importlib.metadata._collections', + '/usr/lib/python3.12/importlib/metadata/_collections.py', + 'PYMODULE'), + ('importlib.metadata._meta', + '/usr/lib/python3.12/importlib/metadata/_meta.py', + 'PYMODULE'), + ('importlib.metadata._adapters', + '/usr/lib/python3.12/importlib/metadata/_adapters.py', + 'PYMODULE'), + ('importlib.metadata._text', + '/usr/lib/python3.12/importlib/metadata/_text.py', + 'PYMODULE'), + ('inspect', '/usr/lib/python3.12/inspect.py', 'PYMODULE'), + ('token', '/usr/lib/python3.12/token.py', 'PYMODULE'), + ('dis', '/usr/lib/python3.12/dis.py', 'PYMODULE'), + ('opcode', '/usr/lib/python3.12/opcode.py', 'PYMODULE'), + ('ast', '/usr/lib/python3.12/ast.py', 'PYMODULE'), + ('textwrap', '/usr/lib/python3.12/textwrap.py', 'PYMODULE'), + ('csv', '/usr/lib/python3.12/csv.py', 'PYMODULE'), + ('importlib.readers', '/usr/lib/python3.12/importlib/readers.py', 'PYMODULE'), + ('importlib.resources.readers', + '/usr/lib/python3.12/importlib/resources/readers.py', + 'PYMODULE'), + ('importlib.resources._itertools', + '/usr/lib/python3.12/importlib/resources/_itertools.py', + 'PYMODULE'), + ('tokenize', '/usr/lib/python3.12/tokenize.py', 'PYMODULE'), + ('importlib.util', '/usr/lib/python3.12/importlib/util.py', 'PYMODULE'), + ('tarfile', '/usr/lib/python3.12/tarfile.py', 'PYMODULE'), + ('lzma', '/usr/lib/python3.12/lzma.py', 'PYMODULE'), + ('bz2', '/usr/lib/python3.12/bz2.py', 'PYMODULE'), + ('logging', '/usr/lib/python3.12/logging/__init__.py', 'PYMODULE'), + ('pickle', '/usr/lib/python3.12/pickle.py', 'PYMODULE'), + ('pprint', '/usr/lib/python3.12/pprint.py', 'PYMODULE'), + ('dataclasses', '/usr/lib/python3.12/dataclasses.py', 'PYMODULE'), + ('_compat_pickle', '/usr/lib/python3.12/_compat_pickle.py', 'PYMODULE'), + ('multiprocessing.context', + '/usr/lib/python3.12/multiprocessing/context.py', + 'PYMODULE'), + ('multiprocessing.popen_spawn_win32', + '/usr/lib/python3.12/multiprocessing/popen_spawn_win32.py', + 'PYMODULE'), + ('multiprocessing.popen_forkserver', + '/usr/lib/python3.12/multiprocessing/popen_forkserver.py', + 'PYMODULE'), + ('multiprocessing.popen_spawn_posix', + '/usr/lib/python3.12/multiprocessing/popen_spawn_posix.py', + 'PYMODULE'), + ('multiprocessing.popen_fork', + '/usr/lib/python3.12/multiprocessing/popen_fork.py', + 'PYMODULE'), + ('multiprocessing.sharedctypes', + '/usr/lib/python3.12/multiprocessing/sharedctypes.py', + 'PYMODULE'), + ('multiprocessing.heap', + '/usr/lib/python3.12/multiprocessing/heap.py', + 'PYMODULE'), + ('ctypes', '/usr/lib/python3.12/ctypes/__init__.py', 'PYMODULE'), + ('ctypes._endian', '/usr/lib/python3.12/ctypes/_endian.py', 'PYMODULE'), + ('multiprocessing.pool', + '/usr/lib/python3.12/multiprocessing/pool.py', + 'PYMODULE'), + ('multiprocessing.dummy', + '/usr/lib/python3.12/multiprocessing/dummy/__init__.py', + 'PYMODULE'), + ('multiprocessing.dummy.connection', + '/usr/lib/python3.12/multiprocessing/dummy/connection.py', + 'PYMODULE'), + ('queue', '/usr/lib/python3.12/queue.py', 'PYMODULE'), + ('multiprocessing.queues', + '/usr/lib/python3.12/multiprocessing/queues.py', + 'PYMODULE'), + ('multiprocessing.synchronize', + '/usr/lib/python3.12/multiprocessing/synchronize.py', + 'PYMODULE'), + ('multiprocessing.managers', + '/usr/lib/python3.12/multiprocessing/managers.py', + 'PYMODULE'), + ('multiprocessing.shared_memory', + '/usr/lib/python3.12/multiprocessing/shared_memory.py', + 'PYMODULE'), + ('secrets', '/usr/lib/python3.12/secrets.py', 'PYMODULE'), + ('multiprocessing.reduction', + '/usr/lib/python3.12/multiprocessing/reduction.py', + 'PYMODULE'), + ('multiprocessing.process', + '/usr/lib/python3.12/multiprocessing/process.py', + 'PYMODULE'), + ('runpy', '/usr/lib/python3.12/runpy.py', 'PYMODULE'), + ('pkgutil', '/usr/lib/python3.12/pkgutil.py', 'PYMODULE'), + ('zipimport', '/usr/lib/python3.12/zipimport.py', 'PYMODULE'), + ('multiprocessing', + '/usr/lib/python3.12/multiprocessing/__init__.py', + 'PYMODULE'), + ('_py_abc', '/usr/lib/python3.12/_py_abc.py', 'PYMODULE'), + ('tracemalloc', '/usr/lib/python3.12/tracemalloc.py', 'PYMODULE'), + ('stringprep', '/usr/lib/python3.12/stringprep.py', 'PYMODULE'), + ('moneyed', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/moneyed/__init__.py', + 'PYMODULE'), + ('moneyed.classes', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/moneyed/classes.py', + 'PYMODULE'), + ('babel.numbers', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/numbers.py', + 'PYMODULE'), + ('babel.localedata', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localedata.py', + 'PYMODULE'), + ('moneyed.utils', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/moneyed/utils.py', + 'PYMODULE'), + ('moneyed.l10n', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/moneyed/l10n.py', + 'PYMODULE'), + ('typing_extensions', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/typing_extensions.py', + 'PYMODULE'), + ('asyncio.coroutines', + '/usr/lib/python3.12/asyncio/coroutines.py', + 'PYMODULE'), + ('asyncio', '/usr/lib/python3.12/asyncio/__init__.py', 'PYMODULE'), + ('asyncio.unix_events', + '/usr/lib/python3.12/asyncio/unix_events.py', + 'PYMODULE'), + ('asyncio.log', '/usr/lib/python3.12/asyncio/log.py', 'PYMODULE'), + ('asyncio.windows_events', + '/usr/lib/python3.12/asyncio/windows_events.py', + 'PYMODULE'), + ('asyncio.windows_utils', + '/usr/lib/python3.12/asyncio/windows_utils.py', + 'PYMODULE'), + ('asyncio.selector_events', + '/usr/lib/python3.12/asyncio/selector_events.py', + 'PYMODULE'), + ('asyncio.proactor_events', + '/usr/lib/python3.12/asyncio/proactor_events.py', + 'PYMODULE'), + ('asyncio.base_subprocess', + '/usr/lib/python3.12/asyncio/base_subprocess.py', + 'PYMODULE'), + ('asyncio.threads', '/usr/lib/python3.12/asyncio/threads.py', 'PYMODULE'), + ('asyncio.taskgroups', + '/usr/lib/python3.12/asyncio/taskgroups.py', + 'PYMODULE'), + ('asyncio.subprocess', + '/usr/lib/python3.12/asyncio/subprocess.py', + 'PYMODULE'), + ('asyncio.streams', '/usr/lib/python3.12/asyncio/streams.py', 'PYMODULE'), + ('asyncio.queues', '/usr/lib/python3.12/asyncio/queues.py', 'PYMODULE'), + ('asyncio.runners', '/usr/lib/python3.12/asyncio/runners.py', 'PYMODULE'), + ('asyncio.base_events', + '/usr/lib/python3.12/asyncio/base_events.py', + 'PYMODULE'), + ('concurrent.futures', + '/usr/lib/python3.12/concurrent/futures/__init__.py', + 'PYMODULE'), + ('concurrent.futures.thread', + '/usr/lib/python3.12/concurrent/futures/thread.py', + 'PYMODULE'), + ('concurrent.futures.process', + '/usr/lib/python3.12/concurrent/futures/process.py', + 'PYMODULE'), + ('concurrent.futures._base', + '/usr/lib/python3.12/concurrent/futures/_base.py', + 'PYMODULE'), + ('concurrent', '/usr/lib/python3.12/concurrent/__init__.py', 'PYMODULE'), + ('asyncio.trsock', '/usr/lib/python3.12/asyncio/trsock.py', 'PYMODULE'), + ('asyncio.staggered', '/usr/lib/python3.12/asyncio/staggered.py', 'PYMODULE'), + ('asyncio.timeouts', '/usr/lib/python3.12/asyncio/timeouts.py', 'PYMODULE'), + ('asyncio.tasks', '/usr/lib/python3.12/asyncio/tasks.py', 'PYMODULE'), + ('asyncio.base_tasks', + '/usr/lib/python3.12/asyncio/base_tasks.py', + 'PYMODULE'), + ('asyncio.locks', '/usr/lib/python3.12/asyncio/locks.py', 'PYMODULE'), + ('asyncio.mixins', '/usr/lib/python3.12/asyncio/mixins.py', 'PYMODULE'), + ('asyncio.sslproto', '/usr/lib/python3.12/asyncio/sslproto.py', 'PYMODULE'), + ('asyncio.transports', + '/usr/lib/python3.12/asyncio/transports.py', + 'PYMODULE'), + ('asyncio.protocols', '/usr/lib/python3.12/asyncio/protocols.py', 'PYMODULE'), + ('asyncio.futures', '/usr/lib/python3.12/asyncio/futures.py', 'PYMODULE'), + ('asyncio.base_futures', + '/usr/lib/python3.12/asyncio/base_futures.py', + 'PYMODULE'), + ('asyncio.exceptions', + '/usr/lib/python3.12/asyncio/exceptions.py', + 'PYMODULE'), + ('asyncio.events', '/usr/lib/python3.12/asyncio/events.py', 'PYMODULE'), + ('asyncio.format_helpers', + '/usr/lib/python3.12/asyncio/format_helpers.py', + 'PYMODULE'), + ('asyncio.constants', '/usr/lib/python3.12/asyncio/constants.py', 'PYMODULE'), + ('babel.core', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/core.py', + 'PYMODULE'), + ('babel.plural', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/plural.py', + 'PYMODULE'), + ('babel', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/__init__.py', + 'PYMODULE'), + ('babel.dates', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/dates.py', + 'PYMODULE'), + ('zoneinfo', '/usr/lib/python3.12/zoneinfo/__init__.py', 'PYMODULE'), + ('zoneinfo._zoneinfo', + '/usr/lib/python3.12/zoneinfo/_zoneinfo.py', + 'PYMODULE'), + ('zoneinfo._common', '/usr/lib/python3.12/zoneinfo/_common.py', 'PYMODULE'), + ('zoneinfo._tzpath', '/usr/lib/python3.12/zoneinfo/_tzpath.py', 'PYMODULE'), + ('sysconfig', '/usr/lib/python3.12/sysconfig.py', 'PYMODULE'), + ('_sysconfigdata__x86_64-linux-gnu', + '/usr/lib/python3.12/_sysconfigdata__x86_64-linux-gnu.py', + 'PYMODULE'), + ('_aix_support', '/usr/lib/python3.12/_aix_support.py', 'PYMODULE'), + ('babel.localtime', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/__init__.py', + 'PYMODULE'), + ('babel.localtime._fallback', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/_fallback.py', + 'PYMODULE'), + ('babel.localtime._unix', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/_unix.py', + 'PYMODULE'), + ('babel.localtime._helpers', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/_helpers.py', + 'PYMODULE'), + ('babel.localtime._win32', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/_win32.py', + 'PYMODULE'), + ('__future__', '/usr/lib/python3.12/__future__.py', 'PYMODULE'), + ('argparse', '/usr/lib/python3.12/argparse.py', 'PYMODULE')], + [('libpython3.12.so.1.0', + '/lib/x86_64-linux-gnu/libpython3.12.so.1.0', + 'BINARY'), + ('python3.12/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/termios.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/termios.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_ssl.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_ssl.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_hashlib.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_hashlib.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_contextvars.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_contextvars.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_decimal.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_decimal.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/resource.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/resource.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_lzma.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_lzma.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_bz2.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_bz2.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_ctypes.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_ctypes.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_multibytecodec.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_multibytecodec.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_jp.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_jp.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_kr.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_kr.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_iso2022.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_iso2022.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_cn.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_cn.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_tw.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_tw.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_hk.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_hk.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_zoneinfo.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_zoneinfo.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'), + ('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'), + ('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'), + ('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'), + ('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'), + ('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'), + ('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY')], + [], + [], + [('babel/locale-data/sbp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sbp.dat', + 'DATA'), + ('babel/locale-data/mg_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mg_MG.dat', + 'DATA'), + ('babel/locale-data/en_BW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BW.dat', + 'DATA'), + ('babel/locale-data/es_CO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CO.dat', + 'DATA'), + ('babel/locale-data/jbo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jbo.dat', + 'DATA'), + ('babel/locale-data/fr_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CA.dat', + 'DATA'), + ('babel/locale-data/tn_BW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn_BW.dat', + 'DATA'), + ('babel/locale-data/cu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cu.dat', + 'DATA'), + ('babel/locale-data/es_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_ES.dat', + 'DATA'), + ('babel/locale-data/hr_HR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr_HR.dat', + 'DATA'), + ('babel/locale-data/fil.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fil.dat', + 'DATA'), + ('babel/locale-data/kk_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_KZ.dat', + 'DATA'), + ('babel/locale-data/fy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fy.dat', + 'DATA'), + ('babel/locale-data/kln.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kln.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_BA.dat', + 'DATA'), + ('babel/locale-data/is_IS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/is_IS.dat', + 'DATA'), + ('babel/locale-data/aa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa.dat', + 'DATA'), + ('babel/locale-data/co_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/co_FR.dat', + 'DATA'), + ('babel/locale-data/ja_JP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ja_JP.dat', + 'DATA'), + ('babel/locale-data/hi_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/mua_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mua_CM.dat', + 'DATA'), + ('babel/locale-data/jgo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jgo_CM.dat', + 'DATA'), + ('babel/locale-data/ss_SZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss_SZ.dat', + 'DATA'), + ('babel/locale-data/en_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZW.dat', + 'DATA'), + ('babel/locale-data/id.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/id.dat', + 'DATA'), + ('babel/locale-data/fr_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_DZ.dat', + 'DATA'), + ('babel/locale-data/en_PT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PT.dat', + 'DATA'), + ('babel/locale-data/mg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mg.dat', + 'DATA'), + ('babel/locale-data/kam_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kam_KE.dat', + 'DATA'), + ('babel/locale-data/es_419.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_419.dat', + 'DATA'), + ('babel/locale-data/pt_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_BR.dat', + 'DATA'), + ('babel/locale-data/mus_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mus_US.dat', + 'DATA'), + ('babel/locale-data/br.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/br.dat', + 'DATA'), + ('babel/locale-data/en_GY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GY.dat', + 'DATA'), + ('babel/locale-data/naq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/naq.dat', + 'DATA'), + ('babel/locale-data/pa_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Arab.dat', + 'DATA'), + ('babel/locale-data/syr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr.dat', + 'DATA'), + ('babel/locale-data/kk_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Cyrl.dat', + 'DATA'), + ('babel/locale-data/gez.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez.dat', + 'DATA'), + ('babel/locale-data/kok_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/bgn_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_IR.dat', + 'DATA'), + ('babel/locale-data/fo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo.dat', + 'DATA'), + ('babel/locale-data/jv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jv.dat', + 'DATA'), + ('babel/locale-data/syr_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr_IQ.dat', + 'DATA'), + ('babel/locale-data/ko_KP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_KP.dat', + 'DATA'), + ('babel/locale-data/fr_NC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_NC.dat', + 'DATA'), + ('babel/locale-data/mgh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgh.dat', + 'DATA'), + ('babel/locale-data/ar_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_DJ.dat', + 'DATA'), + ('babel/locale-data/nd_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nd_ZW.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_NG.dat', + 'DATA'), + ('babel/locale-data/ca.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca.dat', + 'DATA'), + ('babel/locale-data/luy_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luy_KE.dat', + 'DATA'), + ('babel/locale-data/sd_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Arab.dat', + 'DATA'), + ('babel/locale-data/kaa_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Latn.dat', + 'DATA'), + ('babel/locale-data/ur_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur_IN.dat', + 'DATA'), + ('babel/locale-data/hr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr.dat', + 'DATA'), + ('babel/locale-data/nn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nn.dat', + 'DATA'), + ('babel/locale-data/ab_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ab_GE.dat', + 'DATA'), + ('babel/locale-data/sg_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sg_CF.dat', + 'DATA'), + ('babel/locale-data/mer_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mer_KE.dat', + 'DATA'), + ('babel/locale-data/sw_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_KE.dat', + 'DATA'), + ('babel/locale-data/rof.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rof.dat', + 'DATA'), + ('babel/locale-data/be_BY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be_BY.dat', + 'DATA'), + ('babel/locale-data/es_PE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PE.dat', + 'DATA'), + ('babel/locale-data/ms_Arab_BN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab_BN.dat', + 'DATA'), + ('babel/locale-data/en_AU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AU.dat', + 'DATA'), + ('babel/locale-data/hnj_Hmnp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj_Hmnp.dat', + 'DATA'), + ('babel/locale-data/sid_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sid_ET.dat', + 'DATA'), + ('babel/locale-data/kam.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kam.dat', + 'DATA'), + ('babel/locale-data/se_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_NO.dat', + 'DATA'), + ('babel/locale-data/ccp_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp_BD.dat', + 'DATA'), + ('babel/locale-data/ar_JO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_JO.dat', + 'DATA'), + ('babel/locale-data/dyo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dyo.dat', + 'DATA'), + ('babel/locale-data/sat_Olck_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Olck_IN.dat', + 'DATA'), + ('babel/locale-data/kw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kw.dat', + 'DATA'), + ('babel/locale-data/sv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv.dat', + 'DATA'), + ('babel/locale-data/mgo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgo.dat', + 'DATA'), + ('babel/locale-data/dav.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dav.dat', + 'DATA'), + ('babel/locale-data/ann_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ann_NG.dat', + 'DATA'), + ('babel/locale-data/kaa_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Cyrl.dat', + 'DATA'), + ('babel/locale-data/ks_Arab_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Arab_IN.dat', + 'DATA'), + ('babel/locale-data/te.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/te.dat', + 'DATA'), + ('babel/locale-data/zu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zu.dat', + 'DATA'), + ('babel/locale-data/sat.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat.dat', + 'DATA'), + ('babel/locale-data/en_PR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PR.dat', + 'DATA'), + ('babel/locale-data/fr_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CM.dat', + 'DATA'), + ('babel/locale-data/ug.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ug.dat', + 'DATA'), + ('babel/locale-data/tn_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn_ZA.dat', + 'DATA'), + ('babel/locale-data/fr_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CF.dat', + 'DATA'), + ('babel/locale-data/ts.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ts.dat', + 'DATA'), + ('babel/locale-data/bm_Nkoo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_Nkoo.dat', + 'DATA'), + ('babel/locale-data/ne_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne_IN.dat', + 'DATA'), + ('babel/locale-data/es_DO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_DO.dat', + 'DATA'), + ('babel/locale-data/fr_PM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_PM.dat', + 'DATA'), + ('babel/locale-data/es_UY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_UY.dat', + 'DATA'), + ('babel/locale-data/sw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw.dat', + 'DATA'), + ('babel/locale-data/pt_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_MZ.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_NE.dat', + 'DATA'), + ('babel/locale-data/lmo_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lmo_IT.dat', + 'DATA'), + ('babel/locale-data/nds_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds_DE.dat', + 'DATA'), + ('babel/locale-data/az_Cyrl_AZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Cyrl_AZ.dat', + 'DATA'), + ('babel/locale-data/nqo_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nqo_GN.dat', + 'DATA'), + ('babel/locale-data/es_NI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_NI.dat', + 'DATA'), + ('babel/locale-data/pt_TL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_TL.dat', + 'DATA'), + ('babel/locale-data/om_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om_KE.dat', + 'DATA'), + ('babel/locale-data/zh_Latn_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Latn_CN.dat', + 'DATA'), + ('babel/locale-data/en_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PH.dat', + 'DATA'), + ('babel/locale-data/xog.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xog.dat', + 'DATA'), + ('babel/locale-data/sv_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_SE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_SN.dat', + 'DATA'), + ('babel/locale-data/fr_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_ML.dat', + 'DATA'), + ('babel/locale-data/en_NR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NR.dat', + 'DATA'), + ('babel/locale-data/es_HN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_HN.dat', + 'DATA'), + ('babel/locale-data/apc_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/apc_SY.dat', + 'DATA'), + ('babel/locale-data/bew_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bew_ID.dat', + 'DATA'), + ('babel/locale-data/yrl_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_BR.dat', + 'DATA'), + ('babel/locale-data/shn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn.dat', + 'DATA'), + ('babel/locale-data/ar_PS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_PS.dat', + 'DATA'), + ('babel/locale-data/en_GG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GG.dat', + 'DATA'), + ('babel/locale-data/lld.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lld.dat', + 'DATA'), + ('babel/locale-data/tr_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr_CY.dat', + 'DATA'), + ('babel/locale-data/mas_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas_TZ.dat', + 'DATA'), + ('babel/locale-data/zh_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Latn.dat', + 'DATA'), + ('babel/locale-data/zgh_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zgh_MA.dat', + 'DATA'), + ('babel/locale-data/qu_PE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_PE.dat', + 'DATA'), + ('babel/locale-data/iu_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_CA.dat', + 'DATA'), + ('babel/locale-data/es_PR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PR.dat', + 'DATA'), + ('babel/locale-data/or.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/or.dat', + 'DATA'), + ('babel/locale-data/dv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dv.dat', + 'DATA'), + ('babel/locale-data/kea.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kea.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg_BD.dat', + 'DATA'), + ('babel/locale-data/de_AT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_AT.dat', + 'DATA'), + ('babel/locale-data/byn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/byn.dat', + 'DATA'), + ('babel/locale-data/dav_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dav_KE.dat', + 'DATA'), + ('babel/locale-data/oc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc.dat', + 'DATA'), + ('babel/locale-data/trw_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trw_PK.dat', + 'DATA'), + ('babel/locale-data/bal_Latn_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Latn_PK.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_HK.dat', + 'DATA'), + ('babel/locale-data/os_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os_GE.dat', + 'DATA'), + ('babel/locale-data/bas.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bas.dat', + 'DATA'), + ('babel/locale-data/en_FM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FM.dat', + 'DATA'), + ('babel/locale-data/dje.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dje.dat', + 'DATA'), + ('babel/locale-data/tpi_PG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tpi_PG.dat', + 'DATA'), + ('babel/locale-data/sdh_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh_IQ.dat', + 'DATA'), + ('babel/locale-data/frr_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/frr_DE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GH.dat', + 'DATA'), + ('babel/locale-data/nso_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nso_ZA.dat', + 'DATA'), + ('babel/locale-data/doi_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/doi_IN.dat', + 'DATA'), + ('babel/locale-data/ar_YE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_YE.dat', + 'DATA'), + ('babel/locale-data/es_SV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_SV.dat', + 'DATA'), + ('babel/locale-data/st_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st_ZA.dat', + 'DATA'), + ('babel/locale-data/ln_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CD.dat', + 'DATA'), + ('babel/locale-data/fr_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MA.dat', + 'DATA'), + ('babel/locale-data/ee_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee_GH.dat', + 'DATA'), + ('babel/locale-data/bo_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo_CN.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_LR.dat', + 'DATA'), + ('babel/locale-data/mic.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mic.dat', + 'DATA'), + ('babel/locale-data/mt_MT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mt_MT.dat', + 'DATA'), + ('babel/locale-data/aa_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_DJ.dat', + 'DATA'), + ('babel/locale-data/az.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GH.dat', + 'DATA'), + ('babel/locale-data/la.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/la.dat', + 'DATA'), + ('babel/locale-data/es_BZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BZ.dat', + 'DATA'), + ('babel/locale-data/gn_PY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gn_PY.dat', + 'DATA'), + ('babel/locale-data/es_MX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_MX.dat', + 'DATA'), + ('babel/locale-data/mai.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mai.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_MO.dat', + 'DATA'), + ('babel/locale-data/ar_TD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_TD.dat', + 'DATA'), + ('babel/locale-data/pap_AW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap_AW.dat', + 'DATA'), + ('babel/locale-data/ki.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ki.dat', + 'DATA'), + ('babel/locale-data/cs.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cs.dat', + 'DATA'), + ('babel/locale-data/pap_CW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap_CW.dat', + 'DATA'), + ('babel/locale-data/en_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SE.dat', + 'DATA'), + ('babel/locale-data/qu_BO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_BO.dat', + 'DATA'), + ('babel/locale-data/smn_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smn_FI.dat', + 'DATA'), + ('babel/locale-data/oc_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc_FR.dat', + 'DATA'), + ('babel/locale-data/fr_HT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_HT.dat', + 'DATA'), + ('babel/locale-data/en_TK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TK.dat', + 'DATA'), + ('babel/locale-data/de_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_CH.dat', + 'DATA'), + ('babel/locale-data/haw_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/haw_US.dat', + 'DATA'), + ('babel/locale-data/tig_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tig_ER.dat', + 'DATA'), + ('babel/locale-data/mas_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas_KE.dat', + 'DATA'), + ('babel/locale-data/kok.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok.dat', + 'DATA'), + ('babel/locale-data/gv_IM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gv_IM.dat', + 'DATA'), + ('babel/locale-data/sat_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/tr_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr_TR.dat', + 'DATA'), + ('babel/locale-data/de_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_DE.dat', + 'DATA'), + ('babel/locale-data/trv_TW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trv_TW.dat', + 'DATA'), + ('babel/locale-data/ru_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_RU.dat', + 'DATA'), + ('babel/locale-data/ar_SO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SO.dat', + 'DATA'), + ('babel/locale-data/mua.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mua.dat', + 'DATA'), + ('babel/locale-data/mn_MN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_MN.dat', + 'DATA'), + ('babel/locale-data/yi_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yi_UA.dat', + 'DATA'), + ('babel/locale-data/de_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_IT.dat', + 'DATA'), + ('babel/locale-data/eu_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eu_ES.dat', + 'DATA'), + ('babel/locale-data/jgo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jgo.dat', + 'DATA'), + ('babel/locale-data/ar_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_AE.dat', + 'DATA'), + ('babel/locale-data/bgn_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_AF.dat', + 'DATA'), + ('babel/locale-data/bn_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn_BD.dat', + 'DATA'), + ('babel/locale-data/bo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo.dat', + 'DATA'), + ('babel/locale-data/ar_SA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SA.dat', + 'DATA'), + ('babel/locale-data/en_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ER.dat', + 'DATA'), + ('babel/locale-data/ht_HT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ht_HT.dat', + 'DATA'), + ('babel/locale-data/es_CL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CL.dat', + 'DATA'), + ('babel/locale-data/tok.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tok.dat', + 'DATA'), + ('babel/locale-data/dua_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dua_CM.dat', + 'DATA'), + ('babel/locale-data/csw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/csw.dat', + 'DATA'), + ('babel/locale-data/ken.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ken.dat', + 'DATA'), + ('babel/locale-data/ar_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_DZ.dat', + 'DATA'), + ('babel/locale-data/en_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CM.dat', + 'DATA'), + ('babel/locale-data/es_IC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_IC.dat', + 'DATA'), + ('babel/locale-data/en_MT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MT.dat', + 'DATA'), + ('babel/locale-data/vmw_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vmw_MZ.dat', + 'DATA'), + ('babel/locale-data/ps_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps_PK.dat', + 'DATA'), + ('babel/locale-data/bm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm.dat', + 'DATA'), + ('babel/locale-data/szl_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/szl_PL.dat', + 'DATA'), + ('babel/locale-data/ug_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ug_CN.dat', + 'DATA'), + ('babel/locale-data/sa_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sa_IN.dat', + 'DATA'), + ('babel/locale-data/ebu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ebu.dat', + 'DATA'), + ('babel/locale-data/tig.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tig.dat', + 'DATA'), + ('babel/locale-data/co.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/co.dat', + 'DATA'), + ('babel/locale-data/en.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en.dat', + 'DATA'), + ('babel/locale-data/kab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kab.dat', + 'DATA'), + ('babel/locale-data/ie_EE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ie_EE.dat', + 'DATA'), + ('babel/locale-data/es_EC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_EC.dat', + 'DATA'), + ('babel/locale-data/skr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/skr.dat', + 'DATA'), + ('babel/locale-data/en_JE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_JE.dat', + 'DATA'), + ('babel/locale-data/sd_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/ar_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_MA.dat', + 'DATA'), + ('babel/locale-data/bss.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bss.dat', + 'DATA'), + ('babel/locale-data/tyv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tyv.dat', + 'DATA'), + ('babel/locale-data/en_AI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AI.dat', + 'DATA'), + ('babel/locale-data/jmc_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jmc_TZ.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GM.dat', + 'DATA'), + ('babel/locale-data/cop.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cop.dat', + 'DATA'), + ('babel/locale-data/ru_BY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_BY.dat', + 'DATA'), + ('babel/locale-data/fa_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa_IR.dat', + 'DATA'), + ('babel/locale-data/moh_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/moh_CA.dat', + 'DATA'), + ('babel/locale-data/en_DG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DG.dat', + 'DATA'), + ('babel/locale-data/fa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa.dat', + 'DATA'), + ('babel/locale-data/en_FK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FK.dat', + 'DATA'), + ('babel/locale-data/gd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gd.dat', + 'DATA'), + ('babel/locale-data/bs_Latn_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Latn_BA.dat', + 'DATA'), + ('babel/locale-data/gl_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gl_ES.dat', + 'DATA'), + ('babel/locale-data/zh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh.dat', + 'DATA'), + ('babel/locale-data/arn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/arn.dat', + 'DATA'), + ('babel/locale-data/sr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr.dat', + 'DATA'), + ('babel/locale-data/yrl_VE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_VE.dat', + 'DATA'), + ('babel/locale-data/kde.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kde.dat', + 'DATA'), + ('babel/locale-data/en_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SS.dat', + 'DATA'), + ('babel/locale-data/aa_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_ET.dat', + 'DATA'), + ('babel/locale-data/iu_Latn_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_Latn_CA.dat', + 'DATA'), + ('babel/locale-data/root.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/root.dat', + 'DATA'), + ('babel/locale-data/bs_Cyrl_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Cyrl_BA.dat', + 'DATA'), + ('babel/locale-data/en_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ES.dat', + 'DATA'), + ('babel/locale-data/ksh_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksh_DE.dat', + 'DATA'), + ('babel/locale-data/hy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hy.dat', + 'DATA'), + ('babel/locale-data/bez.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bez.dat', + 'DATA'), + ('babel/locale-data/rif_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rif_MA.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_CN.dat', + 'DATA'), + ('babel/locale-data/bal_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/bgc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgc.dat', + 'DATA'), + ('babel/locale-data/bem_ZM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bem_ZM.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_MY.dat', + 'DATA'), + ('babel/locale-data/en_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TZ.dat', + 'DATA'), + ('babel/locale-data/ss.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss.dat', + 'DATA'), + ('babel/locale-data/en_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IT.dat', + 'DATA'), + ('babel/locale-data/fr_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BJ.dat', + 'DATA'), + ('babel/locale-data/ht.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ht.dat', + 'DATA'), + ('babel/locale-data/ky_KG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ky_KG.dat', + 'DATA'), + ('babel/locale-data/vec.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vec.dat', + 'DATA'), + ('babel/locale-data/to.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/to.dat', + 'DATA'), + ('babel/locale-data/sd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd.dat', + 'DATA'), + ('babel/locale-data/wo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wo.dat', + 'DATA'), + ('babel/locale-data/haw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/haw.dat', + 'DATA'), + ('babel/locale-data/es_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PH.dat', + 'DATA'), + ('babel/locale-data/so_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_KE.dat', + 'DATA'), + ('babel/locale-data/en_BS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BS.dat', + 'DATA'), + ('babel/locale-data/mai_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mai_IN.dat', + 'DATA'), + ('babel/locale-data/scn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/scn.dat', + 'DATA'), + ('babel/locale-data/lt_LT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lt_LT.dat', + 'DATA'), + ('babel/locale-data/nso.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nso.dat', + 'DATA'), + ('babel/locale-data/en_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IL.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_TW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_TW.dat', + 'DATA'), + ('babel/locale-data/luo_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luo_KE.dat', + 'DATA'), + ('babel/locale-data/ig.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ig.dat', + 'DATA'), + ('babel/locale-data/or_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/or_IN.dat', + 'DATA'), + ('babel/locale-data/en_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NA.dat', + 'DATA'), + ('babel/locale-data/om_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om_ET.dat', + 'DATA'), + ('babel/locale-data/mdf_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mdf_RU.dat', + 'DATA'), + ('babel/locale-data/vi_VN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vi_VN.dat', + 'DATA'), + ('babel/locale-data/mfe_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mfe_MU.dat', + 'DATA'), + ('babel/locale-data/de_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_LU.dat', + 'DATA'), + ('babel/locale-data/rof_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rof_TZ.dat', + 'DATA'), + ('babel/locale-data/bs_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Latn.dat', + 'DATA'), + ('babel/locale-data/pt_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_GW.dat', + 'DATA'), + ('babel/locale-data/tr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr.dat', + 'DATA'), + ('babel/locale-data/shn_TH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn_TH.dat', + 'DATA'), + ('babel/locale-data/en_IO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IO.dat', + 'DATA'), + ('babel/locale-data/en_US_POSIX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_US_POSIX.dat', + 'DATA'), + ('babel/locale-data/uk_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uk_UA.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_ME.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_ME.dat', + 'DATA'), + ('babel/locale-data/es_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BR.dat', + 'DATA'), + ('babel/locale-data/nnh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nnh.dat', + 'DATA'), + ('babel/locale-data/ar_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SS.dat', + 'DATA'), + ('babel/locale-data/cch.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cch.dat', + 'DATA'), + ('babel/locale-data/ps.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_BF.dat', + 'DATA'), + ('babel/locale-data/sma_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma_NO.dat', + 'DATA'), + ('babel/locale-data/et_EE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/et_EE.dat', + 'DATA'), + ('babel/locale-data/ks_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Arab.dat', + 'DATA'), + ('babel/locale-data/lrc_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc_IQ.dat', + 'DATA'), + ('babel/locale-data/gaa_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gaa_GH.dat', + 'DATA'), + ('babel/locale-data/ti_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti_ER.dat', + 'DATA'), + ('babel/locale-data/mn_Mong_MN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong_MN.dat', + 'DATA'), + ('babel/locale-data/tk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tk.dat', + 'DATA'), + ('babel/locale-data/pt_CV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_CV.dat', + 'DATA'), + ('babel/locale-data/ln_CG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CG.dat', + 'DATA'), + ('babel/locale-data/nqo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nqo.dat', + 'DATA'), + ('babel/locale-data/arn_CL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/arn_CL.dat', + 'DATA'), + ('babel/locale-data/wbp_AU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wbp_AU.dat', + 'DATA'), + ('babel/locale-data/yrl_CO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_CO.dat', + 'DATA'), + ('babel/locale-data/pis.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pis.dat', + 'DATA'), + ('babel/locale-data/quc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/quc.dat', + 'DATA'), + ('babel/locale-data/hnj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj.dat', + 'DATA'), + ('babel/locale-data/uz_Arab_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Arab_AF.dat', + 'DATA'), + ('babel/locale-data/ca_AD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_AD.dat', + 'DATA'), + ('babel/locale-data/ar_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_IQ.dat', + 'DATA'), + ('babel/locale-data/de.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de.dat', + 'DATA'), + ('babel/locale-data/lag_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lag_TZ.dat', + 'DATA'), + ('babel/locale-data/luy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luy.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_SG.dat', + 'DATA'), + ('babel/locale-data/en_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DK.dat', + 'DATA'), + ('babel/locale-data/ltg_LV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ltg_LV.dat', + 'DATA'), + ('babel/locale-data/bs.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs.dat', + 'DATA'), + ('babel/locale-data/nmg_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nmg_CM.dat', + 'DATA'), + ('babel/locale-data/ast_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ast_ES.dat', + 'DATA'), + ('babel/locale-data/ltg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ltg.dat', + 'DATA'), + ('babel/locale-data/vmw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vmw.dat', + 'DATA'), + ('babel/locale-data/kxv_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Latn.dat', + 'DATA'), + ('babel/locale-data/en_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DE.dat', + 'DATA'), + ('babel/locale-data/en_150.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_150.dat', + 'DATA'), + ('babel/locale-data/en_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GM.dat', + 'DATA'), + ('babel/locale-data/en_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_001.dat', + 'DATA'), + ('babel/locale-data/es_PY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PY.dat', + 'DATA'), + ('babel/locale-data/ms_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_ID.dat', + 'DATA'), + ('babel/locale-data/es_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_GQ.dat', + 'DATA'), + ('babel/locale-data/sdh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh.dat', + 'DATA'), + ('babel/locale-data/cic.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cic.dat', + 'DATA'), + ('babel/locale-data/lu_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lu_CD.dat', + 'DATA'), + ('babel/locale-data/ru_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_UA.dat', + 'DATA'), + ('babel/locale-data/ks_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Deva.dat', + 'DATA'), + ('babel/locale-data/shi_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Latn.dat', + 'DATA'), + ('babel/locale-data/en_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BI.dat', + 'DATA'), + ('babel/locale-data/kxv_Telu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Telu.dat', + 'DATA'), + ('babel/locale-data/en_NF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NF.dat', + 'DATA'), + ('babel/locale-data/tt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tt.dat', + 'DATA'), + ('babel/locale-data/se_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_FI.dat', + 'DATA'), + ('babel/locale-data/cu_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cu_RU.dat', + 'DATA'), + ('babel/locale-data/mk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mk.dat', + 'DATA'), + ('babel/locale-data/it.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it.dat', + 'DATA'), + ('babel/locale-data/rif.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rif.dat', + 'DATA'), + ('babel/locale-data/en_SB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SB.dat', + 'DATA'), + ('babel/locale-data/uz_Latn_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Latn_UZ.dat', + 'DATA'), + ('babel/locale-data/vai_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Latn.dat', + 'DATA'), + ('babel/locale-data/tyv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tyv_RU.dat', + 'DATA'), + ('babel/locale-data/en_JM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_JM.dat', + 'DATA'), + ('babel/locale-data/fr_GA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GA.dat', + 'DATA'), + ('babel/locale-data/tzm_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tzm_MA.dat', + 'DATA'), + ('babel/locale-data/lkt_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lkt_US.dat', + 'DATA'), + ('babel/locale-data/en_BM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BM.dat', + 'DATA'), + ('babel/locale-data/sr_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn.dat', + 'DATA'), + ('babel/locale-data/kn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kn.dat', + 'DATA'), + ('babel/locale-data/ta_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_SG.dat', + 'DATA'), + ('babel/locale-data/gsw_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_FR.dat', + 'DATA'), + ('babel/locale-data/pt_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_GQ.dat', + 'DATA'), + ('babel/locale-data/sv_AX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_AX.dat', + 'DATA'), + ('babel/locale-data/ko.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko.dat', + 'DATA'), + ('babel/locale-data/nl_CW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_CW.dat', + 'DATA'), + ('babel/locale-data/doi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/doi.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg_MM.dat', + 'DATA'), + ('babel/locale-data/fr_PF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_PF.dat', + 'DATA'), + ('babel/locale-data/wae.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wae.dat', + 'DATA'), + ('babel/locale-data/si.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/si.dat', + 'DATA'), + ('babel/locale-data/an_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/an_ES.dat', + 'DATA'), + ('babel/locale-data/ky.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ky.dat', + 'DATA'), + ('babel/locale-data/ta_LK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_LK.dat', + 'DATA'), + ('babel/locale-data/ksf.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksf.dat', + 'DATA'), + ('babel/locale-data/en_AS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AS.dat', + 'DATA'), + ('babel/locale-data/ti.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti.dat', + 'DATA'), + ('babel/locale-data/es_BO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BO.dat', + 'DATA'), + ('babel/locale-data/az_Arab_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_IR.dat', + 'DATA'), + ('babel/locale-data/lld_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lld_IT.dat', + 'DATA'), + ('babel/locale-data/en_GU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GU.dat', + 'DATA'), + ('babel/locale-data/en_CK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CK.dat', + 'DATA'), + ('babel/locale-data/bm_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_ML.dat', + 'DATA'), + ('babel/locale-data/en_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ID.dat', + 'DATA'), + ('babel/locale-data/ru_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_KZ.dat', + 'DATA'), + ('babel/locale-data/ksb_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksb_TZ.dat', + 'DATA'), + ('babel/locale-data/mdf.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mdf.dat', + 'DATA'), + ('babel/locale-data/ss_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss_ZA.dat', + 'DATA'), + ('babel/locale-data/tg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tg.dat', + 'DATA'), + ('babel/locale-data/lg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lg.dat', + 'DATA'), + ('babel/locale-data/bn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn_IN.dat', + 'DATA'), + ('babel/locale-data/om.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om.dat', + 'DATA'), + ('babel/locale-data/ak.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ak.dat', + 'DATA'), + ('babel/locale-data/blt_VN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blt_VN.dat', + 'DATA'), + ('babel/locale-data/kaa_Latn_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Latn_UZ.dat', + 'DATA'), + ('babel/locale-data/hi_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_Latn.dat', + 'DATA'), + ('babel/locale-data/mic_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mic_CA.dat', + 'DATA'), + ('babel/locale-data/nb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb.dat', + 'DATA'), + ('babel/locale-data/ms_BN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_BN.dat', + 'DATA'), + ('babel/locale-data/ks.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_SL.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg.dat', + 'DATA'), + ('babel/locale-data/my.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/my.dat', + 'DATA'), + ('babel/locale-data/myv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/myv_RU.dat', + 'DATA'), + ('babel/locale-data/ha_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_GH.dat', + 'DATA'), + ('babel/locale-data/kpe_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe_GN.dat', + 'DATA'), + ('babel/locale-data/en_BZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BZ.dat', + 'DATA'), + ('babel/locale-data/lo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lo.dat', + 'DATA'), + ('babel/locale-data/lo_LA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lo_LA.dat', + 'DATA'), + ('babel/locale-data/xnr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xnr.dat', + 'DATA'), + ('babel/locale-data/teo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo.dat', + 'DATA'), + ('babel/locale-data/fr_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SY.dat', + 'DATA'), + ('babel/locale-data/bal.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal.dat', + 'DATA'), + ('babel/locale-data/yrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl.dat', + 'DATA'), + ('babel/locale-data/cch_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cch_NG.dat', + 'DATA'), + ('babel/locale-data/LICENSE.unicode', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/LICENSE.unicode', + 'DATA'), + ('babel/locale-data/ku_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ku_TR.dat', + 'DATA'), + ('babel/locale-data/uz_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Cyrl.dat', + 'DATA'), + ('babel/locale-data/kpe.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe.dat', + 'DATA'), + ('babel/locale-data/es_VE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_VE.dat', + 'DATA'), + ('babel/locale-data/en_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IN.dat', + 'DATA'), + ('babel/locale-data/dv_MV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dv_MV.dat', + 'DATA'), + ('babel/locale-data/bg_BG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bg_BG.dat', + 'DATA'), + ('babel/locale-data/en_GS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GS.dat', + 'DATA'), + ('babel/locale-data/io.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/io.dat', + 'DATA'), + ('babel/locale-data/tn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn.dat', + 'DATA'), + ('babel/locale-data/is.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/is.dat', + 'DATA'), + ('babel/locale-data/en_MV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MV.dat', + 'DATA'), + ('babel/locale-data/to_TO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/to_TO.dat', + 'DATA'), + ('babel/locale-data/nyn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nyn.dat', + 'DATA'), + ('babel/locale-data/bm_Nkoo_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_Nkoo_ML.dat', + 'DATA'), + ('babel/locale-data/az_Arab_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_IQ.dat', + 'DATA'), + ('babel/locale-data/ckb_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb_IR.dat', + 'DATA'), + ('babel/locale-data/su.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su.dat', + 'DATA'), + ('babel/locale-data/uk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uk.dat', + 'DATA'), + ('babel/locale-data/sn_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sn_ZW.dat', + 'DATA'), + ('babel/locale-data/twq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/twq.dat', + 'DATA'), + ('babel/locale-data/fa_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa_AF.dat', + 'DATA'), + ('babel/locale-data/en_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GB.dat', + 'DATA'), + ('babel/locale-data/sl_SI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sl_SI.dat', + 'DATA'), + ('babel/locale-data/fr_TD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TD.dat', + 'DATA'), + ('babel/locale-data/za_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/za_CN.dat', + 'DATA'), + ('babel/locale-data/vai_Vaii_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Vaii_LR.dat', + 'DATA'), + ('babel/locale-data/dyo_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dyo_SN.dat', + 'DATA'), + ('babel/locale-data/kxv_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Deva.dat', + 'DATA'), + ('babel/locale-data/nnh_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nnh_CM.dat', + 'DATA'), + ('babel/locale-data/sbp_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sbp_TZ.dat', + 'DATA'), + ('babel/locale-data/nr_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nr_ZA.dat', + 'DATA'), + ('babel/locale-data/vo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vo_001.dat', + 'DATA'), + ('babel/locale-data/ny.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ny.dat', + 'DATA'), + ('babel/locale-data/ms_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_MY.dat', + 'DATA'), + ('babel/locale-data/cho.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cho.dat', + 'DATA'), + ('babel/locale-data/pa_Guru_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Guru_IN.dat', + 'DATA'), + ('babel/locale-data/fr_MQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MQ.dat', + 'DATA'), + ('babel/locale-data/en_SC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SC.dat', + 'DATA'), + ('babel/locale-data/pa_Guru.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Guru.dat', + 'DATA'), + ('babel/locale-data/myv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/myv.dat', + 'DATA'), + ('babel/locale-data/shi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi.dat', + 'DATA'), + ('babel/locale-data/ro.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro.dat', + 'DATA'), + ('babel/locale-data/tzm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tzm.dat', + 'DATA'), + ('babel/locale-data/hsb_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hsb_DE.dat', + 'DATA'), + ('babel/locale-data/fr_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BE.dat', + 'DATA'), + ('babel/locale-data/kok_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/yi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yi.dat', + 'DATA'), + ('babel/locale-data/kea_CV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kea_CV.dat', + 'DATA'), + ('babel/locale-data/ff_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn.dat', + 'DATA'), + ('babel/locale-data/bgn_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_PK.dat', + 'DATA'), + ('babel/locale-data/wae_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wae_CH.dat', + 'DATA'), + ('babel/locale-data/ru.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru.dat', + 'DATA'), + ('babel/locale-data/af_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af_NA.dat', + 'DATA'), + ('babel/locale-data/fr_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_RW.dat', + 'DATA'), + ('babel/locale-data/bas_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bas_CM.dat', + 'DATA'), + ('babel/locale-data/bn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn.dat', + 'DATA'), + ('babel/locale-data/st_LS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st_LS.dat', + 'DATA'), + ('babel/locale-data/os.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os.dat', + 'DATA'), + ('babel/locale-data/yue_Hans_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hans_CN.dat', + 'DATA'), + ('babel/locale-data/pap.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap.dat', + 'DATA'), + ('babel/locale-data/mni.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni.dat', + 'DATA'), + ('babel/locale-data/ff.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff.dat', + 'DATA'), + ('babel/locale-data/za.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/za.dat', + 'DATA'), + ('babel/locale-data/ru_MD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_MD.dat', + 'DATA'), + ('babel/py.typed', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/py.typed', + 'DATA'), + ('babel/locale-data/en_TO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TO.dat', + 'DATA'), + ('babel/locale-data/sma_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma_SE.dat', + 'DATA'), + ('babel/locale-data/ssy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ssy.dat', + 'DATA'), + ('babel/locale-data/ar.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar.dat', + 'DATA'), + ('babel/locale-data/skr_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/skr_PK.dat', + 'DATA'), + ('babel/locale-data/en_FJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FJ.dat', + 'DATA'), + ('babel/locale-data/so_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_ET.dat', + 'DATA'), + ('babel/locale-data/it_SM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_SM.dat', + 'DATA'), + ('babel/locale-data/en_PW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PW.dat', + 'DATA'), + ('babel/locale-data/en_Shaw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Shaw.dat', + 'DATA'), + ('babel/locale-data/khq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/khq.dat', + 'DATA'), + ('babel/locale-data/da.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da.dat', + 'DATA'), + ('babel/locale-data/yo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo.dat', + 'DATA'), + ('babel/locale-data/bgn_OM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_OM.dat', + 'DATA'), + ('babel/locale-data/ii_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ii_CN.dat', + 'DATA'), + ('babel/locale-data/es_CR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CR.dat', + 'DATA'), + ('babel/locale-data/iu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu.dat', + 'DATA'), + ('babel/locale-data/ca_ES_VALENCIA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_ES_VALENCIA.dat', + 'DATA'), + ('babel/locale-data/en_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NL.dat', + 'DATA'), + ('babel/locale-data/sah_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sah_RU.dat', + 'DATA'), + ('babel/locale-data/az_Latn_AZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Latn_AZ.dat', + 'DATA'), + ('babel/locale-data/bgc_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgc_IN.dat', + 'DATA'), + ('babel/locale-data/shn_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn_MM.dat', + 'DATA'), + ('babel/locale-data/en_UM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_UM.dat', + 'DATA'), + ('babel/locale-data/se_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_SE.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl.dat', + 'DATA'), + ('babel/locale-data/lrc_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc_IR.dat', + 'DATA'), + ('babel/locale-data/en_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_US.dat', + 'DATA'), + ('babel/locale-data/my_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/my_MM.dat', + 'DATA'), + ('babel/locale-data/dsb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dsb.dat', + 'DATA'), + ('babel/locale-data/mn_Mong_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong_CN.dat', + 'DATA'), + ('babel/locale-data/io_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/io_001.dat', + 'DATA'), + ('babel/locale-data/uz_Cyrl_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Cyrl_UZ.dat', + 'DATA'), + ('babel/locale-data/mus.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mus.dat', + 'DATA'), + ('babel/locale-data/vai_Latn_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Latn_LR.dat', + 'DATA'), + ('babel/locale-data/pa_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/en_VG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VG.dat', + 'DATA'), + ('babel/locale-data/eo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eo_001.dat', + 'DATA'), + ('babel/locale-data/tk_TM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tk_TM.dat', + 'DATA'), + ('babel/locale-data/en_GD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GD.dat', + 'DATA'), + ('babel/locale-data/ii.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ii.dat', + 'DATA'), + ('babel/locale-data/th_TH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/th_TH.dat', + 'DATA'), + ('babel/locale-data/sw_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_UG.dat', + 'DATA'), + ('babel/locale-data/en_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SG.dat', + 'DATA'), + ('babel/locale-data/fo_FO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo_FO.dat', + 'DATA'), + ('babel/locale-data/dz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dz.dat', + 'DATA'), + ('babel/locale-data/mzn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mzn.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_XK.dat', + 'DATA'), + ('babel/locale-data/kw_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kw_GB.dat', + 'DATA'), + ('babel/locale-data/ki_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ki_KE.dat', + 'DATA'), + ('babel/locale-data/en_CC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CC.dat', + 'DATA'), + ('babel/locale-data/en_TT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TT.dat', + 'DATA'), + ('babel/locale-data/mni_Mtei_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Mtei_IN.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_RS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_RS.dat', + 'DATA'), + ('babel/locale-data/mn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn.dat', + 'DATA'), + ('babel/locale-data/fr_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_DJ.dat', + 'DATA'), + ('babel/locale-data/az_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab.dat', + 'DATA'), + ('babel/locale-data/yo_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo_NG.dat', + 'DATA'), + ('babel/locale-data/kk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk.dat', + 'DATA'), + ('babel/locale-data/en_AT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AT.dat', + 'DATA'), + ('babel/locale-data/el_POLYTON.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_POLYTON.dat', + 'DATA'), + ('babel/locale-data/sd_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Deva.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_NG.dat', + 'DATA'), + ('babel/locale-data/kpe_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe_LR.dat', + 'DATA'), + ('babel/locale-data/mr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mr.dat', + 'DATA'), + ('babel/locale-data/en_MH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MH.dat', + 'DATA'), + ('babel/locale-data/da_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da_DK.dat', + 'DATA'), + ('babel/locale-data/mas.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas.dat', + 'DATA'), + ('babel/locale-data/fr_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CH.dat', + 'DATA'), + ('babel/locale-data/lag.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lag.dat', + 'DATA'), + ('babel/locale-data/kxv_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/ses_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ses_ML.dat', + 'DATA'), + ('babel/locale-data/en_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LR.dat', + 'DATA'), + ('babel/locale-data/bal_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Arab.dat', + 'DATA'), + ('babel/locale-data/fr_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MR.dat', + 'DATA'), + ('babel/locale-data/sq_MK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_MK.dat', + 'DATA'), + ('babel/locale-data/en_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CA.dat', + 'DATA'), + ('babel/locale-data/en_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_UG.dat', + 'DATA'), + ('babel/locale-data/ie.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ie.dat', + 'DATA'), + ('babel/locale-data/kaj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaj.dat', + 'DATA'), + ('babel/locale-data/mi_NZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mi_NZ.dat', + 'DATA'), + ('babel/locale-data/en_SZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SZ.dat', + 'DATA'), + ('babel/locale-data/ca_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_IT.dat', + 'DATA'), + ('babel/locale-data/ewo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ewo_CM.dat', + 'DATA'), + ('babel/locale-data/bo_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo_IN.dat', + 'DATA'), + ('babel/locale-data/ti_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti_ET.dat', + 'DATA'), + ('babel/locale-data/hi_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_IN.dat', + 'DATA'), + ('babel/locale-data/en_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NO.dat', + 'DATA'), + ('babel/locale-data/en_RO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_RO.dat', + 'DATA'), + ('babel/locale-data/wal.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wal.dat', + 'DATA'), + ('babel/locale-data/vec_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vec_IT.dat', + 'DATA'), + ('babel/locale-data/pa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa.dat', + 'DATA'), + ('babel/locale-data/chr_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/chr_US.dat', + 'DATA'), + ('babel/locale-data/ce.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ce.dat', + 'DATA'), + ('babel/locale-data/raj_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/raj_IN.dat', + 'DATA'), + ('babel/locale-data/ee_TG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee_TG.dat', + 'DATA'), + ('babel/locale-data/ar_EG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_EG.dat', + 'DATA'), + ('babel/locale-data/kcg_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kcg_NG.dat', + 'DATA'), + ('babel/locale-data/hi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi.dat', + 'DATA'), + ('babel/locale-data/smn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smn.dat', + 'DATA'), + ('babel/locale-data/fr_SC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SC.dat', + 'DATA'), + ('babel/locale-data/ha_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_NE.dat', + 'DATA'), + ('babel/locale-data/kcg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kcg.dat', + 'DATA'), + ('babel/locale-data/so.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so.dat', + 'DATA'), + ('babel/locale-data/ast.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ast.dat', + 'DATA'), + ('babel/locale-data/es_PA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PA.dat', + 'DATA'), + ('babel/locale-data/teo_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo_KE.dat', + 'DATA'), + ('babel/locale-data/en_SI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SI.dat', + 'DATA'), + ('babel/locale-data/raj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/raj.dat', + 'DATA'), + ('babel/locale-data/rwk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rwk.dat', + 'DATA'), + ('babel/locale-data/sq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq.dat', + 'DATA'), + ('babel/locale-data/asa_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/asa_TZ.dat', + 'DATA'), + ('babel/locale-data/fr_MC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MC.dat', + 'DATA'), + ('babel/locale-data/kl_GL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kl_GL.dat', + 'DATA'), + ('babel/locale-data/en_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GH.dat', + 'DATA'), + ('babel/locale-data/fi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fi.dat', + 'DATA'), + ('babel/locale-data/cy_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cy_GB.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_LR.dat', + 'DATA'), + ('babel/locale-data/az_Arab_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_TR.dat', + 'DATA'), + ('babel/locale-data/sk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sk.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_BF.dat', + 'DATA'), + ('babel/locale-data/fr_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GN.dat', + 'DATA'), + ('babel/locale-data/sid.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sid.dat', + 'DATA'), + ('babel/locale-data/ak_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ak_GH.dat', + 'DATA'), + ('babel/locale-data/el_GR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_GR.dat', + 'DATA'), + ('babel/locale-data/fr_TN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TN.dat', + 'DATA'), + ('babel/locale-data/bss_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bss_CM.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_BA.dat', + 'DATA'), + ('babel/locale-data/pt_PT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_PT.dat', + 'DATA'), + ('babel/locale-data/en_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BE.dat', + 'DATA'), + ('babel/locale-data/osa_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/osa_US.dat', + 'DATA'), + ('babel/locale-data/en_LS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LS.dat', + 'DATA'), + ('babel/locale-data/yav_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yav_CM.dat', + 'DATA'), + ('babel/locale-data/sk_SK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sk_SK.dat', + 'DATA'), + ('babel/locale-data/ksf_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksf_CM.dat', + 'DATA'), + ('babel/locale-data/ta_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_IN.dat', + 'DATA'), + ('babel/locale-data/fr_CG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CG.dat', + 'DATA'), + ('babel/locale-data/shi_Latn_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Latn_MA.dat', + 'DATA'), + ('babel/locale-data/nds.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds.dat', + 'DATA'), + ('babel/locale-data/osa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/osa.dat', + 'DATA'), + ('babel/locale-data/en_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FR.dat', + 'DATA'), + ('babel/locale-data/en_KI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KI.dat', + 'DATA'), + ('babel/locale-data/ig_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ig_NG.dat', + 'DATA'), + ('babel/locale-data/pt_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_CH.dat', + 'DATA'), + ('babel/locale-data/en_VI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VI.dat', + 'DATA'), + ('babel/locale-data/en_ZM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZM.dat', + 'DATA'), + ('babel/locale-data/fur_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fur_IT.dat', + 'DATA'), + ('babel/locale-data/ms_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_SG.dat', + 'DATA'), + ('babel/locale-data/fr_GF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GF.dat', + 'DATA'), + ('babel/locale-data/ta.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta.dat', + 'DATA'), + ('babel/locale-data/en_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PL.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GW.dat', + 'DATA'), + ('babel/locale-data/su_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su_Latn.dat', + 'DATA'), + ('babel/locale-data/sq_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_XK.dat', + 'DATA'), + ('babel/locale-data/rhg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GM.dat', + 'DATA'), + ('babel/locale-data/fr_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_LU.dat', + 'DATA'), + ('babel/locale-data/sah.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sah.dat', + 'DATA'), + ('babel/locale-data/pis_SB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pis_SB.dat', + 'DATA'), + ('babel/locale-data/fi_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fi_FI.dat', + 'DATA'), + ('babel/locale-data/br_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/br_FR.dat', + 'DATA'), + ('babel/locale-data/yue.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue.dat', + 'DATA'), + ('babel/locale-data/ceb_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ceb_PH.dat', + 'DATA'), + ('babel/locale-data/nl_SR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_SR.dat', + 'DATA'), + ('babel/locale-data/nb_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb_NO.dat', + 'DATA'), + ('babel/locale-data/eu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eu.dat', + 'DATA'), + ('babel/locale-data/bal_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Latn.dat', + 'DATA'), + ('babel/locale-data/brx_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/brx_IN.dat', + 'DATA'), + ('babel/locale-data/en_GI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GI.dat', + 'DATA'), + ('babel/locale-data/cop_EG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cop_EG.dat', + 'DATA'), + ('babel/locale-data/en_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZA.dat', + 'DATA'), + ('babel/locale-data/nv_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nv_US.dat', + 'DATA'), + ('babel/locale-data/mi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mi.dat', + 'DATA'), + ('babel/locale-data/be.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be.dat', + 'DATA'), + ('babel/locale-data/fr_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SN.dat', + 'DATA'), + ('babel/locale-data/kxv_Telu_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Telu_IN.dat', + 'DATA'), + ('babel/locale-data/en_Dsrt_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Dsrt_US.dat', + 'DATA'), + ('babel/locale-data/gez_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez_ER.dat', + 'DATA'), + ('babel/locale-data/guz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/guz.dat', + 'DATA'), + ('babel/locale-data/fr_VU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_VU.dat', + 'DATA'), + ('babel/locale-data/en_KN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KN.dat', + 'DATA'), + ('babel/locale-data/ce_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ce_RU.dat', + 'DATA'), + ('babel/locale-data/gu_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gu_IN.dat', + 'DATA'), + ('babel/locale-data/cad_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cad_US.dat', + 'DATA'), + ('babel/locale-data/rm_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rm_CH.dat', + 'DATA'), + ('babel/locale-data/fr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr.dat', + 'DATA'), + ('babel/locale-data/ur_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur_PK.dat', + 'DATA'), + ('babel/locale-data/am.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/am.dat', + 'DATA'), + ('babel/locale-data/en_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_RW.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GW.dat', + 'DATA'), + ('babel/locale-data/ne_NP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne_NP.dat', + 'DATA'), + ('babel/locale-data/gv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gv.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_HK.dat', + 'DATA'), + ('babel/locale-data/lb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lb.dat', + 'DATA'), + ('babel/locale-data/fr_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BF.dat', + 'DATA'), + ('babel/locale-data/vai.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai.dat', + 'DATA'), + ('babel/locale-data/scn_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/scn_IT.dat', + 'DATA'), + ('babel/locale-data/cic_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cic_US.dat', + 'DATA'), + ('babel/locale-data/en_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SL.dat', + 'DATA'), + ('babel/locale-data/hy_AM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hy_AM.dat', + 'DATA'), + ('babel/locale-data/prg_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/prg_PL.dat', + 'DATA'), + ('babel/locale-data/naq_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/naq_NA.dat', + 'DATA'), + ('babel/locale-data/bew.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bew.dat', + 'DATA'), + ('babel/locale-data/en_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MU.dat', + 'DATA'), + ('babel/locale-data/mni_Beng.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Beng.dat', + 'DATA'), + ('babel/locale-data/fr_TG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TG.dat', + 'DATA'), + ('babel/locale-data/no.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/no.dat', + 'DATA'), + ('babel/locale-data/cv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cv.dat', + 'DATA'), + ('babel/locale-data/fr_KM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_KM.dat', + 'DATA'), + ('babel/locale-data/saq_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/saq_KE.dat', + 'DATA'), + ('babel/locale-data/kgp_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kgp_BR.dat', + 'DATA'), + ('babel/locale-data/lu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lu.dat', + 'DATA'), + ('babel/locale-data/en_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CY.dat', + 'DATA'), + ('babel/locale-data/en_VC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VC.dat', + 'DATA'), + ('babel/locale-data/ko_KR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_KR.dat', + 'DATA'), + ('babel/locale-data/se.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_MO.dat', + 'DATA'), + ('babel/locale-data/id_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/id_ID.dat', + 'DATA'), + ('babel/locale-data/kxv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv.dat', + 'DATA'), + ('babel/locale-data/cgg_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cgg_UG.dat', + 'DATA'), + ('babel/locale-data/shi_Tfng_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Tfng_MA.dat', + 'DATA'), + ('babel/locale-data/lb_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lb_LU.dat', + 'DATA'), + ('babel/locale-data/el.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el.dat', + 'DATA'), + ('babel/locale-data/pl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pl.dat', + 'DATA'), + ('babel/locale-data/kk_Arab_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Arab_CN.dat', + 'DATA'), + ('babel/locale-data/en_BB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BB.dat', + 'DATA'), + ('babel/locale-data/gaa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gaa.dat', + 'DATA'), + ('babel/locale-data/wal_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wal_ET.dat', + 'DATA'), + ('babel/locale-data/ksh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksh.dat', + 'DATA'), + ('babel/locale-data/nb_SJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb_SJ.dat', + 'DATA'), + ('babel/locale-data/sn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sn.dat', + 'DATA'), + ('babel/locale-data/he.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/he.dat', + 'DATA'), + ('babel/locale-data/ml.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ml.dat', + 'DATA'), + ('babel/locale-data/et.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/et.dat', + 'DATA'), + ('babel/locale-data/kk_Cyrl_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Cyrl_KZ.dat', + 'DATA'), + ('babel/locale-data/fur.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fur.dat', + 'DATA'), + ('babel/locale-data/yue_Hans.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hans.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_NE.dat', + 'DATA'), + ('babel/locale-data/ewo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ewo.dat', + 'DATA'), + ('babel/locale-data/bg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bg.dat', + 'DATA'), + ('babel/locale-data/mhn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mhn.dat', + 'DATA'), + ('babel/locale-data/nus_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nus_SS.dat', + 'DATA'), + ('babel/locale-data/es_GT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_GT.dat', + 'DATA'), + ('babel/locale-data/eo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eo.dat', + 'DATA'), + ('babel/locale-data/en_PN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PN.dat', + 'DATA'), + ('babel/locale-data/te_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/te_IN.dat', + 'DATA'), + ('babel/locale-data/blo_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blo_BJ.dat', + 'DATA'), + ('babel/locale-data/es.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es.dat', + 'DATA'), + ('babel/locale-data/gez_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez_ET.dat', + 'DATA'), + ('babel/locale-data/ar_LB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_LB.dat', + 'DATA'), + ('babel/locale-data/os_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os_RU.dat', + 'DATA'), + ('babel/locale-data/mr_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mr_IN.dat', + 'DATA'), + ('babel/locale-data/tg_TJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tg_TJ.dat', + 'DATA'), + ('babel/locale-data/dua.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dua.dat', + 'DATA'), + ('babel/locale-data/ha_Arab_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab_NG.dat', + 'DATA'), + ('babel/locale-data/ca_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_ES.dat', + 'DATA'), + ('babel/locale-data/af_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af_ZA.dat', + 'DATA'), + ('babel/locale-data/wa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wa.dat', + 'DATA'), + ('babel/locale-data/ar_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SY.dat', + 'DATA'), + ('babel/locale-data/smj_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj_SE.dat', + 'DATA'), + ('babel/locale-data/luo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luo.dat', + 'DATA'), + ('babel/locale-data/kl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kl.dat', + 'DATA'), + ('babel/locale-data/fr_BL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BL.dat', + 'DATA'), + ('babel/locale-data/ha_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab.dat', + 'DATA'), + ('babel/locale-data/en_SK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SK.dat', + 'DATA'), + ('babel/locale-data/as_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/as_IN.dat', + 'DATA'), + ('babel/locale-data/ja.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ja.dat', + 'DATA'), + ('babel/locale-data/aa_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_ER.dat', + 'DATA'), + ('babel/locale-data/gu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gu.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GN.dat', + 'DATA'), + ('babel/locale-data/su_Latn_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su_Latn_ID.dat', + 'DATA'), + ('babel/locale-data/shi_Tfng.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Tfng.dat', + 'DATA'), + ('babel/locale-data/kxv_Orya.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Orya.dat', + 'DATA'), + ('babel/global.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/global.dat', + 'DATA'), + ('babel/locale-data/sa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sa.dat', + 'DATA'), + ('babel/locale-data/sms.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sms.dat', + 'DATA'), + ('babel/locale-data/jmc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jmc.dat', + 'DATA'), + ('babel/locale-data/pl_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pl_PL.dat', + 'DATA'), + ('babel/locale-data/en_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SD.dat', + 'DATA'), + ('babel/locale-data/fr_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CD.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_HK.dat', + 'DATA'), + ('babel/locale-data/km_KH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/km_KH.dat', + 'DATA'), + ('babel/locale-data/en_Dsrt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Dsrt.dat', + 'DATA'), + ('babel/locale-data/en_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MO.dat', + 'DATA'), + ('babel/locale-data/ken_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ken_CM.dat', + 'DATA'), + ('babel/locale-data/sc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sc.dat', + 'DATA'), + ('babel/locale-data/kaj_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaj_NG.dat', + 'DATA'), + ('babel/locale-data/ia_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ia_001.dat', + 'DATA'), + ('babel/locale-data/bem.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bem.dat', + 'DATA'), + ('babel/locale-data/ar_KW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_KW.dat', + 'DATA'), + ('babel/locale-data/rw_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rw_RW.dat', + 'DATA'), + ('babel/locale-data/sw_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_CD.dat', + 'DATA'), + ('babel/locale-data/smj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj.dat', + 'DATA'), + ('babel/locale-data/rn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rn.dat', + 'DATA'), + ('babel/locale-data/nl_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_NL.dat', + 'DATA'), + ('babel/locale-data/en_TV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TV.dat', + 'DATA'), + ('babel/locale-data/yo_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo_BJ.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_XK.dat', + 'DATA'), + ('babel/locale-data/az_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Latn.dat', + 'DATA'), + ('babel/locale-data/xh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xh.dat', + 'DATA'), + ('babel/locale-data/en_MP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MP.dat', + 'DATA'), + ('babel/locale-data/sv_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_FI.dat', + 'DATA'), + ('babel/locale-data/mhn_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mhn_IT.dat', + 'DATA'), + ('babel/locale-data/gd_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gd_GB.dat', + 'DATA'), + ('babel/locale-data/xh_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xh_ZA.dat', + 'DATA'), + ('babel/locale-data/nl_AW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_AW.dat', + 'DATA'), + ('babel/locale-data/st.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_MY.dat', + 'DATA'), + ('babel/locale-data/fil_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fil_PH.dat', + 'DATA'), + ('babel/locale-data/kgp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kgp.dat', + 'DATA'), + ('babel/locale-data/en_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KE.dat', + 'DATA'), + ('babel/locale-data/kok_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Latn.dat', + 'DATA'), + ('babel/locale-data/mk_MK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mk_MK.dat', + 'DATA'), + ('babel/locale-data/ar_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_IL.dat', + 'DATA'), + ('babel/locale-data/ia.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ia.dat', + 'DATA'), + ('babel/locale-data/tok_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tok_001.dat', + 'DATA'), + ('babel/locale-data/lv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lv.dat', + 'DATA'), + ('babel/locale-data/en_NU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NU.dat', + 'DATA'), + ('babel/locale-data/cad.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cad.dat', + 'DATA'), + ('babel/locale-data/hr_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr_BA.dat', + 'DATA'), + ('babel/locale-data/ckb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb.dat', + 'DATA'), + ('babel/locale-data/trv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trv.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_RS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_RS.dat', + 'DATA'), + ('babel/locale-data/oc_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc_ES.dat', + 'DATA'), + ('babel/locale-data/pcm_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pcm_NG.dat', + 'DATA'), + ('babel/locale-data/bs_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Cyrl.dat', + 'DATA'), + ('babel/locale-data/nr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nr.dat', + 'DATA'), + ('babel/locale-data/sdh_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh_IR.dat', + 'DATA'), + ('babel/locale-data/ur.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur.dat', + 'DATA'), + ('babel/locale-data/kaa_Cyrl_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Cyrl_UZ.dat', + 'DATA'), + ('babel/locale-data/nd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nd.dat', + 'DATA'), + ('babel/locale-data/cgg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cgg.dat', + 'DATA'), + ('babel/locale-data/nus.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nus.dat', + 'DATA'), + ('babel/locale-data/fo_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo_DK.dat', + 'DATA'), + ('babel/locale-data/nyn_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nyn_UG.dat', + 'DATA'), + ('babel/locale-data/sw_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_TZ.dat', + 'DATA'), + ('babel/locale-data/gsw_LI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_LI.dat', + 'DATA'), + ('babel/locale-data/qu_EC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_EC.dat', + 'DATA'), + ('babel/locale-data/so_SO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_SO.dat', + 'DATA'), + ('babel/locale-data/kkj_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kkj_CM.dat', + 'DATA'), + ('babel/locale-data/ba.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ba.dat', + 'DATA'), + ('babel/locale-data/cy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cy.dat', + 'DATA'), + ('babel/locale-data/ga.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga.dat', + 'DATA'), + ('babel/locale-data/hu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hu.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_CM.dat', + 'DATA'), + ('babel/locale-data/ar_EH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_EH.dat', + 'DATA'), + ('babel/locale-data/khq_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/khq_ML.dat', + 'DATA'), + ('babel/locale-data/en_SX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SX.dat', + 'DATA'), + ('babel/locale-data/en_VU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VU.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_ME.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_ME.dat', + 'DATA'), + ('babel/locale-data/ln.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln.dat', + 'DATA'), + ('babel/locale-data/en_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CH.dat', + 'DATA'), + ('babel/locale-data/mn_Mong.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong.dat', + 'DATA'), + ('babel/locale-data/asa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/asa.dat', + 'DATA'), + ('babel/locale-data/smj_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj_NO.dat', + 'DATA'), + ('babel/locale-data/de_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_BE.dat', + 'DATA'), + ('babel/locale-data/la_VA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/la_VA.dat', + 'DATA'), + ('babel/locale-data/en_LC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LC.dat', + 'DATA'), + ('babel/locale-data/pt_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_LU.dat', + 'DATA'), + ('babel/locale-data/ar_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_001.dat', + 'DATA'), + ('babel/locale-data/ne.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne.dat', + 'DATA'), + ('babel/locale-data/kaa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa.dat', + 'DATA'), + ('babel/locale-data/rm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rm.dat', + 'DATA'), + ('babel/locale-data/ar_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_MR.dat', + 'DATA'), + ('babel/locale-data/teo_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo_UG.dat', + 'DATA'), + ('babel/locale-data/sg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sg.dat', + 'DATA'), + ('babel/locale-data/ar_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SD.dat', + 'DATA'), + ('babel/locale-data/mni_Mtei.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Mtei.dat', + 'DATA'), + ('babel/locale-data/gn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gn.dat', + 'DATA'), + ('babel/locale-data/ln_AO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_AO.dat', + 'DATA'), + ('babel/locale-data/uz_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Latn.dat', + 'DATA'), + ('babel/locale-data/ha_Arab_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab_SD.dat', + 'DATA'), + ('babel/locale-data/lrc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc.dat', + 'DATA'), + ('babel/locale-data/ccp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp.dat', + 'DATA'), + ('babel/locale-data/en_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MY.dat', + 'DATA'), + ('babel/locale-data/ha.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha.dat', + 'DATA'), + ('babel/locale-data/ar_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_ER.dat', + 'DATA'), + ('babel/locale-data/ks_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/seh_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/seh_MZ.dat', + 'DATA'), + ('babel/locale-data/az_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Cyrl.dat', + 'DATA'), + ('babel/locale-data/ksb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksb.dat', + 'DATA'), + ('babel/locale-data/en_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NG.dat', + 'DATA'), + ('babel/locale-data/fr_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_FR.dat', + 'DATA'), + ('babel/locale-data/brx.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/brx.dat', + 'DATA'), + ('babel/locale-data/mfe.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mfe.dat', + 'DATA'), + ('babel/locale-data/ro_RO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro_RO.dat', + 'DATA'), + ('babel/locale-data/mgo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgo_CM.dat', + 'DATA'), + ('babel/locale-data/en_IM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IM.dat', + 'DATA'), + ('babel/locale-data/ccp_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp_IN.dat', + 'DATA'), + ('babel/locale-data/si_LK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/si_LK.dat', + 'DATA'), + ('babel/locale-data/es_CU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CU.dat', + 'DATA'), + ('babel/locale-data/zu_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zu_ZA.dat', + 'DATA'), + ('babel/locale-data/rn_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rn_BI.dat', + 'DATA'), + ('babel/locale-data/nmg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nmg.dat', + 'DATA'), + ('babel/locale-data/fy_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fy_NL.dat', + 'DATA'), + ('babel/locale-data/ee.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee.dat', + 'DATA'), + ('babel/locale-data/kkj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kkj.dat', + 'DATA'), + ('babel/locale-data/ga_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga_GB.dat', + 'DATA'), + ('babel/locale-data/nl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl.dat', + 'DATA'), + ('babel/locale-data/en_SH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SH.dat', + 'DATA'), + ('babel/locale-data/kxv_Orya_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Orya_IN.dat', + 'DATA'), + ('babel/locale-data/en_CZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CZ.dat', + 'DATA'), + ('babel/locale-data/en_NZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NZ.dat', + 'DATA'), + ('babel/locale-data/ka_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ka_GE.dat', + 'DATA'), + ('babel/locale-data/en_MS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MS.dat', + 'DATA'), + ('babel/locale-data/lg_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lg_UG.dat', + 'DATA'), + ('babel/locale-data/en_AG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AG.dat', + 'DATA'), + ('babel/locale-data/gsw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw.dat', + 'DATA'), + ('babel/locale-data/agq_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/agq_CM.dat', + 'DATA'), + ('babel/locale-data/prg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/prg.dat', + 'DATA'), + ('babel/locale-data/th.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/th.dat', + 'DATA'), + ('babel/locale-data/en_IE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IE.dat', + 'DATA'), + ('babel/locale-data/cho_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cho_US.dat', + 'DATA'), + ('babel/locale-data/uz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz.dat', + 'DATA'), + ('babel/locale-data/xog_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xog_UG.dat', + 'DATA'), + ('babel/locale-data/nds_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds_NL.dat', + 'DATA'), + ('babel/locale-data/fr_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_NE.dat', + 'DATA'), + ('babel/locale-data/pt_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_MO.dat', + 'DATA'), + ('babel/locale-data/dsb_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dsb_DE.dat', + 'DATA'), + ('babel/locale-data/ar_TN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_TN.dat', + 'DATA'), + ('babel/locale-data/ba_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ba_RU.dat', + 'DATA'), + ('babel/locale-data/ann.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ann.dat', + 'DATA'), + ('babel/locale-data/ve.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ve.dat', + 'DATA'), + ('babel/locale-data/ssy_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ssy_ER.dat', + 'DATA'), + ('babel/locale-data/wa_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wa_BE.dat', + 'DATA'), + ('babel/locale-data/en_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MG.dat', + 'DATA'), + ('babel/locale-data/fr_CI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CI.dat', + 'DATA'), + ('babel/locale-data/kab_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kab_DZ.dat', + 'DATA'), + ('babel/locale-data/kxv_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/lv_LV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lv_LV.dat', + 'DATA'), + ('babel/locale-data/nn_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nn_NO.dat', + 'DATA'), + ('babel/locale-data/iu_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_Latn.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_MR.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_SN.dat', + 'DATA'), + ('babel/locale-data/mzn_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mzn_IR.dat', + 'DATA'), + ('babel/locale-data/bgn_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_AE.dat', + 'DATA'), + ('babel/locale-data/en_Shaw_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Shaw_GB.dat', + 'DATA'), + ('babel/locale-data/byn_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/byn_ER.dat', + 'DATA'), + ('babel/locale-data/guz_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/guz_KE.dat', + 'DATA'), + ('babel/locale-data/en_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PK.dat', + 'DATA'), + ('babel/locale-data/lmo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lmo.dat', + 'DATA'), + ('babel/locale-data/ml_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ml_IN.dat', + 'DATA'), + ('babel/locale-data/da_GL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da_GL.dat', + 'DATA'), + ('babel/locale-data/fr_WF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_WF.dat', + 'DATA'), + ('babel/locale-data/ar_KM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_KM.dat', + 'DATA'), + ('babel/locale-data/pt_AO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_AO.dat', + 'DATA'), + ('babel/locale-data/ceb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ceb.dat', + 'DATA'), + ('babel/locale-data/be_TARASK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be_TARASK.dat', + 'DATA'), + ('babel/locale-data/ms_Arab_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab_MY.dat', + 'DATA'), + ('babel/locale-data/pt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt.dat', + 'DATA'), + ('babel/locale-data/ku.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ku.dat', + 'DATA'), + ('babel/locale-data/en_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FI.dat', + 'DATA'), + ('babel/locale-data/he_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/he_IL.dat', + 'DATA'), + ('babel/locale-data/sat_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Deva.dat', + 'DATA'), + ('babel/locale-data/vun.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vun.dat', + 'DATA'), + ('babel/locale-data/lij.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lij.dat', + 'DATA'), + ('babel/locale-data/as.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/as.dat', + 'DATA'), + ('babel/locale-data/chr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/chr.dat', + 'DATA'), + ('babel/locale-data/trw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trw.dat', + 'DATA'), + ('babel/locale-data/km.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/km.dat', + 'DATA'), + ('babel/locale-data/it_VA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_VA.dat', + 'DATA'), + ('babel/locale-data/jbo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jbo_001.dat', + 'DATA'), + ('babel/locale-data/rw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rw.dat', + 'DATA'), + ('babel/locale-data/uz_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Arab.dat', + 'DATA'), + ('babel/locale-data/hsb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hsb.dat', + 'DATA'), + ('babel/locale-data/hnj_Hmnp_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj_Hmnp_US.dat', + 'DATA'), + ('babel/locale-data/xnr_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xnr_IN.dat', + 'DATA'), + ('babel/locale-data/ko_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_CN.dat', + 'DATA'), + ('babel/locale-data/dje_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dje_NE.dat', + 'DATA'), + ('babel/locale-data/fr_RE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_RE.dat', + 'DATA'), + ('babel/locale-data/kln_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kln_KE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_SL.dat', + 'DATA'), + ('babel/locale-data/csw_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/csw_CA.dat', + 'DATA'), + ('babel/locale-data/tpi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tpi.dat', + 'DATA'), + ('babel/locale-data/kn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kn_IN.dat', + 'DATA'), + ('babel/locale-data/szl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/szl.dat', + 'DATA'), + ('babel/locale-data/ny_MW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ny_MW.dat', + 'DATA'), + ('babel/locale-data/am_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/am_ET.dat', + 'DATA'), + ('babel/locale-data/dz_BT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dz_BT.dat', + 'DATA'), + ('babel/locale-data/quc_GT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/quc_GT.dat', + 'DATA'), + ('babel/locale-data/ro_MD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro_MD.dat', + 'DATA'), + ('babel/locale-data/bgn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn.dat', + 'DATA'), + ('babel/locale-data/gsw_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_CH.dat', + 'DATA'), + ('babel/locale-data/en_PG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PG.dat', + 'DATA'), + ('babel/locale-data/ebu_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ebu_KE.dat', + 'DATA'), + ('babel/locale-data/en_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_HK.dat', + 'DATA'), + ('babel/locale-data/qu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu.dat', + 'DATA'), + ('babel/locale-data/ps_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps_AF.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_CM.dat', + 'DATA'), + ('babel/locale-data/pcm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pcm.dat', + 'DATA'), + ('babel/locale-data/es_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_US.dat', + 'DATA'), + ('babel/locale-data/frr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/frr.dat', + 'DATA'), + ('babel/locale-data/ve_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ve_ZA.dat', + 'DATA'), + ('babel/locale-data/en_TC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TC.dat', + 'DATA'), + ('babel/locale-data/ab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ab.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GN.dat', + 'DATA'), + ('babel/locale-data/sd_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/yav.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yav.dat', + 'DATA'), + ('babel/locale-data/cs_CZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cs_CZ.dat', + 'DATA'), + ('babel/locale-data/de_LI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_LI.dat', + 'DATA'), + ('babel/locale-data/sl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sl.dat', + 'DATA'), + ('babel/locale-data/ar_BH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_BH.dat', + 'DATA'), + ('babel/locale-data/sq_AL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_AL.dat', + 'DATA'), + ('babel/locale-data/yue_Hant.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant.dat', + 'DATA'), + ('babel/locale-data/en_DM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DM.dat', + 'DATA'), + ('babel/locale-data/sat_Olck.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Olck.dat', + 'DATA'), + ('babel/locale-data/en_KY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KY.dat', + 'DATA'), + ('babel/locale-data/ln_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CF.dat', + 'DATA'), + ('babel/locale-data/zgh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zgh.dat', + 'DATA'), + ('babel/locale-data/ka.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ka.dat', + 'DATA'), + ('babel/locale-data/an.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/an.dat', + 'DATA'), + ('babel/locale-data/ru_KG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_KG.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm.dat', + 'DATA'), + ('babel/locale-data/cv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cv_RU.dat', + 'DATA'), + ('babel/locale-data/ar_OM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_OM.dat', + 'DATA'), + ('babel/locale-data/kk_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Arab.dat', + 'DATA'), + ('babel/locale-data/vun_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vun_TZ.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_CN.dat', + 'DATA'), + ('babel/locale-data/nv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nv.dat', + 'DATA'), + ('babel/locale-data/wo_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wo_SN.dat', + 'DATA'), + ('babel/locale-data/kok_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Deva.dat', + 'DATA'), + ('babel/locale-data/es_EA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_EA.dat', + 'DATA'), + ('babel/locale-data/ar_LY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_LY.dat', + 'DATA'), + ('babel/locale-data/fr_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MU.dat', + 'DATA'), + ('babel/locale-data/it_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_CH.dat', + 'DATA'), + ('babel/locale-data/fr_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BI.dat', + 'DATA'), + ('babel/locale-data/nl_BQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_BQ.dat', + 'DATA'), + ('babel/locale-data/seh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/seh.dat', + 'DATA'), + ('babel/locale-data/ts_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ts_ZA.dat', + 'DATA'), + ('babel/locale-data/gl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gl.dat', + 'DATA'), + ('babel/locale-data/lt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lt.dat', + 'DATA'), + ('babel/locale-data/syr_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr_SY.dat', + 'DATA'), + ('babel/locale-data/en_WS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_WS.dat', + 'DATA'), + ('babel/locale-data/ms.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms.dat', + 'DATA'), + ('babel/locale-data/ckb_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb_IQ.dat', + 'DATA'), + ('babel/locale-data/sma.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma.dat', + 'DATA'), + ('babel/locale-data/vai_Vaii.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Vaii.dat', + 'DATA'), + ('babel/locale-data/apc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/apc.dat', + 'DATA'), + ('babel/locale-data/it_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_IT.dat', + 'DATA'), + ('babel/locale-data/jv_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jv_ID.dat', + 'DATA'), + ('babel/locale-data/fr_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GQ.dat', + 'DATA'), + ('babel/locale-data/zh_Hans.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans.dat', + 'DATA'), + ('babel/locale-data/pt_ST.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_ST.dat', + 'DATA'), + ('babel/locale-data/ses.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ses.dat', + 'DATA'), + ('babel/locale-data/hu_HU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hu_HU.dat', + 'DATA'), + ('babel/locale-data/fr_GP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GP.dat', + 'DATA'), + ('babel/locale-data/en_HU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_HU.dat', + 'DATA'), + ('babel/locale-data/agq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/agq.dat', + 'DATA'), + ('babel/locale-data/af.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af.dat', + 'DATA'), + ('babel/locale-data/nl_SX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_SX.dat', + 'DATA'), + ('babel/locale-data/wbp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wbp.dat', + 'DATA'), + ('babel/locale-data/ha_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_NG.dat', + 'DATA'), + ('babel/locale-data/fr_MF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MF.dat', + 'DATA'), + ('babel/locale-data/sc_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sc_IT.dat', + 'DATA'), + ('babel/locale-data/vi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vi.dat', + 'DATA'), + ('babel/locale-data/rwk_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rwk_TZ.dat', + 'DATA'), + ('babel/locale-data/bho_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bho_IN.dat', + 'DATA'), + ('babel/locale-data/blt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blt.dat', + 'DATA'), + ('babel/locale-data/vo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vo.dat', + 'DATA'), + ('babel/locale-data/en_CX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CX.dat', + 'DATA'), + ('babel/locale-data/ar_QA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_QA.dat', + 'DATA'), + ('babel/locale-data/blo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blo.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_MR.dat', + 'DATA'), + ('babel/locale-data/mer.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mer.dat', + 'DATA'), + ('babel/locale-data/ms_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab.dat', + 'DATA'), + ('babel/locale-data/en_MW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MW.dat', + 'DATA'), + ('babel/locale-data/ta_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_MY.dat', + 'DATA'), + ('babel/locale-data/mgh_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgh_MZ.dat', + 'DATA'), + ('babel/locale-data/zh_Hant.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant.dat', + 'DATA'), + ('babel/locale-data/ga_IE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga_IE.dat', + 'DATA'), + ('babel/locale-data/lij_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lij_IT.dat', + 'DATA'), + ('babel/locale-data/saq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/saq.dat', + 'DATA'), + ('babel/locale-data/ca_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_FR.dat', + 'DATA'), + ('babel/locale-data/kde_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kde_TZ.dat', + 'DATA'), + ('babel/locale-data/bez_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bez_TZ.dat', + 'DATA'), + ('babel/locale-data/fr_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MG.dat', + 'DATA'), + ('babel/locale-data/lkt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lkt.dat', + 'DATA'), + ('babel/locale-data/twq_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/twq_NE.dat', + 'DATA'), + ('babel/locale-data/tt_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tt_RU.dat', + 'DATA'), + ('babel/locale-data/bho.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bho.dat', + 'DATA'), + ('babel/locale-data/es_AR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_AR.dat', + 'DATA'), + ('babel/locale-data/en_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AE.dat', + 'DATA'), + ('babel/locale-data/el_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_CY.dat', + 'DATA'), + ('babel/locale-data/sms_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sms_FI.dat', + 'DATA'), + ('babel/locale-data/nl_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_BE.dat', + 'DATA'), + ('babel/locale-data/mt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mt.dat', + 'DATA'), + ('babel/locale-data/so_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_DJ.dat', + 'DATA'), + ('babel/locale-data/mni_Beng_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Beng_IN.dat', + 'DATA'), + ('babel/locale-data/moh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/moh.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_MO.dat', + 'DATA'), + ('babel/locale-data/fr_YT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_YT.dat', + 'DATA'), + ('base_library.zip', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/base_library.zip', + 'DATA')], + [('_collections_abc', '/usr/lib/python3.12/_collections_abc.py', 'PYMODULE'), + ('reprlib', '/usr/lib/python3.12/reprlib.py', 'PYMODULE'), + ('sre_constants', '/usr/lib/python3.12/sre_constants.py', 'PYMODULE'), + ('heapq', '/usr/lib/python3.12/heapq.py', 'PYMODULE'), + ('enum', '/usr/lib/python3.12/enum.py', 'PYMODULE'), + ('ntpath', '/usr/lib/python3.12/ntpath.py', 'PYMODULE'), + ('types', '/usr/lib/python3.12/types.py', 'PYMODULE'), + ('codecs', '/usr/lib/python3.12/codecs.py', 'PYMODULE'), + ('linecache', '/usr/lib/python3.12/linecache.py', 'PYMODULE'), + ('abc', '/usr/lib/python3.12/abc.py', 'PYMODULE'), + ('io', '/usr/lib/python3.12/io.py', 'PYMODULE'), + ('sre_compile', '/usr/lib/python3.12/sre_compile.py', 'PYMODULE'), + ('warnings', '/usr/lib/python3.12/warnings.py', 'PYMODULE'), + ('traceback', '/usr/lib/python3.12/traceback.py', 'PYMODULE'), + ('os', '/usr/lib/python3.12/os.py', 'PYMODULE'), + ('posixpath', '/usr/lib/python3.12/posixpath.py', 'PYMODULE'), + ('encodings.zlib_codec', + '/usr/lib/python3.12/encodings/zlib_codec.py', + 'PYMODULE'), + ('encodings.uu_codec', + '/usr/lib/python3.12/encodings/uu_codec.py', + 'PYMODULE'), + ('encodings.utf_8_sig', + '/usr/lib/python3.12/encodings/utf_8_sig.py', + 'PYMODULE'), + ('encodings.utf_8', '/usr/lib/python3.12/encodings/utf_8.py', 'PYMODULE'), + ('encodings.utf_7', '/usr/lib/python3.12/encodings/utf_7.py', 'PYMODULE'), + ('encodings.utf_32_le', + '/usr/lib/python3.12/encodings/utf_32_le.py', + 'PYMODULE'), + ('encodings.utf_32_be', + '/usr/lib/python3.12/encodings/utf_32_be.py', + 'PYMODULE'), + ('encodings.utf_32', '/usr/lib/python3.12/encodings/utf_32.py', 'PYMODULE'), + ('encodings.utf_16_le', + '/usr/lib/python3.12/encodings/utf_16_le.py', + 'PYMODULE'), + ('encodings.utf_16_be', + '/usr/lib/python3.12/encodings/utf_16_be.py', + 'PYMODULE'), + ('encodings.utf_16', '/usr/lib/python3.12/encodings/utf_16.py', 'PYMODULE'), + ('encodings.unicode_escape', + '/usr/lib/python3.12/encodings/unicode_escape.py', + 'PYMODULE'), + ('encodings.undefined', + '/usr/lib/python3.12/encodings/undefined.py', + 'PYMODULE'), + ('encodings.tis_620', '/usr/lib/python3.12/encodings/tis_620.py', 'PYMODULE'), + ('encodings.shift_jisx0213', + '/usr/lib/python3.12/encodings/shift_jisx0213.py', + 'PYMODULE'), + ('encodings.shift_jis_2004', + '/usr/lib/python3.12/encodings/shift_jis_2004.py', + 'PYMODULE'), + ('encodings.shift_jis', + '/usr/lib/python3.12/encodings/shift_jis.py', + 'PYMODULE'), + ('encodings.rot_13', '/usr/lib/python3.12/encodings/rot_13.py', 'PYMODULE'), + ('encodings.raw_unicode_escape', + '/usr/lib/python3.12/encodings/raw_unicode_escape.py', + 'PYMODULE'), + ('encodings.quopri_codec', + '/usr/lib/python3.12/encodings/quopri_codec.py', + 'PYMODULE'), + ('encodings.punycode', + '/usr/lib/python3.12/encodings/punycode.py', + 'PYMODULE'), + ('encodings.ptcp154', '/usr/lib/python3.12/encodings/ptcp154.py', 'PYMODULE'), + ('encodings.palmos', '/usr/lib/python3.12/encodings/palmos.py', 'PYMODULE'), + ('encodings.oem', '/usr/lib/python3.12/encodings/oem.py', 'PYMODULE'), + ('encodings.mbcs', '/usr/lib/python3.12/encodings/mbcs.py', 'PYMODULE'), + ('encodings.mac_turkish', + '/usr/lib/python3.12/encodings/mac_turkish.py', + 'PYMODULE'), + ('encodings.mac_romanian', + '/usr/lib/python3.12/encodings/mac_romanian.py', + 'PYMODULE'), + ('encodings.mac_roman', + '/usr/lib/python3.12/encodings/mac_roman.py', + 'PYMODULE'), + ('encodings.mac_latin2', + '/usr/lib/python3.12/encodings/mac_latin2.py', + 'PYMODULE'), + ('encodings.mac_iceland', + '/usr/lib/python3.12/encodings/mac_iceland.py', + 'PYMODULE'), + ('encodings.mac_greek', + '/usr/lib/python3.12/encodings/mac_greek.py', + 'PYMODULE'), + ('encodings.mac_farsi', + '/usr/lib/python3.12/encodings/mac_farsi.py', + 'PYMODULE'), + ('encodings.mac_cyrillic', + '/usr/lib/python3.12/encodings/mac_cyrillic.py', + 'PYMODULE'), + ('encodings.mac_croatian', + '/usr/lib/python3.12/encodings/mac_croatian.py', + 'PYMODULE'), + ('encodings.mac_arabic', + '/usr/lib/python3.12/encodings/mac_arabic.py', + 'PYMODULE'), + ('encodings.latin_1', '/usr/lib/python3.12/encodings/latin_1.py', 'PYMODULE'), + ('encodings.kz1048', '/usr/lib/python3.12/encodings/kz1048.py', 'PYMODULE'), + ('encodings.koi8_u', '/usr/lib/python3.12/encodings/koi8_u.py', 'PYMODULE'), + ('encodings.koi8_t', '/usr/lib/python3.12/encodings/koi8_t.py', 'PYMODULE'), + ('encodings.koi8_r', '/usr/lib/python3.12/encodings/koi8_r.py', 'PYMODULE'), + ('encodings.johab', '/usr/lib/python3.12/encodings/johab.py', 'PYMODULE'), + ('encodings.iso8859_9', + '/usr/lib/python3.12/encodings/iso8859_9.py', + 'PYMODULE'), + ('encodings.iso8859_8', + '/usr/lib/python3.12/encodings/iso8859_8.py', + 'PYMODULE'), + ('encodings.iso8859_7', + '/usr/lib/python3.12/encodings/iso8859_7.py', + 'PYMODULE'), + ('encodings.iso8859_6', + '/usr/lib/python3.12/encodings/iso8859_6.py', + 'PYMODULE'), + ('encodings.iso8859_5', + '/usr/lib/python3.12/encodings/iso8859_5.py', + 'PYMODULE'), + ('encodings.iso8859_4', + '/usr/lib/python3.12/encodings/iso8859_4.py', + 'PYMODULE'), + ('encodings.iso8859_3', + '/usr/lib/python3.12/encodings/iso8859_3.py', + 'PYMODULE'), + ('encodings.iso8859_2', + '/usr/lib/python3.12/encodings/iso8859_2.py', + 'PYMODULE'), + ('encodings.iso8859_16', + '/usr/lib/python3.12/encodings/iso8859_16.py', + 'PYMODULE'), + ('encodings.iso8859_15', + '/usr/lib/python3.12/encodings/iso8859_15.py', + 'PYMODULE'), + ('encodings.iso8859_14', + '/usr/lib/python3.12/encodings/iso8859_14.py', + 'PYMODULE'), + ('encodings.iso8859_13', + '/usr/lib/python3.12/encodings/iso8859_13.py', + 'PYMODULE'), + ('encodings.iso8859_11', + '/usr/lib/python3.12/encodings/iso8859_11.py', + 'PYMODULE'), + ('encodings.iso8859_10', + '/usr/lib/python3.12/encodings/iso8859_10.py', + 'PYMODULE'), + ('encodings.iso8859_1', + '/usr/lib/python3.12/encodings/iso8859_1.py', + 'PYMODULE'), + ('encodings.iso2022_kr', + '/usr/lib/python3.12/encodings/iso2022_kr.py', + 'PYMODULE'), + ('encodings.iso2022_jp_ext', + '/usr/lib/python3.12/encodings/iso2022_jp_ext.py', + 'PYMODULE'), + ('encodings.iso2022_jp_3', + '/usr/lib/python3.12/encodings/iso2022_jp_3.py', + 'PYMODULE'), + ('encodings.iso2022_jp_2004', + '/usr/lib/python3.12/encodings/iso2022_jp_2004.py', + 'PYMODULE'), + ('encodings.iso2022_jp_2', + '/usr/lib/python3.12/encodings/iso2022_jp_2.py', + 'PYMODULE'), + ('encodings.iso2022_jp_1', + '/usr/lib/python3.12/encodings/iso2022_jp_1.py', + 'PYMODULE'), + ('encodings.iso2022_jp', + '/usr/lib/python3.12/encodings/iso2022_jp.py', + 'PYMODULE'), + ('encodings.idna', '/usr/lib/python3.12/encodings/idna.py', 'PYMODULE'), + ('encodings.hz', '/usr/lib/python3.12/encodings/hz.py', 'PYMODULE'), + ('encodings.hp_roman8', + '/usr/lib/python3.12/encodings/hp_roman8.py', + 'PYMODULE'), + ('encodings.hex_codec', + '/usr/lib/python3.12/encodings/hex_codec.py', + 'PYMODULE'), + ('encodings.gbk', '/usr/lib/python3.12/encodings/gbk.py', 'PYMODULE'), + ('encodings.gb2312', '/usr/lib/python3.12/encodings/gb2312.py', 'PYMODULE'), + ('encodings.gb18030', '/usr/lib/python3.12/encodings/gb18030.py', 'PYMODULE'), + ('encodings.euc_kr', '/usr/lib/python3.12/encodings/euc_kr.py', 'PYMODULE'), + ('encodings.euc_jp', '/usr/lib/python3.12/encodings/euc_jp.py', 'PYMODULE'), + ('encodings.euc_jisx0213', + '/usr/lib/python3.12/encodings/euc_jisx0213.py', + 'PYMODULE'), + ('encodings.euc_jis_2004', + '/usr/lib/python3.12/encodings/euc_jis_2004.py', + 'PYMODULE'), + ('encodings.cp950', '/usr/lib/python3.12/encodings/cp950.py', 'PYMODULE'), + ('encodings.cp949', '/usr/lib/python3.12/encodings/cp949.py', 'PYMODULE'), + ('encodings.cp932', '/usr/lib/python3.12/encodings/cp932.py', 'PYMODULE'), + ('encodings.cp875', '/usr/lib/python3.12/encodings/cp875.py', 'PYMODULE'), + ('encodings.cp874', '/usr/lib/python3.12/encodings/cp874.py', 'PYMODULE'), + ('encodings.cp869', '/usr/lib/python3.12/encodings/cp869.py', 'PYMODULE'), + ('encodings.cp866', '/usr/lib/python3.12/encodings/cp866.py', 'PYMODULE'), + ('encodings.cp865', '/usr/lib/python3.12/encodings/cp865.py', 'PYMODULE'), + ('encodings.cp864', '/usr/lib/python3.12/encodings/cp864.py', 'PYMODULE'), + ('encodings.cp863', '/usr/lib/python3.12/encodings/cp863.py', 'PYMODULE'), + ('encodings.cp862', '/usr/lib/python3.12/encodings/cp862.py', 'PYMODULE'), + ('encodings.cp861', '/usr/lib/python3.12/encodings/cp861.py', 'PYMODULE'), + ('encodings.cp860', '/usr/lib/python3.12/encodings/cp860.py', 'PYMODULE'), + ('encodings.cp858', '/usr/lib/python3.12/encodings/cp858.py', 'PYMODULE'), + ('encodings.cp857', '/usr/lib/python3.12/encodings/cp857.py', 'PYMODULE'), + ('encodings.cp856', '/usr/lib/python3.12/encodings/cp856.py', 'PYMODULE'), + ('encodings.cp855', '/usr/lib/python3.12/encodings/cp855.py', 'PYMODULE'), + ('encodings.cp852', '/usr/lib/python3.12/encodings/cp852.py', 'PYMODULE'), + ('encodings.cp850', '/usr/lib/python3.12/encodings/cp850.py', 'PYMODULE'), + ('encodings.cp775', '/usr/lib/python3.12/encodings/cp775.py', 'PYMODULE'), + ('encodings.cp737', '/usr/lib/python3.12/encodings/cp737.py', 'PYMODULE'), + ('encodings.cp720', '/usr/lib/python3.12/encodings/cp720.py', 'PYMODULE'), + ('encodings.cp500', '/usr/lib/python3.12/encodings/cp500.py', 'PYMODULE'), + ('encodings.cp437', '/usr/lib/python3.12/encodings/cp437.py', 'PYMODULE'), + ('encodings.cp424', '/usr/lib/python3.12/encodings/cp424.py', 'PYMODULE'), + ('encodings.cp273', '/usr/lib/python3.12/encodings/cp273.py', 'PYMODULE'), + ('encodings.cp1258', '/usr/lib/python3.12/encodings/cp1258.py', 'PYMODULE'), + ('encodings.cp1257', '/usr/lib/python3.12/encodings/cp1257.py', 'PYMODULE'), + ('encodings.cp1256', '/usr/lib/python3.12/encodings/cp1256.py', 'PYMODULE'), + ('encodings.cp1255', '/usr/lib/python3.12/encodings/cp1255.py', 'PYMODULE'), + ('encodings.cp1254', '/usr/lib/python3.12/encodings/cp1254.py', 'PYMODULE'), + ('encodings.cp1253', '/usr/lib/python3.12/encodings/cp1253.py', 'PYMODULE'), + ('encodings.cp1252', '/usr/lib/python3.12/encodings/cp1252.py', 'PYMODULE'), + ('encodings.cp1251', '/usr/lib/python3.12/encodings/cp1251.py', 'PYMODULE'), + ('encodings.cp1250', '/usr/lib/python3.12/encodings/cp1250.py', 'PYMODULE'), + ('encodings.cp1140', '/usr/lib/python3.12/encodings/cp1140.py', 'PYMODULE'), + ('encodings.cp1125', '/usr/lib/python3.12/encodings/cp1125.py', 'PYMODULE'), + ('encodings.cp1026', '/usr/lib/python3.12/encodings/cp1026.py', 'PYMODULE'), + ('encodings.cp1006', '/usr/lib/python3.12/encodings/cp1006.py', 'PYMODULE'), + ('encodings.cp037', '/usr/lib/python3.12/encodings/cp037.py', 'PYMODULE'), + ('encodings.charmap', '/usr/lib/python3.12/encodings/charmap.py', 'PYMODULE'), + ('encodings.bz2_codec', + '/usr/lib/python3.12/encodings/bz2_codec.py', + 'PYMODULE'), + ('encodings.big5hkscs', + '/usr/lib/python3.12/encodings/big5hkscs.py', + 'PYMODULE'), + ('encodings.big5', '/usr/lib/python3.12/encodings/big5.py', 'PYMODULE'), + ('encodings.base64_codec', + '/usr/lib/python3.12/encodings/base64_codec.py', + 'PYMODULE'), + ('encodings.ascii', '/usr/lib/python3.12/encodings/ascii.py', 'PYMODULE'), + ('encodings.aliases', '/usr/lib/python3.12/encodings/aliases.py', 'PYMODULE'), + ('encodings', '/usr/lib/python3.12/encodings/__init__.py', 'PYMODULE'), + ('genericpath', '/usr/lib/python3.12/genericpath.py', 'PYMODULE'), + ('locale', '/usr/lib/python3.12/locale.py', 'PYMODULE'), + ('weakref', '/usr/lib/python3.12/weakref.py', 'PYMODULE'), + ('_weakrefset', '/usr/lib/python3.12/_weakrefset.py', 'PYMODULE'), + ('keyword', '/usr/lib/python3.12/keyword.py', 'PYMODULE'), + ('copyreg', '/usr/lib/python3.12/copyreg.py', 'PYMODULE'), + ('collections.abc', '/usr/lib/python3.12/collections/abc.py', 'PYMODULE'), + ('collections', '/usr/lib/python3.12/collections/__init__.py', 'PYMODULE'), + ('re._parser', '/usr/lib/python3.12/re/_parser.py', 'PYMODULE'), + ('re._constants', '/usr/lib/python3.12/re/_constants.py', 'PYMODULE'), + ('re._compiler', '/usr/lib/python3.12/re/_compiler.py', 'PYMODULE'), + ('re._casefix', '/usr/lib/python3.12/re/_casefix.py', 'PYMODULE'), + ('re', '/usr/lib/python3.12/re/__init__.py', 'PYMODULE'), + ('operator', '/usr/lib/python3.12/operator.py', 'PYMODULE'), + ('functools', '/usr/lib/python3.12/functools.py', 'PYMODULE'), + ('sre_parse', '/usr/lib/python3.12/sre_parse.py', 'PYMODULE'), + ('stat', '/usr/lib/python3.12/stat.py', 'PYMODULE')]) diff --git a/moneyed/build/test5/EXE-00.toc b/moneyed/build/test5/EXE-00.toc new file mode 100644 index 0000000000000000000000000000000000000000..179e09887c25b45c2ba341fc515ee976f301fff0 --- /dev/null +++ b/moneyed/build/test5/EXE-00.toc @@ -0,0 +1,3391 @@ +('/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/dist/test5', + True, + False, + False, + None, + None, + False, + False, + None, + True, + False, + None, + None, + None, + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/test5.pkg', + [('pyi-contents-directory _internal', '', 'OPTION'), + ('PYZ-00.pyz', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/PYZ-00.pyz', + 'PYZ'), + ('struct', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/localpycs/struct.pyc', + 'PYMODULE'), + ('pyimod01_archive', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/localpycs/pyimod01_archive.pyc', + 'PYMODULE'), + ('pyimod02_importers', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/localpycs/pyimod02_importers.pyc', + 'PYMODULE'), + ('pyimod03_ctypes', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/localpycs/pyimod03_ctypes.pyc', + 'PYMODULE'), + ('pyiboot01_bootstrap', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/loader/pyiboot01_bootstrap.py', + 'PYSOURCE'), + ('pyi_rth_inspect', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py', + 'PYSOURCE'), + ('pyi_rth_pkgutil', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py', + 'PYSOURCE'), + ('pyi_rth_multiprocessing', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py', + 'PYSOURCE'), + ('test5', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/test5.py', + 'PYSOURCE'), + ('libpython3.12.so.1.0', + '/lib/x86_64-linux-gnu/libpython3.12.so.1.0', + 'BINARY'), + ('python3.12/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/termios.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/termios.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_ssl.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_ssl.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_hashlib.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_hashlib.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_contextvars.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_contextvars.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_decimal.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_decimal.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/resource.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/resource.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_lzma.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_lzma.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_bz2.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_bz2.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_ctypes.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_ctypes.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_multibytecodec.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_multibytecodec.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_jp.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_jp.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_kr.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_kr.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_iso2022.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_iso2022.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_cn.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_cn.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_tw.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_tw.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_hk.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_hk.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_zoneinfo.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_zoneinfo.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'), + ('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'), + ('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'), + ('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'), + ('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'), + ('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'), + ('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY'), + ('babel/locale-data/sbp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sbp.dat', + 'DATA'), + ('babel/locale-data/mg_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mg_MG.dat', + 'DATA'), + ('babel/locale-data/en_BW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BW.dat', + 'DATA'), + ('babel/locale-data/es_CO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CO.dat', + 'DATA'), + ('babel/locale-data/jbo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jbo.dat', + 'DATA'), + ('babel/locale-data/fr_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CA.dat', + 'DATA'), + ('babel/locale-data/tn_BW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn_BW.dat', + 'DATA'), + ('babel/locale-data/cu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cu.dat', + 'DATA'), + ('babel/locale-data/es_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_ES.dat', + 'DATA'), + ('babel/locale-data/hr_HR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr_HR.dat', + 'DATA'), + ('babel/locale-data/fil.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fil.dat', + 'DATA'), + ('babel/locale-data/kk_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_KZ.dat', + 'DATA'), + ('babel/locale-data/fy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fy.dat', + 'DATA'), + ('babel/locale-data/kln.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kln.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_BA.dat', + 'DATA'), + ('babel/locale-data/is_IS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/is_IS.dat', + 'DATA'), + ('babel/locale-data/aa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa.dat', + 'DATA'), + ('babel/locale-data/co_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/co_FR.dat', + 'DATA'), + ('babel/locale-data/ja_JP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ja_JP.dat', + 'DATA'), + ('babel/locale-data/hi_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/mua_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mua_CM.dat', + 'DATA'), + ('babel/locale-data/jgo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jgo_CM.dat', + 'DATA'), + ('babel/locale-data/ss_SZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss_SZ.dat', + 'DATA'), + ('babel/locale-data/en_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZW.dat', + 'DATA'), + ('babel/locale-data/id.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/id.dat', + 'DATA'), + ('babel/locale-data/fr_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_DZ.dat', + 'DATA'), + ('babel/locale-data/en_PT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PT.dat', + 'DATA'), + ('babel/locale-data/mg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mg.dat', + 'DATA'), + ('babel/locale-data/kam_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kam_KE.dat', + 'DATA'), + ('babel/locale-data/es_419.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_419.dat', + 'DATA'), + ('babel/locale-data/pt_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_BR.dat', + 'DATA'), + ('babel/locale-data/mus_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mus_US.dat', + 'DATA'), + ('babel/locale-data/br.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/br.dat', + 'DATA'), + ('babel/locale-data/en_GY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GY.dat', + 'DATA'), + ('babel/locale-data/naq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/naq.dat', + 'DATA'), + ('babel/locale-data/pa_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Arab.dat', + 'DATA'), + ('babel/locale-data/syr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr.dat', + 'DATA'), + ('babel/locale-data/kk_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Cyrl.dat', + 'DATA'), + ('babel/locale-data/gez.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez.dat', + 'DATA'), + ('babel/locale-data/kok_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/bgn_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_IR.dat', + 'DATA'), + ('babel/locale-data/fo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo.dat', + 'DATA'), + ('babel/locale-data/jv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jv.dat', + 'DATA'), + ('babel/locale-data/syr_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr_IQ.dat', + 'DATA'), + ('babel/locale-data/ko_KP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_KP.dat', + 'DATA'), + ('babel/locale-data/fr_NC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_NC.dat', + 'DATA'), + ('babel/locale-data/mgh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgh.dat', + 'DATA'), + ('babel/locale-data/ar_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_DJ.dat', + 'DATA'), + ('babel/locale-data/nd_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nd_ZW.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_NG.dat', + 'DATA'), + ('babel/locale-data/ca.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca.dat', + 'DATA'), + ('babel/locale-data/luy_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luy_KE.dat', + 'DATA'), + ('babel/locale-data/sd_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Arab.dat', + 'DATA'), + ('babel/locale-data/kaa_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Latn.dat', + 'DATA'), + ('babel/locale-data/ur_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur_IN.dat', + 'DATA'), + ('babel/locale-data/hr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr.dat', + 'DATA'), + ('babel/locale-data/nn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nn.dat', + 'DATA'), + ('babel/locale-data/ab_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ab_GE.dat', + 'DATA'), + ('babel/locale-data/sg_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sg_CF.dat', + 'DATA'), + ('babel/locale-data/mer_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mer_KE.dat', + 'DATA'), + ('babel/locale-data/sw_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_KE.dat', + 'DATA'), + ('babel/locale-data/rof.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rof.dat', + 'DATA'), + ('babel/locale-data/be_BY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be_BY.dat', + 'DATA'), + ('babel/locale-data/es_PE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PE.dat', + 'DATA'), + ('babel/locale-data/ms_Arab_BN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab_BN.dat', + 'DATA'), + ('babel/locale-data/en_AU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AU.dat', + 'DATA'), + ('babel/locale-data/hnj_Hmnp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj_Hmnp.dat', + 'DATA'), + ('babel/locale-data/sid_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sid_ET.dat', + 'DATA'), + ('babel/locale-data/kam.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kam.dat', + 'DATA'), + ('babel/locale-data/se_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_NO.dat', + 'DATA'), + ('babel/locale-data/ccp_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp_BD.dat', + 'DATA'), + ('babel/locale-data/ar_JO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_JO.dat', + 'DATA'), + ('babel/locale-data/dyo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dyo.dat', + 'DATA'), + ('babel/locale-data/sat_Olck_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Olck_IN.dat', + 'DATA'), + ('babel/locale-data/kw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kw.dat', + 'DATA'), + ('babel/locale-data/sv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv.dat', + 'DATA'), + ('babel/locale-data/mgo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgo.dat', + 'DATA'), + ('babel/locale-data/dav.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dav.dat', + 'DATA'), + ('babel/locale-data/ann_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ann_NG.dat', + 'DATA'), + ('babel/locale-data/kaa_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Cyrl.dat', + 'DATA'), + ('babel/locale-data/ks_Arab_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Arab_IN.dat', + 'DATA'), + ('babel/locale-data/te.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/te.dat', + 'DATA'), + ('babel/locale-data/zu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zu.dat', + 'DATA'), + ('babel/locale-data/sat.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat.dat', + 'DATA'), + ('babel/locale-data/en_PR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PR.dat', + 'DATA'), + ('babel/locale-data/fr_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CM.dat', + 'DATA'), + ('babel/locale-data/ug.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ug.dat', + 'DATA'), + ('babel/locale-data/tn_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn_ZA.dat', + 'DATA'), + ('babel/locale-data/fr_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CF.dat', + 'DATA'), + ('babel/locale-data/ts.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ts.dat', + 'DATA'), + ('babel/locale-data/bm_Nkoo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_Nkoo.dat', + 'DATA'), + ('babel/locale-data/ne_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne_IN.dat', + 'DATA'), + ('babel/locale-data/es_DO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_DO.dat', + 'DATA'), + ('babel/locale-data/fr_PM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_PM.dat', + 'DATA'), + ('babel/locale-data/es_UY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_UY.dat', + 'DATA'), + ('babel/locale-data/sw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw.dat', + 'DATA'), + ('babel/locale-data/pt_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_MZ.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_NE.dat', + 'DATA'), + ('babel/locale-data/lmo_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lmo_IT.dat', + 'DATA'), + ('babel/locale-data/nds_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds_DE.dat', + 'DATA'), + ('babel/locale-data/az_Cyrl_AZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Cyrl_AZ.dat', + 'DATA'), + ('babel/locale-data/nqo_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nqo_GN.dat', + 'DATA'), + ('babel/locale-data/es_NI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_NI.dat', + 'DATA'), + ('babel/locale-data/pt_TL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_TL.dat', + 'DATA'), + ('babel/locale-data/om_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om_KE.dat', + 'DATA'), + ('babel/locale-data/zh_Latn_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Latn_CN.dat', + 'DATA'), + ('babel/locale-data/en_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PH.dat', + 'DATA'), + ('babel/locale-data/xog.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xog.dat', + 'DATA'), + ('babel/locale-data/sv_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_SE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_SN.dat', + 'DATA'), + ('babel/locale-data/fr_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_ML.dat', + 'DATA'), + ('babel/locale-data/en_NR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NR.dat', + 'DATA'), + ('babel/locale-data/es_HN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_HN.dat', + 'DATA'), + ('babel/locale-data/apc_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/apc_SY.dat', + 'DATA'), + ('babel/locale-data/bew_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bew_ID.dat', + 'DATA'), + ('babel/locale-data/yrl_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_BR.dat', + 'DATA'), + ('babel/locale-data/shn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn.dat', + 'DATA'), + ('babel/locale-data/ar_PS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_PS.dat', + 'DATA'), + ('babel/locale-data/en_GG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GG.dat', + 'DATA'), + ('babel/locale-data/lld.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lld.dat', + 'DATA'), + ('babel/locale-data/tr_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr_CY.dat', + 'DATA'), + ('babel/locale-data/mas_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas_TZ.dat', + 'DATA'), + ('babel/locale-data/zh_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Latn.dat', + 'DATA'), + ('babel/locale-data/zgh_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zgh_MA.dat', + 'DATA'), + ('babel/locale-data/qu_PE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_PE.dat', + 'DATA'), + ('babel/locale-data/iu_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_CA.dat', + 'DATA'), + ('babel/locale-data/es_PR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PR.dat', + 'DATA'), + ('babel/locale-data/or.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/or.dat', + 'DATA'), + ('babel/locale-data/dv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dv.dat', + 'DATA'), + ('babel/locale-data/kea.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kea.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg_BD.dat', + 'DATA'), + ('babel/locale-data/de_AT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_AT.dat', + 'DATA'), + ('babel/locale-data/byn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/byn.dat', + 'DATA'), + ('babel/locale-data/dav_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dav_KE.dat', + 'DATA'), + ('babel/locale-data/oc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc.dat', + 'DATA'), + ('babel/locale-data/trw_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trw_PK.dat', + 'DATA'), + ('babel/locale-data/bal_Latn_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Latn_PK.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_HK.dat', + 'DATA'), + ('babel/locale-data/os_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os_GE.dat', + 'DATA'), + ('babel/locale-data/bas.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bas.dat', + 'DATA'), + ('babel/locale-data/en_FM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FM.dat', + 'DATA'), + ('babel/locale-data/dje.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dje.dat', + 'DATA'), + ('babel/locale-data/tpi_PG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tpi_PG.dat', + 'DATA'), + ('babel/locale-data/sdh_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh_IQ.dat', + 'DATA'), + ('babel/locale-data/frr_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/frr_DE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GH.dat', + 'DATA'), + ('babel/locale-data/nso_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nso_ZA.dat', + 'DATA'), + ('babel/locale-data/doi_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/doi_IN.dat', + 'DATA'), + ('babel/locale-data/ar_YE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_YE.dat', + 'DATA'), + ('babel/locale-data/es_SV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_SV.dat', + 'DATA'), + ('babel/locale-data/st_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st_ZA.dat', + 'DATA'), + ('babel/locale-data/ln_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CD.dat', + 'DATA'), + ('babel/locale-data/fr_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MA.dat', + 'DATA'), + ('babel/locale-data/ee_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee_GH.dat', + 'DATA'), + ('babel/locale-data/bo_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo_CN.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_LR.dat', + 'DATA'), + ('babel/locale-data/mic.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mic.dat', + 'DATA'), + ('babel/locale-data/mt_MT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mt_MT.dat', + 'DATA'), + ('babel/locale-data/aa_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_DJ.dat', + 'DATA'), + ('babel/locale-data/az.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GH.dat', + 'DATA'), + ('babel/locale-data/la.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/la.dat', + 'DATA'), + ('babel/locale-data/es_BZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BZ.dat', + 'DATA'), + ('babel/locale-data/gn_PY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gn_PY.dat', + 'DATA'), + ('babel/locale-data/es_MX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_MX.dat', + 'DATA'), + ('babel/locale-data/mai.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mai.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_MO.dat', + 'DATA'), + ('babel/locale-data/ar_TD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_TD.dat', + 'DATA'), + ('babel/locale-data/pap_AW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap_AW.dat', + 'DATA'), + ('babel/locale-data/ki.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ki.dat', + 'DATA'), + ('babel/locale-data/cs.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cs.dat', + 'DATA'), + ('babel/locale-data/pap_CW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap_CW.dat', + 'DATA'), + ('babel/locale-data/en_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SE.dat', + 'DATA'), + ('babel/locale-data/qu_BO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_BO.dat', + 'DATA'), + ('babel/locale-data/smn_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smn_FI.dat', + 'DATA'), + ('babel/locale-data/oc_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc_FR.dat', + 'DATA'), + ('babel/locale-data/fr_HT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_HT.dat', + 'DATA'), + ('babel/locale-data/en_TK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TK.dat', + 'DATA'), + ('babel/locale-data/de_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_CH.dat', + 'DATA'), + ('babel/locale-data/haw_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/haw_US.dat', + 'DATA'), + ('babel/locale-data/tig_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tig_ER.dat', + 'DATA'), + ('babel/locale-data/mas_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas_KE.dat', + 'DATA'), + ('babel/locale-data/kok.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok.dat', + 'DATA'), + ('babel/locale-data/gv_IM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gv_IM.dat', + 'DATA'), + ('babel/locale-data/sat_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/tr_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr_TR.dat', + 'DATA'), + ('babel/locale-data/de_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_DE.dat', + 'DATA'), + ('babel/locale-data/trv_TW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trv_TW.dat', + 'DATA'), + ('babel/locale-data/ru_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_RU.dat', + 'DATA'), + ('babel/locale-data/ar_SO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SO.dat', + 'DATA'), + ('babel/locale-data/mua.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mua.dat', + 'DATA'), + ('babel/locale-data/mn_MN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_MN.dat', + 'DATA'), + ('babel/locale-data/yi_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yi_UA.dat', + 'DATA'), + ('babel/locale-data/de_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_IT.dat', + 'DATA'), + ('babel/locale-data/eu_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eu_ES.dat', + 'DATA'), + ('babel/locale-data/jgo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jgo.dat', + 'DATA'), + ('babel/locale-data/ar_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_AE.dat', + 'DATA'), + ('babel/locale-data/bgn_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_AF.dat', + 'DATA'), + ('babel/locale-data/bn_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn_BD.dat', + 'DATA'), + ('babel/locale-data/bo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo.dat', + 'DATA'), + ('babel/locale-data/ar_SA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SA.dat', + 'DATA'), + ('babel/locale-data/en_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ER.dat', + 'DATA'), + ('babel/locale-data/ht_HT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ht_HT.dat', + 'DATA'), + ('babel/locale-data/es_CL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CL.dat', + 'DATA'), + ('babel/locale-data/tok.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tok.dat', + 'DATA'), + ('babel/locale-data/dua_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dua_CM.dat', + 'DATA'), + ('babel/locale-data/csw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/csw.dat', + 'DATA'), + ('babel/locale-data/ken.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ken.dat', + 'DATA'), + ('babel/locale-data/ar_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_DZ.dat', + 'DATA'), + ('babel/locale-data/en_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CM.dat', + 'DATA'), + ('babel/locale-data/es_IC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_IC.dat', + 'DATA'), + ('babel/locale-data/en_MT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MT.dat', + 'DATA'), + ('babel/locale-data/vmw_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vmw_MZ.dat', + 'DATA'), + ('babel/locale-data/ps_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps_PK.dat', + 'DATA'), + ('babel/locale-data/bm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm.dat', + 'DATA'), + ('babel/locale-data/szl_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/szl_PL.dat', + 'DATA'), + ('babel/locale-data/ug_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ug_CN.dat', + 'DATA'), + ('babel/locale-data/sa_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sa_IN.dat', + 'DATA'), + ('babel/locale-data/ebu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ebu.dat', + 'DATA'), + ('babel/locale-data/tig.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tig.dat', + 'DATA'), + ('babel/locale-data/co.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/co.dat', + 'DATA'), + ('babel/locale-data/en.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en.dat', + 'DATA'), + ('babel/locale-data/kab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kab.dat', + 'DATA'), + ('babel/locale-data/ie_EE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ie_EE.dat', + 'DATA'), + ('babel/locale-data/es_EC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_EC.dat', + 'DATA'), + ('babel/locale-data/skr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/skr.dat', + 'DATA'), + ('babel/locale-data/en_JE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_JE.dat', + 'DATA'), + ('babel/locale-data/sd_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/ar_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_MA.dat', + 'DATA'), + ('babel/locale-data/bss.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bss.dat', + 'DATA'), + ('babel/locale-data/tyv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tyv.dat', + 'DATA'), + ('babel/locale-data/en_AI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AI.dat', + 'DATA'), + ('babel/locale-data/jmc_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jmc_TZ.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GM.dat', + 'DATA'), + ('babel/locale-data/cop.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cop.dat', + 'DATA'), + ('babel/locale-data/ru_BY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_BY.dat', + 'DATA'), + ('babel/locale-data/fa_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa_IR.dat', + 'DATA'), + ('babel/locale-data/moh_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/moh_CA.dat', + 'DATA'), + ('babel/locale-data/en_DG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DG.dat', + 'DATA'), + ('babel/locale-data/fa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa.dat', + 'DATA'), + ('babel/locale-data/en_FK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FK.dat', + 'DATA'), + ('babel/locale-data/gd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gd.dat', + 'DATA'), + ('babel/locale-data/bs_Latn_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Latn_BA.dat', + 'DATA'), + ('babel/locale-data/gl_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gl_ES.dat', + 'DATA'), + ('babel/locale-data/zh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh.dat', + 'DATA'), + ('babel/locale-data/arn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/arn.dat', + 'DATA'), + ('babel/locale-data/sr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr.dat', + 'DATA'), + ('babel/locale-data/yrl_VE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_VE.dat', + 'DATA'), + ('babel/locale-data/kde.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kde.dat', + 'DATA'), + ('babel/locale-data/en_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SS.dat', + 'DATA'), + ('babel/locale-data/aa_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_ET.dat', + 'DATA'), + ('babel/locale-data/iu_Latn_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_Latn_CA.dat', + 'DATA'), + ('babel/locale-data/root.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/root.dat', + 'DATA'), + ('babel/locale-data/bs_Cyrl_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Cyrl_BA.dat', + 'DATA'), + ('babel/locale-data/en_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ES.dat', + 'DATA'), + ('babel/locale-data/ksh_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksh_DE.dat', + 'DATA'), + ('babel/locale-data/hy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hy.dat', + 'DATA'), + ('babel/locale-data/bez.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bez.dat', + 'DATA'), + ('babel/locale-data/rif_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rif_MA.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_CN.dat', + 'DATA'), + ('babel/locale-data/bal_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/bgc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgc.dat', + 'DATA'), + ('babel/locale-data/bem_ZM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bem_ZM.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_MY.dat', + 'DATA'), + ('babel/locale-data/en_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TZ.dat', + 'DATA'), + ('babel/locale-data/ss.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss.dat', + 'DATA'), + ('babel/locale-data/en_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IT.dat', + 'DATA'), + ('babel/locale-data/fr_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BJ.dat', + 'DATA'), + ('babel/locale-data/ht.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ht.dat', + 'DATA'), + ('babel/locale-data/ky_KG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ky_KG.dat', + 'DATA'), + ('babel/locale-data/vec.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vec.dat', + 'DATA'), + ('babel/locale-data/to.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/to.dat', + 'DATA'), + ('babel/locale-data/sd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd.dat', + 'DATA'), + ('babel/locale-data/wo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wo.dat', + 'DATA'), + ('babel/locale-data/haw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/haw.dat', + 'DATA'), + ('babel/locale-data/es_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PH.dat', + 'DATA'), + ('babel/locale-data/so_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_KE.dat', + 'DATA'), + ('babel/locale-data/en_BS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BS.dat', + 'DATA'), + ('babel/locale-data/mai_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mai_IN.dat', + 'DATA'), + ('babel/locale-data/scn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/scn.dat', + 'DATA'), + ('babel/locale-data/lt_LT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lt_LT.dat', + 'DATA'), + ('babel/locale-data/nso.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nso.dat', + 'DATA'), + ('babel/locale-data/en_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IL.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_TW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_TW.dat', + 'DATA'), + ('babel/locale-data/luo_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luo_KE.dat', + 'DATA'), + ('babel/locale-data/ig.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ig.dat', + 'DATA'), + ('babel/locale-data/or_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/or_IN.dat', + 'DATA'), + ('babel/locale-data/en_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NA.dat', + 'DATA'), + ('babel/locale-data/om_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om_ET.dat', + 'DATA'), + ('babel/locale-data/mdf_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mdf_RU.dat', + 'DATA'), + ('babel/locale-data/vi_VN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vi_VN.dat', + 'DATA'), + ('babel/locale-data/mfe_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mfe_MU.dat', + 'DATA'), + ('babel/locale-data/de_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_LU.dat', + 'DATA'), + ('babel/locale-data/rof_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rof_TZ.dat', + 'DATA'), + ('babel/locale-data/bs_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Latn.dat', + 'DATA'), + ('babel/locale-data/pt_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_GW.dat', + 'DATA'), + ('babel/locale-data/tr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr.dat', + 'DATA'), + ('babel/locale-data/shn_TH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn_TH.dat', + 'DATA'), + ('babel/locale-data/en_IO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IO.dat', + 'DATA'), + ('babel/locale-data/en_US_POSIX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_US_POSIX.dat', + 'DATA'), + ('babel/locale-data/uk_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uk_UA.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_ME.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_ME.dat', + 'DATA'), + ('babel/locale-data/es_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BR.dat', + 'DATA'), + ('babel/locale-data/nnh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nnh.dat', + 'DATA'), + ('babel/locale-data/ar_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SS.dat', + 'DATA'), + ('babel/locale-data/cch.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cch.dat', + 'DATA'), + ('babel/locale-data/ps.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_BF.dat', + 'DATA'), + ('babel/locale-data/sma_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma_NO.dat', + 'DATA'), + ('babel/locale-data/et_EE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/et_EE.dat', + 'DATA'), + ('babel/locale-data/ks_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Arab.dat', + 'DATA'), + ('babel/locale-data/lrc_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc_IQ.dat', + 'DATA'), + ('babel/locale-data/gaa_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gaa_GH.dat', + 'DATA'), + ('babel/locale-data/ti_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti_ER.dat', + 'DATA'), + ('babel/locale-data/mn_Mong_MN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong_MN.dat', + 'DATA'), + ('babel/locale-data/tk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tk.dat', + 'DATA'), + ('babel/locale-data/pt_CV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_CV.dat', + 'DATA'), + ('babel/locale-data/ln_CG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CG.dat', + 'DATA'), + ('babel/locale-data/nqo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nqo.dat', + 'DATA'), + ('babel/locale-data/arn_CL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/arn_CL.dat', + 'DATA'), + ('babel/locale-data/wbp_AU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wbp_AU.dat', + 'DATA'), + ('babel/locale-data/yrl_CO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_CO.dat', + 'DATA'), + ('babel/locale-data/pis.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pis.dat', + 'DATA'), + ('babel/locale-data/quc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/quc.dat', + 'DATA'), + ('babel/locale-data/hnj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj.dat', + 'DATA'), + ('babel/locale-data/uz_Arab_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Arab_AF.dat', + 'DATA'), + ('babel/locale-data/ca_AD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_AD.dat', + 'DATA'), + ('babel/locale-data/ar_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_IQ.dat', + 'DATA'), + ('babel/locale-data/de.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de.dat', + 'DATA'), + ('babel/locale-data/lag_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lag_TZ.dat', + 'DATA'), + ('babel/locale-data/luy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luy.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_SG.dat', + 'DATA'), + ('babel/locale-data/en_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DK.dat', + 'DATA'), + ('babel/locale-data/ltg_LV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ltg_LV.dat', + 'DATA'), + ('babel/locale-data/bs.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs.dat', + 'DATA'), + ('babel/locale-data/nmg_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nmg_CM.dat', + 'DATA'), + ('babel/locale-data/ast_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ast_ES.dat', + 'DATA'), + ('babel/locale-data/ltg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ltg.dat', + 'DATA'), + ('babel/locale-data/vmw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vmw.dat', + 'DATA'), + ('babel/locale-data/kxv_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Latn.dat', + 'DATA'), + ('babel/locale-data/en_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DE.dat', + 'DATA'), + ('babel/locale-data/en_150.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_150.dat', + 'DATA'), + ('babel/locale-data/en_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GM.dat', + 'DATA'), + ('babel/locale-data/en_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_001.dat', + 'DATA'), + ('babel/locale-data/es_PY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PY.dat', + 'DATA'), + ('babel/locale-data/ms_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_ID.dat', + 'DATA'), + ('babel/locale-data/es_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_GQ.dat', + 'DATA'), + ('babel/locale-data/sdh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh.dat', + 'DATA'), + ('babel/locale-data/cic.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cic.dat', + 'DATA'), + ('babel/locale-data/lu_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lu_CD.dat', + 'DATA'), + ('babel/locale-data/ru_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_UA.dat', + 'DATA'), + ('babel/locale-data/ks_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Deva.dat', + 'DATA'), + ('babel/locale-data/shi_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Latn.dat', + 'DATA'), + ('babel/locale-data/en_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BI.dat', + 'DATA'), + ('babel/locale-data/kxv_Telu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Telu.dat', + 'DATA'), + ('babel/locale-data/en_NF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NF.dat', + 'DATA'), + ('babel/locale-data/tt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tt.dat', + 'DATA'), + ('babel/locale-data/se_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_FI.dat', + 'DATA'), + ('babel/locale-data/cu_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cu_RU.dat', + 'DATA'), + ('babel/locale-data/mk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mk.dat', + 'DATA'), + ('babel/locale-data/it.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it.dat', + 'DATA'), + ('babel/locale-data/rif.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rif.dat', + 'DATA'), + ('babel/locale-data/en_SB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SB.dat', + 'DATA'), + ('babel/locale-data/uz_Latn_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Latn_UZ.dat', + 'DATA'), + ('babel/locale-data/vai_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Latn.dat', + 'DATA'), + ('babel/locale-data/tyv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tyv_RU.dat', + 'DATA'), + ('babel/locale-data/en_JM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_JM.dat', + 'DATA'), + ('babel/locale-data/fr_GA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GA.dat', + 'DATA'), + ('babel/locale-data/tzm_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tzm_MA.dat', + 'DATA'), + ('babel/locale-data/lkt_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lkt_US.dat', + 'DATA'), + ('babel/locale-data/en_BM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BM.dat', + 'DATA'), + ('babel/locale-data/sr_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn.dat', + 'DATA'), + ('babel/locale-data/kn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kn.dat', + 'DATA'), + ('babel/locale-data/ta_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_SG.dat', + 'DATA'), + ('babel/locale-data/gsw_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_FR.dat', + 'DATA'), + ('babel/locale-data/pt_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_GQ.dat', + 'DATA'), + ('babel/locale-data/sv_AX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_AX.dat', + 'DATA'), + ('babel/locale-data/ko.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko.dat', + 'DATA'), + ('babel/locale-data/nl_CW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_CW.dat', + 'DATA'), + ('babel/locale-data/doi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/doi.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg_MM.dat', + 'DATA'), + ('babel/locale-data/fr_PF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_PF.dat', + 'DATA'), + ('babel/locale-data/wae.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wae.dat', + 'DATA'), + ('babel/locale-data/si.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/si.dat', + 'DATA'), + ('babel/locale-data/an_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/an_ES.dat', + 'DATA'), + ('babel/locale-data/ky.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ky.dat', + 'DATA'), + ('babel/locale-data/ta_LK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_LK.dat', + 'DATA'), + ('babel/locale-data/ksf.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksf.dat', + 'DATA'), + ('babel/locale-data/en_AS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AS.dat', + 'DATA'), + ('babel/locale-data/ti.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti.dat', + 'DATA'), + ('babel/locale-data/es_BO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BO.dat', + 'DATA'), + ('babel/locale-data/az_Arab_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_IR.dat', + 'DATA'), + ('babel/locale-data/lld_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lld_IT.dat', + 'DATA'), + ('babel/locale-data/en_GU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GU.dat', + 'DATA'), + ('babel/locale-data/en_CK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CK.dat', + 'DATA'), + ('babel/locale-data/bm_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_ML.dat', + 'DATA'), + ('babel/locale-data/en_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ID.dat', + 'DATA'), + ('babel/locale-data/ru_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_KZ.dat', + 'DATA'), + ('babel/locale-data/ksb_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksb_TZ.dat', + 'DATA'), + ('babel/locale-data/mdf.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mdf.dat', + 'DATA'), + ('babel/locale-data/ss_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss_ZA.dat', + 'DATA'), + ('babel/locale-data/tg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tg.dat', + 'DATA'), + ('babel/locale-data/lg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lg.dat', + 'DATA'), + ('babel/locale-data/bn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn_IN.dat', + 'DATA'), + ('babel/locale-data/om.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om.dat', + 'DATA'), + ('babel/locale-data/ak.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ak.dat', + 'DATA'), + ('babel/locale-data/blt_VN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blt_VN.dat', + 'DATA'), + ('babel/locale-data/kaa_Latn_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Latn_UZ.dat', + 'DATA'), + ('babel/locale-data/hi_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_Latn.dat', + 'DATA'), + ('babel/locale-data/mic_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mic_CA.dat', + 'DATA'), + ('babel/locale-data/nb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb.dat', + 'DATA'), + ('babel/locale-data/ms_BN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_BN.dat', + 'DATA'), + ('babel/locale-data/ks.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_SL.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg.dat', + 'DATA'), + ('babel/locale-data/my.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/my.dat', + 'DATA'), + ('babel/locale-data/myv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/myv_RU.dat', + 'DATA'), + ('babel/locale-data/ha_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_GH.dat', + 'DATA'), + ('babel/locale-data/kpe_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe_GN.dat', + 'DATA'), + ('babel/locale-data/en_BZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BZ.dat', + 'DATA'), + ('babel/locale-data/lo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lo.dat', + 'DATA'), + ('babel/locale-data/lo_LA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lo_LA.dat', + 'DATA'), + ('babel/locale-data/xnr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xnr.dat', + 'DATA'), + ('babel/locale-data/teo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo.dat', + 'DATA'), + ('babel/locale-data/fr_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SY.dat', + 'DATA'), + ('babel/locale-data/bal.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal.dat', + 'DATA'), + ('babel/locale-data/yrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl.dat', + 'DATA'), + ('babel/locale-data/cch_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cch_NG.dat', + 'DATA'), + ('babel/locale-data/LICENSE.unicode', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/LICENSE.unicode', + 'DATA'), + ('babel/locale-data/ku_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ku_TR.dat', + 'DATA'), + ('babel/locale-data/uz_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Cyrl.dat', + 'DATA'), + ('babel/locale-data/kpe.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe.dat', + 'DATA'), + ('babel/locale-data/es_VE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_VE.dat', + 'DATA'), + ('babel/locale-data/en_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IN.dat', + 'DATA'), + ('babel/locale-data/dv_MV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dv_MV.dat', + 'DATA'), + ('babel/locale-data/bg_BG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bg_BG.dat', + 'DATA'), + ('babel/locale-data/en_GS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GS.dat', + 'DATA'), + ('babel/locale-data/io.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/io.dat', + 'DATA'), + ('babel/locale-data/tn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn.dat', + 'DATA'), + ('babel/locale-data/is.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/is.dat', + 'DATA'), + ('babel/locale-data/en_MV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MV.dat', + 'DATA'), + ('babel/locale-data/to_TO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/to_TO.dat', + 'DATA'), + ('babel/locale-data/nyn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nyn.dat', + 'DATA'), + ('babel/locale-data/bm_Nkoo_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_Nkoo_ML.dat', + 'DATA'), + ('babel/locale-data/az_Arab_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_IQ.dat', + 'DATA'), + ('babel/locale-data/ckb_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb_IR.dat', + 'DATA'), + ('babel/locale-data/su.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su.dat', + 'DATA'), + ('babel/locale-data/uk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uk.dat', + 'DATA'), + ('babel/locale-data/sn_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sn_ZW.dat', + 'DATA'), + ('babel/locale-data/twq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/twq.dat', + 'DATA'), + ('babel/locale-data/fa_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa_AF.dat', + 'DATA'), + ('babel/locale-data/en_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GB.dat', + 'DATA'), + ('babel/locale-data/sl_SI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sl_SI.dat', + 'DATA'), + ('babel/locale-data/fr_TD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TD.dat', + 'DATA'), + ('babel/locale-data/za_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/za_CN.dat', + 'DATA'), + ('babel/locale-data/vai_Vaii_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Vaii_LR.dat', + 'DATA'), + ('babel/locale-data/dyo_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dyo_SN.dat', + 'DATA'), + ('babel/locale-data/kxv_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Deva.dat', + 'DATA'), + ('babel/locale-data/nnh_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nnh_CM.dat', + 'DATA'), + ('babel/locale-data/sbp_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sbp_TZ.dat', + 'DATA'), + ('babel/locale-data/nr_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nr_ZA.dat', + 'DATA'), + ('babel/locale-data/vo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vo_001.dat', + 'DATA'), + ('babel/locale-data/ny.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ny.dat', + 'DATA'), + ('babel/locale-data/ms_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_MY.dat', + 'DATA'), + ('babel/locale-data/cho.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cho.dat', + 'DATA'), + ('babel/locale-data/pa_Guru_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Guru_IN.dat', + 'DATA'), + ('babel/locale-data/fr_MQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MQ.dat', + 'DATA'), + ('babel/locale-data/en_SC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SC.dat', + 'DATA'), + ('babel/locale-data/pa_Guru.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Guru.dat', + 'DATA'), + ('babel/locale-data/myv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/myv.dat', + 'DATA'), + ('babel/locale-data/shi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi.dat', + 'DATA'), + ('babel/locale-data/ro.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro.dat', + 'DATA'), + ('babel/locale-data/tzm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tzm.dat', + 'DATA'), + ('babel/locale-data/hsb_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hsb_DE.dat', + 'DATA'), + ('babel/locale-data/fr_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BE.dat', + 'DATA'), + ('babel/locale-data/kok_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/yi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yi.dat', + 'DATA'), + ('babel/locale-data/kea_CV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kea_CV.dat', + 'DATA'), + ('babel/locale-data/ff_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn.dat', + 'DATA'), + ('babel/locale-data/bgn_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_PK.dat', + 'DATA'), + ('babel/locale-data/wae_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wae_CH.dat', + 'DATA'), + ('babel/locale-data/ru.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru.dat', + 'DATA'), + ('babel/locale-data/af_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af_NA.dat', + 'DATA'), + ('babel/locale-data/fr_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_RW.dat', + 'DATA'), + ('babel/locale-data/bas_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bas_CM.dat', + 'DATA'), + ('babel/locale-data/bn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn.dat', + 'DATA'), + ('babel/locale-data/st_LS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st_LS.dat', + 'DATA'), + ('babel/locale-data/os.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os.dat', + 'DATA'), + ('babel/locale-data/yue_Hans_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hans_CN.dat', + 'DATA'), + ('babel/locale-data/pap.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap.dat', + 'DATA'), + ('babel/locale-data/mni.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni.dat', + 'DATA'), + ('babel/locale-data/ff.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff.dat', + 'DATA'), + ('babel/locale-data/za.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/za.dat', + 'DATA'), + ('babel/locale-data/ru_MD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_MD.dat', + 'DATA'), + ('babel/py.typed', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/py.typed', + 'DATA'), + ('babel/locale-data/en_TO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TO.dat', + 'DATA'), + ('babel/locale-data/sma_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma_SE.dat', + 'DATA'), + ('babel/locale-data/ssy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ssy.dat', + 'DATA'), + ('babel/locale-data/ar.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar.dat', + 'DATA'), + ('babel/locale-data/skr_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/skr_PK.dat', + 'DATA'), + ('babel/locale-data/en_FJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FJ.dat', + 'DATA'), + ('babel/locale-data/so_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_ET.dat', + 'DATA'), + ('babel/locale-data/it_SM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_SM.dat', + 'DATA'), + ('babel/locale-data/en_PW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PW.dat', + 'DATA'), + ('babel/locale-data/en_Shaw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Shaw.dat', + 'DATA'), + ('babel/locale-data/khq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/khq.dat', + 'DATA'), + ('babel/locale-data/da.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da.dat', + 'DATA'), + ('babel/locale-data/yo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo.dat', + 'DATA'), + ('babel/locale-data/bgn_OM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_OM.dat', + 'DATA'), + ('babel/locale-data/ii_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ii_CN.dat', + 'DATA'), + ('babel/locale-data/es_CR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CR.dat', + 'DATA'), + ('babel/locale-data/iu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu.dat', + 'DATA'), + ('babel/locale-data/ca_ES_VALENCIA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_ES_VALENCIA.dat', + 'DATA'), + ('babel/locale-data/en_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NL.dat', + 'DATA'), + ('babel/locale-data/sah_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sah_RU.dat', + 'DATA'), + ('babel/locale-data/az_Latn_AZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Latn_AZ.dat', + 'DATA'), + ('babel/locale-data/bgc_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgc_IN.dat', + 'DATA'), + ('babel/locale-data/shn_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn_MM.dat', + 'DATA'), + ('babel/locale-data/en_UM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_UM.dat', + 'DATA'), + ('babel/locale-data/se_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_SE.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl.dat', + 'DATA'), + ('babel/locale-data/lrc_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc_IR.dat', + 'DATA'), + ('babel/locale-data/en_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_US.dat', + 'DATA'), + ('babel/locale-data/my_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/my_MM.dat', + 'DATA'), + ('babel/locale-data/dsb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dsb.dat', + 'DATA'), + ('babel/locale-data/mn_Mong_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong_CN.dat', + 'DATA'), + ('babel/locale-data/io_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/io_001.dat', + 'DATA'), + ('babel/locale-data/uz_Cyrl_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Cyrl_UZ.dat', + 'DATA'), + ('babel/locale-data/mus.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mus.dat', + 'DATA'), + ('babel/locale-data/vai_Latn_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Latn_LR.dat', + 'DATA'), + ('babel/locale-data/pa_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/en_VG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VG.dat', + 'DATA'), + ('babel/locale-data/eo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eo_001.dat', + 'DATA'), + ('babel/locale-data/tk_TM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tk_TM.dat', + 'DATA'), + ('babel/locale-data/en_GD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GD.dat', + 'DATA'), + ('babel/locale-data/ii.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ii.dat', + 'DATA'), + ('babel/locale-data/th_TH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/th_TH.dat', + 'DATA'), + ('babel/locale-data/sw_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_UG.dat', + 'DATA'), + ('babel/locale-data/en_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SG.dat', + 'DATA'), + ('babel/locale-data/fo_FO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo_FO.dat', + 'DATA'), + ('babel/locale-data/dz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dz.dat', + 'DATA'), + ('babel/locale-data/mzn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mzn.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_XK.dat', + 'DATA'), + ('babel/locale-data/kw_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kw_GB.dat', + 'DATA'), + ('babel/locale-data/ki_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ki_KE.dat', + 'DATA'), + ('babel/locale-data/en_CC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CC.dat', + 'DATA'), + ('babel/locale-data/en_TT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TT.dat', + 'DATA'), + ('babel/locale-data/mni_Mtei_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Mtei_IN.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_RS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_RS.dat', + 'DATA'), + ('babel/locale-data/mn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn.dat', + 'DATA'), + ('babel/locale-data/fr_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_DJ.dat', + 'DATA'), + ('babel/locale-data/az_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab.dat', + 'DATA'), + ('babel/locale-data/yo_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo_NG.dat', + 'DATA'), + ('babel/locale-data/kk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk.dat', + 'DATA'), + ('babel/locale-data/en_AT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AT.dat', + 'DATA'), + ('babel/locale-data/el_POLYTON.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_POLYTON.dat', + 'DATA'), + ('babel/locale-data/sd_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Deva.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_NG.dat', + 'DATA'), + ('babel/locale-data/kpe_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe_LR.dat', + 'DATA'), + ('babel/locale-data/mr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mr.dat', + 'DATA'), + ('babel/locale-data/en_MH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MH.dat', + 'DATA'), + ('babel/locale-data/da_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da_DK.dat', + 'DATA'), + ('babel/locale-data/mas.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas.dat', + 'DATA'), + ('babel/locale-data/fr_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CH.dat', + 'DATA'), + ('babel/locale-data/lag.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lag.dat', + 'DATA'), + ('babel/locale-data/kxv_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/ses_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ses_ML.dat', + 'DATA'), + ('babel/locale-data/en_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LR.dat', + 'DATA'), + ('babel/locale-data/bal_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Arab.dat', + 'DATA'), + ('babel/locale-data/fr_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MR.dat', + 'DATA'), + ('babel/locale-data/sq_MK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_MK.dat', + 'DATA'), + ('babel/locale-data/en_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CA.dat', + 'DATA'), + ('babel/locale-data/en_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_UG.dat', + 'DATA'), + ('babel/locale-data/ie.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ie.dat', + 'DATA'), + ('babel/locale-data/kaj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaj.dat', + 'DATA'), + ('babel/locale-data/mi_NZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mi_NZ.dat', + 'DATA'), + ('babel/locale-data/en_SZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SZ.dat', + 'DATA'), + ('babel/locale-data/ca_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_IT.dat', + 'DATA'), + ('babel/locale-data/ewo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ewo_CM.dat', + 'DATA'), + ('babel/locale-data/bo_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo_IN.dat', + 'DATA'), + ('babel/locale-data/ti_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti_ET.dat', + 'DATA'), + ('babel/locale-data/hi_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_IN.dat', + 'DATA'), + ('babel/locale-data/en_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NO.dat', + 'DATA'), + ('babel/locale-data/en_RO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_RO.dat', + 'DATA'), + ('babel/locale-data/wal.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wal.dat', + 'DATA'), + ('babel/locale-data/vec_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vec_IT.dat', + 'DATA'), + ('babel/locale-data/pa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa.dat', + 'DATA'), + ('babel/locale-data/chr_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/chr_US.dat', + 'DATA'), + ('babel/locale-data/ce.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ce.dat', + 'DATA'), + ('babel/locale-data/raj_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/raj_IN.dat', + 'DATA'), + ('babel/locale-data/ee_TG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee_TG.dat', + 'DATA'), + ('babel/locale-data/ar_EG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_EG.dat', + 'DATA'), + ('babel/locale-data/kcg_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kcg_NG.dat', + 'DATA'), + ('babel/locale-data/hi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi.dat', + 'DATA'), + ('babel/locale-data/smn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smn.dat', + 'DATA'), + ('babel/locale-data/fr_SC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SC.dat', + 'DATA'), + ('babel/locale-data/ha_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_NE.dat', + 'DATA'), + ('babel/locale-data/kcg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kcg.dat', + 'DATA'), + ('babel/locale-data/so.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so.dat', + 'DATA'), + ('babel/locale-data/ast.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ast.dat', + 'DATA'), + ('babel/locale-data/es_PA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PA.dat', + 'DATA'), + ('babel/locale-data/teo_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo_KE.dat', + 'DATA'), + ('babel/locale-data/en_SI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SI.dat', + 'DATA'), + ('babel/locale-data/raj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/raj.dat', + 'DATA'), + ('babel/locale-data/rwk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rwk.dat', + 'DATA'), + ('babel/locale-data/sq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq.dat', + 'DATA'), + ('babel/locale-data/asa_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/asa_TZ.dat', + 'DATA'), + ('babel/locale-data/fr_MC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MC.dat', + 'DATA'), + ('babel/locale-data/kl_GL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kl_GL.dat', + 'DATA'), + ('babel/locale-data/en_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GH.dat', + 'DATA'), + ('babel/locale-data/fi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fi.dat', + 'DATA'), + ('babel/locale-data/cy_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cy_GB.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_LR.dat', + 'DATA'), + ('babel/locale-data/az_Arab_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_TR.dat', + 'DATA'), + ('babel/locale-data/sk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sk.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_BF.dat', + 'DATA'), + ('babel/locale-data/fr_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GN.dat', + 'DATA'), + ('babel/locale-data/sid.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sid.dat', + 'DATA'), + ('babel/locale-data/ak_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ak_GH.dat', + 'DATA'), + ('babel/locale-data/el_GR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_GR.dat', + 'DATA'), + ('babel/locale-data/fr_TN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TN.dat', + 'DATA'), + ('babel/locale-data/bss_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bss_CM.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_BA.dat', + 'DATA'), + ('babel/locale-data/pt_PT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_PT.dat', + 'DATA'), + ('babel/locale-data/en_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BE.dat', + 'DATA'), + ('babel/locale-data/osa_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/osa_US.dat', + 'DATA'), + ('babel/locale-data/en_LS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LS.dat', + 'DATA'), + ('babel/locale-data/yav_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yav_CM.dat', + 'DATA'), + ('babel/locale-data/sk_SK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sk_SK.dat', + 'DATA'), + ('babel/locale-data/ksf_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksf_CM.dat', + 'DATA'), + ('babel/locale-data/ta_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_IN.dat', + 'DATA'), + ('babel/locale-data/fr_CG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CG.dat', + 'DATA'), + ('babel/locale-data/shi_Latn_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Latn_MA.dat', + 'DATA'), + ('babel/locale-data/nds.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds.dat', + 'DATA'), + ('babel/locale-data/osa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/osa.dat', + 'DATA'), + ('babel/locale-data/en_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FR.dat', + 'DATA'), + ('babel/locale-data/en_KI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KI.dat', + 'DATA'), + ('babel/locale-data/ig_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ig_NG.dat', + 'DATA'), + ('babel/locale-data/pt_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_CH.dat', + 'DATA'), + ('babel/locale-data/en_VI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VI.dat', + 'DATA'), + ('babel/locale-data/en_ZM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZM.dat', + 'DATA'), + ('babel/locale-data/fur_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fur_IT.dat', + 'DATA'), + ('babel/locale-data/ms_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_SG.dat', + 'DATA'), + ('babel/locale-data/fr_GF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GF.dat', + 'DATA'), + ('babel/locale-data/ta.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta.dat', + 'DATA'), + ('babel/locale-data/en_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PL.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GW.dat', + 'DATA'), + ('babel/locale-data/su_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su_Latn.dat', + 'DATA'), + ('babel/locale-data/sq_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_XK.dat', + 'DATA'), + ('babel/locale-data/rhg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GM.dat', + 'DATA'), + ('babel/locale-data/fr_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_LU.dat', + 'DATA'), + ('babel/locale-data/sah.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sah.dat', + 'DATA'), + ('babel/locale-data/pis_SB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pis_SB.dat', + 'DATA'), + ('babel/locale-data/fi_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fi_FI.dat', + 'DATA'), + ('babel/locale-data/br_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/br_FR.dat', + 'DATA'), + ('babel/locale-data/yue.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue.dat', + 'DATA'), + ('babel/locale-data/ceb_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ceb_PH.dat', + 'DATA'), + ('babel/locale-data/nl_SR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_SR.dat', + 'DATA'), + ('babel/locale-data/nb_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb_NO.dat', + 'DATA'), + ('babel/locale-data/eu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eu.dat', + 'DATA'), + ('babel/locale-data/bal_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Latn.dat', + 'DATA'), + ('babel/locale-data/brx_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/brx_IN.dat', + 'DATA'), + ('babel/locale-data/en_GI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GI.dat', + 'DATA'), + ('babel/locale-data/cop_EG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cop_EG.dat', + 'DATA'), + ('babel/locale-data/en_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZA.dat', + 'DATA'), + ('babel/locale-data/nv_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nv_US.dat', + 'DATA'), + ('babel/locale-data/mi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mi.dat', + 'DATA'), + ('babel/locale-data/be.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be.dat', + 'DATA'), + ('babel/locale-data/fr_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SN.dat', + 'DATA'), + ('babel/locale-data/kxv_Telu_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Telu_IN.dat', + 'DATA'), + ('babel/locale-data/en_Dsrt_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Dsrt_US.dat', + 'DATA'), + ('babel/locale-data/gez_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez_ER.dat', + 'DATA'), + ('babel/locale-data/guz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/guz.dat', + 'DATA'), + ('babel/locale-data/fr_VU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_VU.dat', + 'DATA'), + ('babel/locale-data/en_KN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KN.dat', + 'DATA'), + ('babel/locale-data/ce_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ce_RU.dat', + 'DATA'), + ('babel/locale-data/gu_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gu_IN.dat', + 'DATA'), + ('babel/locale-data/cad_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cad_US.dat', + 'DATA'), + ('babel/locale-data/rm_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rm_CH.dat', + 'DATA'), + ('babel/locale-data/fr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr.dat', + 'DATA'), + ('babel/locale-data/ur_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur_PK.dat', + 'DATA'), + ('babel/locale-data/am.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/am.dat', + 'DATA'), + ('babel/locale-data/en_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_RW.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GW.dat', + 'DATA'), + ('babel/locale-data/ne_NP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne_NP.dat', + 'DATA'), + ('babel/locale-data/gv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gv.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_HK.dat', + 'DATA'), + ('babel/locale-data/lb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lb.dat', + 'DATA'), + ('babel/locale-data/fr_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BF.dat', + 'DATA'), + ('babel/locale-data/vai.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai.dat', + 'DATA'), + ('babel/locale-data/scn_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/scn_IT.dat', + 'DATA'), + ('babel/locale-data/cic_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cic_US.dat', + 'DATA'), + ('babel/locale-data/en_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SL.dat', + 'DATA'), + ('babel/locale-data/hy_AM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hy_AM.dat', + 'DATA'), + ('babel/locale-data/prg_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/prg_PL.dat', + 'DATA'), + ('babel/locale-data/naq_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/naq_NA.dat', + 'DATA'), + ('babel/locale-data/bew.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bew.dat', + 'DATA'), + ('babel/locale-data/en_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MU.dat', + 'DATA'), + ('babel/locale-data/mni_Beng.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Beng.dat', + 'DATA'), + ('babel/locale-data/fr_TG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TG.dat', + 'DATA'), + ('babel/locale-data/no.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/no.dat', + 'DATA'), + ('babel/locale-data/cv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cv.dat', + 'DATA'), + ('babel/locale-data/fr_KM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_KM.dat', + 'DATA'), + ('babel/locale-data/saq_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/saq_KE.dat', + 'DATA'), + ('babel/locale-data/kgp_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kgp_BR.dat', + 'DATA'), + ('babel/locale-data/lu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lu.dat', + 'DATA'), + ('babel/locale-data/en_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CY.dat', + 'DATA'), + ('babel/locale-data/en_VC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VC.dat', + 'DATA'), + ('babel/locale-data/ko_KR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_KR.dat', + 'DATA'), + ('babel/locale-data/se.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_MO.dat', + 'DATA'), + ('babel/locale-data/id_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/id_ID.dat', + 'DATA'), + ('babel/locale-data/kxv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv.dat', + 'DATA'), + ('babel/locale-data/cgg_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cgg_UG.dat', + 'DATA'), + ('babel/locale-data/shi_Tfng_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Tfng_MA.dat', + 'DATA'), + ('babel/locale-data/lb_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lb_LU.dat', + 'DATA'), + ('babel/locale-data/el.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el.dat', + 'DATA'), + ('babel/locale-data/pl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pl.dat', + 'DATA'), + ('babel/locale-data/kk_Arab_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Arab_CN.dat', + 'DATA'), + ('babel/locale-data/en_BB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BB.dat', + 'DATA'), + ('babel/locale-data/gaa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gaa.dat', + 'DATA'), + ('babel/locale-data/wal_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wal_ET.dat', + 'DATA'), + ('babel/locale-data/ksh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksh.dat', + 'DATA'), + ('babel/locale-data/nb_SJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb_SJ.dat', + 'DATA'), + ('babel/locale-data/sn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sn.dat', + 'DATA'), + ('babel/locale-data/he.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/he.dat', + 'DATA'), + ('babel/locale-data/ml.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ml.dat', + 'DATA'), + ('babel/locale-data/et.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/et.dat', + 'DATA'), + ('babel/locale-data/kk_Cyrl_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Cyrl_KZ.dat', + 'DATA'), + ('babel/locale-data/fur.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fur.dat', + 'DATA'), + ('babel/locale-data/yue_Hans.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hans.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_NE.dat', + 'DATA'), + ('babel/locale-data/ewo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ewo.dat', + 'DATA'), + ('babel/locale-data/bg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bg.dat', + 'DATA'), + ('babel/locale-data/mhn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mhn.dat', + 'DATA'), + ('babel/locale-data/nus_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nus_SS.dat', + 'DATA'), + ('babel/locale-data/es_GT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_GT.dat', + 'DATA'), + ('babel/locale-data/eo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eo.dat', + 'DATA'), + ('babel/locale-data/en_PN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PN.dat', + 'DATA'), + ('babel/locale-data/te_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/te_IN.dat', + 'DATA'), + ('babel/locale-data/blo_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blo_BJ.dat', + 'DATA'), + ('babel/locale-data/es.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es.dat', + 'DATA'), + ('babel/locale-data/gez_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez_ET.dat', + 'DATA'), + ('babel/locale-data/ar_LB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_LB.dat', + 'DATA'), + ('babel/locale-data/os_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os_RU.dat', + 'DATA'), + ('babel/locale-data/mr_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mr_IN.dat', + 'DATA'), + ('babel/locale-data/tg_TJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tg_TJ.dat', + 'DATA'), + ('babel/locale-data/dua.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dua.dat', + 'DATA'), + ('babel/locale-data/ha_Arab_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab_NG.dat', + 'DATA'), + ('babel/locale-data/ca_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_ES.dat', + 'DATA'), + ('babel/locale-data/af_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af_ZA.dat', + 'DATA'), + ('babel/locale-data/wa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wa.dat', + 'DATA'), + ('babel/locale-data/ar_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SY.dat', + 'DATA'), + ('babel/locale-data/smj_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj_SE.dat', + 'DATA'), + ('babel/locale-data/luo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luo.dat', + 'DATA'), + ('babel/locale-data/kl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kl.dat', + 'DATA'), + ('babel/locale-data/fr_BL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BL.dat', + 'DATA'), + ('babel/locale-data/ha_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab.dat', + 'DATA'), + ('babel/locale-data/en_SK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SK.dat', + 'DATA'), + ('babel/locale-data/as_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/as_IN.dat', + 'DATA'), + ('babel/locale-data/ja.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ja.dat', + 'DATA'), + ('babel/locale-data/aa_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_ER.dat', + 'DATA'), + ('babel/locale-data/gu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gu.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GN.dat', + 'DATA'), + ('babel/locale-data/su_Latn_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su_Latn_ID.dat', + 'DATA'), + ('babel/locale-data/shi_Tfng.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Tfng.dat', + 'DATA'), + ('babel/locale-data/kxv_Orya.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Orya.dat', + 'DATA'), + ('babel/global.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/global.dat', + 'DATA'), + ('babel/locale-data/sa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sa.dat', + 'DATA'), + ('babel/locale-data/sms.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sms.dat', + 'DATA'), + ('babel/locale-data/jmc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jmc.dat', + 'DATA'), + ('babel/locale-data/pl_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pl_PL.dat', + 'DATA'), + ('babel/locale-data/en_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SD.dat', + 'DATA'), + ('babel/locale-data/fr_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CD.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_HK.dat', + 'DATA'), + ('babel/locale-data/km_KH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/km_KH.dat', + 'DATA'), + ('babel/locale-data/en_Dsrt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Dsrt.dat', + 'DATA'), + ('babel/locale-data/en_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MO.dat', + 'DATA'), + ('babel/locale-data/ken_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ken_CM.dat', + 'DATA'), + ('babel/locale-data/sc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sc.dat', + 'DATA'), + ('babel/locale-data/kaj_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaj_NG.dat', + 'DATA'), + ('babel/locale-data/ia_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ia_001.dat', + 'DATA'), + ('babel/locale-data/bem.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bem.dat', + 'DATA'), + ('babel/locale-data/ar_KW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_KW.dat', + 'DATA'), + ('babel/locale-data/rw_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rw_RW.dat', + 'DATA'), + ('babel/locale-data/sw_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_CD.dat', + 'DATA'), + ('babel/locale-data/smj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj.dat', + 'DATA'), + ('babel/locale-data/rn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rn.dat', + 'DATA'), + ('babel/locale-data/nl_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_NL.dat', + 'DATA'), + ('babel/locale-data/en_TV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TV.dat', + 'DATA'), + ('babel/locale-data/yo_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo_BJ.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_XK.dat', + 'DATA'), + ('babel/locale-data/az_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Latn.dat', + 'DATA'), + ('babel/locale-data/xh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xh.dat', + 'DATA'), + ('babel/locale-data/en_MP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MP.dat', + 'DATA'), + ('babel/locale-data/sv_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_FI.dat', + 'DATA'), + ('babel/locale-data/mhn_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mhn_IT.dat', + 'DATA'), + ('babel/locale-data/gd_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gd_GB.dat', + 'DATA'), + ('babel/locale-data/xh_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xh_ZA.dat', + 'DATA'), + ('babel/locale-data/nl_AW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_AW.dat', + 'DATA'), + ('babel/locale-data/st.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_MY.dat', + 'DATA'), + ('babel/locale-data/fil_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fil_PH.dat', + 'DATA'), + ('babel/locale-data/kgp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kgp.dat', + 'DATA'), + ('babel/locale-data/en_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KE.dat', + 'DATA'), + ('babel/locale-data/kok_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Latn.dat', + 'DATA'), + ('babel/locale-data/mk_MK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mk_MK.dat', + 'DATA'), + ('babel/locale-data/ar_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_IL.dat', + 'DATA'), + ('babel/locale-data/ia.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ia.dat', + 'DATA'), + ('babel/locale-data/tok_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tok_001.dat', + 'DATA'), + ('babel/locale-data/lv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lv.dat', + 'DATA'), + ('babel/locale-data/en_NU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NU.dat', + 'DATA'), + ('babel/locale-data/cad.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cad.dat', + 'DATA'), + ('babel/locale-data/hr_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr_BA.dat', + 'DATA'), + ('babel/locale-data/ckb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb.dat', + 'DATA'), + ('babel/locale-data/trv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trv.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_RS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_RS.dat', + 'DATA'), + ('babel/locale-data/oc_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc_ES.dat', + 'DATA'), + ('babel/locale-data/pcm_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pcm_NG.dat', + 'DATA'), + ('babel/locale-data/bs_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Cyrl.dat', + 'DATA'), + ('babel/locale-data/nr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nr.dat', + 'DATA'), + ('babel/locale-data/sdh_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh_IR.dat', + 'DATA'), + ('babel/locale-data/ur.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur.dat', + 'DATA'), + ('babel/locale-data/kaa_Cyrl_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Cyrl_UZ.dat', + 'DATA'), + ('babel/locale-data/nd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nd.dat', + 'DATA'), + ('babel/locale-data/cgg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cgg.dat', + 'DATA'), + ('babel/locale-data/nus.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nus.dat', + 'DATA'), + ('babel/locale-data/fo_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo_DK.dat', + 'DATA'), + ('babel/locale-data/nyn_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nyn_UG.dat', + 'DATA'), + ('babel/locale-data/sw_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_TZ.dat', + 'DATA'), + ('babel/locale-data/gsw_LI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_LI.dat', + 'DATA'), + ('babel/locale-data/qu_EC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_EC.dat', + 'DATA'), + ('babel/locale-data/so_SO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_SO.dat', + 'DATA'), + ('babel/locale-data/kkj_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kkj_CM.dat', + 'DATA'), + ('babel/locale-data/ba.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ba.dat', + 'DATA'), + ('babel/locale-data/cy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cy.dat', + 'DATA'), + ('babel/locale-data/ga.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga.dat', + 'DATA'), + ('babel/locale-data/hu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hu.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_CM.dat', + 'DATA'), + ('babel/locale-data/ar_EH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_EH.dat', + 'DATA'), + ('babel/locale-data/khq_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/khq_ML.dat', + 'DATA'), + ('babel/locale-data/en_SX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SX.dat', + 'DATA'), + ('babel/locale-data/en_VU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VU.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_ME.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_ME.dat', + 'DATA'), + ('babel/locale-data/ln.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln.dat', + 'DATA'), + ('babel/locale-data/en_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CH.dat', + 'DATA'), + ('babel/locale-data/mn_Mong.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong.dat', + 'DATA'), + ('babel/locale-data/asa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/asa.dat', + 'DATA'), + ('babel/locale-data/smj_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj_NO.dat', + 'DATA'), + ('babel/locale-data/de_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_BE.dat', + 'DATA'), + ('babel/locale-data/la_VA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/la_VA.dat', + 'DATA'), + ('babel/locale-data/en_LC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LC.dat', + 'DATA'), + ('babel/locale-data/pt_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_LU.dat', + 'DATA'), + ('babel/locale-data/ar_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_001.dat', + 'DATA'), + ('babel/locale-data/ne.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne.dat', + 'DATA'), + ('babel/locale-data/kaa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa.dat', + 'DATA'), + ('babel/locale-data/rm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rm.dat', + 'DATA'), + ('babel/locale-data/ar_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_MR.dat', + 'DATA'), + ('babel/locale-data/teo_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo_UG.dat', + 'DATA'), + ('babel/locale-data/sg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sg.dat', + 'DATA'), + ('babel/locale-data/ar_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SD.dat', + 'DATA'), + ('babel/locale-data/mni_Mtei.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Mtei.dat', + 'DATA'), + ('babel/locale-data/gn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gn.dat', + 'DATA'), + ('babel/locale-data/ln_AO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_AO.dat', + 'DATA'), + ('babel/locale-data/uz_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Latn.dat', + 'DATA'), + ('babel/locale-data/ha_Arab_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab_SD.dat', + 'DATA'), + ('babel/locale-data/lrc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc.dat', + 'DATA'), + ('babel/locale-data/ccp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp.dat', + 'DATA'), + ('babel/locale-data/en_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MY.dat', + 'DATA'), + ('babel/locale-data/ha.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha.dat', + 'DATA'), + ('babel/locale-data/ar_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_ER.dat', + 'DATA'), + ('babel/locale-data/ks_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/seh_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/seh_MZ.dat', + 'DATA'), + ('babel/locale-data/az_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Cyrl.dat', + 'DATA'), + ('babel/locale-data/ksb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksb.dat', + 'DATA'), + ('babel/locale-data/en_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NG.dat', + 'DATA'), + ('babel/locale-data/fr_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_FR.dat', + 'DATA'), + ('babel/locale-data/brx.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/brx.dat', + 'DATA'), + ('babel/locale-data/mfe.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mfe.dat', + 'DATA'), + ('babel/locale-data/ro_RO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro_RO.dat', + 'DATA'), + ('babel/locale-data/mgo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgo_CM.dat', + 'DATA'), + ('babel/locale-data/en_IM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IM.dat', + 'DATA'), + ('babel/locale-data/ccp_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp_IN.dat', + 'DATA'), + ('babel/locale-data/si_LK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/si_LK.dat', + 'DATA'), + ('babel/locale-data/es_CU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CU.dat', + 'DATA'), + ('babel/locale-data/zu_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zu_ZA.dat', + 'DATA'), + ('babel/locale-data/rn_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rn_BI.dat', + 'DATA'), + ('babel/locale-data/nmg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nmg.dat', + 'DATA'), + ('babel/locale-data/fy_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fy_NL.dat', + 'DATA'), + ('babel/locale-data/ee.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee.dat', + 'DATA'), + ('babel/locale-data/kkj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kkj.dat', + 'DATA'), + ('babel/locale-data/ga_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga_GB.dat', + 'DATA'), + ('babel/locale-data/nl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl.dat', + 'DATA'), + ('babel/locale-data/en_SH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SH.dat', + 'DATA'), + ('babel/locale-data/kxv_Orya_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Orya_IN.dat', + 'DATA'), + ('babel/locale-data/en_CZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CZ.dat', + 'DATA'), + ('babel/locale-data/en_NZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NZ.dat', + 'DATA'), + ('babel/locale-data/ka_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ka_GE.dat', + 'DATA'), + ('babel/locale-data/en_MS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MS.dat', + 'DATA'), + ('babel/locale-data/lg_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lg_UG.dat', + 'DATA'), + ('babel/locale-data/en_AG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AG.dat', + 'DATA'), + ('babel/locale-data/gsw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw.dat', + 'DATA'), + ('babel/locale-data/agq_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/agq_CM.dat', + 'DATA'), + ('babel/locale-data/prg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/prg.dat', + 'DATA'), + ('babel/locale-data/th.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/th.dat', + 'DATA'), + ('babel/locale-data/en_IE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IE.dat', + 'DATA'), + ('babel/locale-data/cho_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cho_US.dat', + 'DATA'), + ('babel/locale-data/uz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz.dat', + 'DATA'), + ('babel/locale-data/xog_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xog_UG.dat', + 'DATA'), + ('babel/locale-data/nds_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds_NL.dat', + 'DATA'), + ('babel/locale-data/fr_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_NE.dat', + 'DATA'), + ('babel/locale-data/pt_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_MO.dat', + 'DATA'), + ('babel/locale-data/dsb_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dsb_DE.dat', + 'DATA'), + ('babel/locale-data/ar_TN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_TN.dat', + 'DATA'), + ('babel/locale-data/ba_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ba_RU.dat', + 'DATA'), + ('babel/locale-data/ann.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ann.dat', + 'DATA'), + ('babel/locale-data/ve.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ve.dat', + 'DATA'), + ('babel/locale-data/ssy_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ssy_ER.dat', + 'DATA'), + ('babel/locale-data/wa_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wa_BE.dat', + 'DATA'), + ('babel/locale-data/en_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MG.dat', + 'DATA'), + ('babel/locale-data/fr_CI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CI.dat', + 'DATA'), + ('babel/locale-data/kab_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kab_DZ.dat', + 'DATA'), + ('babel/locale-data/kxv_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/lv_LV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lv_LV.dat', + 'DATA'), + ('babel/locale-data/nn_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nn_NO.dat', + 'DATA'), + ('babel/locale-data/iu_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_Latn.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_MR.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_SN.dat', + 'DATA'), + ('babel/locale-data/mzn_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mzn_IR.dat', + 'DATA'), + ('babel/locale-data/bgn_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_AE.dat', + 'DATA'), + ('babel/locale-data/en_Shaw_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Shaw_GB.dat', + 'DATA'), + ('babel/locale-data/byn_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/byn_ER.dat', + 'DATA'), + ('babel/locale-data/guz_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/guz_KE.dat', + 'DATA'), + ('babel/locale-data/en_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PK.dat', + 'DATA'), + ('babel/locale-data/lmo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lmo.dat', + 'DATA'), + ('babel/locale-data/ml_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ml_IN.dat', + 'DATA'), + ('babel/locale-data/da_GL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da_GL.dat', + 'DATA'), + ('babel/locale-data/fr_WF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_WF.dat', + 'DATA'), + ('babel/locale-data/ar_KM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_KM.dat', + 'DATA'), + ('babel/locale-data/pt_AO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_AO.dat', + 'DATA'), + ('babel/locale-data/ceb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ceb.dat', + 'DATA'), + ('babel/locale-data/be_TARASK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be_TARASK.dat', + 'DATA'), + ('babel/locale-data/ms_Arab_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab_MY.dat', + 'DATA'), + ('babel/locale-data/pt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt.dat', + 'DATA'), + ('babel/locale-data/ku.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ku.dat', + 'DATA'), + ('babel/locale-data/en_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FI.dat', + 'DATA'), + ('babel/locale-data/he_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/he_IL.dat', + 'DATA'), + ('babel/locale-data/sat_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Deva.dat', + 'DATA'), + ('babel/locale-data/vun.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vun.dat', + 'DATA'), + ('babel/locale-data/lij.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lij.dat', + 'DATA'), + ('babel/locale-data/as.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/as.dat', + 'DATA'), + ('babel/locale-data/chr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/chr.dat', + 'DATA'), + ('babel/locale-data/trw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trw.dat', + 'DATA'), + ('babel/locale-data/km.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/km.dat', + 'DATA'), + ('babel/locale-data/it_VA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_VA.dat', + 'DATA'), + ('babel/locale-data/jbo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jbo_001.dat', + 'DATA'), + ('babel/locale-data/rw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rw.dat', + 'DATA'), + ('babel/locale-data/uz_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Arab.dat', + 'DATA'), + ('babel/locale-data/hsb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hsb.dat', + 'DATA'), + ('babel/locale-data/hnj_Hmnp_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj_Hmnp_US.dat', + 'DATA'), + ('babel/locale-data/xnr_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xnr_IN.dat', + 'DATA'), + ('babel/locale-data/ko_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_CN.dat', + 'DATA'), + ('babel/locale-data/dje_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dje_NE.dat', + 'DATA'), + ('babel/locale-data/fr_RE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_RE.dat', + 'DATA'), + ('babel/locale-data/kln_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kln_KE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_SL.dat', + 'DATA'), + ('babel/locale-data/csw_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/csw_CA.dat', + 'DATA'), + ('babel/locale-data/tpi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tpi.dat', + 'DATA'), + ('babel/locale-data/kn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kn_IN.dat', + 'DATA'), + ('babel/locale-data/szl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/szl.dat', + 'DATA'), + ('babel/locale-data/ny_MW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ny_MW.dat', + 'DATA'), + ('babel/locale-data/am_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/am_ET.dat', + 'DATA'), + ('babel/locale-data/dz_BT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dz_BT.dat', + 'DATA'), + ('babel/locale-data/quc_GT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/quc_GT.dat', + 'DATA'), + ('babel/locale-data/ro_MD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro_MD.dat', + 'DATA'), + ('babel/locale-data/bgn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn.dat', + 'DATA'), + ('babel/locale-data/gsw_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_CH.dat', + 'DATA'), + ('babel/locale-data/en_PG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PG.dat', + 'DATA'), + ('babel/locale-data/ebu_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ebu_KE.dat', + 'DATA'), + ('babel/locale-data/en_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_HK.dat', + 'DATA'), + ('babel/locale-data/qu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu.dat', + 'DATA'), + ('babel/locale-data/ps_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps_AF.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_CM.dat', + 'DATA'), + ('babel/locale-data/pcm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pcm.dat', + 'DATA'), + ('babel/locale-data/es_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_US.dat', + 'DATA'), + ('babel/locale-data/frr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/frr.dat', + 'DATA'), + ('babel/locale-data/ve_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ve_ZA.dat', + 'DATA'), + ('babel/locale-data/en_TC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TC.dat', + 'DATA'), + ('babel/locale-data/ab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ab.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GN.dat', + 'DATA'), + ('babel/locale-data/sd_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/yav.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yav.dat', + 'DATA'), + ('babel/locale-data/cs_CZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cs_CZ.dat', + 'DATA'), + ('babel/locale-data/de_LI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_LI.dat', + 'DATA'), + ('babel/locale-data/sl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sl.dat', + 'DATA'), + ('babel/locale-data/ar_BH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_BH.dat', + 'DATA'), + ('babel/locale-data/sq_AL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_AL.dat', + 'DATA'), + ('babel/locale-data/yue_Hant.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant.dat', + 'DATA'), + ('babel/locale-data/en_DM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DM.dat', + 'DATA'), + ('babel/locale-data/sat_Olck.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Olck.dat', + 'DATA'), + ('babel/locale-data/en_KY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KY.dat', + 'DATA'), + ('babel/locale-data/ln_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CF.dat', + 'DATA'), + ('babel/locale-data/zgh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zgh.dat', + 'DATA'), + ('babel/locale-data/ka.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ka.dat', + 'DATA'), + ('babel/locale-data/an.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/an.dat', + 'DATA'), + ('babel/locale-data/ru_KG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_KG.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm.dat', + 'DATA'), + ('babel/locale-data/cv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cv_RU.dat', + 'DATA'), + ('babel/locale-data/ar_OM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_OM.dat', + 'DATA'), + ('babel/locale-data/kk_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Arab.dat', + 'DATA'), + ('babel/locale-data/vun_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vun_TZ.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_CN.dat', + 'DATA'), + ('babel/locale-data/nv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nv.dat', + 'DATA'), + ('babel/locale-data/wo_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wo_SN.dat', + 'DATA'), + ('babel/locale-data/kok_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Deva.dat', + 'DATA'), + ('babel/locale-data/es_EA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_EA.dat', + 'DATA'), + ('babel/locale-data/ar_LY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_LY.dat', + 'DATA'), + ('babel/locale-data/fr_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MU.dat', + 'DATA'), + ('babel/locale-data/it_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_CH.dat', + 'DATA'), + ('babel/locale-data/fr_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BI.dat', + 'DATA'), + ('babel/locale-data/nl_BQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_BQ.dat', + 'DATA'), + ('babel/locale-data/seh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/seh.dat', + 'DATA'), + ('babel/locale-data/ts_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ts_ZA.dat', + 'DATA'), + ('babel/locale-data/gl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gl.dat', + 'DATA'), + ('babel/locale-data/lt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lt.dat', + 'DATA'), + ('babel/locale-data/syr_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr_SY.dat', + 'DATA'), + ('babel/locale-data/en_WS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_WS.dat', + 'DATA'), + ('babel/locale-data/ms.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms.dat', + 'DATA'), + ('babel/locale-data/ckb_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb_IQ.dat', + 'DATA'), + ('babel/locale-data/sma.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma.dat', + 'DATA'), + ('babel/locale-data/vai_Vaii.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Vaii.dat', + 'DATA'), + ('babel/locale-data/apc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/apc.dat', + 'DATA'), + ('babel/locale-data/it_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_IT.dat', + 'DATA'), + ('babel/locale-data/jv_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jv_ID.dat', + 'DATA'), + ('babel/locale-data/fr_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GQ.dat', + 'DATA'), + ('babel/locale-data/zh_Hans.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans.dat', + 'DATA'), + ('babel/locale-data/pt_ST.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_ST.dat', + 'DATA'), + ('babel/locale-data/ses.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ses.dat', + 'DATA'), + ('babel/locale-data/hu_HU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hu_HU.dat', + 'DATA'), + ('babel/locale-data/fr_GP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GP.dat', + 'DATA'), + ('babel/locale-data/en_HU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_HU.dat', + 'DATA'), + ('babel/locale-data/agq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/agq.dat', + 'DATA'), + ('babel/locale-data/af.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af.dat', + 'DATA'), + ('babel/locale-data/nl_SX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_SX.dat', + 'DATA'), + ('babel/locale-data/wbp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wbp.dat', + 'DATA'), + ('babel/locale-data/ha_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_NG.dat', + 'DATA'), + ('babel/locale-data/fr_MF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MF.dat', + 'DATA'), + ('babel/locale-data/sc_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sc_IT.dat', + 'DATA'), + ('babel/locale-data/vi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vi.dat', + 'DATA'), + ('babel/locale-data/rwk_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rwk_TZ.dat', + 'DATA'), + ('babel/locale-data/bho_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bho_IN.dat', + 'DATA'), + ('babel/locale-data/blt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blt.dat', + 'DATA'), + ('babel/locale-data/vo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vo.dat', + 'DATA'), + ('babel/locale-data/en_CX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CX.dat', + 'DATA'), + ('babel/locale-data/ar_QA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_QA.dat', + 'DATA'), + ('babel/locale-data/blo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blo.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_MR.dat', + 'DATA'), + ('babel/locale-data/mer.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mer.dat', + 'DATA'), + ('babel/locale-data/ms_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab.dat', + 'DATA'), + ('babel/locale-data/en_MW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MW.dat', + 'DATA'), + ('babel/locale-data/ta_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_MY.dat', + 'DATA'), + ('babel/locale-data/mgh_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgh_MZ.dat', + 'DATA'), + ('babel/locale-data/zh_Hant.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant.dat', + 'DATA'), + ('babel/locale-data/ga_IE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga_IE.dat', + 'DATA'), + ('babel/locale-data/lij_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lij_IT.dat', + 'DATA'), + ('babel/locale-data/saq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/saq.dat', + 'DATA'), + ('babel/locale-data/ca_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_FR.dat', + 'DATA'), + ('babel/locale-data/kde_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kde_TZ.dat', + 'DATA'), + ('babel/locale-data/bez_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bez_TZ.dat', + 'DATA'), + ('babel/locale-data/fr_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MG.dat', + 'DATA'), + ('babel/locale-data/lkt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lkt.dat', + 'DATA'), + ('babel/locale-data/twq_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/twq_NE.dat', + 'DATA'), + ('babel/locale-data/tt_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tt_RU.dat', + 'DATA'), + ('babel/locale-data/bho.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bho.dat', + 'DATA'), + ('babel/locale-data/es_AR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_AR.dat', + 'DATA'), + ('babel/locale-data/en_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AE.dat', + 'DATA'), + ('babel/locale-data/el_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_CY.dat', + 'DATA'), + ('babel/locale-data/sms_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sms_FI.dat', + 'DATA'), + ('babel/locale-data/nl_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_BE.dat', + 'DATA'), + ('babel/locale-data/mt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mt.dat', + 'DATA'), + ('babel/locale-data/so_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_DJ.dat', + 'DATA'), + ('babel/locale-data/mni_Beng_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Beng_IN.dat', + 'DATA'), + ('babel/locale-data/moh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/moh.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_MO.dat', + 'DATA'), + ('babel/locale-data/fr_YT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_YT.dat', + 'DATA'), + ('base_library.zip', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/base_library.zip', + 'DATA')], + [], + False, + False, + 1778571229, + [('run', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run', + 'EXECUTABLE')], + '/lib/x86_64-linux-gnu/libpython3.12.so.1.0') diff --git a/moneyed/build/test5/PKG-00.toc b/moneyed/build/test5/PKG-00.toc new file mode 100644 index 0000000000000000000000000000000000000000..d6e46f724b72319f6a8271d55a90230adf361524 --- /dev/null +++ b/moneyed/build/test5/PKG-00.toc @@ -0,0 +1,3386 @@ +('/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/test5.pkg', + {'BINARY': True, + 'DATA': True, + 'EXECUTABLE': True, + 'EXTENSION': True, + 'PYMODULE': True, + 'PYSOURCE': True, + 'PYZ': False, + 'SPLASH': True, + 'SYMLINK': False}, + [('pyi-contents-directory _internal', '', 'OPTION'), + ('PYZ-00.pyz', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/PYZ-00.pyz', + 'PYZ'), + ('struct', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/localpycs/struct.pyc', + 'PYMODULE'), + ('pyimod01_archive', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/localpycs/pyimod01_archive.pyc', + 'PYMODULE'), + ('pyimod02_importers', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/localpycs/pyimod02_importers.pyc', + 'PYMODULE'), + ('pyimod03_ctypes', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/localpycs/pyimod03_ctypes.pyc', + 'PYMODULE'), + ('pyiboot01_bootstrap', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/loader/pyiboot01_bootstrap.py', + 'PYSOURCE'), + ('pyi_rth_inspect', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py', + 'PYSOURCE'), + ('pyi_rth_pkgutil', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py', + 'PYSOURCE'), + ('pyi_rth_multiprocessing', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py', + 'PYSOURCE'), + ('test5', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/test5.py', + 'PYSOURCE'), + ('libpython3.12.so.1.0', + '/lib/x86_64-linux-gnu/libpython3.12.so.1.0', + 'BINARY'), + ('python3.12/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/termios.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/termios.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_ssl.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_ssl.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_hashlib.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_hashlib.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_contextvars.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_contextvars.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_decimal.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_decimal.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/resource.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/resource.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_lzma.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_lzma.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_bz2.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_bz2.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_ctypes.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_ctypes.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_multibytecodec.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_multibytecodec.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_jp.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_jp.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_kr.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_kr.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_iso2022.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_iso2022.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_cn.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_cn.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_tw.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_tw.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_codecs_hk.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_codecs_hk.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('python3.12/lib-dynload/_zoneinfo.cpython-312-x86_64-linux-gnu.so', + '/usr/lib/python3.12/lib-dynload/_zoneinfo.cpython-312-x86_64-linux-gnu.so', + 'EXTENSION'), + ('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'), + ('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'), + ('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'), + ('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'), + ('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'), + ('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'), + ('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY'), + ('babel/locale-data/sbp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sbp.dat', + 'DATA'), + ('babel/locale-data/mg_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mg_MG.dat', + 'DATA'), + ('babel/locale-data/en_BW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BW.dat', + 'DATA'), + ('babel/locale-data/es_CO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CO.dat', + 'DATA'), + ('babel/locale-data/jbo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jbo.dat', + 'DATA'), + ('babel/locale-data/fr_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CA.dat', + 'DATA'), + ('babel/locale-data/tn_BW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn_BW.dat', + 'DATA'), + ('babel/locale-data/cu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cu.dat', + 'DATA'), + ('babel/locale-data/es_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_ES.dat', + 'DATA'), + ('babel/locale-data/hr_HR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr_HR.dat', + 'DATA'), + ('babel/locale-data/fil.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fil.dat', + 'DATA'), + ('babel/locale-data/kk_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_KZ.dat', + 'DATA'), + ('babel/locale-data/fy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fy.dat', + 'DATA'), + ('babel/locale-data/kln.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kln.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_BA.dat', + 'DATA'), + ('babel/locale-data/is_IS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/is_IS.dat', + 'DATA'), + ('babel/locale-data/aa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa.dat', + 'DATA'), + ('babel/locale-data/co_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/co_FR.dat', + 'DATA'), + ('babel/locale-data/ja_JP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ja_JP.dat', + 'DATA'), + ('babel/locale-data/hi_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/mua_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mua_CM.dat', + 'DATA'), + ('babel/locale-data/jgo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jgo_CM.dat', + 'DATA'), + ('babel/locale-data/ss_SZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss_SZ.dat', + 'DATA'), + ('babel/locale-data/en_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZW.dat', + 'DATA'), + ('babel/locale-data/id.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/id.dat', + 'DATA'), + ('babel/locale-data/fr_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_DZ.dat', + 'DATA'), + ('babel/locale-data/en_PT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PT.dat', + 'DATA'), + ('babel/locale-data/mg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mg.dat', + 'DATA'), + ('babel/locale-data/kam_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kam_KE.dat', + 'DATA'), + ('babel/locale-data/es_419.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_419.dat', + 'DATA'), + ('babel/locale-data/pt_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_BR.dat', + 'DATA'), + ('babel/locale-data/mus_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mus_US.dat', + 'DATA'), + ('babel/locale-data/br.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/br.dat', + 'DATA'), + ('babel/locale-data/en_GY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GY.dat', + 'DATA'), + ('babel/locale-data/naq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/naq.dat', + 'DATA'), + ('babel/locale-data/pa_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Arab.dat', + 'DATA'), + ('babel/locale-data/syr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr.dat', + 'DATA'), + ('babel/locale-data/kk_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Cyrl.dat', + 'DATA'), + ('babel/locale-data/gez.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez.dat', + 'DATA'), + ('babel/locale-data/kok_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/bgn_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_IR.dat', + 'DATA'), + ('babel/locale-data/fo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo.dat', + 'DATA'), + ('babel/locale-data/jv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jv.dat', + 'DATA'), + ('babel/locale-data/syr_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr_IQ.dat', + 'DATA'), + ('babel/locale-data/ko_KP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_KP.dat', + 'DATA'), + ('babel/locale-data/fr_NC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_NC.dat', + 'DATA'), + ('babel/locale-data/mgh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgh.dat', + 'DATA'), + ('babel/locale-data/ar_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_DJ.dat', + 'DATA'), + ('babel/locale-data/nd_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nd_ZW.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_NG.dat', + 'DATA'), + ('babel/locale-data/ca.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca.dat', + 'DATA'), + ('babel/locale-data/luy_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luy_KE.dat', + 'DATA'), + ('babel/locale-data/sd_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Arab.dat', + 'DATA'), + ('babel/locale-data/kaa_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Latn.dat', + 'DATA'), + ('babel/locale-data/ur_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur_IN.dat', + 'DATA'), + ('babel/locale-data/hr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr.dat', + 'DATA'), + ('babel/locale-data/nn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nn.dat', + 'DATA'), + ('babel/locale-data/ab_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ab_GE.dat', + 'DATA'), + ('babel/locale-data/sg_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sg_CF.dat', + 'DATA'), + ('babel/locale-data/mer_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mer_KE.dat', + 'DATA'), + ('babel/locale-data/sw_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_KE.dat', + 'DATA'), + ('babel/locale-data/rof.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rof.dat', + 'DATA'), + ('babel/locale-data/be_BY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be_BY.dat', + 'DATA'), + ('babel/locale-data/es_PE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PE.dat', + 'DATA'), + ('babel/locale-data/ms_Arab_BN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab_BN.dat', + 'DATA'), + ('babel/locale-data/en_AU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AU.dat', + 'DATA'), + ('babel/locale-data/hnj_Hmnp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj_Hmnp.dat', + 'DATA'), + ('babel/locale-data/sid_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sid_ET.dat', + 'DATA'), + ('babel/locale-data/kam.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kam.dat', + 'DATA'), + ('babel/locale-data/se_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_NO.dat', + 'DATA'), + ('babel/locale-data/ccp_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp_BD.dat', + 'DATA'), + ('babel/locale-data/ar_JO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_JO.dat', + 'DATA'), + ('babel/locale-data/dyo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dyo.dat', + 'DATA'), + ('babel/locale-data/sat_Olck_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Olck_IN.dat', + 'DATA'), + ('babel/locale-data/kw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kw.dat', + 'DATA'), + ('babel/locale-data/sv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv.dat', + 'DATA'), + ('babel/locale-data/mgo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgo.dat', + 'DATA'), + ('babel/locale-data/dav.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dav.dat', + 'DATA'), + ('babel/locale-data/ann_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ann_NG.dat', + 'DATA'), + ('babel/locale-data/kaa_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Cyrl.dat', + 'DATA'), + ('babel/locale-data/ks_Arab_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Arab_IN.dat', + 'DATA'), + ('babel/locale-data/te.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/te.dat', + 'DATA'), + ('babel/locale-data/zu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zu.dat', + 'DATA'), + ('babel/locale-data/sat.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat.dat', + 'DATA'), + ('babel/locale-data/en_PR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PR.dat', + 'DATA'), + ('babel/locale-data/fr_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CM.dat', + 'DATA'), + ('babel/locale-data/ug.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ug.dat', + 'DATA'), + ('babel/locale-data/tn_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn_ZA.dat', + 'DATA'), + ('babel/locale-data/fr_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CF.dat', + 'DATA'), + ('babel/locale-data/ts.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ts.dat', + 'DATA'), + ('babel/locale-data/bm_Nkoo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_Nkoo.dat', + 'DATA'), + ('babel/locale-data/ne_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne_IN.dat', + 'DATA'), + ('babel/locale-data/es_DO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_DO.dat', + 'DATA'), + ('babel/locale-data/fr_PM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_PM.dat', + 'DATA'), + ('babel/locale-data/es_UY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_UY.dat', + 'DATA'), + ('babel/locale-data/sw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw.dat', + 'DATA'), + ('babel/locale-data/pt_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_MZ.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_NE.dat', + 'DATA'), + ('babel/locale-data/lmo_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lmo_IT.dat', + 'DATA'), + ('babel/locale-data/nds_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds_DE.dat', + 'DATA'), + ('babel/locale-data/az_Cyrl_AZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Cyrl_AZ.dat', + 'DATA'), + ('babel/locale-data/nqo_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nqo_GN.dat', + 'DATA'), + ('babel/locale-data/es_NI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_NI.dat', + 'DATA'), + ('babel/locale-data/pt_TL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_TL.dat', + 'DATA'), + ('babel/locale-data/om_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om_KE.dat', + 'DATA'), + ('babel/locale-data/zh_Latn_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Latn_CN.dat', + 'DATA'), + ('babel/locale-data/en_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PH.dat', + 'DATA'), + ('babel/locale-data/xog.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xog.dat', + 'DATA'), + ('babel/locale-data/sv_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_SE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_SN.dat', + 'DATA'), + ('babel/locale-data/fr_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_ML.dat', + 'DATA'), + ('babel/locale-data/en_NR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NR.dat', + 'DATA'), + ('babel/locale-data/es_HN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_HN.dat', + 'DATA'), + ('babel/locale-data/apc_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/apc_SY.dat', + 'DATA'), + ('babel/locale-data/bew_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bew_ID.dat', + 'DATA'), + ('babel/locale-data/yrl_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_BR.dat', + 'DATA'), + ('babel/locale-data/shn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn.dat', + 'DATA'), + ('babel/locale-data/ar_PS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_PS.dat', + 'DATA'), + ('babel/locale-data/en_GG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GG.dat', + 'DATA'), + ('babel/locale-data/lld.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lld.dat', + 'DATA'), + ('babel/locale-data/tr_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr_CY.dat', + 'DATA'), + ('babel/locale-data/mas_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas_TZ.dat', + 'DATA'), + ('babel/locale-data/zh_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Latn.dat', + 'DATA'), + ('babel/locale-data/zgh_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zgh_MA.dat', + 'DATA'), + ('babel/locale-data/qu_PE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_PE.dat', + 'DATA'), + ('babel/locale-data/iu_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_CA.dat', + 'DATA'), + ('babel/locale-data/es_PR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PR.dat', + 'DATA'), + ('babel/locale-data/or.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/or.dat', + 'DATA'), + ('babel/locale-data/dv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dv.dat', + 'DATA'), + ('babel/locale-data/kea.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kea.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg_BD.dat', + 'DATA'), + ('babel/locale-data/de_AT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_AT.dat', + 'DATA'), + ('babel/locale-data/byn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/byn.dat', + 'DATA'), + ('babel/locale-data/dav_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dav_KE.dat', + 'DATA'), + ('babel/locale-data/oc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc.dat', + 'DATA'), + ('babel/locale-data/trw_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trw_PK.dat', + 'DATA'), + ('babel/locale-data/bal_Latn_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Latn_PK.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_HK.dat', + 'DATA'), + ('babel/locale-data/os_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os_GE.dat', + 'DATA'), + ('babel/locale-data/bas.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bas.dat', + 'DATA'), + ('babel/locale-data/en_FM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FM.dat', + 'DATA'), + ('babel/locale-data/dje.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dje.dat', + 'DATA'), + ('babel/locale-data/tpi_PG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tpi_PG.dat', + 'DATA'), + ('babel/locale-data/sdh_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh_IQ.dat', + 'DATA'), + ('babel/locale-data/frr_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/frr_DE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GH.dat', + 'DATA'), + ('babel/locale-data/nso_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nso_ZA.dat', + 'DATA'), + ('babel/locale-data/doi_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/doi_IN.dat', + 'DATA'), + ('babel/locale-data/ar_YE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_YE.dat', + 'DATA'), + ('babel/locale-data/es_SV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_SV.dat', + 'DATA'), + ('babel/locale-data/st_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st_ZA.dat', + 'DATA'), + ('babel/locale-data/ln_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CD.dat', + 'DATA'), + ('babel/locale-data/fr_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MA.dat', + 'DATA'), + ('babel/locale-data/ee_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee_GH.dat', + 'DATA'), + ('babel/locale-data/bo_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo_CN.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_LR.dat', + 'DATA'), + ('babel/locale-data/mic.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mic.dat', + 'DATA'), + ('babel/locale-data/mt_MT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mt_MT.dat', + 'DATA'), + ('babel/locale-data/aa_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_DJ.dat', + 'DATA'), + ('babel/locale-data/az.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GH.dat', + 'DATA'), + ('babel/locale-data/la.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/la.dat', + 'DATA'), + ('babel/locale-data/es_BZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BZ.dat', + 'DATA'), + ('babel/locale-data/gn_PY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gn_PY.dat', + 'DATA'), + ('babel/locale-data/es_MX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_MX.dat', + 'DATA'), + ('babel/locale-data/mai.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mai.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_MO.dat', + 'DATA'), + ('babel/locale-data/ar_TD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_TD.dat', + 'DATA'), + ('babel/locale-data/pap_AW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap_AW.dat', + 'DATA'), + ('babel/locale-data/ki.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ki.dat', + 'DATA'), + ('babel/locale-data/cs.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cs.dat', + 'DATA'), + ('babel/locale-data/pap_CW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap_CW.dat', + 'DATA'), + ('babel/locale-data/en_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SE.dat', + 'DATA'), + ('babel/locale-data/qu_BO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_BO.dat', + 'DATA'), + ('babel/locale-data/smn_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smn_FI.dat', + 'DATA'), + ('babel/locale-data/oc_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc_FR.dat', + 'DATA'), + ('babel/locale-data/fr_HT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_HT.dat', + 'DATA'), + ('babel/locale-data/en_TK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TK.dat', + 'DATA'), + ('babel/locale-data/de_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_CH.dat', + 'DATA'), + ('babel/locale-data/haw_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/haw_US.dat', + 'DATA'), + ('babel/locale-data/tig_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tig_ER.dat', + 'DATA'), + ('babel/locale-data/mas_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas_KE.dat', + 'DATA'), + ('babel/locale-data/kok.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok.dat', + 'DATA'), + ('babel/locale-data/gv_IM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gv_IM.dat', + 'DATA'), + ('babel/locale-data/sat_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/tr_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr_TR.dat', + 'DATA'), + ('babel/locale-data/de_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_DE.dat', + 'DATA'), + ('babel/locale-data/trv_TW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trv_TW.dat', + 'DATA'), + ('babel/locale-data/ru_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_RU.dat', + 'DATA'), + ('babel/locale-data/ar_SO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SO.dat', + 'DATA'), + ('babel/locale-data/mua.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mua.dat', + 'DATA'), + ('babel/locale-data/mn_MN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_MN.dat', + 'DATA'), + ('babel/locale-data/yi_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yi_UA.dat', + 'DATA'), + ('babel/locale-data/de_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_IT.dat', + 'DATA'), + ('babel/locale-data/eu_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eu_ES.dat', + 'DATA'), + ('babel/locale-data/jgo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jgo.dat', + 'DATA'), + ('babel/locale-data/ar_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_AE.dat', + 'DATA'), + ('babel/locale-data/bgn_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_AF.dat', + 'DATA'), + ('babel/locale-data/bn_BD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn_BD.dat', + 'DATA'), + ('babel/locale-data/bo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo.dat', + 'DATA'), + ('babel/locale-data/ar_SA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SA.dat', + 'DATA'), + ('babel/locale-data/en_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ER.dat', + 'DATA'), + ('babel/locale-data/ht_HT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ht_HT.dat', + 'DATA'), + ('babel/locale-data/es_CL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CL.dat', + 'DATA'), + ('babel/locale-data/tok.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tok.dat', + 'DATA'), + ('babel/locale-data/dua_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dua_CM.dat', + 'DATA'), + ('babel/locale-data/csw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/csw.dat', + 'DATA'), + ('babel/locale-data/ken.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ken.dat', + 'DATA'), + ('babel/locale-data/ar_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_DZ.dat', + 'DATA'), + ('babel/locale-data/en_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CM.dat', + 'DATA'), + ('babel/locale-data/es_IC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_IC.dat', + 'DATA'), + ('babel/locale-data/en_MT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MT.dat', + 'DATA'), + ('babel/locale-data/vmw_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vmw_MZ.dat', + 'DATA'), + ('babel/locale-data/ps_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps_PK.dat', + 'DATA'), + ('babel/locale-data/bm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm.dat', + 'DATA'), + ('babel/locale-data/szl_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/szl_PL.dat', + 'DATA'), + ('babel/locale-data/ug_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ug_CN.dat', + 'DATA'), + ('babel/locale-data/sa_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sa_IN.dat', + 'DATA'), + ('babel/locale-data/ebu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ebu.dat', + 'DATA'), + ('babel/locale-data/tig.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tig.dat', + 'DATA'), + ('babel/locale-data/co.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/co.dat', + 'DATA'), + ('babel/locale-data/en.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en.dat', + 'DATA'), + ('babel/locale-data/kab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kab.dat', + 'DATA'), + ('babel/locale-data/ie_EE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ie_EE.dat', + 'DATA'), + ('babel/locale-data/es_EC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_EC.dat', + 'DATA'), + ('babel/locale-data/skr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/skr.dat', + 'DATA'), + ('babel/locale-data/en_JE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_JE.dat', + 'DATA'), + ('babel/locale-data/sd_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/ar_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_MA.dat', + 'DATA'), + ('babel/locale-data/bss.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bss.dat', + 'DATA'), + ('babel/locale-data/tyv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tyv.dat', + 'DATA'), + ('babel/locale-data/en_AI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AI.dat', + 'DATA'), + ('babel/locale-data/jmc_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jmc_TZ.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GM.dat', + 'DATA'), + ('babel/locale-data/cop.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cop.dat', + 'DATA'), + ('babel/locale-data/ru_BY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_BY.dat', + 'DATA'), + ('babel/locale-data/fa_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa_IR.dat', + 'DATA'), + ('babel/locale-data/moh_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/moh_CA.dat', + 'DATA'), + ('babel/locale-data/en_DG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DG.dat', + 'DATA'), + ('babel/locale-data/fa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa.dat', + 'DATA'), + ('babel/locale-data/en_FK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FK.dat', + 'DATA'), + ('babel/locale-data/gd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gd.dat', + 'DATA'), + ('babel/locale-data/bs_Latn_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Latn_BA.dat', + 'DATA'), + ('babel/locale-data/gl_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gl_ES.dat', + 'DATA'), + ('babel/locale-data/zh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh.dat', + 'DATA'), + ('babel/locale-data/arn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/arn.dat', + 'DATA'), + ('babel/locale-data/sr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr.dat', + 'DATA'), + ('babel/locale-data/yrl_VE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_VE.dat', + 'DATA'), + ('babel/locale-data/kde.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kde.dat', + 'DATA'), + ('babel/locale-data/en_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SS.dat', + 'DATA'), + ('babel/locale-data/aa_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_ET.dat', + 'DATA'), + ('babel/locale-data/iu_Latn_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_Latn_CA.dat', + 'DATA'), + ('babel/locale-data/root.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/root.dat', + 'DATA'), + ('babel/locale-data/bs_Cyrl_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Cyrl_BA.dat', + 'DATA'), + ('babel/locale-data/en_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ES.dat', + 'DATA'), + ('babel/locale-data/ksh_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksh_DE.dat', + 'DATA'), + ('babel/locale-data/hy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hy.dat', + 'DATA'), + ('babel/locale-data/bez.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bez.dat', + 'DATA'), + ('babel/locale-data/rif_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rif_MA.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_CN.dat', + 'DATA'), + ('babel/locale-data/bal_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/bgc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgc.dat', + 'DATA'), + ('babel/locale-data/bem_ZM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bem_ZM.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_MY.dat', + 'DATA'), + ('babel/locale-data/en_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TZ.dat', + 'DATA'), + ('babel/locale-data/ss.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss.dat', + 'DATA'), + ('babel/locale-data/en_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IT.dat', + 'DATA'), + ('babel/locale-data/fr_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BJ.dat', + 'DATA'), + ('babel/locale-data/ht.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ht.dat', + 'DATA'), + ('babel/locale-data/ky_KG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ky_KG.dat', + 'DATA'), + ('babel/locale-data/vec.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vec.dat', + 'DATA'), + ('babel/locale-data/to.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/to.dat', + 'DATA'), + ('babel/locale-data/sd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd.dat', + 'DATA'), + ('babel/locale-data/wo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wo.dat', + 'DATA'), + ('babel/locale-data/haw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/haw.dat', + 'DATA'), + ('babel/locale-data/es_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PH.dat', + 'DATA'), + ('babel/locale-data/so_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_KE.dat', + 'DATA'), + ('babel/locale-data/en_BS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BS.dat', + 'DATA'), + ('babel/locale-data/mai_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mai_IN.dat', + 'DATA'), + ('babel/locale-data/scn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/scn.dat', + 'DATA'), + ('babel/locale-data/lt_LT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lt_LT.dat', + 'DATA'), + ('babel/locale-data/nso.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nso.dat', + 'DATA'), + ('babel/locale-data/en_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IL.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_TW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_TW.dat', + 'DATA'), + ('babel/locale-data/luo_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luo_KE.dat', + 'DATA'), + ('babel/locale-data/ig.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ig.dat', + 'DATA'), + ('babel/locale-data/or_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/or_IN.dat', + 'DATA'), + ('babel/locale-data/en_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NA.dat', + 'DATA'), + ('babel/locale-data/om_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om_ET.dat', + 'DATA'), + ('babel/locale-data/mdf_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mdf_RU.dat', + 'DATA'), + ('babel/locale-data/vi_VN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vi_VN.dat', + 'DATA'), + ('babel/locale-data/mfe_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mfe_MU.dat', + 'DATA'), + ('babel/locale-data/de_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_LU.dat', + 'DATA'), + ('babel/locale-data/rof_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rof_TZ.dat', + 'DATA'), + ('babel/locale-data/bs_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Latn.dat', + 'DATA'), + ('babel/locale-data/pt_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_GW.dat', + 'DATA'), + ('babel/locale-data/tr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tr.dat', + 'DATA'), + ('babel/locale-data/shn_TH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn_TH.dat', + 'DATA'), + ('babel/locale-data/en_IO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IO.dat', + 'DATA'), + ('babel/locale-data/en_US_POSIX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_US_POSIX.dat', + 'DATA'), + ('babel/locale-data/uk_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uk_UA.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_ME.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_ME.dat', + 'DATA'), + ('babel/locale-data/es_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BR.dat', + 'DATA'), + ('babel/locale-data/nnh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nnh.dat', + 'DATA'), + ('babel/locale-data/ar_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SS.dat', + 'DATA'), + ('babel/locale-data/cch.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cch.dat', + 'DATA'), + ('babel/locale-data/ps.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_BF.dat', + 'DATA'), + ('babel/locale-data/sma_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma_NO.dat', + 'DATA'), + ('babel/locale-data/et_EE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/et_EE.dat', + 'DATA'), + ('babel/locale-data/ks_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Arab.dat', + 'DATA'), + ('babel/locale-data/lrc_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc_IQ.dat', + 'DATA'), + ('babel/locale-data/gaa_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gaa_GH.dat', + 'DATA'), + ('babel/locale-data/ti_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti_ER.dat', + 'DATA'), + ('babel/locale-data/mn_Mong_MN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong_MN.dat', + 'DATA'), + ('babel/locale-data/tk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tk.dat', + 'DATA'), + ('babel/locale-data/pt_CV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_CV.dat', + 'DATA'), + ('babel/locale-data/ln_CG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CG.dat', + 'DATA'), + ('babel/locale-data/nqo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nqo.dat', + 'DATA'), + ('babel/locale-data/arn_CL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/arn_CL.dat', + 'DATA'), + ('babel/locale-data/wbp_AU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wbp_AU.dat', + 'DATA'), + ('babel/locale-data/yrl_CO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl_CO.dat', + 'DATA'), + ('babel/locale-data/pis.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pis.dat', + 'DATA'), + ('babel/locale-data/quc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/quc.dat', + 'DATA'), + ('babel/locale-data/hnj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj.dat', + 'DATA'), + ('babel/locale-data/uz_Arab_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Arab_AF.dat', + 'DATA'), + ('babel/locale-data/ca_AD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_AD.dat', + 'DATA'), + ('babel/locale-data/ar_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_IQ.dat', + 'DATA'), + ('babel/locale-data/de.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de.dat', + 'DATA'), + ('babel/locale-data/lag_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lag_TZ.dat', + 'DATA'), + ('babel/locale-data/luy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luy.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_SG.dat', + 'DATA'), + ('babel/locale-data/en_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DK.dat', + 'DATA'), + ('babel/locale-data/ltg_LV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ltg_LV.dat', + 'DATA'), + ('babel/locale-data/bs.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs.dat', + 'DATA'), + ('babel/locale-data/nmg_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nmg_CM.dat', + 'DATA'), + ('babel/locale-data/ast_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ast_ES.dat', + 'DATA'), + ('babel/locale-data/ltg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ltg.dat', + 'DATA'), + ('babel/locale-data/vmw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vmw.dat', + 'DATA'), + ('babel/locale-data/kxv_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Latn.dat', + 'DATA'), + ('babel/locale-data/en_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DE.dat', + 'DATA'), + ('babel/locale-data/en_150.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_150.dat', + 'DATA'), + ('babel/locale-data/en_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GM.dat', + 'DATA'), + ('babel/locale-data/en_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_001.dat', + 'DATA'), + ('babel/locale-data/es_PY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PY.dat', + 'DATA'), + ('babel/locale-data/ms_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_ID.dat', + 'DATA'), + ('babel/locale-data/es_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_GQ.dat', + 'DATA'), + ('babel/locale-data/sdh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh.dat', + 'DATA'), + ('babel/locale-data/cic.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cic.dat', + 'DATA'), + ('babel/locale-data/lu_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lu_CD.dat', + 'DATA'), + ('babel/locale-data/ru_UA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_UA.dat', + 'DATA'), + ('babel/locale-data/ks_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Deva.dat', + 'DATA'), + ('babel/locale-data/shi_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Latn.dat', + 'DATA'), + ('babel/locale-data/en_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BI.dat', + 'DATA'), + ('babel/locale-data/kxv_Telu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Telu.dat', + 'DATA'), + ('babel/locale-data/en_NF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NF.dat', + 'DATA'), + ('babel/locale-data/tt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tt.dat', + 'DATA'), + ('babel/locale-data/se_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_FI.dat', + 'DATA'), + ('babel/locale-data/cu_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cu_RU.dat', + 'DATA'), + ('babel/locale-data/mk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mk.dat', + 'DATA'), + ('babel/locale-data/it.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it.dat', + 'DATA'), + ('babel/locale-data/rif.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rif.dat', + 'DATA'), + ('babel/locale-data/en_SB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SB.dat', + 'DATA'), + ('babel/locale-data/uz_Latn_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Latn_UZ.dat', + 'DATA'), + ('babel/locale-data/vai_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Latn.dat', + 'DATA'), + ('babel/locale-data/tyv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tyv_RU.dat', + 'DATA'), + ('babel/locale-data/en_JM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_JM.dat', + 'DATA'), + ('babel/locale-data/fr_GA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GA.dat', + 'DATA'), + ('babel/locale-data/tzm_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tzm_MA.dat', + 'DATA'), + ('babel/locale-data/lkt_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lkt_US.dat', + 'DATA'), + ('babel/locale-data/en_BM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BM.dat', + 'DATA'), + ('babel/locale-data/sr_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn.dat', + 'DATA'), + ('babel/locale-data/kn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kn.dat', + 'DATA'), + ('babel/locale-data/ta_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_SG.dat', + 'DATA'), + ('babel/locale-data/gsw_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_FR.dat', + 'DATA'), + ('babel/locale-data/pt_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_GQ.dat', + 'DATA'), + ('babel/locale-data/sv_AX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_AX.dat', + 'DATA'), + ('babel/locale-data/ko.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko.dat', + 'DATA'), + ('babel/locale-data/nl_CW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_CW.dat', + 'DATA'), + ('babel/locale-data/doi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/doi.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg_MM.dat', + 'DATA'), + ('babel/locale-data/fr_PF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_PF.dat', + 'DATA'), + ('babel/locale-data/wae.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wae.dat', + 'DATA'), + ('babel/locale-data/si.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/si.dat', + 'DATA'), + ('babel/locale-data/an_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/an_ES.dat', + 'DATA'), + ('babel/locale-data/ky.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ky.dat', + 'DATA'), + ('babel/locale-data/ta_LK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_LK.dat', + 'DATA'), + ('babel/locale-data/ksf.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksf.dat', + 'DATA'), + ('babel/locale-data/en_AS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AS.dat', + 'DATA'), + ('babel/locale-data/ti.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti.dat', + 'DATA'), + ('babel/locale-data/es_BO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_BO.dat', + 'DATA'), + ('babel/locale-data/az_Arab_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_IR.dat', + 'DATA'), + ('babel/locale-data/lld_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lld_IT.dat', + 'DATA'), + ('babel/locale-data/en_GU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GU.dat', + 'DATA'), + ('babel/locale-data/en_CK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CK.dat', + 'DATA'), + ('babel/locale-data/bm_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_ML.dat', + 'DATA'), + ('babel/locale-data/en_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ID.dat', + 'DATA'), + ('babel/locale-data/ru_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_KZ.dat', + 'DATA'), + ('babel/locale-data/ksb_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksb_TZ.dat', + 'DATA'), + ('babel/locale-data/mdf.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mdf.dat', + 'DATA'), + ('babel/locale-data/ss_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ss_ZA.dat', + 'DATA'), + ('babel/locale-data/tg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tg.dat', + 'DATA'), + ('babel/locale-data/lg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lg.dat', + 'DATA'), + ('babel/locale-data/bn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn_IN.dat', + 'DATA'), + ('babel/locale-data/om.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/om.dat', + 'DATA'), + ('babel/locale-data/ak.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ak.dat', + 'DATA'), + ('babel/locale-data/blt_VN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blt_VN.dat', + 'DATA'), + ('babel/locale-data/kaa_Latn_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Latn_UZ.dat', + 'DATA'), + ('babel/locale-data/hi_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_Latn.dat', + 'DATA'), + ('babel/locale-data/mic_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mic_CA.dat', + 'DATA'), + ('babel/locale-data/nb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb.dat', + 'DATA'), + ('babel/locale-data/ms_BN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_BN.dat', + 'DATA'), + ('babel/locale-data/ks.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_SL.dat', + 'DATA'), + ('babel/locale-data/rhg_Rohg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg_Rohg.dat', + 'DATA'), + ('babel/locale-data/my.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/my.dat', + 'DATA'), + ('babel/locale-data/myv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/myv_RU.dat', + 'DATA'), + ('babel/locale-data/ha_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_GH.dat', + 'DATA'), + ('babel/locale-data/kpe_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe_GN.dat', + 'DATA'), + ('babel/locale-data/en_BZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BZ.dat', + 'DATA'), + ('babel/locale-data/lo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lo.dat', + 'DATA'), + ('babel/locale-data/lo_LA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lo_LA.dat', + 'DATA'), + ('babel/locale-data/xnr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xnr.dat', + 'DATA'), + ('babel/locale-data/teo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo.dat', + 'DATA'), + ('babel/locale-data/fr_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SY.dat', + 'DATA'), + ('babel/locale-data/bal.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal.dat', + 'DATA'), + ('babel/locale-data/yrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yrl.dat', + 'DATA'), + ('babel/locale-data/cch_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cch_NG.dat', + 'DATA'), + ('babel/locale-data/LICENSE.unicode', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/LICENSE.unicode', + 'DATA'), + ('babel/locale-data/ku_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ku_TR.dat', + 'DATA'), + ('babel/locale-data/uz_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Cyrl.dat', + 'DATA'), + ('babel/locale-data/kpe.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe.dat', + 'DATA'), + ('babel/locale-data/es_VE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_VE.dat', + 'DATA'), + ('babel/locale-data/en_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IN.dat', + 'DATA'), + ('babel/locale-data/dv_MV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dv_MV.dat', + 'DATA'), + ('babel/locale-data/bg_BG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bg_BG.dat', + 'DATA'), + ('babel/locale-data/en_GS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GS.dat', + 'DATA'), + ('babel/locale-data/io.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/io.dat', + 'DATA'), + ('babel/locale-data/tn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tn.dat', + 'DATA'), + ('babel/locale-data/is.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/is.dat', + 'DATA'), + ('babel/locale-data/en_MV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MV.dat', + 'DATA'), + ('babel/locale-data/to_TO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/to_TO.dat', + 'DATA'), + ('babel/locale-data/nyn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nyn.dat', + 'DATA'), + ('babel/locale-data/bm_Nkoo_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bm_Nkoo_ML.dat', + 'DATA'), + ('babel/locale-data/az_Arab_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_IQ.dat', + 'DATA'), + ('babel/locale-data/ckb_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb_IR.dat', + 'DATA'), + ('babel/locale-data/su.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su.dat', + 'DATA'), + ('babel/locale-data/uk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uk.dat', + 'DATA'), + ('babel/locale-data/sn_ZW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sn_ZW.dat', + 'DATA'), + ('babel/locale-data/twq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/twq.dat', + 'DATA'), + ('babel/locale-data/fa_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fa_AF.dat', + 'DATA'), + ('babel/locale-data/en_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GB.dat', + 'DATA'), + ('babel/locale-data/sl_SI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sl_SI.dat', + 'DATA'), + ('babel/locale-data/fr_TD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TD.dat', + 'DATA'), + ('babel/locale-data/za_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/za_CN.dat', + 'DATA'), + ('babel/locale-data/vai_Vaii_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Vaii_LR.dat', + 'DATA'), + ('babel/locale-data/dyo_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dyo_SN.dat', + 'DATA'), + ('babel/locale-data/kxv_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Deva.dat', + 'DATA'), + ('babel/locale-data/nnh_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nnh_CM.dat', + 'DATA'), + ('babel/locale-data/sbp_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sbp_TZ.dat', + 'DATA'), + ('babel/locale-data/nr_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nr_ZA.dat', + 'DATA'), + ('babel/locale-data/vo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vo_001.dat', + 'DATA'), + ('babel/locale-data/ny.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ny.dat', + 'DATA'), + ('babel/locale-data/ms_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_MY.dat', + 'DATA'), + ('babel/locale-data/cho.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cho.dat', + 'DATA'), + ('babel/locale-data/pa_Guru_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Guru_IN.dat', + 'DATA'), + ('babel/locale-data/fr_MQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MQ.dat', + 'DATA'), + ('babel/locale-data/en_SC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SC.dat', + 'DATA'), + ('babel/locale-data/pa_Guru.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Guru.dat', + 'DATA'), + ('babel/locale-data/myv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/myv.dat', + 'DATA'), + ('babel/locale-data/shi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi.dat', + 'DATA'), + ('babel/locale-data/ro.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro.dat', + 'DATA'), + ('babel/locale-data/tzm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tzm.dat', + 'DATA'), + ('babel/locale-data/hsb_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hsb_DE.dat', + 'DATA'), + ('babel/locale-data/fr_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BE.dat', + 'DATA'), + ('babel/locale-data/kok_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/yi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yi.dat', + 'DATA'), + ('babel/locale-data/kea_CV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kea_CV.dat', + 'DATA'), + ('babel/locale-data/ff_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn.dat', + 'DATA'), + ('babel/locale-data/bgn_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_PK.dat', + 'DATA'), + ('babel/locale-data/wae_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wae_CH.dat', + 'DATA'), + ('babel/locale-data/ru.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru.dat', + 'DATA'), + ('babel/locale-data/af_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af_NA.dat', + 'DATA'), + ('babel/locale-data/fr_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_RW.dat', + 'DATA'), + ('babel/locale-data/bas_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bas_CM.dat', + 'DATA'), + ('babel/locale-data/bn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bn.dat', + 'DATA'), + ('babel/locale-data/st_LS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st_LS.dat', + 'DATA'), + ('babel/locale-data/os.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os.dat', + 'DATA'), + ('babel/locale-data/yue_Hans_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hans_CN.dat', + 'DATA'), + ('babel/locale-data/pap.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pap.dat', + 'DATA'), + ('babel/locale-data/mni.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni.dat', + 'DATA'), + ('babel/locale-data/ff.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff.dat', + 'DATA'), + ('babel/locale-data/za.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/za.dat', + 'DATA'), + ('babel/locale-data/ru_MD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_MD.dat', + 'DATA'), + ('babel/py.typed', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/py.typed', + 'DATA'), + ('babel/locale-data/en_TO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TO.dat', + 'DATA'), + ('babel/locale-data/sma_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma_SE.dat', + 'DATA'), + ('babel/locale-data/ssy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ssy.dat', + 'DATA'), + ('babel/locale-data/ar.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar.dat', + 'DATA'), + ('babel/locale-data/skr_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/skr_PK.dat', + 'DATA'), + ('babel/locale-data/en_FJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FJ.dat', + 'DATA'), + ('babel/locale-data/so_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_ET.dat', + 'DATA'), + ('babel/locale-data/it_SM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_SM.dat', + 'DATA'), + ('babel/locale-data/en_PW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PW.dat', + 'DATA'), + ('babel/locale-data/en_Shaw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Shaw.dat', + 'DATA'), + ('babel/locale-data/khq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/khq.dat', + 'DATA'), + ('babel/locale-data/da.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da.dat', + 'DATA'), + ('babel/locale-data/yo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo.dat', + 'DATA'), + ('babel/locale-data/bgn_OM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_OM.dat', + 'DATA'), + ('babel/locale-data/ii_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ii_CN.dat', + 'DATA'), + ('babel/locale-data/es_CR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CR.dat', + 'DATA'), + ('babel/locale-data/iu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu.dat', + 'DATA'), + ('babel/locale-data/ca_ES_VALENCIA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_ES_VALENCIA.dat', + 'DATA'), + ('babel/locale-data/en_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NL.dat', + 'DATA'), + ('babel/locale-data/sah_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sah_RU.dat', + 'DATA'), + ('babel/locale-data/az_Latn_AZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Latn_AZ.dat', + 'DATA'), + ('babel/locale-data/bgc_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgc_IN.dat', + 'DATA'), + ('babel/locale-data/shn_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shn_MM.dat', + 'DATA'), + ('babel/locale-data/en_UM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_UM.dat', + 'DATA'), + ('babel/locale-data/se_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se_SE.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl.dat', + 'DATA'), + ('babel/locale-data/lrc_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc_IR.dat', + 'DATA'), + ('babel/locale-data/en_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_US.dat', + 'DATA'), + ('babel/locale-data/my_MM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/my_MM.dat', + 'DATA'), + ('babel/locale-data/dsb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dsb.dat', + 'DATA'), + ('babel/locale-data/mn_Mong_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong_CN.dat', + 'DATA'), + ('babel/locale-data/io_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/io_001.dat', + 'DATA'), + ('babel/locale-data/uz_Cyrl_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Cyrl_UZ.dat', + 'DATA'), + ('babel/locale-data/mus.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mus.dat', + 'DATA'), + ('babel/locale-data/vai_Latn_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Latn_LR.dat', + 'DATA'), + ('babel/locale-data/pa_Arab_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa_Arab_PK.dat', + 'DATA'), + ('babel/locale-data/en_VG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VG.dat', + 'DATA'), + ('babel/locale-data/eo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eo_001.dat', + 'DATA'), + ('babel/locale-data/tk_TM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tk_TM.dat', + 'DATA'), + ('babel/locale-data/en_GD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GD.dat', + 'DATA'), + ('babel/locale-data/ii.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ii.dat', + 'DATA'), + ('babel/locale-data/th_TH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/th_TH.dat', + 'DATA'), + ('babel/locale-data/sw_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_UG.dat', + 'DATA'), + ('babel/locale-data/en_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SG.dat', + 'DATA'), + ('babel/locale-data/fo_FO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo_FO.dat', + 'DATA'), + ('babel/locale-data/dz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dz.dat', + 'DATA'), + ('babel/locale-data/mzn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mzn.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_XK.dat', + 'DATA'), + ('babel/locale-data/kw_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kw_GB.dat', + 'DATA'), + ('babel/locale-data/ki_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ki_KE.dat', + 'DATA'), + ('babel/locale-data/en_CC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CC.dat', + 'DATA'), + ('babel/locale-data/en_TT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TT.dat', + 'DATA'), + ('babel/locale-data/mni_Mtei_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Mtei_IN.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_RS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_RS.dat', + 'DATA'), + ('babel/locale-data/mn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn.dat', + 'DATA'), + ('babel/locale-data/fr_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_DJ.dat', + 'DATA'), + ('babel/locale-data/az_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab.dat', + 'DATA'), + ('babel/locale-data/yo_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo_NG.dat', + 'DATA'), + ('babel/locale-data/kk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk.dat', + 'DATA'), + ('babel/locale-data/en_AT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AT.dat', + 'DATA'), + ('babel/locale-data/el_POLYTON.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_POLYTON.dat', + 'DATA'), + ('babel/locale-data/sd_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Deva.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_NG.dat', + 'DATA'), + ('babel/locale-data/kpe_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kpe_LR.dat', + 'DATA'), + ('babel/locale-data/mr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mr.dat', + 'DATA'), + ('babel/locale-data/en_MH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MH.dat', + 'DATA'), + ('babel/locale-data/da_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da_DK.dat', + 'DATA'), + ('babel/locale-data/mas.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mas.dat', + 'DATA'), + ('babel/locale-data/fr_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CH.dat', + 'DATA'), + ('babel/locale-data/lag.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lag.dat', + 'DATA'), + ('babel/locale-data/kxv_Latn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Latn_IN.dat', + 'DATA'), + ('babel/locale-data/ses_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ses_ML.dat', + 'DATA'), + ('babel/locale-data/en_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LR.dat', + 'DATA'), + ('babel/locale-data/bal_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Arab.dat', + 'DATA'), + ('babel/locale-data/fr_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MR.dat', + 'DATA'), + ('babel/locale-data/sq_MK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_MK.dat', + 'DATA'), + ('babel/locale-data/en_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CA.dat', + 'DATA'), + ('babel/locale-data/en_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_UG.dat', + 'DATA'), + ('babel/locale-data/ie.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ie.dat', + 'DATA'), + ('babel/locale-data/kaj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaj.dat', + 'DATA'), + ('babel/locale-data/mi_NZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mi_NZ.dat', + 'DATA'), + ('babel/locale-data/en_SZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SZ.dat', + 'DATA'), + ('babel/locale-data/ca_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_IT.dat', + 'DATA'), + ('babel/locale-data/ewo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ewo_CM.dat', + 'DATA'), + ('babel/locale-data/bo_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bo_IN.dat', + 'DATA'), + ('babel/locale-data/ti_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ti_ET.dat', + 'DATA'), + ('babel/locale-data/hi_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi_IN.dat', + 'DATA'), + ('babel/locale-data/en_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NO.dat', + 'DATA'), + ('babel/locale-data/en_RO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_RO.dat', + 'DATA'), + ('babel/locale-data/wal.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wal.dat', + 'DATA'), + ('babel/locale-data/vec_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vec_IT.dat', + 'DATA'), + ('babel/locale-data/pa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pa.dat', + 'DATA'), + ('babel/locale-data/chr_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/chr_US.dat', + 'DATA'), + ('babel/locale-data/ce.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ce.dat', + 'DATA'), + ('babel/locale-data/raj_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/raj_IN.dat', + 'DATA'), + ('babel/locale-data/ee_TG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee_TG.dat', + 'DATA'), + ('babel/locale-data/ar_EG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_EG.dat', + 'DATA'), + ('babel/locale-data/kcg_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kcg_NG.dat', + 'DATA'), + ('babel/locale-data/hi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hi.dat', + 'DATA'), + ('babel/locale-data/smn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smn.dat', + 'DATA'), + ('babel/locale-data/fr_SC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SC.dat', + 'DATA'), + ('babel/locale-data/ha_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_NE.dat', + 'DATA'), + ('babel/locale-data/kcg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kcg.dat', + 'DATA'), + ('babel/locale-data/so.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so.dat', + 'DATA'), + ('babel/locale-data/ast.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ast.dat', + 'DATA'), + ('babel/locale-data/es_PA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_PA.dat', + 'DATA'), + ('babel/locale-data/teo_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo_KE.dat', + 'DATA'), + ('babel/locale-data/en_SI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SI.dat', + 'DATA'), + ('babel/locale-data/raj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/raj.dat', + 'DATA'), + ('babel/locale-data/rwk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rwk.dat', + 'DATA'), + ('babel/locale-data/sq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq.dat', + 'DATA'), + ('babel/locale-data/asa_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/asa_TZ.dat', + 'DATA'), + ('babel/locale-data/fr_MC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MC.dat', + 'DATA'), + ('babel/locale-data/kl_GL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kl_GL.dat', + 'DATA'), + ('babel/locale-data/en_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GH.dat', + 'DATA'), + ('babel/locale-data/fi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fi.dat', + 'DATA'), + ('babel/locale-data/cy_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cy_GB.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_LR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_LR.dat', + 'DATA'), + ('babel/locale-data/az_Arab_TR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Arab_TR.dat', + 'DATA'), + ('babel/locale-data/sk.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sk.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_BF.dat', + 'DATA'), + ('babel/locale-data/fr_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GN.dat', + 'DATA'), + ('babel/locale-data/sid.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sid.dat', + 'DATA'), + ('babel/locale-data/ak_GH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ak_GH.dat', + 'DATA'), + ('babel/locale-data/el_GR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_GR.dat', + 'DATA'), + ('babel/locale-data/fr_TN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TN.dat', + 'DATA'), + ('babel/locale-data/bss_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bss_CM.dat', + 'DATA'), + ('babel/locale-data/sr_Cyrl_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Cyrl_BA.dat', + 'DATA'), + ('babel/locale-data/pt_PT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_PT.dat', + 'DATA'), + ('babel/locale-data/en_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BE.dat', + 'DATA'), + ('babel/locale-data/osa_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/osa_US.dat', + 'DATA'), + ('babel/locale-data/en_LS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LS.dat', + 'DATA'), + ('babel/locale-data/yav_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yav_CM.dat', + 'DATA'), + ('babel/locale-data/sk_SK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sk_SK.dat', + 'DATA'), + ('babel/locale-data/ksf_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksf_CM.dat', + 'DATA'), + ('babel/locale-data/ta_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_IN.dat', + 'DATA'), + ('babel/locale-data/fr_CG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CG.dat', + 'DATA'), + ('babel/locale-data/shi_Latn_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Latn_MA.dat', + 'DATA'), + ('babel/locale-data/nds.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds.dat', + 'DATA'), + ('babel/locale-data/osa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/osa.dat', + 'DATA'), + ('babel/locale-data/en_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FR.dat', + 'DATA'), + ('babel/locale-data/en_KI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KI.dat', + 'DATA'), + ('babel/locale-data/ig_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ig_NG.dat', + 'DATA'), + ('babel/locale-data/pt_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_CH.dat', + 'DATA'), + ('babel/locale-data/en_VI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VI.dat', + 'DATA'), + ('babel/locale-data/en_ZM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZM.dat', + 'DATA'), + ('babel/locale-data/fur_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fur_IT.dat', + 'DATA'), + ('babel/locale-data/ms_SG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_SG.dat', + 'DATA'), + ('babel/locale-data/fr_GF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GF.dat', + 'DATA'), + ('babel/locale-data/ta.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta.dat', + 'DATA'), + ('babel/locale-data/en_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PL.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GW.dat', + 'DATA'), + ('babel/locale-data/su_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su_Latn.dat', + 'DATA'), + ('babel/locale-data/sq_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_XK.dat', + 'DATA'), + ('babel/locale-data/rhg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rhg.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GM.dat', + 'DATA'), + ('babel/locale-data/fr_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_LU.dat', + 'DATA'), + ('babel/locale-data/sah.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sah.dat', + 'DATA'), + ('babel/locale-data/pis_SB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pis_SB.dat', + 'DATA'), + ('babel/locale-data/fi_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fi_FI.dat', + 'DATA'), + ('babel/locale-data/br_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/br_FR.dat', + 'DATA'), + ('babel/locale-data/yue.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue.dat', + 'DATA'), + ('babel/locale-data/ceb_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ceb_PH.dat', + 'DATA'), + ('babel/locale-data/nl_SR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_SR.dat', + 'DATA'), + ('babel/locale-data/nb_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb_NO.dat', + 'DATA'), + ('babel/locale-data/eu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eu.dat', + 'DATA'), + ('babel/locale-data/bal_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bal_Latn.dat', + 'DATA'), + ('babel/locale-data/brx_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/brx_IN.dat', + 'DATA'), + ('babel/locale-data/en_GI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_GI.dat', + 'DATA'), + ('babel/locale-data/cop_EG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cop_EG.dat', + 'DATA'), + ('babel/locale-data/en_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_ZA.dat', + 'DATA'), + ('babel/locale-data/nv_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nv_US.dat', + 'DATA'), + ('babel/locale-data/mi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mi.dat', + 'DATA'), + ('babel/locale-data/be.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be.dat', + 'DATA'), + ('babel/locale-data/fr_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_SN.dat', + 'DATA'), + ('babel/locale-data/kxv_Telu_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Telu_IN.dat', + 'DATA'), + ('babel/locale-data/en_Dsrt_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Dsrt_US.dat', + 'DATA'), + ('babel/locale-data/gez_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez_ER.dat', + 'DATA'), + ('babel/locale-data/guz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/guz.dat', + 'DATA'), + ('babel/locale-data/fr_VU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_VU.dat', + 'DATA'), + ('babel/locale-data/en_KN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KN.dat', + 'DATA'), + ('babel/locale-data/ce_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ce_RU.dat', + 'DATA'), + ('babel/locale-data/gu_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gu_IN.dat', + 'DATA'), + ('babel/locale-data/cad_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cad_US.dat', + 'DATA'), + ('babel/locale-data/rm_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rm_CH.dat', + 'DATA'), + ('babel/locale-data/fr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr.dat', + 'DATA'), + ('babel/locale-data/ur_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur_PK.dat', + 'DATA'), + ('babel/locale-data/am.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/am.dat', + 'DATA'), + ('babel/locale-data/en_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_RW.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GW.dat', + 'DATA'), + ('babel/locale-data/ne_NP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne_NP.dat', + 'DATA'), + ('babel/locale-data/gv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gv.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_HK.dat', + 'DATA'), + ('babel/locale-data/lb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lb.dat', + 'DATA'), + ('babel/locale-data/fr_BF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BF.dat', + 'DATA'), + ('babel/locale-data/vai.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai.dat', + 'DATA'), + ('babel/locale-data/scn_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/scn_IT.dat', + 'DATA'), + ('babel/locale-data/cic_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cic_US.dat', + 'DATA'), + ('babel/locale-data/en_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SL.dat', + 'DATA'), + ('babel/locale-data/hy_AM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hy_AM.dat', + 'DATA'), + ('babel/locale-data/prg_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/prg_PL.dat', + 'DATA'), + ('babel/locale-data/naq_NA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/naq_NA.dat', + 'DATA'), + ('babel/locale-data/bew.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bew.dat', + 'DATA'), + ('babel/locale-data/en_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MU.dat', + 'DATA'), + ('babel/locale-data/mni_Beng.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Beng.dat', + 'DATA'), + ('babel/locale-data/fr_TG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_TG.dat', + 'DATA'), + ('babel/locale-data/no.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/no.dat', + 'DATA'), + ('babel/locale-data/cv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cv.dat', + 'DATA'), + ('babel/locale-data/fr_KM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_KM.dat', + 'DATA'), + ('babel/locale-data/saq_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/saq_KE.dat', + 'DATA'), + ('babel/locale-data/kgp_BR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kgp_BR.dat', + 'DATA'), + ('babel/locale-data/lu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lu.dat', + 'DATA'), + ('babel/locale-data/en_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CY.dat', + 'DATA'), + ('babel/locale-data/en_VC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VC.dat', + 'DATA'), + ('babel/locale-data/ko_KR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_KR.dat', + 'DATA'), + ('babel/locale-data/se.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/se.dat', + 'DATA'), + ('babel/locale-data/zh_Hans_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans_MO.dat', + 'DATA'), + ('babel/locale-data/id_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/id_ID.dat', + 'DATA'), + ('babel/locale-data/kxv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv.dat', + 'DATA'), + ('babel/locale-data/cgg_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cgg_UG.dat', + 'DATA'), + ('babel/locale-data/shi_Tfng_MA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Tfng_MA.dat', + 'DATA'), + ('babel/locale-data/lb_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lb_LU.dat', + 'DATA'), + ('babel/locale-data/el.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el.dat', + 'DATA'), + ('babel/locale-data/pl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pl.dat', + 'DATA'), + ('babel/locale-data/kk_Arab_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Arab_CN.dat', + 'DATA'), + ('babel/locale-data/en_BB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_BB.dat', + 'DATA'), + ('babel/locale-data/gaa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gaa.dat', + 'DATA'), + ('babel/locale-data/wal_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wal_ET.dat', + 'DATA'), + ('babel/locale-data/ksh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksh.dat', + 'DATA'), + ('babel/locale-data/nb_SJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nb_SJ.dat', + 'DATA'), + ('babel/locale-data/sn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sn.dat', + 'DATA'), + ('babel/locale-data/he.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/he.dat', + 'DATA'), + ('babel/locale-data/ml.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ml.dat', + 'DATA'), + ('babel/locale-data/et.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/et.dat', + 'DATA'), + ('babel/locale-data/kk_Cyrl_KZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Cyrl_KZ.dat', + 'DATA'), + ('babel/locale-data/fur.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fur.dat', + 'DATA'), + ('babel/locale-data/yue_Hans.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hans.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_NE.dat', + 'DATA'), + ('babel/locale-data/ewo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ewo.dat', + 'DATA'), + ('babel/locale-data/bg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bg.dat', + 'DATA'), + ('babel/locale-data/mhn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mhn.dat', + 'DATA'), + ('babel/locale-data/nus_SS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nus_SS.dat', + 'DATA'), + ('babel/locale-data/es_GT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_GT.dat', + 'DATA'), + ('babel/locale-data/eo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/eo.dat', + 'DATA'), + ('babel/locale-data/en_PN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PN.dat', + 'DATA'), + ('babel/locale-data/te_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/te_IN.dat', + 'DATA'), + ('babel/locale-data/blo_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blo_BJ.dat', + 'DATA'), + ('babel/locale-data/es.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es.dat', + 'DATA'), + ('babel/locale-data/gez_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gez_ET.dat', + 'DATA'), + ('babel/locale-data/ar_LB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_LB.dat', + 'DATA'), + ('babel/locale-data/os_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/os_RU.dat', + 'DATA'), + ('babel/locale-data/mr_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mr_IN.dat', + 'DATA'), + ('babel/locale-data/tg_TJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tg_TJ.dat', + 'DATA'), + ('babel/locale-data/dua.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dua.dat', + 'DATA'), + ('babel/locale-data/ha_Arab_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab_NG.dat', + 'DATA'), + ('babel/locale-data/ca_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_ES.dat', + 'DATA'), + ('babel/locale-data/af_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af_ZA.dat', + 'DATA'), + ('babel/locale-data/wa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wa.dat', + 'DATA'), + ('babel/locale-data/ar_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SY.dat', + 'DATA'), + ('babel/locale-data/smj_SE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj_SE.dat', + 'DATA'), + ('babel/locale-data/luo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/luo.dat', + 'DATA'), + ('babel/locale-data/kl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kl.dat', + 'DATA'), + ('babel/locale-data/fr_BL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BL.dat', + 'DATA'), + ('babel/locale-data/ha_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab.dat', + 'DATA'), + ('babel/locale-data/en_SK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SK.dat', + 'DATA'), + ('babel/locale-data/as_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/as_IN.dat', + 'DATA'), + ('babel/locale-data/ja.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ja.dat', + 'DATA'), + ('babel/locale-data/aa_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/aa_ER.dat', + 'DATA'), + ('babel/locale-data/gu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gu.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_GN.dat', + 'DATA'), + ('babel/locale-data/su_Latn_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/su_Latn_ID.dat', + 'DATA'), + ('babel/locale-data/shi_Tfng.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/shi_Tfng.dat', + 'DATA'), + ('babel/locale-data/kxv_Orya.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Orya.dat', + 'DATA'), + ('babel/global.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/global.dat', + 'DATA'), + ('babel/locale-data/sa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sa.dat', + 'DATA'), + ('babel/locale-data/sms.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sms.dat', + 'DATA'), + ('babel/locale-data/jmc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jmc.dat', + 'DATA'), + ('babel/locale-data/pl_PL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pl_PL.dat', + 'DATA'), + ('babel/locale-data/en_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SD.dat', + 'DATA'), + ('babel/locale-data/fr_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CD.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_HK.dat', + 'DATA'), + ('babel/locale-data/km_KH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/km_KH.dat', + 'DATA'), + ('babel/locale-data/en_Dsrt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Dsrt.dat', + 'DATA'), + ('babel/locale-data/en_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MO.dat', + 'DATA'), + ('babel/locale-data/ken_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ken_CM.dat', + 'DATA'), + ('babel/locale-data/sc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sc.dat', + 'DATA'), + ('babel/locale-data/kaj_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaj_NG.dat', + 'DATA'), + ('babel/locale-data/ia_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ia_001.dat', + 'DATA'), + ('babel/locale-data/bem.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bem.dat', + 'DATA'), + ('babel/locale-data/ar_KW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_KW.dat', + 'DATA'), + ('babel/locale-data/rw_RW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rw_RW.dat', + 'DATA'), + ('babel/locale-data/sw_CD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_CD.dat', + 'DATA'), + ('babel/locale-data/smj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj.dat', + 'DATA'), + ('babel/locale-data/rn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rn.dat', + 'DATA'), + ('babel/locale-data/nl_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_NL.dat', + 'DATA'), + ('babel/locale-data/en_TV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TV.dat', + 'DATA'), + ('babel/locale-data/yo_BJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yo_BJ.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_XK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_XK.dat', + 'DATA'), + ('babel/locale-data/az_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Latn.dat', + 'DATA'), + ('babel/locale-data/xh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xh.dat', + 'DATA'), + ('babel/locale-data/en_MP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MP.dat', + 'DATA'), + ('babel/locale-data/sv_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sv_FI.dat', + 'DATA'), + ('babel/locale-data/mhn_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mhn_IT.dat', + 'DATA'), + ('babel/locale-data/gd_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gd_GB.dat', + 'DATA'), + ('babel/locale-data/xh_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xh_ZA.dat', + 'DATA'), + ('babel/locale-data/nl_AW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_AW.dat', + 'DATA'), + ('babel/locale-data/st.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/st.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_MY.dat', + 'DATA'), + ('babel/locale-data/fil_PH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fil_PH.dat', + 'DATA'), + ('babel/locale-data/kgp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kgp.dat', + 'DATA'), + ('babel/locale-data/en_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KE.dat', + 'DATA'), + ('babel/locale-data/kok_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Latn.dat', + 'DATA'), + ('babel/locale-data/mk_MK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mk_MK.dat', + 'DATA'), + ('babel/locale-data/ar_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_IL.dat', + 'DATA'), + ('babel/locale-data/ia.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ia.dat', + 'DATA'), + ('babel/locale-data/tok_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tok_001.dat', + 'DATA'), + ('babel/locale-data/lv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lv.dat', + 'DATA'), + ('babel/locale-data/en_NU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NU.dat', + 'DATA'), + ('babel/locale-data/cad.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cad.dat', + 'DATA'), + ('babel/locale-data/hr_BA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hr_BA.dat', + 'DATA'), + ('babel/locale-data/ckb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb.dat', + 'DATA'), + ('babel/locale-data/trv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trv.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_RS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_RS.dat', + 'DATA'), + ('babel/locale-data/oc_ES.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/oc_ES.dat', + 'DATA'), + ('babel/locale-data/pcm_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pcm_NG.dat', + 'DATA'), + ('babel/locale-data/bs_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bs_Cyrl.dat', + 'DATA'), + ('babel/locale-data/nr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nr.dat', + 'DATA'), + ('babel/locale-data/sdh_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sdh_IR.dat', + 'DATA'), + ('babel/locale-data/ur.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ur.dat', + 'DATA'), + ('babel/locale-data/kaa_Cyrl_UZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa_Cyrl_UZ.dat', + 'DATA'), + ('babel/locale-data/nd.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nd.dat', + 'DATA'), + ('babel/locale-data/cgg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cgg.dat', + 'DATA'), + ('babel/locale-data/nus.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nus.dat', + 'DATA'), + ('babel/locale-data/fo_DK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fo_DK.dat', + 'DATA'), + ('babel/locale-data/nyn_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nyn_UG.dat', + 'DATA'), + ('babel/locale-data/sw_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sw_TZ.dat', + 'DATA'), + ('babel/locale-data/gsw_LI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_LI.dat', + 'DATA'), + ('babel/locale-data/qu_EC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu_EC.dat', + 'DATA'), + ('babel/locale-data/so_SO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_SO.dat', + 'DATA'), + ('babel/locale-data/kkj_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kkj_CM.dat', + 'DATA'), + ('babel/locale-data/ba.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ba.dat', + 'DATA'), + ('babel/locale-data/cy.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cy.dat', + 'DATA'), + ('babel/locale-data/ga.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga.dat', + 'DATA'), + ('babel/locale-data/hu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hu.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_CM.dat', + 'DATA'), + ('babel/locale-data/ar_EH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_EH.dat', + 'DATA'), + ('babel/locale-data/khq_ML.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/khq_ML.dat', + 'DATA'), + ('babel/locale-data/en_SX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SX.dat', + 'DATA'), + ('babel/locale-data/en_VU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_VU.dat', + 'DATA'), + ('babel/locale-data/sr_Latn_ME.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sr_Latn_ME.dat', + 'DATA'), + ('babel/locale-data/ln.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln.dat', + 'DATA'), + ('babel/locale-data/en_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CH.dat', + 'DATA'), + ('babel/locale-data/mn_Mong.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mn_Mong.dat', + 'DATA'), + ('babel/locale-data/asa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/asa.dat', + 'DATA'), + ('babel/locale-data/smj_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/smj_NO.dat', + 'DATA'), + ('babel/locale-data/de_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_BE.dat', + 'DATA'), + ('babel/locale-data/la_VA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/la_VA.dat', + 'DATA'), + ('babel/locale-data/en_LC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_LC.dat', + 'DATA'), + ('babel/locale-data/pt_LU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_LU.dat', + 'DATA'), + ('babel/locale-data/ar_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_001.dat', + 'DATA'), + ('babel/locale-data/ne.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ne.dat', + 'DATA'), + ('babel/locale-data/kaa.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kaa.dat', + 'DATA'), + ('babel/locale-data/rm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rm.dat', + 'DATA'), + ('babel/locale-data/ar_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_MR.dat', + 'DATA'), + ('babel/locale-data/teo_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/teo_UG.dat', + 'DATA'), + ('babel/locale-data/sg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sg.dat', + 'DATA'), + ('babel/locale-data/ar_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_SD.dat', + 'DATA'), + ('babel/locale-data/mni_Mtei.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Mtei.dat', + 'DATA'), + ('babel/locale-data/gn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gn.dat', + 'DATA'), + ('babel/locale-data/ln_AO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_AO.dat', + 'DATA'), + ('babel/locale-data/uz_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Latn.dat', + 'DATA'), + ('babel/locale-data/ha_Arab_SD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_Arab_SD.dat', + 'DATA'), + ('babel/locale-data/lrc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lrc.dat', + 'DATA'), + ('babel/locale-data/ccp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp.dat', + 'DATA'), + ('babel/locale-data/en_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MY.dat', + 'DATA'), + ('babel/locale-data/ha.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha.dat', + 'DATA'), + ('babel/locale-data/ar_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_ER.dat', + 'DATA'), + ('babel/locale-data/ks_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ks_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/seh_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/seh_MZ.dat', + 'DATA'), + ('babel/locale-data/az_Cyrl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/az_Cyrl.dat', + 'DATA'), + ('babel/locale-data/ksb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ksb.dat', + 'DATA'), + ('babel/locale-data/en_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NG.dat', + 'DATA'), + ('babel/locale-data/fr_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_FR.dat', + 'DATA'), + ('babel/locale-data/brx.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/brx.dat', + 'DATA'), + ('babel/locale-data/mfe.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mfe.dat', + 'DATA'), + ('babel/locale-data/ro_RO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro_RO.dat', + 'DATA'), + ('babel/locale-data/mgo_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgo_CM.dat', + 'DATA'), + ('babel/locale-data/en_IM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IM.dat', + 'DATA'), + ('babel/locale-data/ccp_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ccp_IN.dat', + 'DATA'), + ('babel/locale-data/si_LK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/si_LK.dat', + 'DATA'), + ('babel/locale-data/es_CU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_CU.dat', + 'DATA'), + ('babel/locale-data/zu_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zu_ZA.dat', + 'DATA'), + ('babel/locale-data/rn_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rn_BI.dat', + 'DATA'), + ('babel/locale-data/nmg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nmg.dat', + 'DATA'), + ('babel/locale-data/fy_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fy_NL.dat', + 'DATA'), + ('babel/locale-data/ee.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ee.dat', + 'DATA'), + ('babel/locale-data/kkj.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kkj.dat', + 'DATA'), + ('babel/locale-data/ga_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga_GB.dat', + 'DATA'), + ('babel/locale-data/nl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl.dat', + 'DATA'), + ('babel/locale-data/en_SH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_SH.dat', + 'DATA'), + ('babel/locale-data/kxv_Orya_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Orya_IN.dat', + 'DATA'), + ('babel/locale-data/en_CZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CZ.dat', + 'DATA'), + ('babel/locale-data/en_NZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_NZ.dat', + 'DATA'), + ('babel/locale-data/ka_GE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ka_GE.dat', + 'DATA'), + ('babel/locale-data/en_MS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MS.dat', + 'DATA'), + ('babel/locale-data/lg_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lg_UG.dat', + 'DATA'), + ('babel/locale-data/en_AG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AG.dat', + 'DATA'), + ('babel/locale-data/gsw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw.dat', + 'DATA'), + ('babel/locale-data/agq_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/agq_CM.dat', + 'DATA'), + ('babel/locale-data/prg.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/prg.dat', + 'DATA'), + ('babel/locale-data/th.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/th.dat', + 'DATA'), + ('babel/locale-data/en_IE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_IE.dat', + 'DATA'), + ('babel/locale-data/cho_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cho_US.dat', + 'DATA'), + ('babel/locale-data/uz.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz.dat', + 'DATA'), + ('babel/locale-data/xog_UG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xog_UG.dat', + 'DATA'), + ('babel/locale-data/nds_NL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nds_NL.dat', + 'DATA'), + ('babel/locale-data/fr_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_NE.dat', + 'DATA'), + ('babel/locale-data/pt_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_MO.dat', + 'DATA'), + ('babel/locale-data/dsb_DE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dsb_DE.dat', + 'DATA'), + ('babel/locale-data/ar_TN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_TN.dat', + 'DATA'), + ('babel/locale-data/ba_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ba_RU.dat', + 'DATA'), + ('babel/locale-data/ann.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ann.dat', + 'DATA'), + ('babel/locale-data/ve.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ve.dat', + 'DATA'), + ('babel/locale-data/ssy_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ssy_ER.dat', + 'DATA'), + ('babel/locale-data/wa_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wa_BE.dat', + 'DATA'), + ('babel/locale-data/en_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MG.dat', + 'DATA'), + ('babel/locale-data/fr_CI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_CI.dat', + 'DATA'), + ('babel/locale-data/kab_DZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kab_DZ.dat', + 'DATA'), + ('babel/locale-data/kxv_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kxv_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/lv_LV.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lv_LV.dat', + 'DATA'), + ('babel/locale-data/nn_NO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nn_NO.dat', + 'DATA'), + ('babel/locale-data/iu_Latn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/iu_Latn.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_MR.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_SN.dat', + 'DATA'), + ('babel/locale-data/mzn_IR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mzn_IR.dat', + 'DATA'), + ('babel/locale-data/bgn_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn_AE.dat', + 'DATA'), + ('babel/locale-data/en_Shaw_GB.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_Shaw_GB.dat', + 'DATA'), + ('babel/locale-data/byn_ER.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/byn_ER.dat', + 'DATA'), + ('babel/locale-data/guz_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/guz_KE.dat', + 'DATA'), + ('babel/locale-data/en_PK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PK.dat', + 'DATA'), + ('babel/locale-data/lmo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lmo.dat', + 'DATA'), + ('babel/locale-data/ml_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ml_IN.dat', + 'DATA'), + ('babel/locale-data/da_GL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/da_GL.dat', + 'DATA'), + ('babel/locale-data/fr_WF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_WF.dat', + 'DATA'), + ('babel/locale-data/ar_KM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_KM.dat', + 'DATA'), + ('babel/locale-data/pt_AO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_AO.dat', + 'DATA'), + ('babel/locale-data/ceb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ceb.dat', + 'DATA'), + ('babel/locale-data/be_TARASK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/be_TARASK.dat', + 'DATA'), + ('babel/locale-data/ms_Arab_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab_MY.dat', + 'DATA'), + ('babel/locale-data/pt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt.dat', + 'DATA'), + ('babel/locale-data/ku.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ku.dat', + 'DATA'), + ('babel/locale-data/en_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_FI.dat', + 'DATA'), + ('babel/locale-data/he_IL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/he_IL.dat', + 'DATA'), + ('babel/locale-data/sat_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Deva.dat', + 'DATA'), + ('babel/locale-data/vun.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vun.dat', + 'DATA'), + ('babel/locale-data/lij.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lij.dat', + 'DATA'), + ('babel/locale-data/as.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/as.dat', + 'DATA'), + ('babel/locale-data/chr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/chr.dat', + 'DATA'), + ('babel/locale-data/trw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/trw.dat', + 'DATA'), + ('babel/locale-data/km.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/km.dat', + 'DATA'), + ('babel/locale-data/it_VA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_VA.dat', + 'DATA'), + ('babel/locale-data/jbo_001.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jbo_001.dat', + 'DATA'), + ('babel/locale-data/rw.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rw.dat', + 'DATA'), + ('babel/locale-data/uz_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/uz_Arab.dat', + 'DATA'), + ('babel/locale-data/hsb.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hsb.dat', + 'DATA'), + ('babel/locale-data/hnj_Hmnp_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hnj_Hmnp_US.dat', + 'DATA'), + ('babel/locale-data/xnr_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/xnr_IN.dat', + 'DATA'), + ('babel/locale-data/ko_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ko_CN.dat', + 'DATA'), + ('babel/locale-data/dje_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dje_NE.dat', + 'DATA'), + ('babel/locale-data/fr_RE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_RE.dat', + 'DATA'), + ('babel/locale-data/kln_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kln_KE.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_SL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_SL.dat', + 'DATA'), + ('babel/locale-data/csw_CA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/csw_CA.dat', + 'DATA'), + ('babel/locale-data/tpi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tpi.dat', + 'DATA'), + ('babel/locale-data/kn_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kn_IN.dat', + 'DATA'), + ('babel/locale-data/szl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/szl.dat', + 'DATA'), + ('babel/locale-data/ny_MW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ny_MW.dat', + 'DATA'), + ('babel/locale-data/am_ET.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/am_ET.dat', + 'DATA'), + ('babel/locale-data/dz_BT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/dz_BT.dat', + 'DATA'), + ('babel/locale-data/quc_GT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/quc_GT.dat', + 'DATA'), + ('babel/locale-data/ro_MD.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ro_MD.dat', + 'DATA'), + ('babel/locale-data/bgn.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bgn.dat', + 'DATA'), + ('babel/locale-data/gsw_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gsw_CH.dat', + 'DATA'), + ('babel/locale-data/en_PG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_PG.dat', + 'DATA'), + ('babel/locale-data/ebu_KE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ebu_KE.dat', + 'DATA'), + ('babel/locale-data/en_HK.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_HK.dat', + 'DATA'), + ('babel/locale-data/qu.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/qu.dat', + 'DATA'), + ('babel/locale-data/ps_AF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ps_AF.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_CM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_CM.dat', + 'DATA'), + ('babel/locale-data/pcm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pcm.dat', + 'DATA'), + ('babel/locale-data/es_US.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_US.dat', + 'DATA'), + ('babel/locale-data/frr.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/frr.dat', + 'DATA'), + ('babel/locale-data/ve_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ve_ZA.dat', + 'DATA'), + ('babel/locale-data/en_TC.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_TC.dat', + 'DATA'), + ('babel/locale-data/ab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ab.dat', + 'DATA'), + ('babel/locale-data/ff_Latn_GN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Latn_GN.dat', + 'DATA'), + ('babel/locale-data/sd_Deva_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sd_Deva_IN.dat', + 'DATA'), + ('babel/locale-data/yav.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yav.dat', + 'DATA'), + ('babel/locale-data/cs_CZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cs_CZ.dat', + 'DATA'), + ('babel/locale-data/de_LI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/de_LI.dat', + 'DATA'), + ('babel/locale-data/sl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sl.dat', + 'DATA'), + ('babel/locale-data/ar_BH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_BH.dat', + 'DATA'), + ('babel/locale-data/sq_AL.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sq_AL.dat', + 'DATA'), + ('babel/locale-data/yue_Hant.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant.dat', + 'DATA'), + ('babel/locale-data/en_DM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_DM.dat', + 'DATA'), + ('babel/locale-data/sat_Olck.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sat_Olck.dat', + 'DATA'), + ('babel/locale-data/en_KY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_KY.dat', + 'DATA'), + ('babel/locale-data/ln_CF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ln_CF.dat', + 'DATA'), + ('babel/locale-data/zgh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zgh.dat', + 'DATA'), + ('babel/locale-data/ka.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ka.dat', + 'DATA'), + ('babel/locale-data/an.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/an.dat', + 'DATA'), + ('babel/locale-data/ru_KG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ru_KG.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm.dat', + 'DATA'), + ('babel/locale-data/cv_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/cv_RU.dat', + 'DATA'), + ('babel/locale-data/ar_OM.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_OM.dat', + 'DATA'), + ('babel/locale-data/kk_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kk_Arab.dat', + 'DATA'), + ('babel/locale-data/vun_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vun_TZ.dat', + 'DATA'), + ('babel/locale-data/yue_Hant_CN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/yue_Hant_CN.dat', + 'DATA'), + ('babel/locale-data/nv.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nv.dat', + 'DATA'), + ('babel/locale-data/wo_SN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wo_SN.dat', + 'DATA'), + ('babel/locale-data/kok_Deva.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kok_Deva.dat', + 'DATA'), + ('babel/locale-data/es_EA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_EA.dat', + 'DATA'), + ('babel/locale-data/ar_LY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_LY.dat', + 'DATA'), + ('babel/locale-data/fr_MU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MU.dat', + 'DATA'), + ('babel/locale-data/it_CH.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_CH.dat', + 'DATA'), + ('babel/locale-data/fr_BI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_BI.dat', + 'DATA'), + ('babel/locale-data/nl_BQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_BQ.dat', + 'DATA'), + ('babel/locale-data/seh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/seh.dat', + 'DATA'), + ('babel/locale-data/ts_ZA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ts_ZA.dat', + 'DATA'), + ('babel/locale-data/gl.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/gl.dat', + 'DATA'), + ('babel/locale-data/lt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lt.dat', + 'DATA'), + ('babel/locale-data/syr_SY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/syr_SY.dat', + 'DATA'), + ('babel/locale-data/en_WS.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_WS.dat', + 'DATA'), + ('babel/locale-data/ms.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms.dat', + 'DATA'), + ('babel/locale-data/ckb_IQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ckb_IQ.dat', + 'DATA'), + ('babel/locale-data/sma.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sma.dat', + 'DATA'), + ('babel/locale-data/vai_Vaii.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vai_Vaii.dat', + 'DATA'), + ('babel/locale-data/apc.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/apc.dat', + 'DATA'), + ('babel/locale-data/it_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/it_IT.dat', + 'DATA'), + ('babel/locale-data/jv_ID.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/jv_ID.dat', + 'DATA'), + ('babel/locale-data/fr_GQ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GQ.dat', + 'DATA'), + ('babel/locale-data/zh_Hans.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hans.dat', + 'DATA'), + ('babel/locale-data/pt_ST.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/pt_ST.dat', + 'DATA'), + ('babel/locale-data/ses.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ses.dat', + 'DATA'), + ('babel/locale-data/hu_HU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/hu_HU.dat', + 'DATA'), + ('babel/locale-data/fr_GP.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_GP.dat', + 'DATA'), + ('babel/locale-data/en_HU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_HU.dat', + 'DATA'), + ('babel/locale-data/agq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/agq.dat', + 'DATA'), + ('babel/locale-data/af.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/af.dat', + 'DATA'), + ('babel/locale-data/nl_SX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_SX.dat', + 'DATA'), + ('babel/locale-data/wbp.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/wbp.dat', + 'DATA'), + ('babel/locale-data/ha_NG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ha_NG.dat', + 'DATA'), + ('babel/locale-data/fr_MF.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MF.dat', + 'DATA'), + ('babel/locale-data/sc_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sc_IT.dat', + 'DATA'), + ('babel/locale-data/vi.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vi.dat', + 'DATA'), + ('babel/locale-data/rwk_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/rwk_TZ.dat', + 'DATA'), + ('babel/locale-data/bho_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bho_IN.dat', + 'DATA'), + ('babel/locale-data/blt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blt.dat', + 'DATA'), + ('babel/locale-data/vo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/vo.dat', + 'DATA'), + ('babel/locale-data/en_CX.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_CX.dat', + 'DATA'), + ('babel/locale-data/ar_QA.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ar_QA.dat', + 'DATA'), + ('babel/locale-data/blo.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/blo.dat', + 'DATA'), + ('babel/locale-data/ff_Adlm_MR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ff_Adlm_MR.dat', + 'DATA'), + ('babel/locale-data/mer.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mer.dat', + 'DATA'), + ('babel/locale-data/ms_Arab.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ms_Arab.dat', + 'DATA'), + ('babel/locale-data/en_MW.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_MW.dat', + 'DATA'), + ('babel/locale-data/ta_MY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ta_MY.dat', + 'DATA'), + ('babel/locale-data/mgh_MZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mgh_MZ.dat', + 'DATA'), + ('babel/locale-data/zh_Hant.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant.dat', + 'DATA'), + ('babel/locale-data/ga_IE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ga_IE.dat', + 'DATA'), + ('babel/locale-data/lij_IT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lij_IT.dat', + 'DATA'), + ('babel/locale-data/saq.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/saq.dat', + 'DATA'), + ('babel/locale-data/ca_FR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/ca_FR.dat', + 'DATA'), + ('babel/locale-data/kde_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/kde_TZ.dat', + 'DATA'), + ('babel/locale-data/bez_TZ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bez_TZ.dat', + 'DATA'), + ('babel/locale-data/fr_MG.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_MG.dat', + 'DATA'), + ('babel/locale-data/lkt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/lkt.dat', + 'DATA'), + ('babel/locale-data/twq_NE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/twq_NE.dat', + 'DATA'), + ('babel/locale-data/tt_RU.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/tt_RU.dat', + 'DATA'), + ('babel/locale-data/bho.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/bho.dat', + 'DATA'), + ('babel/locale-data/es_AR.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/es_AR.dat', + 'DATA'), + ('babel/locale-data/en_AE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/en_AE.dat', + 'DATA'), + ('babel/locale-data/el_CY.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/el_CY.dat', + 'DATA'), + ('babel/locale-data/sms_FI.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/sms_FI.dat', + 'DATA'), + ('babel/locale-data/nl_BE.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/nl_BE.dat', + 'DATA'), + ('babel/locale-data/mt.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mt.dat', + 'DATA'), + ('babel/locale-data/so_DJ.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/so_DJ.dat', + 'DATA'), + ('babel/locale-data/mni_Beng_IN.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/mni_Beng_IN.dat', + 'DATA'), + ('babel/locale-data/moh.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/moh.dat', + 'DATA'), + ('babel/locale-data/zh_Hant_MO.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/zh_Hant_MO.dat', + 'DATA'), + ('babel/locale-data/fr_YT.dat', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/locale-data/fr_YT.dat', + 'DATA'), + ('base_library.zip', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/base_library.zip', + 'DATA')], + 'libpython3.12.so.1.0', + False, + False, + False, + [], + None, + None, + None) diff --git a/moneyed/build/test5/PYZ-00.toc b/moneyed/build/test5/PYZ-00.toc new file mode 100644 index 0000000000000000000000000000000000000000..071260f0c2eab65a5ac9e940b0d434804004e7fd --- /dev/null +++ b/moneyed/build/test5/PYZ-00.toc @@ -0,0 +1,388 @@ +('/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/RepoArena/dataset/moneyed/build/test5/PYZ-00.pyz', + [('__future__', '/usr/lib/python3.12/__future__.py', 'PYMODULE'), + ('_aix_support', '/usr/lib/python3.12/_aix_support.py', 'PYMODULE'), + ('_compat_pickle', '/usr/lib/python3.12/_compat_pickle.py', 'PYMODULE'), + ('_compression', '/usr/lib/python3.12/_compression.py', 'PYMODULE'), + ('_py_abc', '/usr/lib/python3.12/_py_abc.py', 'PYMODULE'), + ('_pydatetime', '/usr/lib/python3.12/_pydatetime.py', 'PYMODULE'), + ('_pydecimal', '/usr/lib/python3.12/_pydecimal.py', 'PYMODULE'), + ('_strptime', '/usr/lib/python3.12/_strptime.py', 'PYMODULE'), + ('_sysconfigdata__x86_64-linux-gnu', + '/usr/lib/python3.12/_sysconfigdata__x86_64-linux-gnu.py', + 'PYMODULE'), + ('_threading_local', '/usr/lib/python3.12/_threading_local.py', 'PYMODULE'), + ('argparse', '/usr/lib/python3.12/argparse.py', 'PYMODULE'), + ('ast', '/usr/lib/python3.12/ast.py', 'PYMODULE'), + ('asyncio', '/usr/lib/python3.12/asyncio/__init__.py', 'PYMODULE'), + ('asyncio.base_events', + '/usr/lib/python3.12/asyncio/base_events.py', + 'PYMODULE'), + ('asyncio.base_futures', + '/usr/lib/python3.12/asyncio/base_futures.py', + 'PYMODULE'), + ('asyncio.base_subprocess', + '/usr/lib/python3.12/asyncio/base_subprocess.py', + 'PYMODULE'), + ('asyncio.base_tasks', + '/usr/lib/python3.12/asyncio/base_tasks.py', + 'PYMODULE'), + ('asyncio.constants', '/usr/lib/python3.12/asyncio/constants.py', 'PYMODULE'), + ('asyncio.coroutines', + '/usr/lib/python3.12/asyncio/coroutines.py', + 'PYMODULE'), + ('asyncio.events', '/usr/lib/python3.12/asyncio/events.py', 'PYMODULE'), + ('asyncio.exceptions', + '/usr/lib/python3.12/asyncio/exceptions.py', + 'PYMODULE'), + ('asyncio.format_helpers', + '/usr/lib/python3.12/asyncio/format_helpers.py', + 'PYMODULE'), + ('asyncio.futures', '/usr/lib/python3.12/asyncio/futures.py', 'PYMODULE'), + ('asyncio.locks', '/usr/lib/python3.12/asyncio/locks.py', 'PYMODULE'), + ('asyncio.log', '/usr/lib/python3.12/asyncio/log.py', 'PYMODULE'), + ('asyncio.mixins', '/usr/lib/python3.12/asyncio/mixins.py', 'PYMODULE'), + ('asyncio.proactor_events', + '/usr/lib/python3.12/asyncio/proactor_events.py', + 'PYMODULE'), + ('asyncio.protocols', '/usr/lib/python3.12/asyncio/protocols.py', 'PYMODULE'), + ('asyncio.queues', '/usr/lib/python3.12/asyncio/queues.py', 'PYMODULE'), + ('asyncio.runners', '/usr/lib/python3.12/asyncio/runners.py', 'PYMODULE'), + ('asyncio.selector_events', + '/usr/lib/python3.12/asyncio/selector_events.py', + 'PYMODULE'), + ('asyncio.sslproto', '/usr/lib/python3.12/asyncio/sslproto.py', 'PYMODULE'), + ('asyncio.staggered', '/usr/lib/python3.12/asyncio/staggered.py', 'PYMODULE'), + ('asyncio.streams', '/usr/lib/python3.12/asyncio/streams.py', 'PYMODULE'), + ('asyncio.subprocess', + '/usr/lib/python3.12/asyncio/subprocess.py', + 'PYMODULE'), + ('asyncio.taskgroups', + '/usr/lib/python3.12/asyncio/taskgroups.py', + 'PYMODULE'), + ('asyncio.tasks', '/usr/lib/python3.12/asyncio/tasks.py', 'PYMODULE'), + ('asyncio.threads', '/usr/lib/python3.12/asyncio/threads.py', 'PYMODULE'), + ('asyncio.timeouts', '/usr/lib/python3.12/asyncio/timeouts.py', 'PYMODULE'), + ('asyncio.transports', + '/usr/lib/python3.12/asyncio/transports.py', + 'PYMODULE'), + ('asyncio.trsock', '/usr/lib/python3.12/asyncio/trsock.py', 'PYMODULE'), + ('asyncio.unix_events', + '/usr/lib/python3.12/asyncio/unix_events.py', + 'PYMODULE'), + ('asyncio.windows_events', + '/usr/lib/python3.12/asyncio/windows_events.py', + 'PYMODULE'), + ('asyncio.windows_utils', + '/usr/lib/python3.12/asyncio/windows_utils.py', + 'PYMODULE'), + ('babel', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/__init__.py', + 'PYMODULE'), + ('babel.core', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/core.py', + 'PYMODULE'), + ('babel.dates', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/dates.py', + 'PYMODULE'), + ('babel.localedata', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localedata.py', + 'PYMODULE'), + ('babel.localtime', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/__init__.py', + 'PYMODULE'), + ('babel.localtime._fallback', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/_fallback.py', + 'PYMODULE'), + ('babel.localtime._helpers', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/_helpers.py', + 'PYMODULE'), + ('babel.localtime._unix', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/_unix.py', + 'PYMODULE'), + ('babel.localtime._win32', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/localtime/_win32.py', + 'PYMODULE'), + ('babel.numbers', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/numbers.py', + 'PYMODULE'), + ('babel.plural', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/babel/plural.py', + 'PYMODULE'), + ('base64', '/usr/lib/python3.12/base64.py', 'PYMODULE'), + ('bisect', '/usr/lib/python3.12/bisect.py', 'PYMODULE'), + ('bz2', '/usr/lib/python3.12/bz2.py', 'PYMODULE'), + ('calendar', '/usr/lib/python3.12/calendar.py', 'PYMODULE'), + ('concurrent', '/usr/lib/python3.12/concurrent/__init__.py', 'PYMODULE'), + ('concurrent.futures', + '/usr/lib/python3.12/concurrent/futures/__init__.py', + 'PYMODULE'), + ('concurrent.futures._base', + '/usr/lib/python3.12/concurrent/futures/_base.py', + 'PYMODULE'), + ('concurrent.futures.process', + '/usr/lib/python3.12/concurrent/futures/process.py', + 'PYMODULE'), + ('concurrent.futures.thread', + '/usr/lib/python3.12/concurrent/futures/thread.py', + 'PYMODULE'), + ('contextlib', '/usr/lib/python3.12/contextlib.py', 'PYMODULE'), + ('contextvars', '/usr/lib/python3.12/contextvars.py', 'PYMODULE'), + ('copy', '/usr/lib/python3.12/copy.py', 'PYMODULE'), + ('csv', '/usr/lib/python3.12/csv.py', 'PYMODULE'), + ('ctypes', '/usr/lib/python3.12/ctypes/__init__.py', 'PYMODULE'), + ('ctypes._endian', '/usr/lib/python3.12/ctypes/_endian.py', 'PYMODULE'), + ('dataclasses', '/usr/lib/python3.12/dataclasses.py', 'PYMODULE'), + ('datetime', '/usr/lib/python3.12/datetime.py', 'PYMODULE'), + ('decimal', '/usr/lib/python3.12/decimal.py', 'PYMODULE'), + ('dis', '/usr/lib/python3.12/dis.py', 'PYMODULE'), + ('email', '/usr/lib/python3.12/email/__init__.py', 'PYMODULE'), + ('email._encoded_words', + '/usr/lib/python3.12/email/_encoded_words.py', + 'PYMODULE'), + ('email._header_value_parser', + '/usr/lib/python3.12/email/_header_value_parser.py', + 'PYMODULE'), + ('email._parseaddr', '/usr/lib/python3.12/email/_parseaddr.py', 'PYMODULE'), + ('email._policybase', '/usr/lib/python3.12/email/_policybase.py', 'PYMODULE'), + ('email.base64mime', '/usr/lib/python3.12/email/base64mime.py', 'PYMODULE'), + ('email.charset', '/usr/lib/python3.12/email/charset.py', 'PYMODULE'), + ('email.contentmanager', + '/usr/lib/python3.12/email/contentmanager.py', + 'PYMODULE'), + ('email.encoders', '/usr/lib/python3.12/email/encoders.py', 'PYMODULE'), + ('email.errors', '/usr/lib/python3.12/email/errors.py', 'PYMODULE'), + ('email.feedparser', '/usr/lib/python3.12/email/feedparser.py', 'PYMODULE'), + ('email.generator', '/usr/lib/python3.12/email/generator.py', 'PYMODULE'), + ('email.header', '/usr/lib/python3.12/email/header.py', 'PYMODULE'), + ('email.headerregistry', + '/usr/lib/python3.12/email/headerregistry.py', + 'PYMODULE'), + ('email.iterators', '/usr/lib/python3.12/email/iterators.py', 'PYMODULE'), + ('email.message', '/usr/lib/python3.12/email/message.py', 'PYMODULE'), + ('email.parser', '/usr/lib/python3.12/email/parser.py', 'PYMODULE'), + ('email.policy', '/usr/lib/python3.12/email/policy.py', 'PYMODULE'), + ('email.quoprimime', '/usr/lib/python3.12/email/quoprimime.py', 'PYMODULE'), + ('email.utils', '/usr/lib/python3.12/email/utils.py', 'PYMODULE'), + ('fnmatch', '/usr/lib/python3.12/fnmatch.py', 'PYMODULE'), + ('fractions', '/usr/lib/python3.12/fractions.py', 'PYMODULE'), + ('ftplib', '/usr/lib/python3.12/ftplib.py', 'PYMODULE'), + ('getopt', '/usr/lib/python3.12/getopt.py', 'PYMODULE'), + ('getpass', '/usr/lib/python3.12/getpass.py', 'PYMODULE'), + ('gettext', '/usr/lib/python3.12/gettext.py', 'PYMODULE'), + ('gzip', '/usr/lib/python3.12/gzip.py', 'PYMODULE'), + ('hashlib', '/usr/lib/python3.12/hashlib.py', 'PYMODULE'), + ('hmac', '/usr/lib/python3.12/hmac.py', 'PYMODULE'), + ('http', '/usr/lib/python3.12/http/__init__.py', 'PYMODULE'), + ('http.client', '/usr/lib/python3.12/http/client.py', 'PYMODULE'), + ('http.cookiejar', '/usr/lib/python3.12/http/cookiejar.py', 'PYMODULE'), + ('importlib', '/usr/lib/python3.12/importlib/__init__.py', 'PYMODULE'), + ('importlib._abc', '/usr/lib/python3.12/importlib/_abc.py', 'PYMODULE'), + ('importlib._bootstrap', + '/usr/lib/python3.12/importlib/_bootstrap.py', + 'PYMODULE'), + ('importlib._bootstrap_external', + '/usr/lib/python3.12/importlib/_bootstrap_external.py', + 'PYMODULE'), + ('importlib.abc', '/usr/lib/python3.12/importlib/abc.py', 'PYMODULE'), + ('importlib.machinery', + '/usr/lib/python3.12/importlib/machinery.py', + 'PYMODULE'), + ('importlib.metadata', + '/usr/lib/python3.12/importlib/metadata/__init__.py', + 'PYMODULE'), + ('importlib.metadata._adapters', + '/usr/lib/python3.12/importlib/metadata/_adapters.py', + 'PYMODULE'), + ('importlib.metadata._collections', + '/usr/lib/python3.12/importlib/metadata/_collections.py', + 'PYMODULE'), + ('importlib.metadata._functools', + '/usr/lib/python3.12/importlib/metadata/_functools.py', + 'PYMODULE'), + ('importlib.metadata._itertools', + '/usr/lib/python3.12/importlib/metadata/_itertools.py', + 'PYMODULE'), + ('importlib.metadata._meta', + '/usr/lib/python3.12/importlib/metadata/_meta.py', + 'PYMODULE'), + ('importlib.metadata._text', + '/usr/lib/python3.12/importlib/metadata/_text.py', + 'PYMODULE'), + ('importlib.readers', '/usr/lib/python3.12/importlib/readers.py', 'PYMODULE'), + ('importlib.resources', + '/usr/lib/python3.12/importlib/resources/__init__.py', + 'PYMODULE'), + ('importlib.resources._adapters', + '/usr/lib/python3.12/importlib/resources/_adapters.py', + 'PYMODULE'), + ('importlib.resources._common', + '/usr/lib/python3.12/importlib/resources/_common.py', + 'PYMODULE'), + ('importlib.resources._itertools', + '/usr/lib/python3.12/importlib/resources/_itertools.py', + 'PYMODULE'), + ('importlib.resources._legacy', + '/usr/lib/python3.12/importlib/resources/_legacy.py', + 'PYMODULE'), + ('importlib.resources.abc', + '/usr/lib/python3.12/importlib/resources/abc.py', + 'PYMODULE'), + ('importlib.resources.readers', + '/usr/lib/python3.12/importlib/resources/readers.py', + 'PYMODULE'), + ('importlib.util', '/usr/lib/python3.12/importlib/util.py', 'PYMODULE'), + ('inspect', '/usr/lib/python3.12/inspect.py', 'PYMODULE'), + ('ipaddress', '/usr/lib/python3.12/ipaddress.py', 'PYMODULE'), + ('logging', '/usr/lib/python3.12/logging/__init__.py', 'PYMODULE'), + ('lzma', '/usr/lib/python3.12/lzma.py', 'PYMODULE'), + ('mimetypes', '/usr/lib/python3.12/mimetypes.py', 'PYMODULE'), + ('moneyed', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/moneyed/__init__.py', + 'PYMODULE'), + ('moneyed.classes', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/moneyed/classes.py', + 'PYMODULE'), + ('moneyed.l10n', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/moneyed/l10n.py', + 'PYMODULE'), + ('moneyed.utils', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/moneyed/utils.py', + 'PYMODULE'), + ('multiprocessing', + '/usr/lib/python3.12/multiprocessing/__init__.py', + 'PYMODULE'), + ('multiprocessing.connection', + '/usr/lib/python3.12/multiprocessing/connection.py', + 'PYMODULE'), + ('multiprocessing.context', + '/usr/lib/python3.12/multiprocessing/context.py', + 'PYMODULE'), + ('multiprocessing.dummy', + '/usr/lib/python3.12/multiprocessing/dummy/__init__.py', + 'PYMODULE'), + ('multiprocessing.dummy.connection', + '/usr/lib/python3.12/multiprocessing/dummy/connection.py', + 'PYMODULE'), + ('multiprocessing.forkserver', + '/usr/lib/python3.12/multiprocessing/forkserver.py', + 'PYMODULE'), + ('multiprocessing.heap', + '/usr/lib/python3.12/multiprocessing/heap.py', + 'PYMODULE'), + ('multiprocessing.managers', + '/usr/lib/python3.12/multiprocessing/managers.py', + 'PYMODULE'), + ('multiprocessing.pool', + '/usr/lib/python3.12/multiprocessing/pool.py', + 'PYMODULE'), + ('multiprocessing.popen_fork', + '/usr/lib/python3.12/multiprocessing/popen_fork.py', + 'PYMODULE'), + ('multiprocessing.popen_forkserver', + '/usr/lib/python3.12/multiprocessing/popen_forkserver.py', + 'PYMODULE'), + ('multiprocessing.popen_spawn_posix', + '/usr/lib/python3.12/multiprocessing/popen_spawn_posix.py', + 'PYMODULE'), + ('multiprocessing.popen_spawn_win32', + '/usr/lib/python3.12/multiprocessing/popen_spawn_win32.py', + 'PYMODULE'), + ('multiprocessing.process', + '/usr/lib/python3.12/multiprocessing/process.py', + 'PYMODULE'), + ('multiprocessing.queues', + '/usr/lib/python3.12/multiprocessing/queues.py', + 'PYMODULE'), + ('multiprocessing.reduction', + '/usr/lib/python3.12/multiprocessing/reduction.py', + 'PYMODULE'), + ('multiprocessing.resource_sharer', + '/usr/lib/python3.12/multiprocessing/resource_sharer.py', + 'PYMODULE'), + ('multiprocessing.resource_tracker', + '/usr/lib/python3.12/multiprocessing/resource_tracker.py', + 'PYMODULE'), + ('multiprocessing.shared_memory', + '/usr/lib/python3.12/multiprocessing/shared_memory.py', + 'PYMODULE'), + ('multiprocessing.sharedctypes', + '/usr/lib/python3.12/multiprocessing/sharedctypes.py', + 'PYMODULE'), + ('multiprocessing.spawn', + '/usr/lib/python3.12/multiprocessing/spawn.py', + 'PYMODULE'), + ('multiprocessing.synchronize', + '/usr/lib/python3.12/multiprocessing/synchronize.py', + 'PYMODULE'), + ('multiprocessing.util', + '/usr/lib/python3.12/multiprocessing/util.py', + 'PYMODULE'), + ('netrc', '/usr/lib/python3.12/netrc.py', 'PYMODULE'), + ('nturl2path', '/usr/lib/python3.12/nturl2path.py', 'PYMODULE'), + ('numbers', '/usr/lib/python3.12/numbers.py', 'PYMODULE'), + ('opcode', '/usr/lib/python3.12/opcode.py', 'PYMODULE'), + ('pathlib', '/usr/lib/python3.12/pathlib.py', 'PYMODULE'), + ('pickle', '/usr/lib/python3.12/pickle.py', 'PYMODULE'), + ('pkgutil', '/usr/lib/python3.12/pkgutil.py', 'PYMODULE'), + ('pprint', '/usr/lib/python3.12/pprint.py', 'PYMODULE'), + ('py_compile', '/usr/lib/python3.12/py_compile.py', 'PYMODULE'), + ('queue', '/usr/lib/python3.12/queue.py', 'PYMODULE'), + ('quopri', '/usr/lib/python3.12/quopri.py', 'PYMODULE'), + ('random', '/usr/lib/python3.12/random.py', 'PYMODULE'), + ('runpy', '/usr/lib/python3.12/runpy.py', 'PYMODULE'), + ('secrets', '/usr/lib/python3.12/secrets.py', 'PYMODULE'), + ('selectors', '/usr/lib/python3.12/selectors.py', 'PYMODULE'), + ('shutil', '/usr/lib/python3.12/shutil.py', 'PYMODULE'), + ('signal', '/usr/lib/python3.12/signal.py', 'PYMODULE'), + ('socket', '/usr/lib/python3.12/socket.py', 'PYMODULE'), + ('ssl', '/usr/lib/python3.12/ssl.py', 'PYMODULE'), + ('statistics', '/usr/lib/python3.12/statistics.py', 'PYMODULE'), + ('string', '/usr/lib/python3.12/string.py', 'PYMODULE'), + ('stringprep', '/usr/lib/python3.12/stringprep.py', 'PYMODULE'), + ('subprocess', '/usr/lib/python3.12/subprocess.py', 'PYMODULE'), + ('sysconfig', '/usr/lib/python3.12/sysconfig.py', 'PYMODULE'), + ('tarfile', '/usr/lib/python3.12/tarfile.py', 'PYMODULE'), + ('tempfile', '/usr/lib/python3.12/tempfile.py', 'PYMODULE'), + ('textwrap', '/usr/lib/python3.12/textwrap.py', 'PYMODULE'), + ('threading', '/usr/lib/python3.12/threading.py', 'PYMODULE'), + ('token', '/usr/lib/python3.12/token.py', 'PYMODULE'), + ('tokenize', '/usr/lib/python3.12/tokenize.py', 'PYMODULE'), + ('tracemalloc', '/usr/lib/python3.12/tracemalloc.py', 'PYMODULE'), + ('typing', '/usr/lib/python3.12/typing.py', 'PYMODULE'), + ('typing_extensions', + '/root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/typing_extensions.py', + 'PYMODULE'), + ('urllib', '/usr/lib/python3.12/urllib/__init__.py', 'PYMODULE'), + ('urllib.error', '/usr/lib/python3.12/urllib/error.py', 'PYMODULE'), + ('urllib.parse', '/usr/lib/python3.12/urllib/parse.py', 'PYMODULE'), + ('urllib.request', '/usr/lib/python3.12/urllib/request.py', 'PYMODULE'), + ('urllib.response', '/usr/lib/python3.12/urllib/response.py', 'PYMODULE'), + ('xml', '/usr/lib/python3.12/xml/__init__.py', 'PYMODULE'), + ('xml.parsers', '/usr/lib/python3.12/xml/parsers/__init__.py', 'PYMODULE'), + ('xml.parsers.expat', '/usr/lib/python3.12/xml/parsers/expat.py', 'PYMODULE'), + ('xml.sax', '/usr/lib/python3.12/xml/sax/__init__.py', 'PYMODULE'), + ('xml.sax._exceptions', + '/usr/lib/python3.12/xml/sax/_exceptions.py', + 'PYMODULE'), + ('xml.sax.expatreader', + '/usr/lib/python3.12/xml/sax/expatreader.py', + 'PYMODULE'), + ('xml.sax.handler', '/usr/lib/python3.12/xml/sax/handler.py', 'PYMODULE'), + ('xml.sax.saxutils', '/usr/lib/python3.12/xml/sax/saxutils.py', 'PYMODULE'), + ('xml.sax.xmlreader', '/usr/lib/python3.12/xml/sax/xmlreader.py', 'PYMODULE'), + ('xmlrpc', '/usr/lib/python3.12/xmlrpc/__init__.py', 'PYMODULE'), + ('xmlrpc.client', '/usr/lib/python3.12/xmlrpc/client.py', 'PYMODULE'), + ('zipfile', '/usr/lib/python3.12/zipfile/__init__.py', 'PYMODULE'), + ('zipfile._path', + '/usr/lib/python3.12/zipfile/_path/__init__.py', + 'PYMODULE'), + ('zipfile._path.glob', + '/usr/lib/python3.12/zipfile/_path/glob.py', + 'PYMODULE'), + ('zipimport', '/usr/lib/python3.12/zipimport.py', 'PYMODULE'), + ('zoneinfo', '/usr/lib/python3.12/zoneinfo/__init__.py', 'PYMODULE'), + ('zoneinfo._common', '/usr/lib/python3.12/zoneinfo/_common.py', 'PYMODULE'), + ('zoneinfo._tzpath', '/usr/lib/python3.12/zoneinfo/_tzpath.py', 'PYMODULE'), + ('zoneinfo._zoneinfo', + '/usr/lib/python3.12/zoneinfo/_zoneinfo.py', + 'PYMODULE')]) diff --git a/moneyed/build/test5/localpycs/pyimod01_archive.pyc b/moneyed/build/test5/localpycs/pyimod01_archive.pyc new file mode 100644 index 0000000000000000000000000000000000000000..217c11105c1e2a8a9f0293b57de6ba0097565f72 Binary files /dev/null and b/moneyed/build/test5/localpycs/pyimod01_archive.pyc differ diff --git a/moneyed/build/test5/localpycs/pyimod02_importers.pyc b/moneyed/build/test5/localpycs/pyimod02_importers.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5c87b88b447c9e120632edf4416b25bed69c0bf3 Binary files /dev/null and b/moneyed/build/test5/localpycs/pyimod02_importers.pyc differ diff --git a/moneyed/build/test5/localpycs/pyimod03_ctypes.pyc b/moneyed/build/test5/localpycs/pyimod03_ctypes.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f58c2296e34601eacd2f6148598d478bebcb867c Binary files /dev/null and b/moneyed/build/test5/localpycs/pyimod03_ctypes.pyc differ diff --git a/moneyed/build/test5/localpycs/struct.pyc b/moneyed/build/test5/localpycs/struct.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ddc45c8da0637e0ddfcd2e0236aa5fca1723c3ed Binary files /dev/null and b/moneyed/build/test5/localpycs/struct.pyc differ diff --git a/moneyed/build/test5/warn-test5.txt b/moneyed/build/test5/warn-test5.txt new file mode 100644 index 0000000000000000000000000000000000000000..7a91f78af0134285828d0344ff2e68ba0bf2d4d8 --- /dev/null +++ b/moneyed/build/test5/warn-test5.txt @@ -0,0 +1,34 @@ + +This file lists modules PyInstaller was not able to find. This does not +necessarily mean these modules are required for running your program. Both +Python's standard library and 3rd-party Python packages often conditionally +import optional modules, some of which may be available only on certain +platforms. + +Types of import: +* top-level: imported at the top-level - look at these first +* conditional: imported within an if-statement +* delayed: imported within a function +* optional: imported within a try-except-statement + +IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for + tracking down the missing module yourself. Thanks! + +missing module named _winapi - imported by encodings (delayed, conditional, optional), ntpath (optional), shutil (conditional), subprocess (conditional), multiprocessing.connection (optional), multiprocessing.spawn (delayed, conditional), multiprocessing.reduction (conditional), multiprocessing.shared_memory (conditional), multiprocessing.heap (conditional), multiprocessing.popen_spawn_win32 (top-level), asyncio.windows_events (top-level), asyncio.windows_utils (top-level), mimetypes (optional) +missing module named msvcrt - imported by subprocess (optional), multiprocessing.spawn (delayed, conditional), multiprocessing.popen_spawn_win32 (top-level), asyncio.windows_events (top-level), asyncio.windows_utils (top-level), getpass (optional) +missing module named winreg - imported by importlib._bootstrap_external (conditional), mimetypes (optional), urllib.request (delayed, conditional, optional), babel.localtime._win32 (optional) +missing module named _scproxy - imported by urllib.request (conditional) +missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level) +missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level) +missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level) +excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level) +missing module named nt - imported by os (delayed, conditional, optional), ntpath (optional), shutil (conditional), importlib._bootstrap_external (conditional), ctypes (delayed, conditional) +missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level) +missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level) +missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level) +missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level) +missing module named pyimod02_importers - imported by /root/codes/baidu_personal-code_self-verify-rl/baidu/personal-code/self-verify-rl/venv/lib/python3.12/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py (delayed) +missing module named _overlapped - imported by asyncio.windows_events (top-level) +missing module named asyncio.DefaultEventLoopPolicy - imported by asyncio (delayed, conditional), asyncio.events (delayed, conditional) +missing module named annotationlib - imported by typing_extensions (conditional) +missing module named pytz - imported by babel.dates (optional), babel.localtime._helpers (optional) diff --git a/moneyed/build/test5/xref-test5.html b/moneyed/build/test5/xref-test5.html new file mode 100644 index 0000000000000000000000000000000000000000..6c0d7182448bc7856d7934362974a3a23ea0d209 --- /dev/null +++ b/moneyed/build/test5/xref-test5.html @@ -0,0 +1,11025 @@ + + + + + modulegraph cross reference for pyi_rth_inspect.py, pyi_rth_multiprocessing.py, pyi_rth_pkgutil.py, test5.py + + + +

modulegraph cross reference for pyi_rth_inspect.py, pyi_rth_multiprocessing.py, pyi_rth_pkgutil.py, test5.py

+ +
+ + pyi_rth_inspect.py +Script
+imports: + inspect + • os + • sys + • zipfile + +
+
+imported by: + test5.py + +
+ +
+ +
+ + pyi_rth_multiprocessing.py +Script
+imports: + multiprocessing + • multiprocessing.spawn + • subprocess + • sys + +
+
+imported by: + test5.py + +
+ +
+ +
+ + pyi_rth_pkgutil.py +Script
+imports: + pkgutil + • pyimod02_importers + +
+
+imported by: + test5.py + +
+ +
+ +
+ + test5.py +Script
+imports: + _collections_abc + • _weakrefset + • abc + • argparse + • codecs + • collections + • collections.abc + • copyreg + • encodings + • encodings.aliases + • encodings.ascii + • encodings.base64_codec + • encodings.big5 + • encodings.big5hkscs + • encodings.bz2_codec + • encodings.charmap + • encodings.cp037 + • encodings.cp1006 + • encodings.cp1026 + • encodings.cp1125 + • encodings.cp1140 + • encodings.cp1250 + • encodings.cp1251 + • encodings.cp1252 + • encodings.cp1253 + • encodings.cp1254 + • encodings.cp1255 + • encodings.cp1256 + • encodings.cp1257 + • encodings.cp1258 + • encodings.cp273 + • encodings.cp424 + • encodings.cp437 + • encodings.cp500 + • encodings.cp720 + • encodings.cp737 + • encodings.cp775 + • encodings.cp850 + • encodings.cp852 + • encodings.cp855 + • encodings.cp856 + • encodings.cp857 + • encodings.cp858 + • encodings.cp860 + • encodings.cp861 + • encodings.cp862 + • encodings.cp863 + • encodings.cp864 + • encodings.cp865 + • encodings.cp866 + • encodings.cp869 + • encodings.cp874 + • encodings.cp875 + • encodings.cp932 + • encodings.cp949 + • encodings.cp950 + • encodings.euc_jis_2004 + • encodings.euc_jisx0213 + • encodings.euc_jp + • encodings.euc_kr + • encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hex_codec + • encodings.hp_roman8 + • encodings.hz + • encodings.idna + • encodings.iso2022_jp + • encodings.iso2022_jp_1 + • encodings.iso2022_jp_2 + • encodings.iso2022_jp_2004 + • encodings.iso2022_jp_3 + • encodings.iso2022_jp_ext + • encodings.iso2022_kr + • encodings.iso8859_1 + • encodings.iso8859_10 + • encodings.iso8859_11 + • encodings.iso8859_13 + • encodings.iso8859_14 + • encodings.iso8859_15 + • encodings.iso8859_16 + • encodings.iso8859_2 + • encodings.iso8859_3 + • encodings.iso8859_4 + • encodings.iso8859_5 + • encodings.iso8859_6 + • encodings.iso8859_7 + • encodings.iso8859_8 + • encodings.iso8859_9 + • encodings.johab + • encodings.koi8_r + • encodings.koi8_t + • encodings.koi8_u + • encodings.kz1048 + • encodings.latin_1 + • encodings.mac_arabic + • encodings.mac_croatian + • encodings.mac_cyrillic + • encodings.mac_farsi + • encodings.mac_greek + • encodings.mac_iceland + • encodings.mac_latin2 + • encodings.mac_roman + • encodings.mac_romanian + • encodings.mac_turkish + • encodings.mbcs + • encodings.oem + • encodings.palmos + • encodings.ptcp154 + • encodings.punycode + • encodings.quopri_codec + • encodings.raw_unicode_escape + • encodings.rot_13 + • encodings.shift_jis + • encodings.shift_jis_2004 + • encodings.shift_jisx0213 + • encodings.tis_620 + • encodings.undefined + • encodings.unicode_escape + • encodings.utf_16 + • encodings.utf_16_be + • encodings.utf_16_le + • encodings.utf_32 + • encodings.utf_32_be + • encodings.utf_32_le + • encodings.utf_7 + • encodings.utf_8 + • encodings.utf_8_sig + • encodings.uu_codec + • encodings.zlib_codec + • enum + • functools + • genericpath + • heapq + • io + • keyword + • linecache + • locale + • moneyed + • ntpath + • operator + • os + • posixpath + • pyi_rth_inspect.py + • pyi_rth_multiprocessing.py + • pyi_rth_pkgutil.py + • re + • re._casefix + • re._compiler + • re._constants + • re._parser + • reprlib + • sre_compile + • sre_constants + • sre_parse + • stat + • traceback + • types + • warnings + • weakref + +
+ +
+ +
+ + __future__ +SourceModule + +
+ +
+ + _abc (builtin module)
+imported by: + abc + +
+ +
+ +
+ + _aix_support +SourceModule
+imports: + contextlib + • os + • subprocess + • sys + • sysconfig + +
+
+imported by: + sysconfig + +
+ +
+ +
+ + _ast (builtin module)
+imported by: + ast + +
+ +
+ +
+ + _asyncio /usr/lib/python3.12/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so
+imported by: + asyncio.events + • asyncio.futures + • asyncio.tasks + +
+ +
+ +
+ + _bisect (builtin module)
+imported by: + bisect + +
+ +
+ +
+ + _blake2 (builtin module)
+imported by: + hashlib + +
+ +
+ +
+ + _bz2 /usr/lib/python3.12/lib-dynload/_bz2.cpython-312-x86_64-linux-gnu.so
+imported by: + bz2 + +
+ +
+ +
+ + _codecs (builtin module)
+imported by: + codecs + +
+ +
+ +
+ + _codecs_cn /usr/lib/python3.12/lib-dynload/_codecs_cn.cpython-312-x86_64-linux-gnu.so
+imported by: + encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hz + +
+ +
+ +
+ + _codecs_hk /usr/lib/python3.12/lib-dynload/_codecs_hk.cpython-312-x86_64-linux-gnu.so
+imported by: + encodings.big5hkscs + +
+ +
+ +
+ + _codecs_iso2022 /usr/lib/python3.12/lib-dynload/_codecs_iso2022.cpython-312-x86_64-linux-gnu.so + +
+ +
+ + _codecs_jp /usr/lib/python3.12/lib-dynload/_codecs_jp.cpython-312-x86_64-linux-gnu.so + +
+ +
+ + _codecs_kr /usr/lib/python3.12/lib-dynload/_codecs_kr.cpython-312-x86_64-linux-gnu.so
+imported by: + encodings.cp949 + • encodings.euc_kr + • encodings.johab + +
+ +
+ +
+ + _codecs_tw /usr/lib/python3.12/lib-dynload/_codecs_tw.cpython-312-x86_64-linux-gnu.so
+imported by: + encodings.big5 + • encodings.cp950 + +
+ +
+ +
+ + _collections (builtin module)
+imported by: + collections + • threading + +
+ +
+ +
+ + _collections_abc +SourceModule
+imports: + abc + • sys + • warnings + +
+
+imported by: + collections + • collections.abc + • contextlib + • locale + • os + • pathlib + • random + • test5.py + • types + • weakref + +
+ +
+ +
+ + _compat_pickle +SourceModule
+imported by: + _pickle + • pickle + +
+ +
+ +
+ + _compression +SourceModule
+imports: + io + • sys + +
+
+imported by: + bz2 + • gzip + • lzma + +
+ +
+ +
+ + _contextvars /usr/lib/python3.12/lib-dynload/_contextvars.cpython-312-x86_64-linux-gnu.so
+imported by: + contextvars + +
+ +
+ +
+ + _csv (builtin module)
+imported by: + csv + +
+ +
+ +
+ + _ctypes /usr/lib/python3.12/lib-dynload/_ctypes.cpython-312-x86_64-linux-gnu.so
+imported by: + ctypes + +
+ +
+ +
+ + _datetime (builtin module)
+imports: + _strptime + • time + +
+
+imported by: + datetime + +
+ +
+ +
+ + _decimal /usr/lib/python3.12/lib-dynload/_decimal.cpython-312-x86_64-linux-gnu.so
+imported by: + decimal + +
+ +
+ +
+ + _frozen_importlib +ExcludedModule
+imported by: + importlib + • importlib.abc + • zipimport + +
+ +
+ +
+ + _frozen_importlib_external +MissingModule
+imported by: + importlib + • importlib._bootstrap + • importlib.abc + • zipimport + +
+ +
+ +
+ + _functools (builtin module)
+imported by: + functools + +
+ +
+ +
+ + _hashlib /usr/lib/python3.12/lib-dynload/_hashlib.cpython-312-x86_64-linux-gnu.so
+imported by: + hashlib + • hmac + +
+ +
+ +
+ + _heapq (builtin module)
+imported by: + heapq + +
+ +
+ +
+ + _imp (builtin module)
+imported by: + importlib + • importlib._bootstrap_external + • importlib.util + • sysconfig + • zipimport + +
+ +
+ +
+ + _io (builtin module)
+imported by: + importlib._bootstrap_external + • io + • zipimport + +
+ +
+ +
+ + _locale (builtin module)
+imported by: + locale + +
+ +
+ +
+ + _lzma /usr/lib/python3.12/lib-dynload/_lzma.cpython-312-x86_64-linux-gnu.so
+imported by: + lzma + +
+ +
+ +
+ + _md5 (builtin module)
+imported by: + hashlib + +
+ +
+ + + +
+ + _multiprocessing /usr/lib/python3.12/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so + +
+ +
+ + _opcode (builtin module)
+imported by: + opcode + +
+ +
+ +
+ + _operator (builtin module)
+imported by: + hmac + • operator + +
+ +
+ +
+ + _overlapped +MissingModule
+imported by: + asyncio.windows_events + +
+ +
+ +
+ + _pickle (builtin module)
+imports: + _compat_pickle + • codecs + • copyreg + +
+
+imported by: + pickle + +
+ +
+ +
+ + _posixshmem /usr/lib/python3.12/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so + +
+ +
+ + _posixsubprocess (builtin module)
+imports: + gc + +
+
+imported by: + multiprocessing.util + • subprocess + +
+ +
+ +
+ + _py_abc +SourceModule
+imports: + _weakrefset + +
+
+imported by: + abc + +
+ +
+ +
+ + _pydatetime +SourceModule
+imports: + _strptime + • math + • operator + • sys + • time + • warnings + +
+
+imported by: + datetime + +
+ +
+ +
+ + _pydecimal +SourceModule
+imports: + collections + • contextvars + • itertools + • locale + • math + • numbers + • re + • sys + +
+
+imported by: + decimal + +
+ +
+ +
+ + _queue /usr/lib/python3.12/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so
+imported by: + queue + +
+ +
+ +
+ + _random (builtin module)
+imported by: + random + +
+ +
+ +
+ + _scproxy +MissingModule
+imported by: + urllib.request + +
+ +
+ +
+ + _sha1 (builtin module)
+imported by: + hashlib + +
+ +
+ +
+ + _sha2 (builtin module)
+imported by: + hashlib + • random + +
+ +
+ +
+ + _sha3 (builtin module)
+imported by: + hashlib + +
+ +
+ +
+ + _signal (builtin module)
+imported by: + signal + +
+ +
+ +
+ + _socket (builtin module)
+imported by: + socket + • typing_extensions + +
+ +
+ +
+ + _sre (builtin module)
+imports: + copy + • re + +
+
+imported by: + re + • re._compiler + • re._constants + +
+ +
+ +
+ + _ssl /usr/lib/python3.12/lib-dynload/_ssl.cpython-312-x86_64-linux-gnu.so
+imports: + socket + +
+
+imported by: + ssl + +
+ +
+ +
+ + _stat (builtin module)
+imported by: + stat + +
+ +
+ +
+ + _statistics (builtin module)
+imported by: + statistics + +
+ +
+ +
+ + _string (builtin module)
+imported by: + string + +
+ +
+ +
+ + _strptime +SourceModule
+imports: + _thread + • calendar + • datetime + • locale + • re + • time + +
+
+imported by: + _datetime + • _pydatetime + • time + +
+ +
+ +
+ + _struct (builtin module)
+imported by: + struct + +
+ +
+ +
+ + _sysconfigdata__x86_64-linux-gnu +SourceModule
+imported by: + sysconfig + +
+ +
+ +
+ + _thread (builtin module)
+imported by: + _strptime + • dataclasses + • functools + • reprlib + • tempfile + • threading + +
+ +
+ +
+ + _threading_local +SourceModule
+imports: + contextlib + • threading + • weakref + +
+
+imported by: + threading + +
+ +
+ +
+ + _tokenize (builtin module)
+imported by: + tokenize + +
+ +
+ +
+ + _tracemalloc (builtin module)
+imported by: + tracemalloc + +
+ +
+ +
+ + _typing (builtin module)
+imported by: + typing + +
+ +
+ +
+ + _warnings (builtin module)
+imported by: + importlib._bootstrap_external + • warnings + • zipimport + +
+ +
+ +
+ + _weakref (builtin module)
+imported by: + _weakrefset + • collections + • weakref + • xml.sax.expatreader + +
+ +
+ +
+ + _weakrefset +SourceModule
+imports: + _weakref + • types + +
+
+imported by: + _py_abc + • multiprocessing.process + • test5.py + • threading + • weakref + +
+ +
+ + + +
+ + _zoneinfo /usr/lib/python3.12/lib-dynload/_zoneinfo.cpython-312-x86_64-linux-gnu.so
+imported by: + zoneinfo + +
+ +
+ +
+ + abc +SourceModule
+imports: + _abc + • _py_abc + +
+ + +
+ +
+ + annotationlib +MissingModule
+imported by: + typing_extensions + +
+ +
+ +
+ + argparse +SourceModule
+imports: + copy + • gettext + • os + • re + • shutil + • sys + • textwrap + • warnings + +
+
+imported by: + ast + • calendar + • dis + • gzip + • inspect + • py_compile + • tarfile + • test5.py + • tokenize + • zipfile + +
+ +
+ +
+ + array (builtin module) + +
+ +
+ + ast +SourceModule
+imports: + _ast + • argparse + • collections + • contextlib + • enum + • inspect + • re + • sys + • warnings + +
+
+imported by: + inspect + • traceback + +
+ +
+ +
+ + asyncio +Package + + +
+ +
+ + asyncio.DefaultEventLoopPolicy +MissingModule
+imported by: + asyncio + • asyncio.events + +
+ +
+ +
+ + asyncio.base_events +SourceModule
+imports: + asyncio + • asyncio.constants + • asyncio.coroutines + • asyncio.events + • asyncio.exceptions + • asyncio.futures + • asyncio.log + • asyncio.protocols + • asyncio.sslproto + • asyncio.staggered + • asyncio.tasks + • asyncio.timeouts + • asyncio.transports + • asyncio.trsock + • collections + • collections.abc + • concurrent.futures + • errno + • functools + • heapq + • itertools + • os + • socket + • ssl + • stat + • subprocess + • sys + • threading + • time + • traceback + • warnings + • weakref + +
+ + +
+ +
+ + asyncio.base_futures +SourceModule
+imports: + asyncio + • asyncio.format_helpers + • reprlib + +
+
+imported by: + asyncio + • asyncio.base_tasks + • asyncio.futures + +
+ +
+ +
+ + asyncio.base_subprocess +SourceModule
+imports: + asyncio + • asyncio.log + • asyncio.protocols + • asyncio.transports + • collections + • subprocess + • warnings + +
+
+imported by: + asyncio + • asyncio.unix_events + • asyncio.windows_events + +
+ +
+ +
+ + asyncio.base_tasks +SourceModule
+imports: + asyncio + • asyncio.base_futures + • asyncio.coroutines + • linecache + • reprlib + • traceback + +
+
+imported by: + asyncio + • asyncio.tasks + +
+ +
+ +
+ + asyncio.constants +SourceModule
+imports: + asyncio + • enum + +
+ + +
+ +
+ + asyncio.coroutines +SourceModule
+imports: + asyncio + • collections.abc + • inspect + • os + • sys + • types + +
+ + +
+ + + + + +
+ + asyncio.format_helpers +SourceModule
+imports: + asyncio + • asyncio.constants + • functools + • inspect + • reprlib + • sys + • traceback + +
+
+imported by: + asyncio + • asyncio.base_futures + • asyncio.events + • asyncio.futures + • asyncio.streams + +
+ +
+ + + +
+ + asyncio.locks +SourceModule
+imports: + asyncio + • asyncio.exceptions + • asyncio.mixins + • collections + • enum + +
+
+imported by: + asyncio + • asyncio.queues + • asyncio.staggered + +
+ +
+ + + +
+ + asyncio.mixins +SourceModule
+imports: + asyncio + • asyncio.events + • threading + +
+
+imported by: + asyncio + • asyncio.locks + • asyncio.queues + +
+ +
+ +
+ + asyncio.proactor_events +SourceModule +
+imported by: + asyncio + • asyncio.windows_events + +
+ +
+ +
+ + asyncio.protocols +SourceModule
+imports: + asyncio + +
+ + +
+ +
+ + asyncio.queues +SourceModule
+imports: + asyncio + • asyncio.locks + • asyncio.mixins + • collections + • heapq + • types + +
+
+imported by: + asyncio + • asyncio.tasks + +
+ +
+ +
+ + asyncio.runners +SourceModule
+imports: + asyncio + • asyncio.constants + • asyncio.coroutines + • asyncio.events + • asyncio.exceptions + • asyncio.tasks + • contextvars + • enum + • functools + • signal + • threading + +
+
+imported by: + asyncio + +
+ +
+ +
+ + asyncio.selector_events +SourceModule
+imports: + asyncio + • asyncio.base_events + • asyncio.constants + • asyncio.events + • asyncio.futures + • asyncio.log + • asyncio.protocols + • asyncio.sslproto + • asyncio.transports + • asyncio.trsock + • collections + • errno + • functools + • itertools + • os + • selectors + • socket + • ssl + • warnings + • weakref + +
+
+imported by: + asyncio + • asyncio.unix_events + • asyncio.windows_events + +
+ +
+ +
+ + asyncio.sslproto +SourceModule
+imports: + asyncio + • asyncio.constants + • asyncio.exceptions + • asyncio.log + • asyncio.protocols + • asyncio.transports + • collections + • enum + • ssl + • warnings + +
+ + +
+ +
+ + asyncio.staggered +SourceModule
+imports: + asyncio + • asyncio.events + • asyncio.exceptions + • asyncio.locks + • asyncio.tasks + • contextlib + • typing + +
+
+imported by: + asyncio + • asyncio.base_events + +
+ +
+ +
+ + asyncio.streams +SourceModule +
+imported by: + asyncio + • asyncio.subprocess + +
+ +
+ +
+ + asyncio.subprocess +SourceModule
+imports: + asyncio + • asyncio.events + • asyncio.log + • asyncio.protocols + • asyncio.streams + • asyncio.tasks + • subprocess + +
+
+imported by: + asyncio + +
+ +
+ +
+ + asyncio.taskgroups +SourceModule
+imports: + asyncio + • asyncio.events + • asyncio.exceptions + • asyncio.tasks + +
+
+imported by: + asyncio + +
+ +
+ + + +
+ + asyncio.threads +SourceModule
+imports: + asyncio + • asyncio.events + • contextvars + • functools + +
+
+imported by: + asyncio + +
+ +
+ +
+ + asyncio.timeouts +SourceModule
+imports: + asyncio + • asyncio.events + • asyncio.exceptions + • asyncio.tasks + • enum + • types + • typing + +
+
+imported by: + asyncio + • asyncio.base_events + • asyncio.tasks + +
+ +
+ +
+ + asyncio.transports +SourceModule
+imports: + asyncio + +
+ + +
+ +
+ + asyncio.trsock +SourceModule
+imports: + asyncio + • socket + +
+ + +
+ +
+ + asyncio.unix_events +SourceModule +
+imported by: + asyncio + +
+ +
+ +
+ + asyncio.windows_events +SourceModule
+imports: + _overlapped + • _winapi + • asyncio + • asyncio.base_subprocess + • asyncio.events + • asyncio.exceptions + • asyncio.futures + • asyncio.log + • asyncio.proactor_events + • asyncio.selector_events + • asyncio.tasks + • asyncio.windows_utils + • errno + • functools + • math + • msvcrt + • socket + • struct + • sys + • time + • weakref + +
+
+imported by: + asyncio + +
+ +
+ +
+ + asyncio.windows_utils +SourceModule
+imports: + _winapi + • asyncio + • itertools + • msvcrt + • os + • subprocess + • sys + • tempfile + • warnings + +
+
+imported by: + asyncio + • asyncio.windows_events + +
+ +
+ +
+ + atexit (builtin module)
+imported by: + logging + • multiprocessing.util + • weakref + +
+ +
+ +
+ + babel +Package
+imports: + babel.core + • babel.dates + • babel.localedata + • babel.localtime + • babel.numbers + • babel.plural + +
+
+imported by: + babel.core + • babel.dates + • babel.localedata + • babel.localtime + • babel.numbers + • babel.plural + • moneyed.classes + +
+ +
+ +
+ + babel.core +SourceModule
+imports: + __future__ + • babel + • babel.localedata + • babel.plural + • collections.abc + • os + • pickle + • typing + • typing_extensions + +
+
+imported by: + babel + • babel.dates + • babel.localedata + • babel.localtime._win32 + • babel.numbers + • moneyed.classes + +
+ +
+ +
+ + babel.dates +SourceModule
+imports: + __future__ + • babel + • babel.core + • babel.localedata + • babel.localtime + • collections.abc + • datetime + • functools + • math + • pytz + • re + • typing + • typing_extensions + • warnings + • zoneinfo + +
+
+imported by: + babel + +
+ +
+ +
+ + babel.localedata +SourceModule
+imports: + __future__ + • babel + • babel.core + • collections + • collections.abc + • functools + • itertools + • os + • pickle + • re + • sys + • threading + • typing + +
+
+imported by: + babel + • babel.core + • babel.dates + • babel.numbers + +
+ +
+ + + +
+ + babel.localtime._fallback +SourceModule
+imports: + babel.localtime + • datetime + • time + +
+
+imported by: + babel.localtime + +
+ +
+ +
+ + babel.localtime._helpers +SourceModule
+imports: + babel.localtime + • pytz + • zoneinfo + +
+
+imported by: + babel.localtime._unix + • babel.localtime._win32 + +
+ +
+ +
+ + babel.localtime._unix +SourceModule
+imports: + babel.localtime + • babel.localtime._helpers + • datetime + • os + • re + +
+
+imported by: + babel.localtime + +
+ +
+ +
+ + babel.localtime._win32 +SourceModule
+imports: + __future__ + • babel.core + • babel.localtime + • babel.localtime._helpers + • datetime + • typing + • winreg + +
+
+imported by: + babel.localtime + +
+ +
+ +
+ + babel.numbers +SourceModule
+imports: + __future__ + • babel + • babel.core + • babel.localedata + • datetime + • decimal + • re + • typing + • warnings + +
+
+imported by: + babel + • moneyed.classes + • moneyed.l10n + +
+ +
+ +
+ + babel.plural +SourceModule
+imports: + __future__ + • babel + • collections.abc + • decimal + • re + • typing + +
+
+imported by: + babel + • babel.core + +
+ +
+ +
+ + base64 +SourceModule
+imports: + binascii + • getopt + • re + • struct + • sys + +
+ + +
+ +
+ + binascii (builtin module) + +
+ +
+ + bisect +SourceModule
+imports: + _bisect + +
+
+imported by: + multiprocessing.heap + • random + • statistics + • urllib.request + • zoneinfo._zoneinfo + +
+ +
+ +
+ + builtins (builtin module)
+imported by: + bz2 + • codecs + • enum + • gettext + • gzip + • inspect + • locale + • lzma + • operator + • reprlib + • subprocess + • tarfile + • tokenize + • typing_extensions + • warnings + +
+ +
+ +
+ + bz2 +SourceModule
+imports: + _bz2 + • _compression + • builtins + • io + • os + +
+
+imported by: + encodings.bz2_codec + • shutil + • tarfile + • zipfile + +
+ +
+ +
+ + calendar +SourceModule
+imports: + argparse + • datetime + • enum + • itertools + • locale + • sys + • warnings + +
+
+imported by: + _strptime + • email._parseaddr + • http.cookiejar + • ssl + • zoneinfo._zoneinfo + +
+ +
+ +
+ + codecs +SourceModule
+imports: + _codecs + • builtins + • encodings + • sys + +
+
+imported by: + _pickle + • encodings + • encodings.ascii + • encodings.base64_codec + • encodings.big5 + • encodings.big5hkscs + • encodings.bz2_codec + • encodings.charmap + • encodings.cp037 + • encodings.cp1006 + • encodings.cp1026 + • encodings.cp1125 + • encodings.cp1140 + • encodings.cp1250 + • encodings.cp1251 + • encodings.cp1252 + • encodings.cp1253 + • encodings.cp1254 + • encodings.cp1255 + • encodings.cp1256 + • encodings.cp1257 + • encodings.cp1258 + • encodings.cp273 + • encodings.cp424 + • encodings.cp437 + • encodings.cp500 + • encodings.cp720 + • encodings.cp737 + • encodings.cp775 + • encodings.cp850 + • encodings.cp852 + • encodings.cp855 + • encodings.cp856 + • encodings.cp857 + • encodings.cp858 + • encodings.cp860 + • encodings.cp861 + • encodings.cp862 + • encodings.cp863 + • encodings.cp864 + • encodings.cp865 + • encodings.cp866 + • encodings.cp869 + • encodings.cp874 + • encodings.cp875 + • encodings.cp932 + • encodings.cp949 + • encodings.cp950 + • encodings.euc_jis_2004 + • encodings.euc_jisx0213 + • encodings.euc_jp + • encodings.euc_kr + • encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hex_codec + • encodings.hp_roman8 + • encodings.hz + • encodings.idna + • encodings.iso2022_jp + • encodings.iso2022_jp_1 + • encodings.iso2022_jp_2 + • encodings.iso2022_jp_2004 + • encodings.iso2022_jp_3 + • encodings.iso2022_jp_ext + • encodings.iso2022_kr + • encodings.iso8859_1 + • encodings.iso8859_10 + • encodings.iso8859_11 + • encodings.iso8859_13 + • encodings.iso8859_14 + • encodings.iso8859_15 + • encodings.iso8859_16 + • encodings.iso8859_2 + • encodings.iso8859_3 + • encodings.iso8859_4 + • encodings.iso8859_5 + • encodings.iso8859_6 + • encodings.iso8859_7 + • encodings.iso8859_8 + • encodings.iso8859_9 + • encodings.johab + • encodings.koi8_r + • encodings.koi8_t + • encodings.koi8_u + • encodings.kz1048 + • encodings.latin_1 + • encodings.mac_arabic + • encodings.mac_croatian + • encodings.mac_cyrillic + • encodings.mac_farsi + • encodings.mac_greek + • encodings.mac_iceland + • encodings.mac_latin2 + • encodings.mac_roman + • encodings.mac_romanian + • encodings.mac_turkish + • encodings.mbcs + • encodings.oem + • encodings.palmos + • encodings.ptcp154 + • encodings.punycode + • encodings.quopri_codec + • encodings.raw_unicode_escape + • encodings.rot_13 + • encodings.shift_jis + • encodings.shift_jis_2004 + • encodings.shift_jisx0213 + • encodings.tis_620 + • encodings.undefined + • encodings.unicode_escape + • encodings.utf_16 + • encodings.utf_16_be + • encodings.utf_16_le + • encodings.utf_32 + • encodings.utf_32_be + • encodings.utf_32_le + • encodings.utf_7 + • encodings.utf_8 + • encodings.utf_8_sig + • encodings.uu_codec + • encodings.zlib_codec + • pickle + • test5.py + • tokenize + • xml.sax.saxutils + +
+ +
+ + + +
+ + collections.abc +SourceModule
+imports: + _collections_abc + • collections + +
+
+imported by: + asyncio.base_events + • asyncio.coroutines + • babel.core + • babel.dates + • babel.localedata + • babel.plural + • http.client + • inspect + • logging + • moneyed.utils + • selectors + • test5.py + • traceback + • tracemalloc + • typing + • typing_extensions + +
+ +
+ +
+ + concurrent +Package
+imported by: + concurrent.futures + +
+ +
+ + + +
+ + concurrent.futures._base +SourceModule
+imports: + collections + • concurrent.futures + • logging + • threading + • time + • types + +
+ + +
+ +
+ + concurrent.futures.process +SourceModule +
+imported by: + concurrent.futures + +
+ +
+ +
+ + concurrent.futures.thread +SourceModule
+imports: + concurrent.futures + • concurrent.futures._base + • itertools + • os + • queue + • threading + • types + • weakref + +
+
+imported by: + concurrent.futures + +
+ +
+ +
+ + contextlib +SourceModule
+imports: + _collections_abc + • abc + • collections + • functools + • os + • sys + • types + +
+ + +
+ +
+ + contextvars +SourceModule
+imports: + _contextvars + +
+
+imported by: + _pydecimal + • asyncio.events + • asyncio.futures + • asyncio.runners + • asyncio.tasks + • asyncio.threads + +
+ +
+ +
+ + copy +SourceModule
+imports: + copyreg + • types + • weakref + +
+
+imported by: + _sre + • argparse + • collections + • dataclasses + • email.generator + • gettext + • http.cookiejar + • tarfile + • weakref + +
+ +
+ +
+ + copyreg +SourceModule
+imports: + functools + • operator + +
+
+imported by: + _pickle + • copy + • multiprocessing.reduction + • pickle + • re + • test5.py + • typing + +
+ +
+ +
+ + csv +SourceModule
+imports: + _csv + • io + • re + • types + +
+
+imported by: + importlib.metadata + +
+ +
+ +
+ + ctypes +Package
+imports: + _ctypes + • ctypes._endian + • nt + • os + • struct + • sys + • types + +
+
+imported by: + ctypes._endian + • multiprocessing.sharedctypes + +
+ +
+ +
+ + ctypes._endian +SourceModule
+imports: + ctypes + • sys + +
+
+imported by: + ctypes + +
+ +
+ +
+ + dataclasses +SourceModule
+imports: + _thread + • abc + • copy + • functools + • inspect + • itertools + • keyword + • re + • sys + • types + +
+
+imported by: + pprint + +
+ +
+ +
+ + datetime +SourceModule
+imports: + _datetime + • _pydatetime + • time + +
+ + +
+ +
+ + decimal +SourceModule
+imports: + _decimal + • _pydecimal + +
+
+imported by: + babel.numbers + • babel.plural + • fractions + • moneyed.classes + • statistics + • xmlrpc.client + +
+ +
+ +
+ + dis +SourceModule
+imports: + argparse + • collections + • io + • opcode + • sys + • types + +
+
+imported by: + inspect + +
+ +
+ + + +
+ + email._encoded_words +SourceModule
+imports: + base64 + • binascii + • email + • email.errors + • functools + • re + • string + +
+
+imported by: + email._header_value_parser + • email.message + +
+ +
+ +
+ + email._header_value_parser +SourceModule
+imports: + email + • email._encoded_words + • email.errors + • email.utils + • operator + • re + • string + • sys + • urllib + +
+
+imported by: + email + • email.headerregistry + +
+ +
+ +
+ + email._parseaddr +SourceModule
+imports: + calendar + • email + • time + +
+
+imported by: + email.utils + +
+ +
+ +
+ + email._policybase +SourceModule
+imports: + abc + • email + • email.charset + • email.header + • email.utils + +
+
+imported by: + email.feedparser + • email.message + • email.parser + • email.policy + +
+ +
+ +
+ + email.base64mime +SourceModule
+imports: + base64 + • binascii + • email + +
+
+imported by: + email.charset + • email.header + +
+ +
+ +
+ + email.charset +SourceModule
+imports: + email + • email.base64mime + • email.encoders + • email.errors + • email.quoprimime + • functools + +
+
+imported by: + email + • email._policybase + • email.contentmanager + • email.header + • email.message + • email.utils + +
+ +
+ +
+ + email.contentmanager +SourceModule
+imports: + binascii + • email + • email.charset + • email.errors + • email.message + • email.quoprimime + +
+
+imported by: + email.policy + +
+ +
+ +
+ + email.encoders +SourceModule
+imports: + base64 + • email + • quopri + +
+
+imported by: + email.charset + +
+ +
+ +
+ + email.errors +SourceModule
+imports: + email + +
+ + +
+ +
+ + email.feedparser +SourceModule
+imports: + collections + • email + • email._policybase + • email.errors + • email.message + • io + • re + +
+
+imported by: + email.parser + +
+ +
+ +
+ + email.generator +SourceModule
+imports: + copy + • email + • email.errors + • email.utils + • io + • random + • re + • sys + • time + +
+
+imported by: + email.message + +
+ +
+ +
+ + email.header +SourceModule
+imports: + binascii + • email + • email.base64mime + • email.charset + • email.errors + • email.quoprimime + • re + +
+
+imported by: + email + • email._policybase + +
+ +
+ +
+ + email.headerregistry +SourceModule
+imports: + email + • email._header_value_parser + • email.errors + • email.utils + • types + +
+
+imported by: + email.policy + +
+ +
+ +
+ + email.iterators +SourceModule
+imports: + email + • io + • sys + +
+
+imported by: + email.message + +
+ +
+ +
+ + email.message +SourceModule
+imports: + binascii + • email + • email._encoded_words + • email._policybase + • email.charset + • email.errors + • email.generator + • email.iterators + • email.policy + • email.utils + • io + • quopri + • re + +
+ + +
+ +
+ + email.parser +SourceModule
+imports: + email + • email._policybase + • email.feedparser + • io + +
+
+imported by: + email + • http.client + +
+ +
+ +
+ + email.policy +SourceModule
+imports: + email + • email._policybase + • email.contentmanager + • email.headerregistry + • email.message + • email.utils + • re + • sys + +
+
+imported by: + email.message + +
+ +
+ +
+ + email.quoprimime +SourceModule
+imports: + email + • re + • string + +
+
+imported by: + email.charset + • email.contentmanager + • email.header + +
+ +
+ +
+ + email.utils +SourceModule
+imports: + datetime + • email + • email._parseaddr + • email.charset + • os + • random + • re + • socket + • time + • urllib.parse + • warnings + +
+ + +
+ +
+ + encodings +Package
+imports: + _winapi + • codecs + • encodings + • encodings.aliases + • encodings.ascii + • encodings.base64_codec + • encodings.big5 + • encodings.big5hkscs + • encodings.bz2_codec + • encodings.charmap + • encodings.cp037 + • encodings.cp1006 + • encodings.cp1026 + • encodings.cp1125 + • encodings.cp1140 + • encodings.cp1250 + • encodings.cp1251 + • encodings.cp1252 + • encodings.cp1253 + • encodings.cp1254 + • encodings.cp1255 + • encodings.cp1256 + • encodings.cp1257 + • encodings.cp1258 + • encodings.cp273 + • encodings.cp424 + • encodings.cp437 + • encodings.cp500 + • encodings.cp720 + • encodings.cp737 + • encodings.cp775 + • encodings.cp850 + • encodings.cp852 + • encodings.cp855 + • encodings.cp856 + • encodings.cp857 + • encodings.cp858 + • encodings.cp860 + • encodings.cp861 + • encodings.cp862 + • encodings.cp863 + • encodings.cp864 + • encodings.cp865 + • encodings.cp866 + • encodings.cp869 + • encodings.cp874 + • encodings.cp875 + • encodings.cp932 + • encodings.cp949 + • encodings.cp950 + • encodings.euc_jis_2004 + • encodings.euc_jisx0213 + • encodings.euc_jp + • encodings.euc_kr + • encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hex_codec + • encodings.hp_roman8 + • encodings.hz + • encodings.idna + • encodings.iso2022_jp + • encodings.iso2022_jp_1 + • encodings.iso2022_jp_2 + • encodings.iso2022_jp_2004 + • encodings.iso2022_jp_3 + • encodings.iso2022_jp_ext + • encodings.iso2022_kr + • encodings.iso8859_1 + • encodings.iso8859_10 + • encodings.iso8859_11 + • encodings.iso8859_13 + • encodings.iso8859_14 + • encodings.iso8859_15 + • encodings.iso8859_16 + • encodings.iso8859_2 + • encodings.iso8859_3 + • encodings.iso8859_4 + • encodings.iso8859_5 + • encodings.iso8859_6 + • encodings.iso8859_7 + • encodings.iso8859_8 + • encodings.iso8859_9 + • encodings.johab + • encodings.koi8_r + • encodings.koi8_t + • encodings.koi8_u + • encodings.kz1048 + • encodings.latin_1 + • encodings.mac_arabic + • encodings.mac_croatian + • encodings.mac_cyrillic + • encodings.mac_farsi + • encodings.mac_greek + • encodings.mac_iceland + • encodings.mac_latin2 + • encodings.mac_roman + • encodings.mac_romanian + • encodings.mac_turkish + • encodings.mbcs + • encodings.oem + • encodings.palmos + • encodings.ptcp154 + • encodings.punycode + • encodings.quopri_codec + • encodings.raw_unicode_escape + • encodings.rot_13 + • encodings.shift_jis + • encodings.shift_jis_2004 + • encodings.shift_jisx0213 + • encodings.tis_620 + • encodings.undefined + • encodings.unicode_escape + • encodings.utf_16 + • encodings.utf_16_be + • encodings.utf_16_le + • encodings.utf_32 + • encodings.utf_32_be + • encodings.utf_32_le + • encodings.utf_7 + • encodings.utf_8 + • encodings.utf_8_sig + • encodings.uu_codec + • encodings.zlib_codec + • sys + +
+
+imported by: + codecs + • encodings + • encodings.aliases + • encodings.ascii + • encodings.base64_codec + • encodings.big5 + • encodings.big5hkscs + • encodings.bz2_codec + • encodings.charmap + • encodings.cp037 + • encodings.cp1006 + • encodings.cp1026 + • encodings.cp1125 + • encodings.cp1140 + • encodings.cp1250 + • encodings.cp1251 + • encodings.cp1252 + • encodings.cp1253 + • encodings.cp1254 + • encodings.cp1255 + • encodings.cp1256 + • encodings.cp1257 + • encodings.cp1258 + • encodings.cp273 + • encodings.cp424 + • encodings.cp437 + • encodings.cp500 + • encodings.cp720 + • encodings.cp737 + • encodings.cp775 + • encodings.cp850 + • encodings.cp852 + • encodings.cp855 + • encodings.cp856 + • encodings.cp857 + • encodings.cp858 + • encodings.cp860 + • encodings.cp861 + • encodings.cp862 + • encodings.cp863 + • encodings.cp864 + • encodings.cp865 + • encodings.cp866 + • encodings.cp869 + • encodings.cp874 + • encodings.cp875 + • encodings.cp932 + • encodings.cp949 + • encodings.cp950 + • encodings.euc_jis_2004 + • encodings.euc_jisx0213 + • encodings.euc_jp + • encodings.euc_kr + • encodings.gb18030 + • encodings.gb2312 + • encodings.gbk + • encodings.hex_codec + • encodings.hp_roman8 + • encodings.hz + • encodings.idna + • encodings.iso2022_jp + • encodings.iso2022_jp_1 + • encodings.iso2022_jp_2 + • encodings.iso2022_jp_2004 + • encodings.iso2022_jp_3 + • encodings.iso2022_jp_ext + • encodings.iso2022_kr + • encodings.iso8859_1 + • encodings.iso8859_10 + • encodings.iso8859_11 + • encodings.iso8859_13 + • encodings.iso8859_14 + • encodings.iso8859_15 + • encodings.iso8859_16 + • encodings.iso8859_2 + • encodings.iso8859_3 + • encodings.iso8859_4 + • encodings.iso8859_5 + • encodings.iso8859_6 + • encodings.iso8859_7 + • encodings.iso8859_8 + • encodings.iso8859_9 + • encodings.johab + • encodings.koi8_r + • encodings.koi8_t + • encodings.koi8_u + • encodings.kz1048 + • encodings.latin_1 + • encodings.mac_arabic + • encodings.mac_croatian + • encodings.mac_cyrillic + • encodings.mac_farsi + • encodings.mac_greek + • encodings.mac_iceland + • encodings.mac_latin2 + • encodings.mac_roman + • encodings.mac_romanian + • encodings.mac_turkish + • encodings.mbcs + • encodings.oem + • encodings.palmos + • encodings.ptcp154 + • encodings.punycode + • encodings.quopri_codec + • encodings.raw_unicode_escape + • encodings.rot_13 + • encodings.shift_jis + • encodings.shift_jis_2004 + • encodings.shift_jisx0213 + • encodings.tis_620 + • encodings.undefined + • encodings.unicode_escape + • encodings.utf_16 + • encodings.utf_16_be + • encodings.utf_16_le + • encodings.utf_32 + • encodings.utf_32_be + • encodings.utf_32_le + • encodings.utf_7 + • encodings.utf_8 + • encodings.utf_8_sig + • encodings.uu_codec + • encodings.zlib_codec + • locale + • test5.py + +
+ +
+ +
+ + encodings.aliases +SourceModule
+imports: + encodings + +
+
+imported by: + encodings + • locale + • test5.py + +
+ +
+ +
+ + encodings.ascii +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.base64_codec +SourceModule
+imports: + base64 + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.big5 +SourceModule
+imports: + _codecs_tw + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.big5hkscs +SourceModule
+imports: + _codecs_hk + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.bz2_codec +SourceModule
+imports: + bz2 + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.charmap +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp037 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1006 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1026 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1125 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1140 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1250 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1251 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1252 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1253 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1254 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1255 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1256 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1257 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp1258 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp273 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp424 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp437 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp500 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp720 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp737 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp775 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp850 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp852 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp855 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp856 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp857 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp858 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp860 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp861 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp862 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp863 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp864 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp865 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp866 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp869 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp874 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp875 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp932 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp949 +SourceModule
+imports: + _codecs_kr + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.cp950 +SourceModule
+imports: + _codecs_tw + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.euc_jis_2004 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.euc_jisx0213 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.euc_jp +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.euc_kr +SourceModule
+imports: + _codecs_kr + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.gb18030 +SourceModule
+imports: + _codecs_cn + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.gb2312 +SourceModule
+imports: + _codecs_cn + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.gbk +SourceModule
+imports: + _codecs_cn + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.hex_codec +SourceModule
+imports: + binascii + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.hp_roman8 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.hz +SourceModule
+imports: + _codecs_cn + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.idna +SourceModule
+imports: + codecs + • encodings + • re + • stringprep + • unicodedata + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso2022_jp +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso2022_jp_1 +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso2022_jp_2 +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso2022_jp_2004 +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso2022_jp_3 +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso2022_jp_ext +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso2022_kr +SourceModule
+imports: + _codecs_iso2022 + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_1 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_10 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_11 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_13 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_14 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_15 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_16 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_2 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_3 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_4 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_5 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_6 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_7 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_8 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.iso8859_9 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.johab +SourceModule
+imports: + _codecs_kr + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.koi8_r +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.koi8_t +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.koi8_u +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.kz1048 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.latin_1 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_arabic +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_croatian +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_cyrillic +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_farsi +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_greek +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_iceland +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_latin2 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_roman +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_romanian +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mac_turkish +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.mbcs +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.oem +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.palmos +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.ptcp154 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.punycode +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.quopri_codec +SourceModule
+imports: + codecs + • encodings + • io + • quopri + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.raw_unicode_escape +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.rot_13 +SourceModule
+imports: + codecs + • encodings + • sys + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.shift_jis +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.shift_jis_2004 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.shift_jisx0213 +SourceModule
+imports: + _codecs_jp + • _multibytecodec + • codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.tis_620 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.undefined +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.unicode_escape +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_16 +SourceModule
+imports: + codecs + • encodings + • sys + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_16_be +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_16_le +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_32 +SourceModule
+imports: + codecs + • encodings + • sys + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_32_be +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_32_le +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_7 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_8 +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.utf_8_sig +SourceModule
+imports: + codecs + • encodings + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.uu_codec +SourceModule
+imports: + binascii + • codecs + • encodings + • io + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + encodings.zlib_codec +SourceModule
+imports: + codecs + • encodings + • zlib + +
+
+imported by: + encodings + • test5.py + +
+ +
+ +
+ + enum +SourceModule
+imports: + builtins + • functools + • operator + • sys + • types + • warnings + +
+
+imported by: + ast + • asyncio.constants + • asyncio.locks + • asyncio.runners + • asyncio.sslproto + • asyncio.timeouts + • calendar + • http + • inspect + • py_compile + • re + • signal + • socket + • ssl + • test5.py + • typing_extensions + +
+ +
+ + + +
+ + fcntl (builtin module)
+imported by: + subprocess + +
+ +
+ +
+ + fnmatch +SourceModule
+imports: + functools + • os + • posixpath + • re + +
+
+imported by: + pathlib + • shutil + • tracemalloc + • urllib.request + +
+ +
+ +
+ + fractions +SourceModule
+imports: + decimal + • functools + • math + • numbers + • operator + • re + • sys + +
+
+imported by: + statistics + +
+ +
+ +
+ + ftplib +SourceModule
+imports: + netrc + • re + • socket + • ssl + • sys + +
+
+imported by: + urllib.request + +
+ +
+ + + +
+ + gc (builtin module)
+imports: + time + +
+
+imported by: + _posixsubprocess + • weakref + +
+ +
+ +
+ + genericpath +SourceModule
+imports: + os + • stat + +
+
+imported by: + ntpath + • posixpath + • test5.py + +
+ +
+ +
+ + getopt +SourceModule
+imports: + gettext + • os + • sys + +
+
+imported by: + base64 + • mimetypes + • quopri + +
+ +
+ +
+ + getpass +SourceModule
+imports: + contextlib + • io + • msvcrt + • os + • pwd + • sys + • termios + • warnings + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + gettext +SourceModule
+imports: + builtins + • copy + • errno + • locale + • operator + • os + • re + • struct + • sys + • warnings + +
+
+imported by: + argparse + • getopt + +
+ +
+ +
+ + grp (builtin module)
+imported by: + pathlib + • shutil + • subprocess + • tarfile + +
+ +
+ +
+ + gzip +SourceModule
+imports: + _compression + • argparse + • builtins + • errno + • io + • os + • struct + • sys + • time + • warnings + • zlib + +
+
+imported by: + tarfile + • xmlrpc.client + +
+ +
+ +
+ + hashlib +SourceModule
+imports: + _blake2 + • _hashlib + • _md5 + • _sha1 + • _sha2 + • _sha3 + • logging + +
+
+imported by: + hmac + • random + • urllib.request + +
+ +
+ +
+ + heapq +SourceModule
+imports: + _heapq + +
+
+imported by: + asyncio.base_events + • asyncio.queues + • collections + • queue + • test5.py + +
+ +
+ +
+ + hmac +SourceModule
+imports: + _hashlib + • _operator + • hashlib + • warnings + +
+
+imported by: + multiprocessing.connection + • secrets + +
+ +
+ +
+ + http +Package
+imports: + enum + +
+
+imported by: + http.client + • http.cookiejar + +
+ +
+ +
+ + http.client +SourceModule
+imports: + collections.abc + • email.message + • email.parser + • errno + • http + • io + • re + • socket + • ssl + • sys + • urllib.parse + +
+
+imported by: + http.cookiejar + • urllib.request + • xmlrpc.client + +
+ +
+ +
+ + http.cookiejar +SourceModule
+imports: + calendar + • copy + • datetime + • http + • http.client + • io + • logging + • os + • re + • threading + • time + • traceback + • urllib.parse + • urllib.request + • warnings + +
+
+imported by: + urllib.request + +
+ +
+ + + +
+ + importlib._abc +SourceModule
+imports: + abc + • importlib + • importlib._bootstrap + +
+
+imported by: + importlib.abc + • importlib.util + +
+ +
+ +
+ + importlib._bootstrap +SourceModule
+imports: + _frozen_importlib_external + • importlib + +
+
+imported by: + importlib + • importlib._abc + • importlib.machinery + • importlib.util + +
+ +
+ +
+ + importlib._bootstrap_external +SourceModule
+imports: + _imp + • _io + • _warnings + • importlib + • importlib.metadata + • importlib.readers + • marshal + • nt + • posix + • sys + • tokenize + • winreg + +
+
+imported by: + importlib + • importlib.abc + • importlib.machinery + • importlib.util + • py_compile + +
+ +
+ + + +
+ + importlib.machinery +SourceModule +
+imported by: + importlib + • importlib.abc + • inspect + • pkgutil + • py_compile + • runpy + +
+ +
+ + + +
+ + importlib.metadata._adapters +SourceModule
+imports: + email.message + • functools + • importlib.metadata + • importlib.metadata._text + • re + • textwrap + • warnings + +
+
+imported by: + importlib.metadata + +
+ +
+ +
+ + importlib.metadata._collections +SourceModule
+imports: + collections + • importlib.metadata + +
+
+imported by: + importlib.metadata + +
+ +
+ +
+ + importlib.metadata._functools +SourceModule
+imports: + functools + • importlib.metadata + • types + +
+
+imported by: + importlib.metadata + • importlib.metadata._text + +
+ +
+ +
+ + importlib.metadata._itertools +SourceModule
+imports: + importlib.metadata + • itertools + +
+
+imported by: + importlib.metadata + +
+ +
+ +
+ + importlib.metadata._meta +SourceModule
+imports: + importlib.metadata + • typing + +
+
+imported by: + importlib.metadata + +
+ +
+ +
+ + importlib.metadata._text +SourceModule +
+imported by: + importlib.metadata._adapters + +
+ +
+ +
+ + importlib.readers +SourceModule
+imports: + importlib + • importlib.resources.readers + +
+
+imported by: + importlib._bootstrap_external + • zipimport + +
+ +
+ + + +
+ + importlib.resources._adapters +SourceModule
+imports: + contextlib + • importlib.resources + • importlib.resources.abc + • io + +
+
+imported by: + importlib.resources._common + +
+ +
+ +
+ + importlib.resources._common +SourceModule
+imports: + contextlib + • functools + • importlib + • importlib.resources + • importlib.resources._adapters + • importlib.resources.abc + • inspect + • itertools + • os + • pathlib + • tempfile + • types + • typing + • warnings + +
+ + +
+ +
+ + importlib.resources._itertools +SourceModule
+imports: + importlib.resources + +
+
+imported by: + importlib.resources.readers + +
+ +
+ +
+ + importlib.resources._legacy +SourceModule
+imports: + functools + • importlib.resources + • importlib.resources._common + • os + • pathlib + • types + • typing + • warnings + +
+
+imported by: + importlib.resources + +
+ +
+ +
+ + importlib.resources.abc +SourceModule
+imports: + abc + • importlib.resources + • io + • itertools + • os + • pathlib + • typing + +
+ + +
+ +
+ + importlib.resources.readers +SourceModule +
+imported by: + importlib.readers + +
+ +
+ +
+ + importlib.util +SourceModule
+imports: + _imp + • importlib + • importlib._abc + • importlib._bootstrap + • importlib._bootstrap_external + • sys + • threading + • types + +
+
+imported by: + pkgutil + • py_compile + • runpy + • zipfile + +
+ +
+ +
+ + inspect +SourceModule
+imports: + abc + • argparse + • ast + • builtins + • collections + • collections.abc + • dis + • enum + • functools + • importlib + • importlib.machinery + • itertools + • keyword + • linecache + • operator + • os + • re + • sys + • token + • tokenize + • types + +
+ + +
+ + + +
+ + ipaddress +SourceModule
+imports: + functools + • re + +
+
+imported by: + urllib.parse + • urllib.request + +
+ +
+ + + +
+ + keyword +SourceModule
+imported by: + collections + • dataclasses + • inspect + • test5.py + • typing_extensions + +
+ +
+ +
+ + linecache +SourceModule
+imports: + functools + • os + • sys + • tokenize + +
+
+imported by: + asyncio.base_tasks + • inspect + • test5.py + • traceback + • tracemalloc + • warnings + +
+ +
+ +
+ + locale +SourceModule
+imports: + _collections_abc + • _locale + • builtins + • encodings + • encodings.aliases + • functools + • os + • re + • sys + • warnings + +
+
+imported by: + _pydecimal + • _strptime + • calendar + • gettext + • subprocess + • test5.py + +
+ +
+ +
+ + logging +Package
+imports: + atexit + • collections.abc + • io + • os + • pickle + • re + • string + • sys + • threading + • time + • traceback + • types + • warnings + • weakref + +
+ + +
+ +
+ + lzma +SourceModule
+imports: + _compression + • _lzma + • builtins + • io + • os + +
+
+imported by: + shutil + • tarfile + • zipfile + +
+ +
+ +
+ + marshal (builtin module)
+imported by: + importlib._bootstrap_external + • pkgutil + • zipimport + +
+ +
+ +
+ + math (builtin module)
+imported by: + _pydatetime + • _pydecimal + • asyncio.windows_events + • babel.dates + • fractions + • random + • selectors + • statistics + • urllib.parse + +
+ +
+ +
+ + mimetypes +SourceModule
+imports: + _winapi + • getopt + • os + • posixpath + • sys + • urllib.parse + • winreg + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + mmap /usr/lib/python3.12/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so + +
+ +
+ + moneyed +Package
+imports: + moneyed.classes + +
+
+imported by: + moneyed.classes + • moneyed.l10n + • moneyed.utils + • test5.py + +
+ +
+ +
+ + moneyed.classes +SourceModule
+imports: + __future__ + • babel + • babel.core + • babel.numbers + • decimal + • moneyed + • moneyed.l10n + • moneyed.utils + • typing + • typing_extensions + • warnings + +
+
+imported by: + moneyed + • moneyed.l10n + +
+ +
+ +
+ + moneyed.l10n +SourceModule
+imports: + __future__ + • babel.numbers + • moneyed + • moneyed.classes + • typing + +
+
+imported by: + moneyed.classes + +
+ +
+ +
+ + moneyed.utils +SourceModule
+imports: + __future__ + • collections.abc + • moneyed + • typing + +
+
+imported by: + moneyed.classes + +
+ +
+ +
+ + msvcrt +MissingModule + +
+ + + +
+ + multiprocessing.AuthenticationError +MissingModule
+imported by: + multiprocessing + • multiprocessing.connection + +
+ +
+ +
+ + multiprocessing.BufferTooShort +MissingModule
+imported by: + multiprocessing + • multiprocessing.connection + +
+ +
+ +
+ + multiprocessing.TimeoutError +MissingModule
+imported by: + multiprocessing + • multiprocessing.pool + +
+ +
+ + + + + +
+ + multiprocessing.dummy +Package
+imports: + array + • multiprocessing + • multiprocessing.dummy.connection + • multiprocessing.pool + • queue + • sys + • threading + • weakref + +
+ + +
+ +
+ + multiprocessing.dummy.connection +SourceModule
+imports: + multiprocessing.dummy + • queue + +
+
+imported by: + multiprocessing.dummy + +
+ +
+ + + + + +
+ + multiprocessing.get_start_method +MissingModule
+imported by: + multiprocessing + • multiprocessing.spawn + +
+ +
+ +
+ + multiprocessing.heap +SourceModule
+imports: + _winapi + • bisect + • collections + • mmap + • multiprocessing + • multiprocessing.context + • multiprocessing.util + • os + • sys + • tempfile + • threading + +
+ + +
+ + + + + + + + + + + +
+ + multiprocessing.popen_spawn_win32 +SourceModule
+imports: + _winapi + • msvcrt + • multiprocessing + • multiprocessing.context + • multiprocessing.spawn + • multiprocessing.util + • os + • signal + • sys + +
+
+imported by: + multiprocessing.context + +
+ +
+ + + +
+ + multiprocessing.queues +SourceModule + + +
+ +
+ + multiprocessing.reduction +SourceModule
+imports: + _winapi + • abc + • array + • copyreg + • functools + • io + • multiprocessing + • multiprocessing.context + • multiprocessing.resource_sharer + • os + • pickle + • socket + • sys + +
+
+imported by: + multiprocessing + • multiprocessing.context + +
+ +
+ + + + + +
+ + multiprocessing.set_start_method +MissingModule
+imported by: + multiprocessing + • multiprocessing.spawn + +
+ +
+ +
+ + multiprocessing.shared_memory +SourceModule
+imports: + _posixshmem + • _winapi + • errno + • functools + • mmap + • multiprocessing + • multiprocessing.resource_tracker + • os + • secrets + • struct + • types + +
+
+imported by: + multiprocessing + • multiprocessing.managers + +
+ +
+ + + + + + + + + +
+ + netrc +SourceModule
+imports: + os + • pwd + • stat + +
+
+imported by: + ftplib + +
+ +
+ +
+ + nt +MissingModule
+imported by: + ctypes + • importlib._bootstrap_external + • ntpath + • os + • shutil + +
+ +
+ +
+ + ntpath +SourceModule
+imports: + _winapi + • genericpath + • nt + • os + • re + • stat + • sys + +
+
+imported by: + os + • pathlib + • test5.py + +
+ +
+ +
+ + nturl2path +SourceModule
+imports: + string + • urllib.parse + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + numbers +SourceModule
+imports: + abc + +
+
+imported by: + _pydecimal + • fractions + • statistics + +
+ +
+ +
+ + opcode +SourceModule
+imports: + _opcode + +
+
+imported by: + dis + +
+ +
+ +
+ + operator +SourceModule
+imports: + _operator + • builtins + • functools + +
+
+imported by: + _pydatetime + • collections + • copyreg + • email._header_value_parser + • enum + • fractions + • gettext + • importlib.metadata + • importlib.resources.readers + • inspect + • random + • statistics + • test5.py + • typing + • typing_extensions + +
+ +
+ +
+ + os +SourceModule
+imports: + _collections_abc + • abc + • io + • nt + • ntpath + • os.path + • posix + • posixpath + • stat + • subprocess + • sys + • warnings + +
+
+imported by: + _aix_support + • argparse + • asyncio.base_events + • asyncio.coroutines + • asyncio.events + • asyncio.proactor_events + • asyncio.selector_events + • asyncio.unix_events + • asyncio.windows_utils + • babel.core + • babel.localedata + • babel.localtime._unix + • bz2 + • concurrent.futures.process + • concurrent.futures.thread + • contextlib + • ctypes + • email.utils + • fnmatch + • genericpath + • getopt + • getpass + • gettext + • gzip + • http.cookiejar + • importlib.metadata + • importlib.resources._common + • importlib.resources._legacy + • importlib.resources.abc + • inspect + • linecache + • locale + • logging + • lzma + • mimetypes + • multiprocessing.connection + • multiprocessing.context + • multiprocessing.forkserver + • multiprocessing.heap + • multiprocessing.managers + • multiprocessing.pool + • multiprocessing.popen_fork + • multiprocessing.popen_forkserver + • multiprocessing.popen_spawn_posix + • multiprocessing.popen_spawn_win32 + • multiprocessing.process + • multiprocessing.queues + • multiprocessing.reduction + • multiprocessing.resource_sharer + • multiprocessing.resource_tracker + • multiprocessing.shared_memory + • multiprocessing.spawn + • multiprocessing.util + • netrc + • ntpath + • os.path + • pathlib + • pkgutil + • posixpath + • py_compile + • pyi_rth_inspect.py + • random + • runpy + • shutil + • socket + • ssl + • subprocess + • sysconfig + • tarfile + • tempfile + • test5.py + • threading + • urllib.request + • xml.sax + • xml.sax.saxutils + • zipfile + • zoneinfo._tzpath + +
+ +
+ +
+ + os.path +AliasNode
+imports: + os + • posixpath + +
+
+imported by: + os + • pkgutil + • py_compile + • sysconfig + • tracemalloc + +
+ +
+ +
+ + pathlib +SourceModule
+imports: + _collections_abc + • errno + • fnmatch + • functools + • grp + • io + • ntpath + • os + • posixpath + • pwd + • re + • stat + • sys + • urllib.parse + • warnings + +
+ + +
+ +
+ + pickle +SourceModule
+imports: + _compat_pickle + • _pickle + • codecs + • copyreg + • functools + • io + • itertools + • pprint + • re + • struct + • sys + • types + +
+ + +
+ +
+ + pkgutil +SourceModule
+imports: + collections + • functools + • importlib + • importlib.machinery + • importlib.util + • inspect + • marshal + • os + • os.path + • re + • sys + • types + • warnings + • zipimport + +
+
+imported by: + pyi_rth_pkgutil.py + • runpy + +
+ +
+ +
+ + posix (builtin module)
+imports: + resource + +
+
+imported by: + importlib._bootstrap_external + • os + • posixpath + • shutil + +
+ +
+ +
+ + posixpath +SourceModule
+imports: + genericpath + • os + • posix + • pwd + • re + • stat + • sys + +
+
+imported by: + fnmatch + • importlib.metadata + • mimetypes + • os + • os.path + • pathlib + • test5.py + • zipfile._path + +
+ +
+ +
+ + pprint +SourceModule
+imports: + collections + • dataclasses + • io + • re + • sys + • types + +
+
+imported by: + pickle + • sysconfig + +
+ +
+ +
+ + pwd (builtin module)
+imported by: + getpass + • netrc + • pathlib + • posixpath + • shutil + • subprocess + • tarfile + +
+ +
+ +
+ + py_compile +SourceModule
+imports: + argparse + • enum + • importlib._bootstrap_external + • importlib.machinery + • importlib.util + • os + • os.path + • sys + • traceback + +
+
+imported by: + zipfile + +
+ +
+ +
+ + pyexpat (builtin module)
+imported by: + xml.parsers.expat + +
+ +
+ +
+ + pyimod02_importers +MissingModule
+imported by: + pyi_rth_pkgutil.py + +
+ +
+ +
+ + pytz +MissingModule
+imported by: + babel.dates + • babel.localtime._helpers + +
+ +
+ + + +
+ + quopri +SourceModule
+imports: + binascii + • getopt + • io + • sys + +
+
+imported by: + email.encoders + • email.message + • encodings.quopri_codec + +
+ +
+ +
+ + random +SourceModule
+imports: + _collections_abc + • _random + • _sha2 + • bisect + • hashlib + • itertools + • math + • operator + • os + • statistics + • time + • warnings + +
+
+imported by: + email.generator + • email.utils + • secrets + • statistics + • tempfile + +
+ +
+ +
+ + re +Package
+imports: + _sre + • copyreg + • enum + • functools + • re + • re._compiler + • re._constants + • re._parser + • warnings + +
+ + +
+ +
+ + re._casefix +SourceModule
+imports: + re + +
+
+imported by: + re._compiler + • test5.py + +
+ +
+ +
+ + re._compiler +SourceModule
+imports: + _sre + • re + • re._casefix + • re._constants + • re._parser + • sys + +
+
+imported by: + re + • sre_compile + • test5.py + +
+ +
+ +
+ + re._constants +SourceModule
+imports: + _sre + • re + +
+
+imported by: + re + • re._compiler + • re._parser + • sre_constants + • test5.py + +
+ +
+ +
+ + re._parser +SourceModule
+imports: + re + • re._constants + • unicodedata + • warnings + +
+
+imported by: + re + • re._compiler + • sre_parse + • test5.py + +
+ +
+ +
+ + reprlib +SourceModule
+imports: + _thread + • builtins + • itertools + +
+ + +
+ +
+ + resource /usr/lib/python3.12/lib-dynload/resource.cpython-312-x86_64-linux-gnu.so
+imported by: + posix + +
+ +
+ +
+ + runpy +SourceModule
+imports: + importlib.machinery + • importlib.util + • io + • os + • pkgutil + • sys + • warnings + +
+
+imported by: + multiprocessing.spawn + +
+ +
+ +
+ + secrets +SourceModule
+imports: + base64 + • hmac + • random + +
+
+imported by: + multiprocessing.shared_memory + +
+ +
+ +
+ + select (builtin module)
+imported by: + selectors + • subprocess + +
+ +
+ +
+ + selectors +SourceModule
+imports: + abc + • collections + • collections.abc + • math + • select + • sys + +
+ + +
+ +
+ + shutil +SourceModule
+imports: + _winapi + • bz2 + • collections + • errno + • fnmatch + • grp + • lzma + • nt + • os + • posix + • pwd + • stat + • sys + • tarfile + • warnings + • zipfile + • zlib + +
+
+imported by: + argparse + • multiprocessing.util + • tarfile + • tempfile + • zipfile + +
+ +
+ + + + + +
+ + sre_compile +SourceModule
+imports: + re + • re._compiler + • warnings + +
+
+imported by: + test5.py + +
+ +
+ +
+ + sre_constants +SourceModule
+imports: + re + • re._constants + • warnings + +
+
+imported by: + test5.py + +
+ +
+ +
+ + sre_parse +SourceModule
+imports: + re + • re._parser + • warnings + +
+
+imported by: + test5.py + +
+ +
+ +
+ + ssl +SourceModule
+imports: + _ssl + • base64 + • calendar + • collections + • enum + • errno + • os + • socket + • sys + • time + • warnings + +
+ + +
+ +
+ + stat +SourceModule
+imports: + _stat + +
+
+imported by: + asyncio.base_events + • asyncio.unix_events + • genericpath + • netrc + • ntpath + • os + • pathlib + • posixpath + • shutil + • tarfile + • tempfile + • test5.py + • zipfile + +
+ +
+ +
+ + statistics +SourceModule
+imports: + _statistics + • bisect + • collections + • decimal + • fractions + • functools + • itertools + • math + • numbers + • operator + • random + • sys + +
+
+imported by: + random + +
+ +
+ +
+ + string +SourceModule
+imports: + _string + • collections + • re + +
+ + +
+ +
+ + stringprep +SourceModule
+imports: + unicodedata + +
+
+imported by: + encodings.idna + +
+ +
+ +
+ + struct +SourceModule
+imports: + _struct + +
+ + +
+ +
+ + subprocess +SourceModule
+imports: + _posixsubprocess + • _winapi + • builtins + • contextlib + • errno + • fcntl + • grp + • io + • locale + • msvcrt + • os + • pwd + • select + • selectors + • signal + • sys + • threading + • time + • types + • warnings + +
+ + +
+ +
+ + sys (builtin module)
+imported by: + _aix_support + • _collections_abc + • _compression + • _pydatetime + • _pydecimal + • argparse + • ast + • asyncio + • asyncio.base_events + • asyncio.coroutines + • asyncio.events + • asyncio.format_helpers + • asyncio.futures + • asyncio.streams + • asyncio.unix_events + • asyncio.windows_events + • asyncio.windows_utils + • babel.localedata + • babel.localtime + • base64 + • calendar + • codecs + • collections + • concurrent.futures.process + • contextlib + • ctypes + • ctypes._endian + • dataclasses + • dis + • email._header_value_parser + • email.generator + • email.iterators + • email.policy + • encodings + • encodings.rot_13 + • encodings.utf_16 + • encodings.utf_32 + • enum + • fractions + • ftplib + • getopt + • getpass + • gettext + • gzip + • http.client + • importlib + • importlib._bootstrap_external + • importlib.metadata + • importlib.util + • inspect + • linecache + • locale + • logging + • mimetypes + • multiprocessing + • multiprocessing.connection + • multiprocessing.context + • multiprocessing.dummy + • multiprocessing.forkserver + • multiprocessing.heap + • multiprocessing.managers + • multiprocessing.popen_spawn_win32 + • multiprocessing.process + • multiprocessing.queues + • multiprocessing.reduction + • multiprocessing.resource_sharer + • multiprocessing.resource_tracker + • multiprocessing.spawn + • multiprocessing.synchronize + • multiprocessing.util + • ntpath + • os + • pathlib + • pickle + • pkgutil + • posixpath + • pprint + • py_compile + • pyi_rth_inspect.py + • pyi_rth_multiprocessing.py + • quopri + • re._compiler + • runpy + • selectors + • shutil + • socket + • ssl + • statistics + • subprocess + • sysconfig + • tarfile + • tempfile + • threading + • tokenize + • traceback + • types + • typing + • typing_extensions + • urllib.request + • warnings + • weakref + • xml.parsers.expat + • xml.sax + • xml.sax.saxutils + • xmlrpc.client + • zipfile + • zipimport + +
+ +
+ +
+ + sysconfig +SourceModule
+imports: + _aix_support + • _imp + • _sysconfigdata__x86_64-linux-gnu + • os + • os.path + • pprint + • re + • sys + • threading + • types + • warnings + +
+
+imported by: + _aix_support + • zoneinfo._tzpath + +
+ +
+ +
+ + tarfile +SourceModule
+imports: + argparse + • builtins + • bz2 + • copy + • grp + • gzip + • io + • lzma + • os + • pwd + • re + • shutil + • stat + • struct + • sys + • time + • warnings + • zlib + +
+
+imported by: + shutil + +
+ +
+ +
+ + tempfile +SourceModule
+imports: + _thread + • errno + • functools + • io + • os + • random + • shutil + • stat + • sys + • types + • warnings + • weakref + +
+ + +
+ +
+ + termios /usr/lib/python3.12/lib-dynload/termios.cpython-312-x86_64-linux-gnu.so
+imported by: + getpass + +
+ +
+ +
+ + textwrap +SourceModule
+imports: + re + +
+
+imported by: + argparse + • importlib.metadata + • importlib.metadata._adapters + • traceback + +
+ +
+ + + +
+ + time (builtin module)
+imports: + _strptime + +
+ + +
+ +
+ + token +SourceModule
+imported by: + inspect + • tokenize + +
+ +
+ +
+ + tokenize +SourceModule
+imports: + _tokenize + • argparse + • builtins + • codecs + • collections + • functools + • io + • itertools + • re + • sys + • token + +
+
+imported by: + importlib._bootstrap_external + • inspect + • linecache + +
+ +
+ + + +
+ + tracemalloc +SourceModule
+imports: + _tracemalloc + • collections.abc + • fnmatch + • functools + • linecache + • os.path + • pickle + +
+
+imported by: + warnings + +
+ +
+ + + + + +
+ + typing_extensions +SourceModule
+imports: + _socket + • abc + • annotationlib + • asyncio.coroutines + • builtins + • collections + • collections.abc + • contextlib + • enum + • functools + • inspect + • io + • keyword + • operator + • sys + • types + • typing + • warnings + +
+
+imported by: + babel.core + • babel.dates + • moneyed.classes + +
+ +
+ +
+ + unicodedata (builtin module)
+imported by: + encodings.idna + • re._parser + • stringprep + • traceback + • urllib.parse + +
+ +
+ +
+ + urllib +Package + +
+ +
+ + urllib.error +SourceModule
+imports: + io + • urllib + • urllib.response + +
+
+imported by: + urllib.request + +
+ +
+ +
+ + urllib.parse +SourceModule
+imports: + collections + • functools + • ipaddress + • math + • re + • types + • unicodedata + • urllib + • warnings + +
+
+imported by: + email.utils + • http.client + • http.cookiejar + • mimetypes + • nturl2path + • pathlib + • urllib.request + • xml.sax.saxutils + • xmlrpc.client + +
+ +
+ +
+ + urllib.request +SourceModule
+imports: + _scproxy + • base64 + • bisect + • contextlib + • email + • email.utils + • fnmatch + • ftplib + • getpass + • hashlib + • http.client + • http.cookiejar + • io + • ipaddress + • mimetypes + • nturl2path + • os + • re + • socket + • ssl + • string + • sys + • tempfile + • time + • urllib + • urllib.error + • urllib.parse + • urllib.response + • warnings + • winreg + +
+
+imported by: + http.cookiejar + • xml.sax.saxutils + +
+ +
+ +
+ + urllib.response +SourceModule
+imports: + tempfile + • urllib + +
+
+imported by: + urllib.error + • urllib.request + +
+ +
+ + + + + +
+ + winreg +MissingModule + +
+ +
+ + xml +Package
+imports: + xml.sax.expatreader + • xml.sax.xmlreader + +
+
+imported by: + xml.parsers + • xml.sax + +
+ +
+ +
+ + xml.parsers +Package
+imports: + xml + • xml.parsers.expat + +
+
+imported by: + xml.parsers.expat + • xml.sax.expatreader + • xmlrpc.client + +
+ +
+ +
+ + xml.parsers.expat +SourceModule
+imports: + pyexpat + • sys + • xml.parsers + +
+
+imported by: + xml.parsers + • xml.sax.expatreader + • xmlrpc.client + +
+ +
+ +
+ + xml.sax +Package
+imports: + io + • os + • sys + • xml + • xml.sax + • xml.sax._exceptions + • xml.sax.expatreader + • xml.sax.handler + • xml.sax.saxutils + • xml.sax.xmlreader + +
+ + +
+ +
+ + xml.sax._exceptions +SourceModule
+imports: + xml.sax + +
+
+imported by: + xml.sax + • xml.sax.expatreader + • xml.sax.xmlreader + +
+ +
+ +
+ + xml.sax.expatreader +SourceModule +
+imported by: + xml + • xml.sax + +
+ +
+ +
+ + xml.sax.handler +SourceModule
+imports: + xml.sax + +
+
+imported by: + xml.sax + • xml.sax.expatreader + • xml.sax.saxutils + • xml.sax.xmlreader + +
+ +
+ +
+ + xml.sax.saxutils +SourceModule
+imports: + codecs + • io + • os + • sys + • urllib.parse + • urllib.request + • xml.sax + • xml.sax.handler + • xml.sax.xmlreader + +
+
+imported by: + xml.sax + • xml.sax.expatreader + • xml.sax.xmlreader + +
+ +
+ +
+ + xml.sax.xmlreader +SourceModule
+imports: + xml.sax + • xml.sax._exceptions + • xml.sax.handler + • xml.sax.saxutils + +
+
+imported by: + xml + • xml.sax + • xml.sax.expatreader + • xml.sax.saxutils + +
+ +
+ +
+ + xmlrpc +Package
+imported by: + xmlrpc.client + +
+ +
+ +
+ + xmlrpc.client +SourceModule
+imports: + base64 + • datetime + • decimal + • errno + • gzip + • http.client + • io + • sys + • time + • urllib.parse + • xml.parsers + • xml.parsers.expat + • xmlrpc + +
+
+imported by: + multiprocessing.connection + +
+ +
+ +
+ + zipfile +Package
+imports: + argparse + • binascii + • bz2 + • importlib.util + • io + • lzma + • os + • py_compile + • shutil + • stat + • struct + • sys + • threading + • time + • warnings + • zipfile._path + • zlib + +
+ + +
+ +
+ + zipfile._path +Package
+imports: + contextlib + • io + • itertools + • pathlib + • posixpath + • re + • zipfile + • zipfile._path.glob + +
+
+imported by: + zipfile + • zipfile._path.glob + +
+ +
+ +
+ + zipfile._path.glob +SourceModule
+imports: + re + • zipfile._path + +
+
+imported by: + zipfile._path + +
+ +
+ +
+ + zipimport +SourceModule
+imports: + _frozen_importlib + • _frozen_importlib_external + • _imp + • _io + • _warnings + • importlib.readers + • marshal + • sys + • time + • zlib + +
+
+imported by: + pkgutil + +
+ +
+ +
+ + zlib (builtin module)
+imported by: + encodings.zlib_codec + • gzip + • shutil + • tarfile + • zipfile + • zipimport + +
+ +
+ +
+ + zoneinfo +Package
+imports: + _zoneinfo + • zoneinfo + • zoneinfo._common + • zoneinfo._tzpath + • zoneinfo._zoneinfo + +
+ + +
+ +
+ + zoneinfo._common +SourceModule
+imports: + importlib + • importlib.resources + • struct + • zoneinfo + +
+
+imported by: + zoneinfo + • zoneinfo._zoneinfo + +
+ +
+ +
+ + zoneinfo._tzpath +SourceModule
+imports: + importlib + • importlib.resources + • os + • sysconfig + • warnings + • zoneinfo + +
+
+imported by: + zoneinfo + • zoneinfo._zoneinfo + +
+ +
+ +
+ + zoneinfo._zoneinfo +SourceModule
+imports: + bisect + • calendar + • collections + • datetime + • functools + • pickle + • re + • weakref + • zoneinfo + • zoneinfo._common + • zoneinfo._tzpath + +
+
+imported by: + zoneinfo + +
+ +
+ + + diff --git a/moneyed/test1.py b/moneyed/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..1b42a9c6b57eaf4b72d0fad8a10c59ad59e51688 --- /dev/null +++ b/moneyed/test1.py @@ -0,0 +1,43 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +args = parser.parse_args() + +# 创建Money对象,货币为USD +m = Money(args.amount, 'USD') +# 打印金额数值 +print(m.amount) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 989.06 +# Output: +# 989.06 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 866.61 +# Output: +# 866.61 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 459.65 +# Output: +# 459.65 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 387.92 +# Output: +# 387.92 +# Return Code: 0 diff --git a/moneyed/test10.py b/moneyed/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..86f0da95c955e38660e2432cba31b200e82262b7 --- /dev/null +++ b/moneyed/test10.py @@ -0,0 +1,48 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 打印字符串表示 +print(str(m)) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 624.98 +# --currency = 'USD' +# Output: +# $624.98 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 384.38 +# --currency = 'USD' +# Output: +# $384.38 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 293.67 +# --currency = 'CHF' +# Output: +# CHF293.67 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 566.9 +# --currency = 'CNY' +# Output: +# CN¥566.90 +# Return Code: 0 diff --git a/moneyed/test10_executable.zip b/moneyed/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..854809203ce0d427f1d5ce59991dcb2133fe8692 --- /dev/null +++ b/moneyed/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c26d4689ec229e3861c452b2c6a6b8883bcfb01bdb20d3cf98dc2e6a85b06344 +size 18678044 diff --git a/moneyed/test11.py b/moneyed/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..935038016cca7661e32af44ceeea7e238eff3f75 --- /dev/null +++ b/moneyed/test11.py @@ -0,0 +1,48 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 打印repr表示 +print(repr(m)) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 797.89 +# --currency = 'EUR' +# Output: +# Money('797.89', 'EUR') +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 565.84 +# --currency = 'USD' +# Output: +# Money('565.84', 'USD') +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 744.4 +# --currency = 'JPY' +# Output: +# Money('744.4', 'JPY') +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 759.91 +# --currency = 'CHF' +# Output: +# Money('759.91', 'CHF') +# Return Code: 0 diff --git a/moneyed/test11_executable.zip b/moneyed/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d9c4bd6244deb48db1380f0eb95782d6394f0008 --- /dev/null +++ b/moneyed/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0fdd846dd848edc786be0bc57a52e50ea96df148f5043e7dd9ce8e61b659ad2 +size 18677866 diff --git a/moneyed/test12.py b/moneyed/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..cde4b40178913d27a6380436bb6703a237491bde --- /dev/null +++ b/moneyed/test12.py @@ -0,0 +1,55 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount1', type=float, required=True) +parser.add_argument('--amount2', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建两个Money对象并相加 +m1 = Money(args.amount1, args.currency) +m2 = Money(args.amount2, args.currency) +sum_result = m1 + m2 +# 打印总Money对象 +print(sum_result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount1 = 584.9 +# --amount2 = 675.64 +# --currency = 'CNY' +# Output: +# CN¥1,260.54 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount1 = 614.12 +# --amount2 = 295.89 +# --currency = 'EUR' +# Output: +# €910.01 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount1 = 470.03 +# --amount2 = 973.26 +# --currency = 'GBP' +# Output: +# £1,443.29 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount1 = 484.12 +# --amount2 = 249.38 +# --currency = 'AUD' +# Output: +# A$733.50 +# Return Code: 0 diff --git a/moneyed/test12_executable.zip b/moneyed/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..09fcc5f89888b4adb82f87403538d25020c35024 --- /dev/null +++ b/moneyed/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:554b811b7854bf9425a30468056de6eb21617e4664cb1df6c0c8bd2a0ddd5fd5 +size 18677705 diff --git a/moneyed/test13.py b/moneyed/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..ec38f917638ab9e0ac4e7b0efb4aac9a9e5aa098 --- /dev/null +++ b/moneyed/test13.py @@ -0,0 +1,56 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount1', type=float, required=True) +parser.add_argument('--amount2', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建两个Money对象 +m1 = Money(args.amount1, args.currency) +m2 = Money(args.amount2, args.currency) +# 相减 +diff = m1 - m2 +# 打印结果Money对象 +print(diff) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount1 = 325.56 +# --amount2 = 152.93 +# --currency = 'CHF' +# Output: +# CHF172.63 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount1 = 944.61 +# --amount2 = 315.65 +# --currency = 'GBP' +# Output: +# £628.96 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount1 = 566.94 +# --amount2 = 222.04 +# --currency = 'AUD' +# Output: +# A$344.90 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount1 = 654.09 +# --amount2 = 597.31 +# --currency = 'CAD' +# Output: +# CA$56.78 +# Return Code: 0 diff --git a/moneyed/test13_executable.zip b/moneyed/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7b698a835d94936fd283d65cf005f5a11fc75568 --- /dev/null +++ b/moneyed/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1009f1ef88e1328d95e3ea574cd43a8c8865ac3dc94f1e924ba7f1c57f566a48 +size 18678259 diff --git a/moneyed/test14.py b/moneyed/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..41d24f771d2fa4c991abde4abdec9a6a63c03ed4 --- /dev/null +++ b/moneyed/test14.py @@ -0,0 +1,50 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 取反 +neg = -m +# 打印取反后的Money对象 +print(neg) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 460.43 +# --currency = 'USD' +# Output: +# -$460.43 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 81.93 +# --currency = 'JPY' +# Output: +# -¥82 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 923.78 +# --currency = 'AUD' +# Output: +# -A$923.78 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 623.9 +# --currency = 'CHF' +# Output: +# -CHF623.90 +# Return Code: 0 diff --git a/moneyed/test14_executable.zip b/moneyed/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0f7dc188938ebee77b8e2144fa34d8293136193b --- /dev/null +++ b/moneyed/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e143dac9986ef8301a80bb6dd97ebf7d6240007fc9dcb7578af2bf9b831fe3b7 +size 18676450 diff --git a/moneyed/test15.py b/moneyed/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..9056ee6fa3f7460e73781b4279b16c491273a7a9 --- /dev/null +++ b/moneyed/test15.py @@ -0,0 +1,50 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 正号操作 +pos = +m +# 打印结果 +print(pos) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 847.41 +# --currency = 'GBP' +# Output: +# £847.41 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 319.39 +# --currency = 'JPY' +# Output: +# ¥319 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 698.41 +# --currency = 'JPY' +# Output: +# ¥698 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 859.57 +# --currency = 'CHF' +# Output: +# CHF859.57 +# Return Code: 0 diff --git a/moneyed/test15_executable.zip b/moneyed/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c0ed0fcb2d7d86276c5f0a43bae99e94b7f71dca --- /dev/null +++ b/moneyed/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef7e257fcad92a83e124baca426a0aeef9ff2fa9ea3007798b55a9f0dcaca34a +size 16585566 diff --git a/moneyed/test16.py b/moneyed/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..0e49b3213e30dba77d12da4c06a211cc273a3e6b --- /dev/null +++ b/moneyed/test16.py @@ -0,0 +1,50 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 取绝对值 +abs_m = abs(m) +# 打印结果 +print(abs_m) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 539.25 +# --currency = 'USD' +# Output: +# $539.25 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 88.72 +# --currency = 'EUR' +# Output: +# €88.72 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 573.99 +# --currency = 'USD' +# Output: +# $573.99 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 476.76 +# --currency = 'CNY' +# Output: +# CN¥476.76 +# Return Code: 0 diff --git a/moneyed/test16_executable.zip b/moneyed/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ca2ab5172e45e08ececd84bce047615af70fb009 --- /dev/null +++ b/moneyed/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa3d0cd4b9b64c886fb3020e1eba0dfed73f76eb45b361360a378a3b5722d45f +size 18677580 diff --git a/moneyed/test17.py b/moneyed/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..ec734d5e58bb3545aca791cebb19dfda0dbbf511 --- /dev/null +++ b/moneyed/test17.py @@ -0,0 +1,55 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +parser.add_argument('--factor', type=float, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 乘以因子 +product = m * args.factor +# 打印结果 +print(product) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 590.6 +# --currency = 'USD' +# --factor = 5.99 +# Output: +# $3,537.69 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 71.62 +# --currency = 'CHF' +# --factor = 9.47 +# Output: +# CHF678.24 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 305.32 +# --currency = 'EUR' +# --factor = 8.6 +# Output: +# €2,625.75 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 859.98 +# --currency = 'CHF' +# --factor = 7.7 +# Output: +# CHF6,621.85 +# Return Code: 0 diff --git a/moneyed/test17_executable.zip b/moneyed/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8c501e2d7dee0b2475caef7cf56306757dc55f48 --- /dev/null +++ b/moneyed/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df1d3ab5c7557754cdf3e31b0108f639b0e0c6079bc076e96ef2ffa5ab235d01 +size 18678548 diff --git a/moneyed/test18.py b/moneyed/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..97c63358932cd6cbb0baea8716eb636af6e42b18 --- /dev/null +++ b/moneyed/test18.py @@ -0,0 +1,55 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +parser.add_argument('--divisor', type=float, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 除以因子 +result = m / args.divisor +# 打印结果 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 413.41 +# --currency = 'USD' +# --divisor = 0.28 +# Output: +# $1,476.46 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 516.94 +# --currency = 'CAD' +# --divisor = 3.59 +# Output: +# CA$143.99 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 282.6 +# --currency = 'AUD' +# --divisor = 9.98 +# Output: +# A$28.32 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 604.21 +# --currency = 'CAD' +# --divisor = 4.95 +# Output: +# CA$122.06 +# Return Code: 0 diff --git a/moneyed/test18_executable.zip b/moneyed/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0af2e35ad4d8fb365a13ac78660bf068da17cdcb --- /dev/null +++ b/moneyed/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91fd5866f73fbace958304e83e6818614d82ae73d4e537b36d30713b207f0964 +size 18678246 diff --git a/moneyed/test19.py b/moneyed/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..65fd1a64b850de98b6492d26bdbc20991db12d05 --- /dev/null +++ b/moneyed/test19.py @@ -0,0 +1,59 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount1', type=float, required=True) +parser.add_argument('--amount2', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建两个Money对象 +m1 = Money(args.amount1, args.currency) +m2 = Money(args.amount2, args.currency) +# 选择较小者 +if m1 < m2: + smaller = m1 +else: + smaller = m2 +# 打印较小者的Money对象 +print(smaller) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount1 = 190.22 +# --amount2 = 53.46 +# --currency = 'EUR' +# Output: +# €53.46 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount1 = 983.9 +# --amount2 = 567.06 +# --currency = 'GBP' +# Output: +# £567.06 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount1 = 197.25 +# --amount2 = 630.55 +# --currency = 'EUR' +# Output: +# €197.25 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount1 = 204.37 +# --amount2 = 883.69 +# --currency = 'CAD' +# Output: +# CA$204.37 +# Return Code: 0 diff --git a/moneyed/test19_executable.zip b/moneyed/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..bfb0a3cd1559a0bab90a619665d9ad7cb5a64a6a --- /dev/null +++ b/moneyed/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:289919248b001f21dcb6de1e76af52d5525a8d1bce92594194c6519c3d5f3f24 +size 18677934 diff --git a/moneyed/test1_executable.zip b/moneyed/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8f72a81e149da17d64b1006cd2d071f59a196413 --- /dev/null +++ b/moneyed/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eca89556c944b67257701be0faf3c4674a6556a771c79b626345a51d6bdc5ded +size 18675921 diff --git a/moneyed/test2.py b/moneyed/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..2cfc338c0424cafce13dfa88f0564068f1da37b2 --- /dev/null +++ b/moneyed/test2.py @@ -0,0 +1,53 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 打印金额和货币代码 +print(m.amount) +print(m.currency.code) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 374.49 +# --currency = 'CAD' +# Output: +# 374.49 +# CAD +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 326.13 +# --currency = 'GBP' +# Output: +# 326.13 +# GBP +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 656.22 +# --currency = 'CAD' +# Output: +# 656.22 +# CAD +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 744.82 +# --currency = 'AUD' +# Output: +# 744.82 +# AUD +# Return Code: 0 diff --git a/moneyed/test20.py b/moneyed/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..226089ba898878c43a6a47c7080c49ff48ac0655 --- /dev/null +++ b/moneyed/test20.py @@ -0,0 +1,63 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount1', type=float, required=True) +parser.add_argument('--amount2', type=float, required=True) +parser.add_argument('--amount3', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建三个Money对象 +m1 = Money(args.amount1, args.currency) +m2 = Money(args.amount2, args.currency) +m3 = Money(args.amount3, args.currency) +# 先加前两个,再加第三个 +sum_part = m1 + m2 +total = sum_part + m3 +# 打印总Money对象 +print(total) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount1 = 996.23 +# --amount2 = 363.7 +# --amount3 = 403.97 +# --currency = 'JPY' +# Output: +# ¥1,764 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount1 = 970.33 +# --amount2 = 812.53 +# --amount3 = 770.85 +# --currency = 'GBP' +# Output: +# £2,553.71 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount1 = 469.09 +# --amount2 = 89.79 +# --amount3 = 853.15 +# --currency = 'GBP' +# Output: +# £1,412.03 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount1 = 854.65 +# --amount2 = 794.2 +# --amount3 = 846.62 +# --currency = 'USD' +# Output: +# $2,495.47 +# Return Code: 0 diff --git a/moneyed/test20_executable.zip b/moneyed/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..03ab3480bebbc80cbf01cc6ac8f6ce4e12fa1208 --- /dev/null +++ b/moneyed/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83ed13bfdc5071abb39312d637c3f5de0f75df8f644c7b4e5695536ad0b18f39 +size 18677583 diff --git a/moneyed/test2_executable.zip b/moneyed/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..290a6a07c5e3705c00e6d6feb5511784561316c9 --- /dev/null +++ b/moneyed/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b4e0d53917cf861e9b5fa042e0a402a1b8de72215f5462240f9210cc97bb49d +size 18676995 diff --git a/moneyed/test3.py b/moneyed/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..0bdbd896b16cd25a0ac4a6a3a2e971e2cd6243b3 --- /dev/null +++ b/moneyed/test3.py @@ -0,0 +1,56 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount1', type=float, required=True) +parser.add_argument('--amount2', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建两个Money对象 +m1 = Money(args.amount1, args.currency) +m2 = Money(args.amount2, args.currency) +# 相加两个Money对象 +total = m1 + m2 +# 打印总金额 +print(total.amount) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount1 = 185.9 +# --amount2 = 721.0 +# --currency = 'AUD' +# Output: +# 906.9 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount1 = 142.64 +# --amount2 = 859.01 +# --currency = 'CAD' +# Output: +# 1001.65 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount1 = 842.11 +# --amount2 = 666.36 +# --currency = 'EUR' +# Output: +# 1508.47 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount1 = 372.75 +# --amount2 = 808.18 +# --currency = 'GBP' +# Output: +# 1180.93 +# Return Code: 0 diff --git a/moneyed/test3_executable.zip b/moneyed/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..921015e5bb20bab28a699816ba5eebcc0d7a25d9 --- /dev/null +++ b/moneyed/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d07e2438686bbefb111efe7d9ab8e6d04eeab9485c7fe68952299f69cfb41add +size 18677909 diff --git a/moneyed/test5.py b/moneyed/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..3201c7d46da7cf65be78303c3ff096f996aaf90b --- /dev/null +++ b/moneyed/test5.py @@ -0,0 +1,50 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 乘以2 +doubled = m * 2 +# 打印结果金额 +print(doubled.amount) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 551.77 +# --currency = 'CHF' +# Output: +# 1103.54 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 502.88 +# --currency = 'JPY' +# Output: +# 1005.76 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 788.85 +# --currency = 'GBP' +# Output: +# 1577.70 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 739.46 +# --currency = 'CNY' +# Output: +# 1478.92 +# Return Code: 0 diff --git a/moneyed/test5_executable.zip b/moneyed/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..91e14c91650952d997eeaf689fcc34353e1cdfa6 --- /dev/null +++ b/moneyed/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b8acd44503b762dcd079a96506736e4b81f0b3e97d0ce8806ea2c3aacb022c2 +size 18678458 diff --git a/moneyed/test6.py b/moneyed/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..0bb34572adbc893f31f96235f5657eced9880060 --- /dev/null +++ b/moneyed/test6.py @@ -0,0 +1,50 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 除以2 +halved = m / 2 +# 打印结果金额 +print(halved.amount) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 133.13 +# --currency = 'GBP' +# Output: +# 66.565 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 918.14 +# --currency = 'USD' +# Output: +# 459.07 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 807.86 +# --currency = 'JPY' +# Output: +# 403.93 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 624.02 +# --currency = 'CAD' +# Output: +# 312.01 +# Return Code: 0 diff --git a/moneyed/test6_executable.zip b/moneyed/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7d9d4d42b714ba0269cf6b4916a742b950268a6a --- /dev/null +++ b/moneyed/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb402a41585994c4068e41ecdecf7b35c9e1b15dd4863d8272bf21d1cb15fad2 +size 18678581 diff --git a/moneyed/test7.py b/moneyed/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..9dc9a6dab25484db2b58396e13f233a21d1bac2e --- /dev/null +++ b/moneyed/test7.py @@ -0,0 +1,59 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount1', type=float, required=True) +parser.add_argument('--amount2', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建两个Money对象 +m1 = Money(args.amount1, args.currency) +m2 = Money(args.amount2, args.currency) +# 比较并选择较大者 +if m1 > m2: + larger = m1 +else: + larger = m2 +# 打印较大者的金额 +print(larger.amount) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount1 = 660.81 +# --amount2 = 386.28 +# --currency = 'CAD' +# Output: +# 660.81 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount1 = 810.32 +# --amount2 = 846.36 +# --currency = 'CNY' +# Output: +# 846.36 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount1 = 875.19 +# --amount2 = 552.04 +# --currency = 'CNY' +# Output: +# 875.19 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount1 = 485.76 +# --amount2 = 510.24 +# --currency = 'CAD' +# Output: +# 510.24 +# Return Code: 0 diff --git a/moneyed/test7_executable.zip b/moneyed/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..08ef57849504d16016f10fa2cb3031ac824bbc3e --- /dev/null +++ b/moneyed/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:517ee0a2fc4076f1d0615f329dcf7bf5f48d4d4542d39c9b059c1ae15f4aad99 +size 18676828 diff --git a/moneyed/test8.py b/moneyed/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..48475c7c021207f3b66c1bca931c480df0f7ec9e --- /dev/null +++ b/moneyed/test8.py @@ -0,0 +1,56 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount1', type=float, required=True) +parser.add_argument('--amount2', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建两个Money对象 +m1 = Money(args.amount1, args.currency) +m2 = Money(args.amount2, args.currency) +# 检查是否相等 +equal = (m1 == m2) +# 打印布尔结果 +print(equal) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount1 = 87.82 +# --amount2 = 596.88 +# --currency = 'EUR' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount1 = 98.37 +# --amount2 = 209.57 +# --currency = 'CNY' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount1 = 367.45 +# --amount2 = 908.57 +# --currency = 'CNY' +# Output: +# False +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount1 = 967.46 +# --amount2 = 548.79 +# --currency = 'CAD' +# Output: +# False +# Return Code: 0 diff --git a/moneyed/test8_executable.zip b/moneyed/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..196af1e6f366402841996d0c068a1928348a0435 --- /dev/null +++ b/moneyed/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfce028ba1e8aba77d80d28485d139133e5aca565d795c66819122ad1353c7f0 +size 18676948 diff --git a/moneyed/test9.py b/moneyed/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..0e9b0fea03e0b5e3f6bf03e1e18c80ea104def4f --- /dev/null +++ b/moneyed/test9.py @@ -0,0 +1,48 @@ +import argparse +from moneyed import Money + +parser = argparse.ArgumentParser() +parser.add_argument('--amount', type=float, required=True) +parser.add_argument('--currency', type=str, required=True) +args = parser.parse_args() + +# 创建Money对象 +m = Money(args.amount, args.currency) +# 打印货币名称 +print(m.currency.name) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --amount = 498.71 +# --currency = 'GBP' +# Output: +# British Pound +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --amount = 679.53 +# --currency = 'CHF' +# Output: +# Swiss Franc +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --amount = 937.19 +# --currency = 'CNY' +# Output: +# Chinese Yuan +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --amount = 168.51 +# --currency = 'USD' +# Output: +# US Dollar +# Return Code: 0 diff --git a/moneyed/test9_executable.zip b/moneyed/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..90a75d60fcfd790e934c1b0bb0f70c41eef17a90 --- /dev/null +++ b/moneyed/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf4cb35e236de0ccadfb7c44ba5712bfb8ed2cd59f1ca1e2e1c87043f88d020c +size 18678400 diff --git a/mpmath/__pycache__/test8.cpython-310.pyc b/mpmath/__pycache__/test8.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ac4e707b775d6fc2052971a1b4bab98889b45ae5 Binary files /dev/null and b/mpmath/__pycache__/test8.cpython-310.pyc differ diff --git a/mpmath/run_python_tests.sh b/mpmath/run_python_tests.sh new file mode 100644 index 0000000000000000000000000000000000000000..523ee5bd1cbc3433b64e00b3f211b448687fb7f2 --- /dev/null +++ b/mpmath/run_python_tests.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +echo "Python original output:" +echo "======================" + +test_cases=( + "3.6787492617852764 1.7313804521078167 -1.8435835209322864" + "0.44032366107643817 2.6423510518024234 1.942598618563495" + "0.3020005979509748 4.741405949825143 -2.018162270893553" + "3.3881880197733434 1.2773196501059552 -2.284792204553807" +) + +for i in "${!test_cases[@]}"; do + echo -e "\nTest Case $((i+1)):" + read -r a b c <<< "${test_cases[$i]}" + echo "Args: --a $a --b $b --c $c" + + echo "Python output:" + python3 test16.py --a "$a" --b "$b" --c "$c" + echo "" +done diff --git a/mpmath/test1.py b/mpmath/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..14e8e1002d6324c1da2f7292ee4704d5c5fa4172 --- /dev/null +++ b/mpmath/test1.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + args = parser.parse_args() + + result = mpmath.sqrt(args.a) # 计算平方根 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 69.28087701271835 +# Output: +# 8.32351350168415 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 74.79041423521518 +# Output: +# 8.64814513264059 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 87.0966726950073 +# Output: +# 9.33255981470289 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 32.51154638996668 +# Output: +# 5.70188972095802 +# Return Code: 0 diff --git a/mpmath/test10.py b/mpmath/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..815e251604ec67d2523f343b7ce1cc362e43a929 --- /dev/null +++ b/mpmath/test10.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + args = parser.parse_args() + + exp_a = mpmath.exp(args.a) # 计算e的a次幂 + log_b = mpmath.log(args.b) # 计算b的自然对数 + log10_sum = mpmath.log10(args.a + args.b) # 计算(a+b)的以10为底的对数 + print(exp_a) + print(log_b) + print(log10_sum) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -2.7543006514568846 +# --b = 94.26534150958473 +# Output: +# 0.0636535201028493 +# 4.54611358771927 +# 1.96147349509913 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -1.636961259868034 +# --b = 40.933950864067754 +# Output: +# 0.194570393738247 +# 3.71195981318686 +# 1.59435928196931 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -1.983694264253149 +# --b = 41.41387584989924 +# Output: +# 0.137560114059974 +# 3.72361599013238 +# 1.59582877711031 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -6.972419937688763 +# --b = 72.76282327162384 +# Output: +# 0.000937381753486832 +# 4.28720515542082 +# 1.8181625488864 +# Return Code: 0 diff --git a/mpmath/test10_executable.zip b/mpmath/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..13f10f2722ff3a45c72c446d18b79ee702590f2a --- /dev/null +++ b/mpmath/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93e8b35af156fe0da853a3380ab34cae1c4082fceb5ba667abc200ef77bb569a +size 43826010 diff --git a/mpmath/test11.py b/mpmath/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..519122da5c5a0b82ce2c248fbe7b5f651f48ee6c --- /dev/null +++ b/mpmath/test11.py @@ -0,0 +1,68 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=int, required=True) + args = parser.parse_args() + + gamma_a = mpmath.gamma(args.a) # 计算a的伽马函数值 + factorial_c = mpmath.factorial(args.c) # 计算c的阶乘 + binomial = mpmath.binomial(args.b, 2) # 计算b选2的组合数 + print(gamma_a) + print(factorial_c) + print(binomial) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 5.082121175150402 +# --b = 7.86329535170565 +# --c = 11 +# Output: +# 27.179956505774 +# 39916800.0 +# 26.984059218225 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 7.460351549862331 +# --b = 19.15854953006508 +# --c = 2 +# Output: +# 1732.44784602377 +# 2.0 +# 173.945735282946 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 6.288090159869057 +# --b = 12.702859783226284 +# --c = 15 +# Output: +# 197.631584500847 +# 1307674368000.0 +# 74.3298934445407 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 5.143014879182524 +# --b = 16.679724071383614 +# --c = 16 +# Output: +# 29.8352635612123 +# 20922789888000.0 +# 130.766735513055 +# Return Code: 0 diff --git a/mpmath/test11_executable.zip b/mpmath/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2c4dbaa54c497aba71e08e0de6d9a66438aac5f8 --- /dev/null +++ b/mpmath/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2902dee69e55aeb8318ddfc3eaf179eadf8f1902b183f7e978f0e404af5d64a +size 43827091 diff --git a/mpmath/test12.py b/mpmath/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..de58324c7aee00993076322e3e286028afe6b0c8 --- /dev/null +++ b/mpmath/test12.py @@ -0,0 +1,69 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + args = parser.parse_args() + + pi_val = mpmath.pi # 获取π值 + e_val = mpmath.e # 获取e值 + zeta_a = mpmath.zeta(args.a) # 计算a的黎曼ζ函数值 + erf_b = mpmath.erf(args.b) # 计算b的误差函数值 + print(pi_val) + print(e_val) + print(zeta_a) + print(erf_b) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 7.983340883846916 +# --b = 3.519807295461094 +# Output: +# 3.14159265358979 +# 2.71828182845905 +# 1.00412599273455 +# 0.999999356753939 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 5.219826145706202 +# --b = 0.07203183903362742 +# Output: +# 3.14159265358979 +# 2.71828182845905 +# 1.03118322063529 +# 0.0811388703305077 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 4.512397202768943 +# --b = 0.040787516477660546 +# Output: +# 3.14159265358979 +# 2.71828182845905 +# 1.05416797609847 +# 0.0459982745514977 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 7.701130354871644 +# --b = -1.3827965917143303 +# Output: +# 3.14159265358979 +# 2.71828182845905 +# 1.00504580280183 +# -0.949484134124975 +# Return Code: 0 diff --git a/mpmath/test12_executable.zip b/mpmath/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a1f071b6cdf9aeac9b407ec19db192dc5628cd9e --- /dev/null +++ b/mpmath/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:173a916caa904a2fea87285a436bb01fe6ee341207c98b842af7f1e7f3986d4c +size 43826533 diff --git a/mpmath/test13.py b/mpmath/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..0bc7fc046befe3e587b6f9db1b0ecd5db8dac5b4 --- /dev/null +++ b/mpmath/test13.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=int, required=True) + args = parser.parse_args() + + besselj_0 = mpmath.besselj(0, args.a) # 计算0阶贝塞尔函数在a处的值 + besselj_1 = mpmath.besselj(1, args.b) # 计算1阶贝塞尔函数在b处的值 + bessely_0 = mpmath.bessely(0, args.a) # 计算0阶第二类贝塞尔函数在a处的值 + besselk_c = mpmath.besselk(args.c, args.b) # 计算c阶修正贝塞尔函数在b处的值 + print(besselj_0) + print(besselj_1) + print(bessely_0) + print(besselk_c) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 8.903038731696194 +# --b = 4.436182295165279 +# --c = 0 +# Output: +# -0.0660304303446313 +# -0.213320096580661 +# 0.258911905478314 +# 0.0068682065550458 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 6.995476048166829 +# --b = 4.4766615904633795 +# --c = 0 +# Output: +# 0.300055007486539 +# -0.224702116380198 +# -0.0273191683446211 +# 0.00656723965644047 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 4.746236741994359 +# --b = 1.6751652426046149 +# --c = 0 +# Output: +# -0.256207733789433 +# 0.576194729771551 +# -0.26036767802312 +# 0.170785965849008 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 7.022378132103495 +# --b = 1.3293905301263165 +# --c = 0 +# Output: +# 0.300108833521006 +# 0.528280703642891 +# -0.0191814939637824 +# 0.267537950428624 +# Return Code: 0 diff --git a/mpmath/test13_executable.zip b/mpmath/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..61b3772ea75f824f9d39e0afb2fc803a7c589f7a --- /dev/null +++ b/mpmath/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:963edaf69a48b6ea1937be1d69278098e970578ab970e172550a3af0711c2d71 +size 43826890 diff --git a/mpmath/test14.py b/mpmath/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..1816d6ac1e96ececaa4b16cfde7883e360905f46 --- /dev/null +++ b/mpmath/test14.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + args = parser.parse_args() + + ellipk = mpmath.ellipk(args.a) # 计算第一类完全椭圆积分 + ellipe = mpmath.ellipe(args.b) # 计算第二类完全椭圆积分 + ellipf = mpmath.ellipf(args.a, args.b) # 计算第一类不完全椭圆积分 + print(ellipk) + print(ellipe) + print(ellipf) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 0.6608710423009476 +# --b = 0.14159284854631987 +# Output: +# 2.02140300709062 +# 1.51362224816284 +# 0.66727073074352 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 0.21160453314656083 +# --b = 0.5749088929480727 +# Output: +# 1.66552210164743 +# 1.31190517632723 +# 0.21251475871088 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 0.06737016396934475 +# --b = 0.7820517462358372 +# Output: +# 1.59830456979412 +# 1.19043494421382 +# 0.067410046852823 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 0.48974758332449086 +# --b = 0.7628927258059159 +# Output: +# 1.84548479002574 +# 1.20286399948653 +# 0.505205842514519 +# Return Code: 0 diff --git a/mpmath/test14_executable.zip b/mpmath/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6f805e856040277edee7375e6b880347e3e5e83e --- /dev/null +++ b/mpmath/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3389cf1fa697c8c52745286ac9199c42e5fe7f6542bd4d304388cdcd234feaf9 +size 43825937 diff --git a/mpmath/test15.py b/mpmath/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..15a66146906b41295c17620a820178ca27104488 --- /dev/null +++ b/mpmath/test15.py @@ -0,0 +1,74 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=float, required=True) + args = parser.parse_args() + + sqrt_sum = mpmath.sqrt(args.a + args.b) # 计算a+b的平方根 + sin_c = mpmath.sin(args.c) # 计算c的正弦值 + exp_product = mpmath.exp(args.a * args.b) # 计算e的(a*b)次幂 + log_ratio = mpmath.log(args.b / args.a) # 计算b/a的自然对数 + print(sqrt_sum) + print(sin_c) + print(exp_product) + print(log_ratio) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 8.360491318429782 +# --b = 4.322638346742554 +# --c = 8.697176819803378 +# Output: +# 3.56133818461156 +# 0.665080149613201 +# 4.95602483941137e+15 +# -0.659651251266869 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 3.0594804145495136 +# --b = 3.0604804145495135 +# --c = 7.131558088335481 +# Output: +# 2.4738554584088 +# 0.75020547396708 +# 11654.8757112387 +# 0.000326799480200955 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 0.30409472717946584 +# --b = 5.9942694313935885 +# --c = -7.72469482651492 +# Output: +# 2.50965419103371 +# -0.991654095634658 +# 6.18932310284306 +# 2.98121994161657 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 2.8079946826846482 +# --b = 0.2646633022043172 +# --c = 4.105805253877682 +# Output: +# 1.75289987874064 +# -0.821600302937167 +# 2.10259678540437 +# -2.36176741108923 +# Return Code: 0 diff --git a/mpmath/test15_executable.zip b/mpmath/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fccb5a03a69665743fef21954a4d0b527fccb7b2 --- /dev/null +++ b/mpmath/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03e18c28b70ade2a5bcceb33d6d4dee9ab6b7bac731143cd0a67082b41fbcd96 +size 43827067 diff --git a/mpmath/test16.py b/mpmath/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..16113a26902006c2dca0370508dcf0224d19c829 --- /dev/null +++ b/mpmath/test16.py @@ -0,0 +1,84 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=float, required=True) + args = parser.parse_args() + + # 处理边缘情况:非常小的数 + sinh_small = mpmath.sinh(mpmath.mpf('1e-10')) # 计算非常小的数的双曲正弦 + # 处理边缘情况:非常大的数 + log_large = mpmath.log(mpmath.mpf('1e100')) # 计算非常大的数的自然对数 + # 组合计算 + gamma_sum = mpmath.gamma(args.a + args.b) # 计算a+b的伽马函数值 + zeta_product = mpmath.zeta(args.a * args.b) # 计算a*b的黎曼ζ函数值 + # 误差函数组合 + erf_diff = mpmath.erf(args.b) - mpmath.erf(args.c) # 计算两个误差函数的差 + print(sinh_small) + print(log_large) + print(gamma_sum) + print(zeta_product) + print(erf_diff) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 3.6787492617852764 +# --b = 1.7313804521078167 +# --c = -1.8435835209322864 +# Output: +# 1.0e-10 +# 230.258509299405 +# 45.3238965652965 +# 1.01321082286025 +# 1.97652837080537 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 0.44032366107643817 +# --b = 2.6423510518024234 +# --c = 1.942598618563495 +# Output: +# 1.0e-10 +# 230.258509299405 +# 2.16143754747004 +# 6.70558306123962 +# 0.00582340221606104 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 0.3020005979509748 +# --b = 4.741405949825143 +# --c = -2.018162270893553 +# Output: +# 1.0e-10 +# 230.258509299405 +# 25.6267579345707 +# 2.92304815559663 +# 1.99568427481671 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 3.3881880197733434 +# --b = 1.2773196501059552 +# --c = -2.284792204553807 +# Output: +# 1.0e-10 +# 230.258509299405 +# 14.6870537838283 +# 1.062846007153 +# 1.92791176619486 +# Return Code: 0 diff --git a/mpmath/test16_executable.zip b/mpmath/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..bc0a86c8d3bf83863cd79086e65176a0397ce75b --- /dev/null +++ b/mpmath/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c3e8991f1ece2ac132151d46c67bfa83f2671514e23b036f254b5fabf73ec8e +size 43828102 diff --git a/mpmath/test17.py b/mpmath/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..9c75167f4166a07a7e7190785e3602c451dc8f36 --- /dev/null +++ b/mpmath/test17.py @@ -0,0 +1,100 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=float, required=True) + parser.add_argument('--d', type=int, required=True) + args = parser.parse_args() + + # 高精度计算 + mpmath.mp.dps = 50 # 设置精度为50位 + + # 复杂组合计算 + sin_cos = mpmath.sin(args.a) * mpmath.cos(args.b) # 计算sin(a)*cos(b) + tan_exp = mpmath.tan(args.c) * mpmath.exp(args.a) # 计算tan(c)*exp(a) + log_power = mpmath.log(mpmath.power(args.b, args.c)) # 计算log(b^c) + + # 特殊函数计算 + airyai = mpmath.airyai(args.a) # 计算Airy Ai函数 + airybi = mpmath.airybi(args.b) # 计算Airy Bi函数 + + # 阶乘计算 + factorial_d = mpmath.factorial(args.d) # 计算d的阶乘 + + print(sin_cos) + print(tan_exp) + print(log_power) + print(airyai) + print(airybi) + print(factorial_d) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -2.95887766888677 +# --b = 0.5204582047818751 +# --c = -0.7988297721309693 +# --d = 9 +# Output: +# -0.15764138704209178428478650687760561878309233852062 +# -0.053289752880541955587965901516815487832465126601116 +# 0.52167234161972191944924985921564495293440065102839 +# -0.36493263959124422428046401758429408280905469498604 +# 0.86550902429182625271150518419513405784791100399689 +# 362880.0 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -2.8543676533664377 +# --b = 4.749260427214979 +# --c = -0.11044001207299359 +# --d = 3 +# Output: +# -0.010443019355563879537211320236195328170002731735084 +# -0.0063864727393508728502044045297771290014194950726475 +# -0.17206431363134922986952344588233075677857684917698 +# -0.32167831725920820373166237905678506682417941840939 +# 383.39063730781353557168117568833228531477375986272 +# 6.0 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 0.44603091525795513 +# --b = 2.949274672397286 +# --c = 0.9431362279594651 +# --d = 3 +# Output: +# -0.42343501918922292738072762272956210572822421411265 +# 2.1530255897837650190806370627665780677566146186252 +# 1.0200577267857806752815855788069896701531651369228 +# 0.24399726938249940847283614737802727343783447425399 +# 12.927015627108430409616948112988136750973920136501 +# 6.0 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -1.2710070507723141 +# --b = 2.4057842427445277 +# --c = -0.09220320337733856 +# --d = 1 +# Output: +# 0.70822600523596681226673243495142676608867714490675 +# -0.025941065874030918730297006121673845688300203839248 +# -0.080942973730937467702017332855333883903471403081907 +# 0.51697986622397496863820934042046405695277451507155 +# 5.6619341369733865510559911272207201658880632094396 +# 1.0 +# Return Code: 0 diff --git a/mpmath/test17_executable.zip b/mpmath/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c201e43de5ce5484a90bf9d0f3a7d9856f9400f4 --- /dev/null +++ b/mpmath/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08577d174336371826eca2768b78e1a242a11d182a4483e9ecb7e70523a2e69f +size 43825186 diff --git a/mpmath/test18.py b/mpmath/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..ca4d65bbc67a2c070545f16264d2fa85faa54bed --- /dev/null +++ b/mpmath/test18.py @@ -0,0 +1,111 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=float, required=True) + args = parser.parse_args() + + # 设置高精度 + mpmath.mp.dps = 30 + + # 贝塞尔函数组合 + besselj_0_a = mpmath.besselj(0, args.a) # 0阶贝塞尔函数 + bessely_1_b = mpmath.bessely(1, args.b) # 1阶第二类贝塞尔函数 + + # 伽马和贝塔函数 + gamma_a = mpmath.gamma(args.a) # 伽马函数 + beta_ab = mpmath.beta(args.a, args.b) # 贝塔函数 + + # 黎曼ζ函数 + zeta_c = mpmath.zeta(args.c) # 黎曼ζ函数 + + # 椭圆积分 + ellipk_b = mpmath.ellipk(args.b) # 第一类完全椭圆积分 + + # 误差函数和互补误差函数 + erf_c = mpmath.erf(args.c) # 误差函数 + erfc_c = mpmath.erfc(args.c) # 互补误差函数 + + print(besselj_0_a) + print(bessely_1_b) + print(gamma_a) + print(beta_ab) + print(zeta_c) + print(ellipk_b) + print(erf_c) + print(erfc_c) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 4.58379812480786 +# --b = 0.1881779684570949 +# --c = 4.5224349299448185 +# Output: +# -0.300262695706003939082686096689 +# -3.51921594336042349090966741958 +# 13.0787485388481808690054487223 +# 3.73972464477235843282551535707 +# 1.05373539795154135800103537515 +# 1.65371181441456620591970026769 +# 0.99999999984017479202864985158 +# 1.59825207971350148420134462926e-10 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 2.5496174740201596 +# --b = 0.9810081359237316 +# --c = 3.3519442738392926 +# Output: +# -0.0727375851819113216217933313088 +# -0.797886329951945976393782266319 +# 1.37736269220667003350285136856 +# 0.405157077518126406885694728391 +# 1.14486611966178837480999115157 +# 3.37952374865854517009277657945 +# 0.999997866664988211151897441511 +# 0.00000213333501178884810255848901749 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 2.659250493425447 +# --b = 0.5207840396828652 +# --c = 1.6659320436214808 +# Output: +# -0.124203317771898337473614870075 +# -1.42149177951369983101310236653 +# 1.49589632712263043008634353021 +# 1.07227925644615993230505272582 +# 2.12512920077048813660798656945 +# 1.87209542843297410512461516801 +# 0.981526271205574221998253522774 +# 0.0184737287944257780017464772259 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 1.6088987567965716 +# --b = 0.38944692968273686 +# --c = 2.12784687475569 +# Output: +# 0.450326921993142252725213379484 +# -1.82254647170496358621650394019 +# 0.894548467397274761716356305165 +# 2.0408822466507761856975385399 +# 1.5394758707358859688624440673 +# 1.77027088181342869856027275059 +# 0.997380891632213152313327617382 +# 0.00261910836778684768667238261803 +# Return Code: 0 diff --git a/mpmath/test18_executable.zip b/mpmath/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6e4374717015969bf578fb1bc7de9ef4af79293e --- /dev/null +++ b/mpmath/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b70f11f285be47e28a59f948ffd52a692fca2d246ba72692e6662165098f3cb +size 43828454 diff --git a/mpmath/test19.py b/mpmath/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..3fd9170cd20cb47f44d0a6dda8b38265feff6752 --- /dev/null +++ b/mpmath/test19.py @@ -0,0 +1,120 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=float, required=True) + parser.add_argument('--d', type=float, required=True) + args = parser.parse_args() + + # 设置高精度 + mpmath.mp.dps = 40 + + # 定义函数用于积分 + def f1(x): + return mpmath.sin(x) * mpmath.exp(-x) + + def f2(x): + return mpmath.cos(x) * mpmath.log(1 + x) + + # 数值积分 + quad1 = mpmath.quad(f1, [0, args.a]) # 积分sin(x)*exp(-x)从0到a + quad2 = mpmath.quad(f2, [0, args.b]) # 积分cos(x)*log(1+x)从0到b + + # 数值微分 + f = lambda x: mpmath.exp(x) * mpmath.sin(x) + diff1 = mpmath.diff(f, args.c) # 计算f在c处的导数 + diff2 = mpmath.diff(f, args.d) # 计算f在d处的导数 + + # 特殊函数计算 + ci_a = mpmath.ci(args.a) # 余弦积分 + si_b = mpmath.si(args.b) # 正弦积分 + ei_c = mpmath.ei(args.c) # 指数积分 + li_d = mpmath.li(args.d) # 对数积分 + + print(quad1) + print(quad2) + print(diff1) + print(diff2) + print(ci_a) + print(si_b) + print(ei_c) + print(li_d) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 0.5496568318463065 +# --b = 4.94502604416298 +# --c = 0.8497304216743338 +# --d = 2.7406305664057893 +# Output: +# 0.1031824444652516094754413392137919129276 +# -2.343204915052195995022698643941870085986 +# 3.301025782287530189241918320458766464256 +# -8.219193210107171026276573559568656601433 +# -0.09583167534019688618642555380400191714372 +# 1.560613789975494024365226698469597850629 +# 1.484972137290818790014456035058015134555 +# 1.917375430814780733316740657415861672788 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 4.184919118526491 +# --b = 3.3784883509850396 +# --c = 1.6225594739902327 +# --d = 0.827489876016875 +# Output: +# 0.5104085081958203520371096856098645208307 +# -1.18387557408446738764380798387963130289 +# 4.797137526309484391605124405211846752225 +# 3.232246312989679378698368587127952779304 +# -0.1672260284990470398459493043222572903337 +# 1.843469723151629003650045102384070204215 +# 3.675454625000307095039543219436154692659 +# -1.267656531252091374761799919973676133397 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 1.551129042765735 +# --b = 4.486642196660774 +# --c = 0.7371625055180182 +# --d = 2.5796091977028004 +# Output: +# 0.3919315836406682697909380404135836259564 +# -2.347330646075063552821565379387174707495 +# 2.95226391562151412004979413337094768428 +# -4.133499237176672140726513698908614848318 +# 0.4718764950662321309693702882715231306917 +# 1.657042156877892021759804550524770610784 +# 1.171017416889663385098234286791655701616 +# 1.752716079942495140562213788709290047406 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 0.32268326895477367 +# --b = 2.6423265535525697 +# --c = 2.7519458862830817 +# --d = -0.06051274811647289 +# Output: +# 0.04176027793014926128115217329001444145122 +# -0.1928599039977885133317261531269997826186 +# -8.544686116166368777412054617884064899173 +# 0.8826341152118221154751068241747752634409 +# -0.5797868108358042318270216866601111045564 +# 1.808424462106421944111489364987588318549 +# 8.401372733181391358679207047596247630472 +# (0.009300974106484585122222490713832000545745 + 3.149765855992811396755759553684679152667j) +# Return Code: 0 diff --git a/mpmath/test19_executable.zip b/mpmath/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0c4ad67655b611d9a129f0944cb67e9dc5d03cc9 --- /dev/null +++ b/mpmath/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:643c6164aa7d6654f0164539b389e9c4fde6cd53b7ce33253ff5d2abbc585966 +size 43828121 diff --git a/mpmath/test1_executable.zip b/mpmath/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ee58a7de6efc9d53ee185a879a6d7521e856fb6c --- /dev/null +++ b/mpmath/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44465db4ad001be6847f6f5a55d3813ef90e035fcac2e9fd9a7f9795ed5449bf +size 43827359 diff --git a/mpmath/test2.py b/mpmath/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..4f5cacebbc51950cd0c793edb083fc8941df0819 --- /dev/null +++ b/mpmath/test2.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + args = parser.parse_args() + + result = mpmath.sin(args.a) # 计算正弦值 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -9.253517005716365 +# Output: +# -0.170424992329071 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -30.067490446558796 +# Output: +# 0.975379657853604 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 24.7357216170035 +# Output: +# -0.386671497431565 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -15.44043782624506 +# Output: +# -0.264345715199275 +# Return Code: 0 diff --git a/mpmath/test2_executable.zip b/mpmath/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6f326db9885ae8e1ac193883e58a15c3db18e216 --- /dev/null +++ b/mpmath/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49391abf38240a676ea48e416f7c22d6409dee1e2ab609d2c5dfe4f7168c3c25 +size 43826005 diff --git a/mpmath/test3.py b/mpmath/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..aff8b199453d19d6415dbc425c769fb23b3f9bed --- /dev/null +++ b/mpmath/test3.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + args = parser.parse_args() + + result = mpmath.log(args.a) # 计算自然对数 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 76.06210119095341 +# Output: +# 4.33155012755837 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 69.98412644709931 +# Output: +# 4.24826845129284 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 62.18202508864812 +# Output: +# 4.13006597226766 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 97.96114051453762 +# Output: +# 4.58457087467174 +# Return Code: 0 diff --git a/mpmath/test3_executable.zip b/mpmath/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b8e9fc2c750780a4287c32ab3008a7b264ad9d84 --- /dev/null +++ b/mpmath/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7fa974b958c4fd5c28dda2bf61796fc8444ff2174332351e9d60abee90736303 +size 43826333 diff --git a/mpmath/test4.py b/mpmath/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..fffe78245c41e6cf8a88787df3b0f4ee82e9c1c6 --- /dev/null +++ b/mpmath/test4.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + args = parser.parse_args() + + result = mpmath.power(args.a, args.b) # 计算a的b次幂 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -7.5392458442057215 +# --b = 2.284143861627398 +# Output: +# (63.3061293014282 + 78.5848680430688j) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -4.135207948031661 +# --b = -2.0518170307134573 +# Output: +# (0.0536142513643843 - 0.00880567797239696j) +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 1.3860817813076327 +# --b = -2.16042541960054 +# Output: +# 0.493941769295255 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 9.095774480636084 +# --b = 3.3447888868225366 +# Output: +# 1611.07708002699 +# Return Code: 0 diff --git a/mpmath/test4_executable.zip b/mpmath/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..16e43d8d073118dcb199da80bd7544870a36f389 --- /dev/null +++ b/mpmath/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:518eb9af4bd9c69b159fe28ee889e6ebffddcd0d7e102d19c4daf4033373ccdf +size 43825469 diff --git a/mpmath/test5.py b/mpmath/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..834ebd6774674e2b2c58e4001e2a70c67a82d8a7 --- /dev/null +++ b/mpmath/test5.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + args = parser.parse_args() + + result = mpmath.atan2(args.a, args.b) # 计算atan2(a, b) + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 9.654082772260296 +# --b = -7.809993144940631 +# Output: +# 2.25099102614123 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 0.061839235604006504 +# --b = -5.285380302330884 +# Output: +# 3.1298931333002 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -6.304977316978175 +# --b = 4.099454105083884 +# Output: +# -0.994285219878222 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 4.146991926901517 +# --b = 6.859645454387113 +# Output: +# 0.543757655001919 +# Return Code: 0 diff --git a/mpmath/test5_executable.zip b/mpmath/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6ce6ea41e6d3230587f376ee21319a2b493b4f02 --- /dev/null +++ b/mpmath/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:434a2f4b4fcebc1f9376515558a363c195d564d514a21c565a3f2b745c525f31 +size 43826694 diff --git a/mpmath/test6.py b/mpmath/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..16d97c00866557cf3093e51704ef2af7a56c48dd --- /dev/null +++ b/mpmath/test6.py @@ -0,0 +1,57 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + args = parser.parse_args() + + sin_result = mpmath.sin(args.a) # 计算a的正弦值 + cos_result = mpmath.cos(args.b) # 计算b的余弦值 + print(sin_result) + print(cos_result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 12.896347627215668 +# --b = -14.374178949279685 +# Output: +# 0.324021281498145 +# -0.234799219654658 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 17.47210429622786 +# --b = 24.60362511385837 +# Output: +# -0.981367066819415 +# 0.863253566829399 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -7.038747715328828 +# --b = 12.582223986190044 +# Output: +# -0.685698146107207 +# 0.99987433793271 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -5.790590831438159 +# --b = -6.645302864778444 +# Output: +# 0.472913492838319 +# 0.935148764952491 +# Return Code: 0 diff --git a/mpmath/test6_executable.zip b/mpmath/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4b7a59f3634593578027d9b4b9ea05f599736f7f --- /dev/null +++ b/mpmath/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:930b2b2816d76eec35cdc677b32a9d6f724e21410a2ce96dba37c329adc1bdd2 +size 43826049 diff --git a/mpmath/test7.py b/mpmath/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..cad799d8d157adcff57d11f040cd3da087a8e3ad --- /dev/null +++ b/mpmath/test7.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + args = parser.parse_args() + + sqrt_a = mpmath.sqrt(args.a) # 计算a的平方根 + power_result = mpmath.power(sqrt_a, args.b) # 计算sqrt_a的b次幂 + final_result = mpmath.sin(power_result) # 计算上述结果的正弦值 + print(final_result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 4.1103495782101485 +# --b = 4.481570608374195 +# Output: +# -0.98330877804653 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 84.82211568831397 +# --b = -2.018550181798612 +# Output: +# 0.0113134363319486 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 19.338766301189413 +# --b = -4.095649185088749 +# Output: +# 0.00232070077993895 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 10.740374728368495 +# --b = 2.113217773226417 +# Output: +# -0.277424358305879 +# Return Code: 0 diff --git a/mpmath/test7_executable.zip b/mpmath/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..adb523614a5bc3661a392065a964fda723e25ecb --- /dev/null +++ b/mpmath/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdd11993283067f922a1064ea3f81d7c18875394f781c97551046a85e281d270 +size 43826818 diff --git a/mpmath/test8.py b/mpmath/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..f2ddc4084a46926636a8152457bd4e3fb76c2fd0 --- /dev/null +++ b/mpmath/test8.py @@ -0,0 +1,68 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + parser.add_argument('--c', type=float, required=True) + args = parser.parse_args() + + tan_a = mpmath.tan(args.a) # 计算a的正切值 + cos_b = mpmath.cos(args.b) # 计算b的余弦值 + atan_c = mpmath.atan(args.c) # 计算c的反正切值 + print(tan_a) + print(cos_b) + print(atan_c) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = -0.8022526592612831 +# --b = -28.872221564340915 +# --c = -5.183710461937032 +# Output: +# -1.03429018251194 +# -0.826526477187815 +# -1.38022533937086 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = -0.6846870149091064 +# --b = 6.571650446885755 +# --c = 9.329465589582423 +# Output: +# -0.816442935515627 +# 0.958681643343237 +# 1.4640167399452 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = -1.2492085640582582 +# --b = 30.603461408343207 +# --c = -9.896206092463075 +# Output: +# -3.00162871203663 +# 0.687710879499457 +# -1.47008934166758 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 0.24336825710500154 +# --b = 0.461252442058548 +# --c = -4.59393081649818 +# Output: +# 0.248289630720456 +# 0.895495775611052 +# -1.35646141763329 +# Return Code: 0 diff --git a/mpmath/test8_executable.zip b/mpmath/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..33fa5c3325bdbfe80bfde30be6ae5e9a634f79e7 --- /dev/null +++ b/mpmath/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26d61f30d4d9d5fa159164705b37cbccaa7ec9e358ed91b42f2d29103381047f +size 43827662 diff --git a/mpmath/test9.py b/mpmath/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..994cef58b4adf6d0eabf6e75c6aa8c85c32314b9 --- /dev/null +++ b/mpmath/test9.py @@ -0,0 +1,69 @@ +#!/usr/bin/env python3 +import argparse +import mpmath + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=float, required=True) + parser.add_argument('--b', type=float, required=True) + args = parser.parse_args() + + sinh_a = mpmath.sinh(args.a) # 计算a的双曲正弦 + cosh_a = mpmath.cosh(args.a) # 计算a的双曲余弦 + tanh_b = mpmath.tanh(args.b) # 计算b的双曲正切 + asinh_b = mpmath.asinh(args.b) # 计算b的反双曲正弦 + print(sinh_a) + print(cosh_a) + print(tanh_b) + print(asinh_b) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 4.747552397301515 +# --b = -2.0449070849259696 +# Output: +# 57.6465265799616 +# 57.6551994770135 +# -0.967066691787921 +# -1.46354003171298 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 0.2093756337310797 +# --b = 1.8828915640253943 +# Output: +# 0.2109087639715 +# 1.02199926943222 +# 0.954748594079893 +# 1.39000196525039 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 2.2927209545334906 +# --b = -4.76126621200793 +# Output: +# 4.90042611543559 +# 5.0014174103791 +# -0.999853642518404 +# -2.26451070312976 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = -3.1295338348595756 +# --b = 3.4325682906017114 +# Output: +# -11.409790396912 +# 11.4535285786287 +# 0.997915095850913 +# 1.94702866966809 +# Return Code: 0 diff --git a/mpmath/test9_executable.zip b/mpmath/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..493bad026824d142881ce287452a65c8ea562c41 --- /dev/null +++ b/mpmath/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8a0fdbe249be280a8058a12ca93a69bd3570841f32b692526cacc3201f3a44e +size 43827029 diff --git a/networkx/__pycache__/test13.cpython-310.pyc b/networkx/__pycache__/test13.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1d5d748d3bd40fb0bcb287a25491464771bed677 Binary files /dev/null and b/networkx/__pycache__/test13.cpython-310.pyc differ diff --git a/networkx/__pycache__/test20.cpython-312.pyc b/networkx/__pycache__/test20.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d69d19e7e3f6d05c1ac90b40841cbfaba8e499e5 Binary files /dev/null and b/networkx/__pycache__/test20.cpython-312.pyc differ diff --git a/networkx/__pycache__/test4.cpython-312.pyc b/networkx/__pycache__/test4.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..54c3ab6956665d482aa3f9552ba63e3e8b842616 Binary files /dev/null and b/networkx/__pycache__/test4.cpython-312.pyc differ diff --git a/networkx/test1.py b/networkx/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..2fddcec127c3cfca7eebd9f8db9e7cbcf16bd008 --- /dev/null +++ b/networkx/test1.py @@ -0,0 +1,11 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_nodes_from([args.a, args.b]) +print(G.number_of_nodes()) # 获取图中节点数量 diff --git a/networkx/test10.py b/networkx/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..04824a19aed6e82fabf9ecee73636b726b9aaf4d --- /dev/null +++ b/networkx/test10.py @@ -0,0 +1,23 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_weighted_edges_from([(args.a, args.b, 1.0), (args.b, args.c, 2.0), (args.c, args.d, 3.0), (args.d, args.e, 4.0), (args.a, args.e, 5.0)]) +print(G.number_of_edges()) # 获取边数量 +print(G[args.a][args.b]['weight']) # 获取边权重 +mst = nx.minimum_spanning_tree(G) # 最小生成树 +print(mst.number_of_edges()) # MST边数量 +print(mst.has_edge(args.a, args.b)) # 检查MST中的边 +print(nx.dijkstra_path_length(G, args.a, args.e)) # Dijkstra最短路径长度 +print(nx.dijkstra_path(G, args.a, args.e)) # Dijkstra最短路径 +print(list(nx.bfs_edges(G, args.a))) # BFS边 +print(list(nx.dfs_edges(G, args.a))) # DFS边 +print(nx.node_connectivity(G)) # 节点连通性 diff --git a/networkx/test10_executable.zip b/networkx/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..33ec7a8d1c672b1737ab4b317e1d42cf820c4c79 --- /dev/null +++ b/networkx/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f219d77607b0b0917b3aed2def1844b2487613bb6ade76cf9cda08a55a82d435 +size 147452908 diff --git a/networkx/test11.py b/networkx/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..aee50ba208fd3b4eebf6ad9aae2ca8d0992f4205 --- /dev/null +++ b/networkx/test11.py @@ -0,0 +1,23 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +G = nx.DiGraph() +G.add_edges_from([(args.a, args.b), (args.b, args.c), (args.c, args.d), (args.a, args.c), (args.b, args.d)]) +in_deg = dict(G.in_degree()) # 获取所有节点入度 +out_deg = dict(G.out_degree()) # 获取所有节点出度 +print(in_deg[args.b]) +print(out_deg[args.b]) +print(G.in_edges(args.c)) # 获取入边 +print(G.out_edges(args.b)) # 获取出边 +print(list(nx.ancestors(G, args.d))) # 获取祖先节点 +print(list(nx.descendants(G, args.a))) # 获取后代节点 +print(nx.is_weakly_connected(G)) # 检查弱连通 +print(nx.is_strongly_connected(G)) # 检查强连通 +print(list(nx.weakly_connected_components(G))) # 弱连通分量 diff --git a/networkx/test11_executable.zip b/networkx/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ef65e3a231395de2fc1c36a53f7c67336c4efefc --- /dev/null +++ b/networkx/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bd28744086f034f9f58b0c6f92101f50905be6ca51382e5e6562e63c562ce04 +size 147452643 diff --git a/networkx/test13.py b/networkx/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..54fad06b3a0c8a3b0bc2a571db8f8d84dab6860a --- /dev/null +++ b/networkx/test13.py @@ -0,0 +1,19 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_edges_from([(args.a, args.b), (args.b, args.c), (args.c, args.a), (args.c, args.d), (args.d, args.e), (args.e, args.c)]) +print(nx.clustering(G, args.c)) # 计算聚类系数 +print(nx.clustering(G)) # 计算所有节点聚类系数 +print(nx.average_clustering(G)) # 平均聚类系数 +print(nx.transitivity(G)) # 传递性 +print(nx.triangles(G, args.c)) # 三角形数量 +print(list(nx.find_cliques(G))) # 查找团 diff --git a/networkx/test13_executable.zip b/networkx/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b7571b85d3b79c250388f332cd51605af8b936e6 --- /dev/null +++ b/networkx/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d0e7433af27e2d73f38d620f9a67f3c9b02a1fa696fa0db217d9972e6f37628 +size 147453907 diff --git a/networkx/test14.py b/networkx/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..4fb41f3d05068c10cb14945eb78fdd0fd2c29e4d --- /dev/null +++ b/networkx/test14.py @@ -0,0 +1,23 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +G1 = nx.Graph() +G1.add_edges_from([(args.a, args.b), (args.b, args.c), (args.c, args.d)]) +G2 = nx.Graph() +G2.add_edges_from([(1, 2), (2, 3), (3, 4)]) +print(nx.is_isomorphic(G1, G2)) # 检查图同构 +print(nx.graph_edit_distance(G1, G2)) # 图编辑距离 +GM = nx.isomorphism.GraphMatcher(G1, G2) +print(GM.is_isomorphic()) # 使用匹配器检查同构 +print(list(GM.isomorphisms_iter())) # 同构映射 +GM2 = nx.isomorphism.GraphMatcher(G1, G1) +print(GM2.is_isomorphic()) # 自同构检查 +GM3 = nx.isomorphism.GraphMatcher(G2, G2) +print(GM3.is_isomorphic()) diff --git a/networkx/test14_executable.zip b/networkx/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2b4de92e42108a87f465d2d549213a73aafe56c3 --- /dev/null +++ b/networkx/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcf027d29b0ae8260832578a7bfa20aa1dbd47698be4b6bdd8e895502dc9afd9 +size 147452899 diff --git a/networkx/test15.py b/networkx/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..feb80530b6bc9e484e2dfbd6a5806f5e0c41208e --- /dev/null +++ b/networkx/test15.py @@ -0,0 +1,26 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_edges_from([(args.a, args.b), (args.b, args.c), (args.c, args.d), (args.d, args.e)]) +H = G.copy() # 复制图 +H.remove_edge(args.b, args.c) # 删除边 +print(H.number_of_edges()) +H.add_node(100) # 添加节点 +print(H.number_of_nodes()) +sub_G = G.subgraph([args.a, args.b, args.c]) # 子图 +print(sub_G.number_of_nodes()) +print(sub_G.number_of_edges()) +induced_sub = nx.induced_subgraph(G, [args.a, args.b, args.c, args.d]) # 诱导子图 +print(induced_sub.number_of_edges()) +ego = nx.ego_graph(G, args.c, radius=1) # 自我中心图 +print(ego.number_of_nodes()) +print(nx.complement(G).number_of_edges()) # 补图边数 diff --git a/networkx/test15_executable.zip b/networkx/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c9991b3ce47e57995b95190a2d01d7785dfa7a8d --- /dev/null +++ b/networkx/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2649829f8c9385edd09a554ff3e978bfdc2b55b3777ba3afa9a30fe1ddeeb743 +size 147452159 diff --git a/networkx/test16.py b/networkx/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..17d01c7a317da766a455a390f3fa9ef1ffd2bffa --- /dev/null +++ b/networkx/test16.py @@ -0,0 +1,35 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +parser.add_argument('--f', type=int, required=True) +parser.add_argument('--g', type=int, required=True) +parser.add_argument('--h', type=int, required=True) +parser.add_argument('--i', type=int, required=True) +parser.add_argument('--j', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +nodes = [args.a, args.b, args.c, args.d, args.e, args.f, args.g, args.h, args.i, args.j] +G.add_nodes_from(nodes) +edges = [(args.a, args.b), (args.b, args.c), (args.c, args.d), (args.d, args.e), (args.e, args.f), + (args.f, args.g), (args.g, args.h), (args.h, args.i), (args.i, args.j), (args.a, args.j)] +G.add_edges_from(edges) +print(G.number_of_nodes()) +print(G.number_of_edges()) +print(nx.is_connected(G)) +print(nx.diameter(G)) # 图直径 +print(nx.radius(G)) # 图半径 +print(nx.eccentricity(G)) # 离心率 +print(nx.center(G)) # 图中心 +print(nx.periphery(G)) # 图边缘 +print(nx.degree_histogram(G)) # 度直方图 +print(nx.density(G)) # 图密度 +print(nx.average_shortest_path_length(G)) # 平均最短路径长度 +print(nx.is_eulerian(G)) # 检查欧拉图 +print(list(nx.eulerian_circuit(G))) # 欧拉回路 diff --git a/networkx/test16_executable.zip b/networkx/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..20597959b84304406eb8e8b413f58bd6abddd2be --- /dev/null +++ b/networkx/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a575ccf3ce7a0fb5457f2002c0ed77c7252c13c45600a2a79416411d4ee0cf53 +size 147451358 diff --git a/networkx/test17.py b/networkx/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..215c94aa203acd1d5bf52f3d5ca4789903447335 --- /dev/null +++ b/networkx/test17.py @@ -0,0 +1,30 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +G = nx.DiGraph() +G.add_edge(args.a, args.b, capacity=10) +G.add_edge(args.b, args.c, capacity=15) +G.add_edge(args.c, args.d, capacity=10) +G.add_edge(args.d, args.e, capacity=5) +G.add_edge(args.a, args.c, capacity=10) +flow_value, flow_dict = nx.maximum_flow(G, args.a, args.e) # 最大流 +print(flow_value) +print(flow_dict[args.a][args.b]) +print(flow_dict[args.b][args.c]) +mf = nx.maximum_flow_value(G, args.a, args.e) # 最大流值 +print(mf) +cut_value, partition = nx.minimum_cut(G, args.a, args.e) # 最小割 +print(cut_value) +print(partition) +mf2 = nx.max_flow_min_cost(G, args.a, args.e) # 最小费用最大流 +print(mf2) +flow_value2 = nx.minimum_cut_value(G, args.a, args.e) # 最小割值 +print(flow_value2) diff --git a/networkx/test17_executable.zip b/networkx/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..92f4e7138b7fd6280315e0fa98eac7c6387a60e0 --- /dev/null +++ b/networkx/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d2a9ba3a59d0dee61caefdf97713994ebb02e58354ec0172b6c4d0c5bb57ff0 +size 147451773 diff --git a/networkx/test1_executable.zip b/networkx/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fbfe61269e028b59c0784f7251d9f6717d92df72 --- /dev/null +++ b/networkx/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:282748976e67d9d222013ada6db499fb0bcfcd6642f3410b6e36b3233070cfd3 +size 147453845 diff --git a/networkx/test2.py b/networkx/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..963c142d9b0d6706c69170ebdfea2bdddfa92e87 --- /dev/null +++ b/networkx/test2.py @@ -0,0 +1,12 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +G = nx.DiGraph() +G.add_edge(args.a, args.b, weight=args.c) +print(G.number_of_edges()) # 获取图中边数量 diff --git a/networkx/test20.py b/networkx/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..4cb9f4230339bfad5942b78c0ce8e24ad27554fa --- /dev/null +++ b/networkx/test20.py @@ -0,0 +1,33 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +parser.add_argument('--f', type=int, required=True) +parser.add_argument('--g', type=int, required=True) +parser.add_argument('--h', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_edges_from([(args.a, args.b), (args.c, args.d), (args.e, args.f), (args.g, args.h), (args.a, args.c), (args.b, args.d)]) +matching = nx.max_weight_matching(G) # 最大权匹配 +print(len(matching)) +print(list(matching)) +max_match = nx.maximal_matching(G) # 极大匹配 +print(len(max_match)) +print(list(max_match)) +print(nx.is_matching(G, {(args.a, args.b), (args.c, args.d)})) # 检查是否匹配 +print(nx.is_maximal_matching(G, {(args.a, args.b)})) # 检查是否极大匹配 +d = nx.coloring.greedy_color(G) # 贪婪着色 +print(d[args.a]) +print(d[args.b]) +print(d[args.c]) +print(nx.coloring.equitable_color(G, 3)) # 公平着色 +print(nx.coloring.greedy_color(G, strategy='largest_first')) # 最大度优先着色 +print(nx.coloring.greedy_color(G, strategy='smallest_last')) # 最小最后着色 +print(nx.coloring.greedy_color(G, strategy='independent_set')) # 独立集着色 +print(len(set(d.values()))) # 使用颜色数 diff --git a/networkx/test20_executable.zip b/networkx/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..669dbf48b4aaac76eb0258e2ac46d551101734a5 --- /dev/null +++ b/networkx/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3608b67e8e9eeb7e5da44f59bce7be1066e894459e8e79f9fbd4ac15b162a1eb +size 147452099 diff --git a/networkx/test2_executable.zip b/networkx/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b1ce08375adb505c01245243d402fa089bdb1acd --- /dev/null +++ b/networkx/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0ae6525f7cc03b8bfb673a371c7d356849432e2a441d7058ceff67839f232e6 +size 147451511 diff --git a/networkx/test3.py b/networkx/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..5f9411b4ab4c1715f8f2848c11f9e9c4546c9e5b --- /dev/null +++ b/networkx/test3.py @@ -0,0 +1,13 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_nodes_from([args.a, args.b, args.c, args.d]) +print(nx.is_connected(G)) # 检查图是否连通 diff --git a/networkx/test3_executable.zip b/networkx/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..64076d87c8ad0969c3719d98e7d4da3feda781af --- /dev/null +++ b/networkx/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c1abf0eb2f46357e0afcb5dfa82be9e32546f7f91e5578502dd4a7a974b3785 +size 147451895 diff --git a/networkx/test4.py b/networkx/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..fb315dbb7ff5e458f49022c5f010af98cd9d52d0 --- /dev/null +++ b/networkx/test4.py @@ -0,0 +1,12 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_edges_from([(args.a, args.b), (args.b, args.c)]) +print(nx.degree_centrality(G)[args.b]) # 计算节点b的度中心性 diff --git a/networkx/test4_executable.zip b/networkx/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..72c35c109812f2234a94433b0cb02b543dfbd951 --- /dev/null +++ b/networkx/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cea46e3a7fe6be344ae854910b7e8d5080e0cc06d501b12a907634b88ea64512 +size 147452682 diff --git a/networkx/test5.py b/networkx/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..8bee79511e7cbe96a9970145ccb19bb6ce3df848 --- /dev/null +++ b/networkx/test5.py @@ -0,0 +1,14 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +G = nx.DiGraph() +G.add_edges_from([(args.a, args.b), (args.b, args.c), (args.c, args.d), (args.d, args.e)]) +print(nx.is_directed_acyclic_graph(G)) # 检查是否为有向无环图 diff --git a/networkx/test5_executable.zip b/networkx/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..98772e2977a0adc18ed104448abc2ca096a007bf --- /dev/null +++ b/networkx/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da9ff495f4880286293bfa29fa79be223a7c45ddfe3779a84238cd947b14baa5 +size 147453531 diff --git a/networkx/test6.py b/networkx/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..73a86c38d425be70b4d0f695a36b4fd6faf5e2ef --- /dev/null +++ b/networkx/test6.py @@ -0,0 +1,19 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_nodes_from([args.a, args.b, args.c, args.d, args.e]) +G.add_edges_from([(args.a, args.b), (args.b, args.c), (args.c, args.d), (args.d, args.e)]) +print(G.number_of_nodes()) # 获取节点数量 +print(G.number_of_edges()) # 获取边数量 +print(G.degree(args.b)) # 获取节点b的度 +print(list(G.neighbors(args.b))) # 获取节点b的邻居 +print(nx.shortest_path_length(G, args.a, args.e)) # 计算最短路径长度 diff --git a/networkx/test6_executable.zip b/networkx/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..150f91eb8ced6dd969b6d597014d2686775756d3 --- /dev/null +++ b/networkx/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9240dc18a39129466f687f491713d367ff190a5e7e59c91acce09a14113b997 +size 147453548 diff --git a/networkx/test7.py b/networkx/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..10a9e1bd61cc6fb45e1399751be4df0c67582b18 --- /dev/null +++ b/networkx/test7.py @@ -0,0 +1,22 @@ +import argparse +import networkx as nx + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +G = nx.Graph() +G.add_edges_from([(args.a, args.b), (args.a, args.c), (args.b, args.d), (args.c, args.e)]) +dc = nx.degree_centrality(G) # 计算度中心性 +cc = nx.closeness_centrality(G) # 计算接近中心性 +bc = nx.betweenness_centrality(G) # 计算中介中心性 +print(dc[args.a]) +print(cc[args.a]) +print(bc[args.a]) +print(dc[args.b]) +print(cc[args.b]) +print(bc[args.b]) diff --git a/networkx/test7_executable.zip b/networkx/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..abc269e9647bd2d16cfb2c7576cc5f9423da3062 --- /dev/null +++ b/networkx/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5086777f92f1a7386e9d6fec03d2699e031ddc2497138e59c769abb55d3915b8 +size 147453501 diff --git a/pbkdf2/__pycache__/test10.cpython-310.pyc b/pbkdf2/__pycache__/test10.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5d8d3d39c1aa8d4150cf04cb4d0367599194971e Binary files /dev/null and b/pbkdf2/__pycache__/test10.cpython-310.pyc differ diff --git a/pbkdf2/__pycache__/test11.cpython-310.pyc b/pbkdf2/__pycache__/test11.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7d2f78a24d050fe25ab28680676b8fe5d05cabaa Binary files /dev/null and b/pbkdf2/__pycache__/test11.cpython-310.pyc differ diff --git a/pbkdf2/__pycache__/test4.cpython-310.pyc b/pbkdf2/__pycache__/test4.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9380d09dc510ff49728017c9728441e75b53d385 Binary files /dev/null and b/pbkdf2/__pycache__/test4.cpython-310.pyc differ diff --git a/pbkdf2/__pycache__/test7.cpython-310.pyc b/pbkdf2/__pycache__/test7.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..83331d49b8b3dec2fa4e5e3caa4e9860973a9af4 Binary files /dev/null and b/pbkdf2/__pycache__/test7.cpython-310.pyc differ diff --git a/pbkdf2/__pycache__/test_original.cpython-310.pyc b/pbkdf2/__pycache__/test_original.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..40951212958166f0f00114a983790369c953d2ea Binary files /dev/null and b/pbkdf2/__pycache__/test_original.cpython-310.pyc differ diff --git a/pbkdf2/python_output.txt b/pbkdf2/python_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..1a90a024acccd1d4b52575fec2b1cc9de08fe487 --- /dev/null +++ b/pbkdf2/python_output.txt @@ -0,0 +1,15 @@ +Iterations attribute: Not found + +Test multiple calls on same object: +1: 82ddb1b67f1d7008ce56e17e +2: e051996e793d2b3df5c905bb +3: 845da35b280a43eb1cc2d421 + +Test different instances for each 12 bytes: +Bytes 0-11: 82ddb1b67f1d7008ce56e17e +Bytes 0-11 (new instance): 82ddb1b67f1d7008ce56e17e + +First 36 bytes from single instance: +Block 0: 82ddb1b67f1d7008ce56e17e +Block 1: e051996e793d2b3df5c905bb +Block 2: 845da35b280a43eb1cc2d421 diff --git a/pbkdf2/test1.py b/pbkdf2/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..8a502fe0c6a9a891c70ecff1d2d91bd2f53c2801 --- /dev/null +++ b/pbkdf2/test1.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python3 +import argparse +import pbkdf2 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) # passphrase +parser.add_argument('--b', type=str, required=True) # salt +args = parser.parse_args() + +# 使用 PBKDF2 进行密钥派生 +result = pbkdf2.PBKDF2(args.a, args.b).read(16) # 派生 16 字节密钥 +print(result.hex()) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = "Fyy'5r2x" +# --b = 'salt_810801' +# Output: +# 69afd4cfc7cfeb260fc6bb9c0c9c3436 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '2`~*[|!t' +# --b = 'I5xGiF3U3DpRE5ox' +# Output: +# 477bf5ee851c370209e49c71c0de5b87 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'J1Gk8c(g' +# --b = 'oBrvgu5mWmUZjyPi' +# Output: +# cdcbbfdc858e6bb62f7194298ed88083 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'DieQj$EJ' +# --b = 'QFnIiU74' +# Output: +# eac3f536cb89bdce4712e3da39a1a9f9 +# Return Code: 0 diff --git a/pbkdf2/test10.py b/pbkdf2/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..71e5f4a510362c5641f3d80ef64b6caf242a9728 --- /dev/null +++ b/pbkdf2/test10.py @@ -0,0 +1,61 @@ +#!/usr/bin/env python3 +import argparse +import pbkdf2 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) # passphrase +parser.add_argument('--b', type=str, required=True) # salt +parser.add_argument('--c', type=int, required=True) # iterations +args = parser.parse_args() + +# 创建 PBKDF2 对象 +pbkdf2_obj = pbkdf2.PBKDF2(args.a, args.b, iterations=args.c) # 创建 PBKDF2 对象 +key1 = pbkdf2_obj.read(16) # 读取 16 字节密钥 +print(key1.hex()) + +key2 = pbkdf2_obj.hexread(8) # 使用 hexread 读取 8 字节(十六进制格式) +print(key2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = ',N>APzyK' +# --b = '$2b$12$JGgnIwJurj8TZsKpketN5v' +# --c = 100 +# Output: +# 53a8560b87593dfa35d9381fc7695b5d +# ef1c8ea671f474c4 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'w6.|z6lG' +# --b = 'Bgv6pjLILoJMunRD' +# --c = 10000 +# Output: +# fd804e44998da14aae937a63df2b4bb1 +# 58ee75a5b4d930a1 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'Gbo:w.t[' +# --b = 'salt_728051' +# --c = 100 +# Output: +# 19f4dd0975ed1892538c0c441a9fa780 +# 282ca84e00b0fb6b +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'i/n^/WP"' +# --b = 'salt_902278' +# --c = 1000 +# Output: +# 63f989fedea92bdc5b17bdab4e8cca9f +# 7b50c53b4b614b14 +# Return Code: 0 diff --git a/pbkdf2/test10_executable.zip b/pbkdf2/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..fa24d739f24fb099b665e0f184bee6647b6910b4 --- /dev/null +++ b/pbkdf2/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e119bbf8824c1f6f6c4051e40a76602ad7b4512f372a37f6b251213ca4d22b97 +size 7361260 diff --git a/pbkdf2/test11.py b/pbkdf2/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..ec8cb3c4a633ee12d0c4200bad5f748c38576f23 --- /dev/null +++ b/pbkdf2/test11.py @@ -0,0 +1,61 @@ +#!/usr/bin/env python3 +import argparse +import pbkdf2 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) # passphrase1 +parser.add_argument('--b', type=str, required=True) # salt1 +parser.add_argument('--c', type=str, required=True) # passphrase2 +args = parser.parse_args() + +# 第一次 PBKDF2 派生 +intermediate_key = pbkdf2.PBKDF2(args.a, args.b).read(16) # 派生中间密钥 +print(intermediate_key.hex()) + +# 使用中间密钥作为盐进行第二次派生 +final_key = pbkdf2.PBKDF2(args.c, intermediate_key.hex()).read(16) # 使用中间密钥作为盐 +print(final_key.hex()) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = ';l=MS1a*' +# --b = 'salt_883734' +# --c = "Q;6fng'w" +# Output: +# 8758f48f04ca0c915fcb39c231c7390b +# fc548470eb1216e217293bf4750307d1 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '9VKgsTK6' +# --b = '9kN7kTIs' +# --c = 'dZ"s6Ota' +# Output: +# 5fb9dfdc04cc5697a0f6c7eace3444f0 +# 16c943fe1da1ebd47d6d451e624f54cb +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '7{>a=jX_' +# --b = 'vHcsBWrS' +# --c = '*{ArQE(o' +# Output: +# dd49d888f8872be8e4a04398e34e7d2b +# 4324eab593b6384813737b2c2a67f360 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '?FdpJ"i/' +# --b = 'salt_715890' +# --c = 'L&>j$y=x' +# Output: +# 4d43fde264740cd0446b05b961b96b35 +# f9364c263a6e4e436c24345714f3dbeb +# Return Code: 0 diff --git a/pbkdf2/test11_executable.zip b/pbkdf2/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..9fa243335b4695b02b87292df4b5199adcf305a4 --- /dev/null +++ b/pbkdf2/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e2bf163920c979cd070b7bef7ba8641f953985d0e085670aed30e054c9fa51c +size 7361392 diff --git a/pbkdf2/test13.py b/pbkdf2/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..b7f8934e00844fed25161b9b8a49b23db3bf6ac9 --- /dev/null +++ b/pbkdf2/test13.py @@ -0,0 +1,62 @@ +#!/usr/bin/env python3 +import argparse +import pbkdf2 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) # passphrase +parser.add_argument('--b', type=str, required=True) # salt +args = parser.parse_args() + +# 派生不同长度的密钥 +key_short = pbkdf2.PBKDF2(args.a, args.b).read(8) # 派生 8 字节密钥 +print(key_short.hex()) + +key_medium = pbkdf2.PBKDF2(args.a, args.b).read(16) # 派生 16 字节密钥 +print(key_medium.hex()) + +key_long = pbkdf2.PBKDF2(args.a, args.b).read(32) # 派生 32 字节密钥 +print(key_long.hex()) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '{73o"f4T' +# --b = '$2b$12$l1kVG0rK5QLnLaHXKlA6ep' +# Output: +# 4d0615d58484ed25 +# 4d0615d58484ed25ffc10b71ef708f77 +# 4d0615d58484ed25ffc10b71ef708f77c3f46855e613474221dc992d7627ace9 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'K"Wq3A/B' +# --b = 'salt_204439' +# Output: +# 4d3a9e9c542fb1b0 +# 4d3a9e9c542fb1b016c83d94d56ab7d1 +# 4d3a9e9c542fb1b016c83d94d56ab7d15226b84919c6c53cb9c3aac6e96252fd +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '`4!8c5-F' +# --b = 'msK11zdv' +# Output: +# bdd5ae220d0de750 +# bdd5ae220d0de750c1bcd01fedbc8775 +# bdd5ae220d0de750c1bcd01fedbc877573bee6e04d1ea14deac536966f911901 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = "';3+~=h%" +# --b = '$2b$12$2Ar0sPkqRMpzphjmbpZ0tD' +# Output: +# 38af6f2ba8023f90 +# 38af6f2ba8023f90b6638b0b5e7f14a2 +# 38af6f2ba8023f90b6638b0b5e7f14a2e65d2fb552bb9d93898c0c91c96d790b +# Return Code: 0 diff --git a/pbkdf2/test13_executable.zip b/pbkdf2/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d4e98b9fd63dea41f3c8399e48eac9e7bb31fb69 --- /dev/null +++ b/pbkdf2/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63268b926738a559896b92f513a6ca28ec27d0849d8e2847815be2b5453ec4ed +size 7361377 diff --git a/pbkdf2/test14.py b/pbkdf2/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..615de08f9d6f0879682a5931b3e426866822190f --- /dev/null +++ b/pbkdf2/test14.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python3 +import argparse +import pbkdf2 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) # passphrase +parser.add_argument('--b', type=str, required=True) # salt +args = parser.parse_args() + +pbkdf2_obj = pbkdf2.PBKDF2(args.a, args.b) # 创建 PBKDF2 对象 + +# 使用 read 方法 +key_part1 = pbkdf2_obj.read(12) # 读取第一部分密钥 +print(key_part1.hex()) + +# 使用 hexread 方法 +key_part2 = pbkdf2_obj.hexread(12) # 使用 hexread 读取第二部分密钥 +print(key_part2) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'R3x1d&OW' +# --b = 'qfhgIksj' +# Output: +# b94bdc587a5383301b24dcf6 +# 115c09d06949dbcdcb8a6ad0 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '/<4m=5-p' +# --b = 'fd6cyu42' +# Output: +# b2f049325fcdd5bbafe19c9b +# 694668d43c038f974de7aedb +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = "*`{!Y'k@" +# --b = 'salt_715695' +# Output: +# 8f9a276db4830f501693f416 +# 03272619e3e469e3709c3e82 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = "E-+|=\\'/" +# --b = '$2b$12$uHLm0XxDgjTB1AffdB4iEn' +# Output: +# 70c412cdc19cbf681ffab315 +# 400df7d235de7ab5a7a0f5f4 +# Return Code: 0 diff --git a/pbkdf2/test14_executable.zip b/pbkdf2/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8f93253dbb9bb5c523d25ef875655c7e3e660e4a --- /dev/null +++ b/pbkdf2/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d1f9e9d16996cd274b26fb88e69243794dc59990c1e8d33394e0d671680f493 +size 7361203 diff --git a/pbkdf2/test15.py b/pbkdf2/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..33a5d032a39174b4d8cdc7ff11d1464cce2889bc --- /dev/null +++ b/pbkdf2/test15.py @@ -0,0 +1,71 @@ +#!/usr/bin/env python3 +import argparse +import pbkdf2 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) # passphrase1 +parser.add_argument('--b', type=str, required=True) # salt1 +parser.add_argument('--c', type=str, required=True) # passphrase2 +parser.add_argument('--d', type=str, required=True) # salt2 +parser.add_argument('--e', type=int, required=True) # iterations +args = parser.parse_args() + +# 高迭代次数的 PBKDF2 +key1 = pbkdf2.PBKDF2(args.a, args.b, iterations=args.e).read(16) # 高迭代次数派生 +print(key1.hex()) + +# 低迭代次数的 PBKDF2 +key2 = pbkdf2.PBKDF2(args.c, args.d, iterations=100).read(16) # 低迭代次数派生 +print(key2.hex()) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'yg>sAqlw' +# --b = '$2b$12$pBlMptsKC9Omr3YEf8xzyk' +# --c = '42#;3t9c' +# --d = 'salt_498282' +# --e = 500 +# Output: +# b14ecfbe6ef1b652f2c6ca1d89cd70ce +# cc70976a6fdc2885f0d29ea357cc847e +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'g/agWzFV' +# --b = '6pmfbAba' +# --c = 'TPwbZ@Ob' +# --d = 'ZbMXbqJq66Z9x1OI' +# --e = 50000 +# Output: +# 03ddc724df5d55376572f3d5a043b8d0 +# ac5d498a14bea7e1a7f32734176df755 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '4T7#KJ2%' +# --b = 'vkGPpN0otzEwU+jN' +# --c = '9"$^]\'`p' +# --d = '$2b$12$cMC9kR74WH5olex1iGw8dB' +# --e = 100000 +# Output: +# 7e13ed02516cf8e803223c55c452b8e8 +# 1bf43dacca43bd77ddf6511d3e250c91 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = ':%I!8R:2' +# --b = 'OvFXcMWjiLxZnYjV' +# --c = 'V5<^[8$0' +# --d = '8Y6XP62geuVhBgS5' +# --e = 10000 +# Output: +# bafc4f13ece538bc8dd5f921590d648a +# 516c6fb3a5d59d18e3288e4a7c138912 +# Return Code: 0 diff --git a/pbkdf2/test15_executable.zip b/pbkdf2/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..aee850203bf51546ce0956622df6f5d4184ab547 --- /dev/null +++ b/pbkdf2/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:680d69fd7506498c38217e9c81331eaa1c224151a17931ae04cc8443a46299ed +size 7360308 diff --git a/pbkdf2/test16.py b/pbkdf2/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..8403b9c5de035db4e18f1698e0c723e63c95cc9f --- /dev/null +++ b/pbkdf2/test16.py @@ -0,0 +1,85 @@ +#!/usr/bin/env python3 +import argparse +import pbkdf2 + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) # passphrase +parser.add_argument('--b', type=str, required=True) # salt +parser.add_argument('--c', type=int, required=True) # iterations +args = parser.parse_args() + +# 创建多个 PBKDF2 对象 +pbkdf2_1 = pbkdf2.PBKDF2(args.a, args.b) # 默认迭代次数 +pbkdf2_2 = pbkdf2.PBKDF2(args.a, args.b, iterations=args.c) # 自定义迭代次数 + +# 从两个对象读取密钥 +key1_part1 = pbkdf2_1.read(8) # 从第一个对象读取 +print(key1_part1.hex()) + +key2_part1 = pbkdf2_2.read(8) # 从第二个对象读取 +print(key2_part1.hex()) + +key1_part2 = pbkdf2_1.read(8) # 继续从第一个对象读取 +print(key1_part2.hex()) + +key2_part2 = pbkdf2_2.hexread(8) # 从第二个对象使用 hexread +print(key2_part2) + +key1_hex = pbkdf2_1.hexread(8) # 从第一个对象使用 hexread +print(key1_hex) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '{5mj(%>V!?2r;' +# Return Code: 0 diff --git a/pyaes/test13_executable.zip b/pyaes/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..516f1a45516f94d4a10ff3d11adf9461bafe9f41 --- /dev/null +++ b/pyaes/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5887d81bd490b05c02e70e5921d02023e3f9cf6dc9a177ff255e3d66a267c0db +size 7379354 diff --git a/pyaes/test14.py b/pyaes/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..d550578d6393876b2708d504b5222ca0fad30349 --- /dev/null +++ b/pyaes/test14.py @@ -0,0 +1,63 @@ +import argparse +import pyaes + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--key', type=str, required=True) # 16 bytes key + parser.add_argument('--iv', type=str, required=True) # 16 bytes IV + parser.add_argument('--data', type=str, required=True) # 16 bytes data + args = parser.parse_args() + + # Test round-trip encryption/decryption with CBC + aes = pyaes.AESModeOfOperationCBC(args.key.encode(), args.iv.encode()) # Initialize AES CBC cipher + ciphertext = aes.encrypt(args.data.encode()) # Encrypt plaintext in CBC mode + plaintext = aes.decrypt(ciphertext) # Decrypt ciphertext back in CBC mode + print(ciphertext) + print(plaintext) + +if __name__ == '__main__': + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'm[NPo{x X-)Kmrn[' +# --iv = '(t!z<#KnPb.s(<8.' +# --data = '5rt7CXtrp*@{b@L}' +# Output: +# b'\xce&|\xf0\xef\xaf\xc2\xf8Z+\x15lS\\\xad\xd6' +# b'\xd3 )\xbd\x90\xd4\xfd\xe4zc{d\x19 \xd9\x85' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = '4l+f1n}t&|HDEu}i' +# --iv = 'zI.^6reDpS&Z+Pb(' +# --data = 'Mil{6fLY#N{e^>u|' +# Output: +# b'\xec\x07\xbe\x87\xc2\xe2\xf4W\xd1kAK\x8df*\xdf' +# b"\xdb'\xfc\xa2\xc2\xf6\xddJ\x82v\x1ct\xf8\x08=\x8b" +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = 'WRGheEBf= Ehp4QD' +# --iv = 'bAF[qKYR89Drgml<' +# --data = 'R|=:IAk=.wT9IW??' +# Output: +# b'f\xee\x92\x11\xeeJH\x19\xe5\xb1\xb0\xa7\xf3\xbb\xe4>' +# b'V\xd3\xe9p\xd6@zv\xf3\xff\xa0\xec\xdd\x81\xb7=' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = '=0N2ju(]$W#,7zjp' +# --iv = '?d1EK;t%C}oEY}:y' +# --data = 'inA]&^zUGR!Iur%O(' +# --data = '^Z-jz9z*elH|LaA0' +# Output: +# b"\x02}\xa7\x99\xf5'4B\xbd\x80\xde\xd1\x80(\x82\xf2" +# b'\xd1M\xe6\x8ex;\xc7\x97\xe1l\xd9mVyV\x95' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key1 = 'o@Y5$=J*i3fc}j@i' +# --key2 = '^)Bo{|},-!h+N?3:' +# --data = 'MU72,Mn57hI?@|p1' +# Output: +# b'\x11\x0e\xdd\xd7/s7\x94_\xa259\x98P\xa5Z' +# b']\x85\xec\xc6z\xe4BgI\x0e\xc9V\r\x1f\xd5\x84' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key1 = '# U^*?eb+>m%,bg{' +# --key2 = 'z;TFC}m_zXVHnYvW' +# --data = 'uMDU^:jC@eO9Emb)' +# Output: +# b"\xd4@or\xb7'\x1e\x81\x17\xacQ\xc6\x80\xcb\x0ez" +# b'\x08\xda\xcf\xd7\xb2n\xe5m\xe6"#\xd7\xeb\x0f\xbb\xf3' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key1 = ';[k@{V^g6X,ND0N{' +# --key2 = 'CO@7Yhw_oHCg5xP;' +# --data = 'PtW;0FXof#;8pnZz' +# Output: +# b'\x0e7\xb8`\x7fgS\xab\xe1h5Ft\x0fB\x9f' +# b'\x9a\xe1\xd7\xecc\xc9+O\x95d\xa4\xeb$\x02\xd6\xf9' +# Return Code: 0 diff --git a/pyaes/test15_executable.zip b/pyaes/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e5105a6c7f3c4e68ac99fa12b310e54baa45af32 --- /dev/null +++ b/pyaes/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89e4af4077a77ff521d0f12cf9acc4b64523801989bad596ca2ae399a2d55ea6 +size 7379561 diff --git a/pyaes/test16.py b/pyaes/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..052636b788ddaec5681e4386ce9cf73866d8beed --- /dev/null +++ b/pyaes/test16.py @@ -0,0 +1,70 @@ +import argparse +import pyaes + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--key', type=str, required=True) # 16 bytes key + parser.add_argument('--data', type=str, required=True) # 48 bytes data (3 blocks) + args = parser.parse_args() + + # Encrypt multiple blocks + aes = pyaes.AESModeOfOperationECB(args.key.encode()) # Initialize AES ECB cipher + data = args.data.encode() + + # Split into 3 blocks and encrypt each + ciphertexts = [] + for i in range(0, len(data), 16): + block = data[i:i+16] + cipher = aes.encrypt(block) # Encrypt each block + ciphertexts.append(cipher) + + # Print all ciphertexts + for cipher in ciphertexts: + print(cipher) + +if __name__ == '__main__': + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = '4)9PfvFH4vtYbj #' +# --data = 'Fgoy$38USLH;|sEffFv7IVmVvO-=IWE|@6LV<[pA5.8GNQo[' +# Output: +# b'\xbc\x08\xfe\xbag\x95\x18W\xd8\xaba\xf8\xb5\xd8\xa6\x98' +# b'\x80F\xf5\xb4\x7f\xbeiyvx\xe0\xa4\xc0y\x1aZ' +# b'\xe1z#\xa3\xbcP\x05\xa8\x9b\xfe\xdf\xe2 \xc2\xc06' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = 'f,up,%MXu2|y^cJf' +# --data = 'W{m+z}@i*7%BK&yVe)wpquY9^u}VX2oNJ]27B:Z#S1$JedU+' +# Output: +# b'\x9a\xa7\xcf\x15\xaf\xf1-\xfd<\xb0\xc6\xe2#\xad:\x9b' +# b'W\x99P\xa9|\xa99\xdc\x96-\x7f\xc0;\xd1uS' +# b'\xb3\xbdK\x12r\x16ex\xa2\xda\xe8zl\xf9\xd9\xc6' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = 'et5Cx<|7}!5JG{ (' +# --data = '3swAe|hlrAO2+Lpw.JEW $4SYBa$E-3EV.^:BW0a|dr^XGE3' +# Output: +# b'\x93v\xaa\x06\x05\xcd\xa6\xb2.\x1c\xf1E\xa05\xef\xcb' +# b'\xb7\xac\x8e\xfch\xb2\xa7f\x11\x18\xdcd\xec:\xc34' +# b'\x9da\xf8\x98\xd2\xecGJe[\xf7D(\xbe\x80\x06' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = 'Z8#}u)^9o)CW($f1' +# --data = '+P1ydM>N}cd82*UgcbG&kil%L>-;tdw2#d ^S4wScbH0xu#9' +# Output: +# b'uJT\xc6tN\xb7\x8c\xf0\x18\xf7\x11\xfd\x94\x8c\xef' +# b'#Yfy}\x1df\xb5z\x82x\x8f.m7\x16' +# b'\x18\x02\tZ8\xf2*j\x87X\x94i\xbf3\x90#' +# Return Code: 0 diff --git a/pyaes/test16_executable.zip b/pyaes/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..932ea013ebd05a48657364c7912d342c4848dc61 --- /dev/null +++ b/pyaes/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a192c3aaf14854224f12a448ec44c5aec54a014de96c19e206512b1993b51ab8 +size 7379448 diff --git a/pyaes/test17.py b/pyaes/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..a4f2cc19f8bae571378519d042b4061ec6e7b8e3 --- /dev/null +++ b/pyaes/test17.py @@ -0,0 +1,75 @@ +import argparse +import pyaes + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--key', type=str, required=True) # 16 bytes key + parser.add_argument('--iv', type=str, required=True) # 16 bytes IV + parser.add_argument('--data', type=str, required=True) # 48 bytes data (3 blocks) + args = parser.parse_args() + + # Encrypt multiple blocks with CBC + aes = pyaes.AESModeOfOperationCBC(args.key.encode(), args.iv.encode()) # Initialize AES CBC cipher + data = args.data.encode() + + # Encrypt 3 blocks with CBC chaining + ciphertexts = [] + for i in range(0, len(data), 16): + block = data[i:i+16] + cipher = aes.encrypt(block) # Encrypt each block with CBC chaining + ciphertexts.append(cipher) + + # Print all ciphertexts + for cipher in ciphertexts: + print(cipher) + +if __name__ == '__main__': + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'Ak.Gz@@He!c(Jd8,' +# --iv = 'P#&03h.T(+m5_2XN' +# --data = '};}w]2=?1C++Z+Eabi8?X_Iv2e:cAx^plV%)F%mHpL![!,c)' +# Output: +# b'\x0c+2\xbe\xcb\xea{\xbeYQ@\'\xb3"\xd8\xfd' +# b"\xb7\x96\x8d'\x19\x8c\xac\x1c\x82\xc9r\x06\xbcXI\x08" +# b'\x08\xfd>\x82\x04\xc0\x8c\x96\xf3\xf6\x1f\x1a\xc3\xaaM\xad' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = 'Usmp85)Gha0sr5]g' +# --iv = '72w>!n%9I(:^}1fZ' +# --data = 'W+Y0v\xf9Q\xe7\x94\xd1\xc3\xd9\xaa`\x98\n' +# b'[,\xd4\xdf\xe5A4}\x85tn\xfb\xc5t\x95j' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = ':7+ZBj}xgYw\rC\xe6\x00\xcd' +# b'\xc7\xbfu\xb6u\xc6\xc1JW\x19! 1\xfa\xb9&' +# b'\xca#\x15H0\xdb\xda9\x8e\xcdR`]\xc1\xea\x1c' +# Return Code: 0 diff --git a/pyaes/test17_executable.zip b/pyaes/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..34e25aa581f742f6aeb093440059d2fde6291613 --- /dev/null +++ b/pyaes/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b0aefa6da08f12bc9a1b8b76c6195f8537fe7908c0eabcc820fb08acf0afe36 +size 7379860 diff --git a/pyaes/test18.py b/pyaes/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..ef068b249a3c64233e55ad55bbe6efef4ee2f42c --- /dev/null +++ b/pyaes/test18.py @@ -0,0 +1,78 @@ +import argparse +import pyaes + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--key', type=str, required=True) # 16 bytes key + parser.add_argument('--data', type=str, required=True) # 32 bytes data (2 blocks) + args = parser.parse_args() + + # Test different modes of operation + data = args.data.encode() + + # ECB mode + aes_ecb = pyaes.AESModeOfOperationECB(args.key.encode()) # Initialize AES ECB cipher + ecb_cipher1 = aes_ecb.encrypt(data[:16]) # Encrypt first block with ECB + ecb_cipher2 = aes_ecb.encrypt(data[16:]) # Encrypt second block with ECB + + # Create OFB cipher with zero IV + zero_iv = b'\x00' * 16 + aes_ofb = pyaes.AESModeOfOperationOFB(args.key.encode(), zero_iv) # Initialize AES OFB cipher + ofb_cipher1 = aes_ofb.encrypt(data[:16]) # Encrypt first block with OFB + ofb_cipher2 = aes_ofb.encrypt(data[16:]) # Encrypt second block with OFB + + print(ecb_cipher1) + print(ecb_cipher2) + print(ofb_cipher1) + print(ofb_cipher2) + +if __name__ == '__main__': + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'DZ6RN(DxxW.D>+KV' +# --data = 'Exs= Pn^ti)ZAAB1KXZw1(?816AX-W:[' +# Output: +# b'\x89\x0b\xb2W\xc5l\xbf\xb5$vQ\xa1X\rK\xe2' +# b'\xde\x19HW\xee#g|\xc8|V\xc5\x00\xcf+\xde' +# b'\xdeI\xf6q\xb3\x88E@\xae*\x8b\xdbqI:\xd1' +# b'i \xf8\xae3\xf5d\xf2\x80r\xa8\xb1\xf1K\x1c.' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = 'p7G_mnr;0,K+hVp-' +# --data = '>+c]SjT-;ngoK$Q0v$)+!w26(UV1Vbbc' +# Output: +# b'b\xf9\x11\xfbQ\x8b\xac\x08\xfd\xb5I\xa8\xad\twC' +# b']p\x8c\xef\xcf0\xd5\x06(\xb6\\\x93\xa1\xebT\x8c' +# b'\xba\xe7j\xbf$\xfa\xf9o\xe9\x9c\xbc_\x94\xde\x9d\xbd' +# b'\xf3\xee\xcb\xa4<\xad5C\xda2\x07\x1d\xc4\xd3t\x97' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = 'HJ>Po51]@@?hELUq' +# --data = '6lyo?VClSEw[Opv^^ptL>%B!K5e-ws3p' +# Output: +# b':\x83\xe6\x11\xd0\x91\xd8V\xd2\x1292\xd2\xa5R\x9c' +# b'\x03\xb9\xb2\x18\x1d\xa9|N\x01M\xb8DW\xa5\xa6q' +# b'^?}\xc7\n5m\xa5\xea\xb7\xbd\n(\xba\xc2V' +# b'\xc9\x95\xf8C`\xfd\x93\x01\xd8P\xb3\x8a.\xd2!6' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = 'e]ZH_95f{.j:]Wtg' +# --data = '{dwC+W$ZX_w=V212tns3K.X&pdJ}G$VY' +# Output: +# b'U\x08\xca`\x9b\xecd\x01\xbd!\x89\xe8\x02\x0b]_' +# b'="\x8a\xfaC\x9b\x92P \x93hB\x97\x12\x00\x80' +# b'\xe3\x8b\x9a\xfa\x0f\xb6\xcc\x15\x9b\xb1\xb1\x87\x9c\xc33i' +# b'\xaa"\x9ce\xa4\x19\x04@!\xb7\xcb\xbb\x11\x90a0' +# Return Code: 0 diff --git a/pyaes/test18_executable.zip b/pyaes/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e7f40836dc5899fafba57b63cded263e8dccf14b --- /dev/null +++ b/pyaes/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8fb088e5d72d650ffacc9b8b58f1dc5d42e66fa896a59358e23fa2cf033c276 +size 7379569 diff --git a/pyaes/test19.py b/pyaes/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..4397e09c1a3a4749f01d38e333fd450119737d11 --- /dev/null +++ b/pyaes/test19.py @@ -0,0 +1,81 @@ +import argparse +import pyaes + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--key16', type=str, required=True) # 16 bytes key + parser.add_argument('--key24', type=str, required=True) # 24 bytes key + parser.add_argument('--key32', type=str, required=True) # 32 bytes key + parser.add_argument('--data', type=str, required=True) # 16 bytes data + args = parser.parse_args() + + data = args.data.encode() + + # Test different key sizes + aes_128 = pyaes.AESModeOfOperationECB(args.key16.encode()) # Initialize AES-128 ECB cipher + aes_192 = pyaes.AESModeOfOperationECB(args.key24.encode()) # Initialize AES-192 ECB cipher + aes_256 = pyaes.AESModeOfOperationECB(args.key32.encode()) # Initialize AES-256 ECB cipher + + # Encrypt same data with different key sizes + cipher_128 = aes_128.encrypt(data) # Encrypt with AES-128 + cipher_192 = aes_192.encrypt(data) # Encrypt with AES-192 + cipher_256 = aes_256.encrypt(data) # Encrypt with AES-256 + + print(cipher_128) + print(cipher_192) + print(cipher_256) + +if __name__ == '__main__': + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key16 = '1XG[J0bvVN]gNv ' +# --key24 = '5a*1;SZPu;C9P[,{@WNNw|%7' +# --key32 = 'ADj9$i$lbO?pz7}Q.|?l^Op=lewqMl,b' +# --data = '!2aEVAK&VHD[,XSi' +# Output: +# b'\x08\x85\x074\xf0\x89\xd5M\xc6\xdcc\xdf\xaf\x14\x02\xe7' +# b'oCK&\xc2\x94\xe4\xa7\xe0\xb02\xfd\xf0\xfaV\x13' +# b'\tK9{\x84\xa2!0\xfa\xb7\xae!\xc2Er\x80' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key16 = 'F2x&,iP?O!gE+Rf@' +# --key24 = ':a8z|}:^{{a8Br_CFXhA1B1[' +# --key32 = 'r-tzet[59UJ^[.NfKLcZu^pU=9=HXL&-' +# --data = 'sK%cR]fBD2J+}.Iu' +# Output: +# b'\x13\x94\xd8{PD~\xe4\xd9\xd77\x9cy \xee!' +# b's\x15_\x1d\xab\xe8"\x9f \xea\xe3\x8f\x1e\xb9\xfc,' +# b'+6@\xfa\x98\xe4e\xf5\x17=\x84\xe4\x13jzF' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key16 = '8,68Ufp?5P.{A;t^' +# --key24 = 'hV2UK *WKDdO;u+g2.u+&4Fr' +# --key32 = ';z{z(s1F;@pkA#5 ATQ #Qi@&Rnh4i4U' +# --data = 'EBK8nCVlf-h%v+HD' +# Output: +# b'\xb0\t>a\x03\xea\xa6=o\xebj\x05\xc44~\xf3' +# b'$\x17(\xcb\\\x184\xd5\xd84t\xba\x8e\x8c<\xb5' +# b'\xc8\x97\x1b\xc2\x9b\x12S>\xdd>i\x05\x1a\x16\xfdd' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key16 = '$moUIRRyzE>{Kr.<' +# --key24 = 'BXUc[Z}ow2:8jQwrL$+u#MBO' +# --key32 = '#gC33g[H|t>anlc8G7[2>>3OG@u0Y)j&' +# --data = 'I9cKg|D!y,)V[1.,' +# Output: +# b'D\x12\xa3i\xaf$\x9f\xb2.P\xbd\xa7\x89/\xf3z' +# b'\x10\xab\xee\xbccNzk\xa0O\xf1\xb0\xc6\x93\xae\x9e' +# b'*\x90F\x91\x7f\xcf3\xee\x96\xba\x85JW\x1b$\x92' +# Return Code: 0 diff --git a/pyaes/test19_executable.zip b/pyaes/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..78d272b2b25415f142c87df008c193df4ef76202 --- /dev/null +++ b/pyaes/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57d05c4dec49cea41b6c40abf5c119cb87104871b98c48fb64cc07db02207e56 +size 7379727 diff --git a/pyaes/test2.py b/pyaes/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..577f19c4b49c886821b379b6730db3d4626fb3f2 --- /dev/null +++ b/pyaes/test2.py @@ -0,0 +1,52 @@ +import argparse +import pyaes + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--key', type=str, required=True) # 16 bytes key + parser.add_argument('--data', type=str, required=True) # 16 bytes data + args = parser.parse_args() + + # Create AES ECB cipher and encrypt data + aes = pyaes.AESModeOfOperationECB(args.key.encode()) # Initialize AES ECB cipher + ciphertext = aes.encrypt(args.data.encode()) # Encrypt plaintext data + print(ciphertext) + +if __name__ == '__main__': + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'Mw;m:FN*sFAea50?' +# --data = 'V?Z(EPD,[%+E.s+*' +# Output: +# b'\x89\x98m\xe5)%Y\x12\xb4\x07\xf3Q,S\xdf\xa4' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = '.^w!pVAbGj-bkL=^' +# --data = '#_Z&^cGvt*y-P[%P' +# Output: +# b'\xb3\x8a\xd8Y\x15\xb7\nU\xd2\xbaI\xaf\x9b\x89\x1f1' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = '<{%y&)xxRt[^h93;' +# --data = '(V|ZmeE,UH*iI8WX' +# Output: +# b'(y$\x8d\x9bM\xf2 \xa9\x9b}R\xcc\x89\xda\xe0' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = '5iK0t!;k4tEQwg&P' +# --data = 'cY;kGA8@Ny.Vu 3}' +# Output: +# b'y\xc4\x81\xcb\xc1\x05\x8a\xaf\xe8.\x96\x99\xe5s\xbbG' +# Return Code: 0 diff --git a/pyaes/test2_executable.zip b/pyaes/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d862872e4bb57c980c54dfc95b3b30abaa06d480 --- /dev/null +++ b/pyaes/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4f2b1b73bbe774169d441e0049fa5a47971a7c45d4ab4e8ac51ee7cad884a03 +size 7379899 diff --git a/pyaes/test4.py b/pyaes/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..07c05906d701d7d6b92d4ed88f962dfdcaf1bb2b --- /dev/null +++ b/pyaes/test4.py @@ -0,0 +1,57 @@ +import argparse +import pyaes + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--key', type=str, required=True) # 16 bytes key + parser.add_argument('--iv', type=str, required=True) # 16 bytes IV + parser.add_argument('--data', type=str, required=True) # 16 bytes data + args = parser.parse_args() + + # Create AES CBC cipher and encrypt data + aes = pyaes.AESModeOfOperationCBC(args.key.encode(), args.iv.encode()) # Initialize AES CBC cipher + ciphertext = aes.encrypt(args.data.encode()) # Encrypt plaintext data + print(ciphertext) + +if __name__ == '__main__': + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'Xe$zV#Sc2B7|t.=M' +# --iv = 'HnhD#iO_h+01O4#2' +# --data = '& w>cWC:Ra+{Nh 6' +# Output: +# b'\xad#\xf7q\xe7r\x17\xf4\xee\xda\xfa\xa3\xfa;a8' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --key = 'iL$No%KB[XObbV&z' +# --iv = 't3@YE8xh#ppPJVVm' +# --data = 'tA>fX[P3dT|7mEJ,' +# Output: +# b'\xa1\x05n\x99\xba5\x84\xb6\xc0\xe5\xc9\xfa\x97w/\x05' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = '#Lp4g8Js26gWm7bw' +# --iv = '|02:mK(G fQ+.-+]' +# --data = '*@VxZ+5x%i' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --key = '#Qb#QTRQ8O^Tg9jS' +# --data = 'F=@$Hvbv*q2a?>7x' +# Output: +# b'F=@$Hvbv*q2a?>7x' +# Return Code: 0 diff --git a/pyaes/test5_executable.zip b/pyaes/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..982064b08d4f010bb05306308eb578d1d206eb4d --- /dev/null +++ b/pyaes/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f21fd281b905858966d21eebf32f813deaa98f99b3550437af78c1b051a3e777 +size 7379524 diff --git a/pyaes/test6.py b/pyaes/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..0d800b9694d11cc255e075daaf29886c2420a324 --- /dev/null +++ b/pyaes/test6.py @@ -0,0 +1,64 @@ +import argparse +import pyaes + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--key', type=str, required=True) # 16 bytes key + parser.add_argument('--data1', type=str, required=True) # 16 bytes data + parser.add_argument('--data2', type=str, required=True) # 16 bytes data + args = parser.parse_args() + + # Create AES ECB cipher + aes = pyaes.AESModeOfOperationECB(args.key.encode()) # Initialize AES ECB cipher + # Encrypt two different data blocks + ciphertext1 = aes.encrypt(args.data1.encode()) # Encrypt first plaintext + ciphertext2 = aes.encrypt(args.data2.encode()) # Encrypt second plaintext + print(ciphertext1) + print(ciphertext2) + +if __name__ == '__main__': + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --key = 'wYFMEqos^us0\xbe\x11\xd1\xf3' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --key = 'ckNdK)a!Ks]Htest'] +# --sigs = ['EotNkSI/nnRCOqf4XkNe89qXYn2JTWWFCWtb5hfamN9LKd55TJOi2PLeH1eQtfeo90UwFnQOvB8h0eV0XjTsCteeK0q7dv+JGUhI6y97W0tvnNHV1f17yF0ukrg6Hn28FwNNbmfzNHpx4pz775cxFRLUcPPKe/DjH/Dlub2emVY=', 'qTM/pWNUxMP3gLBkLQcPVW1B5lFd3fSLdriOgJXzvWaQLPW3hJB+qQ7ApbeMmSOO+icgEx9OJAIwZa15MoiObG31PG3GIMVrMSo0O25/I474At/xEI82HuI6FQojDE3JIKyHZIi6APvpjKm+sGqT20nEmo029HmSu16eo+DfQRY=', 'Rsc0NkIhZawCx4mOZo92SogaqIM94GPOiLA9hcJSFCW8d26kleOWcAVQCaCjfCMwkPpW+kmBoUB106gwMP4i9He9xZW7X99Vtl+IKROs4viZN54+dt+5K3Fv/dbU1WBZY1Suj5jaPtTgKseZ0BZbj3N20GEdCraCfqWAXHh8M0Y='] +# Output: +# 0 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --bits = 2048 +# --messages = ['🎉 Emoji test 🎊'] +# --sigs = ['wFKAk7qAEmlhvGG5a0nv+cocr3asyC6LONCy0drMZVka/XfCMzNY5AizZLd9b7BHAnCTNQCdRbIZIpO0DssyKdEufP2xkbgzEGJLWiLzZ2cWx6WzRSdHzU8Os3TcCNTgWL5dRw4ZI8FfkWy62XFapmkpL3376qCVvw51oPOXDlI=', 'FDUgFS2AwFAmXklidYOGaStziGuUtxkHcZugcrrtIX75IE5Ix5xuUmBPveky+pIB5+D0xLQ62/cO8v099hnLgHza1T+smhtUzXxgW+a5Jvd8WPpUqXr5jBGTeCSGuV/w/AHfQ1emLk2bQHy7HWQ4GlN22JNvuyB9az6u/VqViHI='] +# Output: +# 0 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --bits = 256 +# --messages = ['秘密消息', 'Special chars: !@#$%^&*()'] +# --sigs = ['ZGxMGIFymF1Ep/TetxdrMOr24wOg+rOP0o9MIXOmKNKmnsagZPrza40Smw9+eaar0w+OZDS+Aji2qH0v/NX72kCBM/ZSYqZQqD1gy6TBHfqPv26aV+QCP/nMp1SQd0WuCb1xWAX1VeLgVyid7AyxG0wa93DrMcpv16AssTOoMM0=', 'lfSd+6Ry2R7d4WfYrk7Plz7P+/DPlLESdvEUdw2wEBxRJFDI0ADA5rmqhz+YgMoCUHwxwmNFrm87OB07oAzKk56ALuH/inYscZBs08pumO8H9evIn1yXPp81LTV3tpo+sTS4xkg7P94DQr9swj8w/2BSGjLmuslsKfxMEqR4o1A=', 'LceE+eqH1yLA1EeY5Ku6s4NmrRJXs2z3BYlJnoX6kIF296QT8xaoMl4HB93ABiIeWfzn0SGPrvGaQmavlhe2Zz8/jHGSFpqNddWefkbnxh7Y2KsWgO+TiiLo71Fs6Promoq3B8SLxD54XTutMwP7EqVCl2zOoS/q15LjbRSgo10='] +# Output: +# 0 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --bits = 1024 +# --messages = ['Lorem ipsum dolor sit amet', 'Test message'] +# --sigs = ['UzKEBQB7f/FKl0HPXvavK8eVMgpL7lyWFherRGQs1pRmNM9Syp+V94ADBWImQaMAt2dyUOhA4vvgE/kwjewhIIapeWnv+g1Rt9+pT1RFbBCvErS6+QLv5Gdfm6lLiXSYKvWeoRvQvZ9fzqLvM83qohixQbJ/FOML4nUt62QzUko=', 'GOK4OHRJ1deYmJF1cnDEBFk4zBaWkrQWRrcDT83CwwiwASJyKw/t8Iqft4EhnIxLVTDjjMMdLbry2OtVSssi6GbA5wFe2ogxuf1feP92AHNKoX7osW4doYSPNCiO1RNjAkjLa5jsXGooNE2MFvhFl1752Wb3iWEKgB6IJfrE4tA=', 'uH+xoz8GpMjxZtb/QyUo3xAc14EzwQJipfJhA2kW0p230fGwJBT/2odb+aIWKGYtOr4KvXY+7FoKQgvxCzTgxi9u0G7BdHcWE9tgrOi9BSHj/eO2g6QvgzqZy5cpr9neTrTkHxLTjRjF0ljOd0FMCqD8Rk94HbMc4JdPjx6U3KQ='] +# Output: +# 0 +# Return Code: 0 diff --git a/rsa/test17_executable.zip b/rsa/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d28286b528cc167ec0ef6f4ae0e1c122b75208bb --- /dev/null +++ b/rsa/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:269a9e990a21a788c1654fd9d66f418f91c6a19f391df1b2077e9b60c1d5cd78 +size 9583879 diff --git a/rsa/test18.py b/rsa/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..9f52ec98b777590b1dc56985255a3ac97b9ae3fb --- /dev/null +++ b/rsa/test18.py @@ -0,0 +1,82 @@ +import argparse +import rsa +from simpleeval import SimpleEval + +parser = argparse.ArgumentParser() +parser.add_argument('--bits', type=int, required=True) +parser.add_argument('--threshold', type=int, required=True) +parser.add_argument('--msg', type=str, required=True) +parser.add_argument('--calc', type=str, required=True) +args = parser.parse_args() + +bits = args.bits +threshold = args.threshold +msg = args.msg +calc = args.calc + +# 生成RSA密钥对 +(pub_key, priv_key) = rsa.newkeys(bits) + +# 加密消息 +cipher = rsa.encrypt(msg.encode('utf-8'), pub_key) + +# 获取密文长度 +cipher_len = len(cipher) + +# 使用simpleeval进行计算(基于密文长度、阈值和密钥长度) +s = SimpleEval() +s.names['cipher_len'] = cipher_len +s.names['threshold'] = threshold +s.names['bits'] = bits +result = s.eval(calc) + +# 根据计算结果决定是否再次加密 +if result > threshold: + cipher2 = rsa.encrypt(msg.encode('utf-8'), pub_key) + print(len(cipher) + len(cipher2)) +else: + print(cipher_len) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --bits = 2048 +# --threshold = 30 +# --msg = 'CSV,TSV;special|delimiters' +# --calc = 'bits * threshold // cipher_len' +# Output: +# 512 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --bits = 2048 +# --threshold = 39 +# --msg = 'Multiline\nstring\nwith newlines' +# --calc = 'bits * threshold // cipher_len' +# Output: +# 512 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --bits = 256 +# --threshold = 32 +# --msg = 'Hello RSA' +# --calc = 'cipher_len - threshold' +# Output: +# 32 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --bits = 512 +# --threshold = 15 +# --msg = 'CSV,TSV;special|delimiters' +# --calc = 'bits * threshold // cipher_len' +# Output: +# 128 +# Return Code: 0 diff --git a/rsa/test18_executable.zip b/rsa/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..16c6403b505213a0faf35eaf1bd934e7213c4f5b --- /dev/null +++ b/rsa/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9678b281843f037ccf155dff0a585cf12da803471cce962b8c0e052603f819fd +size 9601547 diff --git a/rsa/test19.py b/rsa/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..4c83a9952ad9cfb0532bee5d76ee90b4f88d7b8e --- /dev/null +++ b/rsa/test19.py @@ -0,0 +1,70 @@ +import argparse +import rsa + +parser = argparse.ArgumentParser() +parser.add_argument('--bits', type=int, required=True) +parser.add_argument('--rounds', type=int, required=True) +parser.add_argument('--base_message', type=str, required=True) +args = parser.parse_args() + +bits = args.bits +rounds = args.rounds +base_msg = args.base_message + +# 生成RSA密钥对 +(pub_key, priv_key) = rsa.newkeys(bits) + +current = base_msg.encode('utf-8') +total_len = 0 + +# 进行多轮加密-解密循环 +for r in range(rounds): + # 使用公钥加密当前消息 + cipher = rsa.encrypt(current, pub_key) + total_len += len(cipher) + + # 使用私钥解密密文,将结果作为下一轮的输入 + plain = rsa.decrypt(cipher, priv_key) + current = plain + +print(total_len) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --bits = 256 +# --rounds = 25 +# --base_message = '1234567890' +# Output: +# 800 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --bits = 1024 +# --rounds = 10 +# --base_message = '日本語メッセージ' +# Output: +# 1280 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --bits = 2048 +# --rounds = 23 +# --base_message = 'Multiline\nstring\nwith newlines' +# Output: +# 5888 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --bits = 256 +# --rounds = 8 +# --base_message = '' +# Output: +# 256 +# Return Code: 0 diff --git a/rsa/test19_executable.zip b/rsa/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..924324a452fd893c6d37a22072942e25e43afd89 --- /dev/null +++ b/rsa/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a88b97ca092badd8acc60ef91e987fabc256408622f4d6e28a582e170cdb45d5 +size 9583030 diff --git a/rsa/test2.py b/rsa/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..bb7e9209921968ed05b4de141ae40ae87d146841 --- /dev/null +++ b/rsa/test2.py @@ -0,0 +1,52 @@ +import argparse +import rsa + +parser = argparse.ArgumentParser() +parser.add_argument('--bits', type=int, required=True) +args = parser.parse_args() + +bits = args.bits + +# 生成指定比特长度的RSA密钥对 +(pub_key, priv_key) = rsa.newkeys(bits) + +# 加密固定消息(使用PKCS#1 v1.5填充) +message = b'Hello, RSA!' +ciphertext = rsa.encrypt(message, pub_key) + +# 输出密文的长度(字节数) +print(len(ciphertext)) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --bits = 256 +# Output: +# 32 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --bits = 4096 +# Output: +# (no output) +# Stderr: +# Timeout +# Return Code: -1 + +# ===== Test Case 3 ===== +# Input: +# --bits = 1024 +# Output: +# 128 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --bits = 1024 +# Output: +# 128 +# Return Code: 0 diff --git a/rsa/test2_executable.zip b/rsa/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5ac208fdd5b3517d632fed66e4cb7c755b71def8 --- /dev/null +++ b/rsa/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e403beb96bed0c47ebfd81806c0df2c12e3ed5fc0b3d8bba4783cd069bac47b5 +size 9583218 diff --git a/rsa/test5.py b/rsa/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..5242f4e11f915b7d4cb7628dff0fca0c846ec45c --- /dev/null +++ b/rsa/test5.py @@ -0,0 +1,55 @@ +import argparse +import rsa + +parser = argparse.ArgumentParser() +parser.add_argument('--bits', type=int, required=True) +parser.add_argument('--message', type=str, required=True) +args = parser.parse_args() + +bits = args.bits +message = args.message.encode('utf-8') + +# 生成RSA密钥对 +(pub_key, priv_key) = rsa.newkeys(bits) + +# 使用私钥对消息进行签名(使用SHA-256哈希算法) +signature = rsa.sign(message, priv_key, 'SHA-256') + +# 输出签名的长度(字节数) +print(len(signature)) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --bits = 1024 +# --message = 'Quick brown fox' +# Output: +# 128 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --bits = 1024 +# --message = '日本語メッセージ' +# Output: +# 128 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --bits = 2048 +# --message = 'Quick brown fox' +# Output: +# 256 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --bits = 512 +# --message = 'CSV,TSV;special|delimiters' +# Output: +# 64 +# Return Code: 0 diff --git a/rsa/test5_executable.zip b/rsa/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1af8f15040ba7189171f31a916f5afb0bc9f834f --- /dev/null +++ b/rsa/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9277ceea9cc1883436bd48558c24ec46ccb965a529b0c263bd34f616e4db617 +size 9582987 diff --git a/rsa/test7.py b/rsa/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..49fa660949deacf7b8511ee29d126dcd69699158 --- /dev/null +++ b/rsa/test7.py @@ -0,0 +1,52 @@ +import argparse +import rsa +from rsa import common + +parser = argparse.ArgumentParser() +parser.add_argument('--n1', type=int, required=True) +parser.add_argument('--n2', type=int, required=True) +args = parser.parse_args() + +n1 = args.n1 +n2 = args.n2 + +# 使用扩展欧几里得算法计算两个数的最大公约数(返回gcd, x, y) +gcd, x, y = common.extended_gcd(n1, n2) + +print(gcd) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --n1 = 945305841747173044366153290829458070797198524794969638094748 +# --n2 = 1096957712711183727051447410458463261192452258274943730597392 +# Output: +# 28 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --n1 = 862563244280361720430936090782061972639133461760421935416469 +# --n2 = 250231244506319496742698267098114507172108986173557935413627 +# Output: +# 1 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --n1 = 1103197889821571001755353786824125563871303524810271657600355 +# --n2 = 162303944925030688024544842154687779006658147939560239304599 +# Output: +# 3 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --n1 = 1038438389780517430913614247295868356109570389186769959830599 +# --n2 = 896054179266433843203624998225668475432079047981683614325719 +# Output: +# 1 +# Return Code: 0 diff --git a/rsa/test7_executable.zip b/rsa/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..686ae8bed9ca0c1eb929b4ab87b374f4e238beae --- /dev/null +++ b/rsa/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27f06b4eee32939324a9aa5adb99e4e66af1a2cf7d81ad069990de53e3ecfdfb +size 9583243 diff --git a/rsa/test8.py b/rsa/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..a1a8da3f8c6833eee33322b13da8c9d6bf948f44 --- /dev/null +++ b/rsa/test8.py @@ -0,0 +1,65 @@ +import argparse +import rsa + +parser = argparse.ArgumentParser() +parser.add_argument('--bits', type=int, required=True) +parser.add_argument('--msg_len', type=int, required=True) +args = parser.parse_args() + +bits = args.bits +msg_len = args.msg_len + +# 生成RSA密钥对 +(pub_key, priv_key) = rsa.newkeys(bits) + +# 创建指定长度的消息 +message = b'A' * msg_len + +# 加密长消息 +ciphertext = rsa.encrypt(message, pub_key) + +# 对多个短消息进行加密并计算总密文长度 +total_len = 0 +for i in range(3): + short_msg = f"Msg{i}".encode('utf-8') + cipher = rsa.encrypt(short_msg, pub_key) + total_len += len(cipher) + +# 输出长消息密文长度与短消息总长度的差值 +print(len(ciphertext) - total_len) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --bits = 1024 +# --msg_len = 26 +# Output: +# -256 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --bits = 2048 +# --msg_len = 47 +# Output: +# -512 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --bits = 256 +# --msg_len = 4 +# Output: +# -64 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --bits = 512 +# --msg_len = 10 +# Output: +# -128 +# Return Code: 0 diff --git a/rsa/test8_executable.zip b/rsa/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..75aeaa3dc848ee8755316d23df2787bd2751313c --- /dev/null +++ b/rsa/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bc6287940a02117e45e6724a604fef299dff22bc64303a87015fbae55a55e02 +size 9583090 diff --git a/schedule/__pycache__/test14.cpython-310.pyc b/schedule/__pycache__/test14.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9a029131eccff584bc75515cf262e15d6779fed9 Binary files /dev/null and b/schedule/__pycache__/test14.cpython-310.pyc differ diff --git a/schedule/__pycache__/test16.cpython-310.pyc b/schedule/__pycache__/test16.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e728626b58da9fe5f02879b27a19522ed33a92dd Binary files /dev/null and b/schedule/__pycache__/test16.cpython-310.pyc differ diff --git a/schedule/py_output.txt b/schedule/py_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..7ee84cb42f2aaea15d356b6dfdd1a9c53c5890c7 --- /dev/null +++ b/schedule/py_output.txt @@ -0,0 +1,13 @@ +5 +10 +15 +Job(interval=1, unit=days, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +12 diff --git a/schedule/py_output2.txt b/schedule/py_output2.txt new file mode 100644 index 0000000000000000000000000000000000000000..2e565c57de3b40b1a2417d8fee25ca5956943eb5 --- /dev/null +++ b/schedule/py_output2.txt @@ -0,0 +1,18 @@ +Job(interval=1, unit=seconds, do=, args=(), kwargs={}) +Job(interval=1, unit=minutes, do=, args=(), kwargs={}) +Job(interval=1, unit=hours, do=, args=(), kwargs={}) +Job(interval=1, unit=days, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=days, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +Job(interval=1, unit=weeks, do=, args=(), kwargs={}) +17 diff --git a/schedule/test1.py b/schedule/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..f5b67b20825f7f762054aeb0bbd04681e5ce15a5 --- /dev/null +++ b/schedule/test1.py @@ -0,0 +1,9 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +args = parser.parse_args() + +job = schedule.every(args.a) # 创建间隔作业 +print(job.interval) diff --git a/schedule/test10.py b/schedule/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..99f665819df3545d9f5785242d3c2ccacec67a8c --- /dev/null +++ b/schedule/test10.py @@ -0,0 +1,25 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +job1 = schedule.every().seconds.do(lambda: None) # 创建秒级作业 +print(job1) +schedule.cancel_job(job1) # 取消作业1 +print(len(schedule.get_jobs())) +job2 = schedule.every().minutes.do(lambda: None) # 创建分钟作业 +print(job2) +job3 = schedule.every().hours.do(lambda: None) # 创建小时作业 +print(job3) +schedule.clear() # 清除所有作业 +print(len(schedule.get_jobs())) +job4 = schedule.every().days.at(args.a).do(lambda: None) # 创建每日作业 +print(job4) +job5 = schedule.every().weeks.do(lambda: None) # 创建每周作业 +print(job5) +print(len(schedule.get_jobs())) diff --git a/schedule/test10_executable.zip b/schedule/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c7b3d9a894b96ba2416f90feb31e027eccdcb2a8 --- /dev/null +++ b/schedule/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f89b0fbf32b0f1f2a3d0d57720bb418862a758bf196f95dffd270fb50a110518 +size 7365046 diff --git a/schedule/test11.py b/schedule/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..3838452f8882c87337d429b79cd6485bde7dd23e --- /dev/null +++ b/schedule/test11.py @@ -0,0 +1,38 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +args = parser.parse_args() + +# 创建多个作业并测试标签过滤 +jobs_created = 0 +for i in range(args.a): + job = schedule.every(1).seconds.tag('group1').do(lambda: None) # 创建group1标签作业 + jobs_created += 1 +print(jobs_created) + +for i in range(args.b): + job = schedule.every(1).minutes.tag('group2').do(lambda: None) # 创建group2标签作业 + jobs_created += 1 +print(jobs_created) + +group1_jobs = schedule.get_jobs('group1') # 获取group1作业 +print(len(group1_jobs)) + +group2_jobs = schedule.get_jobs('group2') # 获取group2作业 +print(len(group2_jobs)) + +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) + +schedule.clear('group1') # 清除group1作业 +print(len(schedule.get_jobs())) + +schedule.clear('group2') # 清除group2作业 +print(len(schedule.get_jobs())) + +for i in range(args.a + args.b): # 重新创建作业 + job = schedule.every(1).seconds.do(lambda: None) +print(len(schedule.get_jobs())) diff --git a/schedule/test11_executable.zip b/schedule/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0f485f534f24826aab25585adf1241d8b83cc70f --- /dev/null +++ b/schedule/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96245aa6543665fd7cce19dd7fc09d1dde1065d32c93cb9f03235bf11c5c889e +size 7365960 diff --git a/schedule/test12.py b/schedule/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..cebfd48747769e20952b741223fd34eefc8e510d --- /dev/null +++ b/schedule/test12.py @@ -0,0 +1,39 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +# 测试不同时间间隔的作业创建 +job1 = schedule.every(args.a).seconds.do(lambda: None) # 创建秒级作业 +print(job1.interval) +job2 = schedule.every(args.b).minutes.do(lambda: None) # 创建分钟作业 +print(job2.interval) +job3 = schedule.every(args.c).hours.do(lambda: None) # 创建小时作业 +print(job3.interval) + +# 创建更多组合作业 +job4 = schedule.every().day.do(lambda: None) # 创建每日作业 +print(job4) +job5 = schedule.every().week.do(lambda: None) # 创建每周作业 +print(job5) +job6 = schedule.every().monday.do(lambda: None) # 创建周一作业 +print(job6) +job7 = schedule.every().tuesday.do(lambda: None) # 创建周二作业 +print(job7) +job8 = schedule.every().wednesday.do(lambda: None) # 创建周三作业 +print(job8) +job9 = schedule.every().thursday.do(lambda: None) # 创建周四作业 +print(job9) +job10 = schedule.every().friday.do(lambda: None) # 创建周五作业 +print(job10) +job11 = schedule.every().saturday.do(lambda: None) # 创建周六作业 +print(job11) +job12 = schedule.every().sunday.do(lambda: None) # 创建周日作业 +print(job12) + +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) diff --git a/schedule/test12_executable.zip b/schedule/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..368a75cbb947a46874f8ba6db6573b953553eb08 --- /dev/null +++ b/schedule/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d33584bb757bfbb40898ffdf3d481147ac19768f8851095e4d306914d8f6a52c +size 7366068 diff --git a/schedule/test13.py b/schedule/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..72bc55423c6c95becf2af577dcc2c97f19a1bb60 --- /dev/null +++ b/schedule/test13.py @@ -0,0 +1,38 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +# 创建带特定时间的每日作业 +job1 = schedule.every().day.at(args.a).do(lambda: None) # 创建每日特定时间作业1 +print(job1) +job2 = schedule.every().day.at(args.b).do(lambda: None) # 创建每日特定时间作业2 +print(job2) +job3 = schedule.every().day.at(args.c).do(lambda: None) # 创建每日特定时间作业3 +print(job3) +job4 = schedule.every().day.at(args.d).do(lambda: None) # 创建每日特定时间作业4 +print(job4) + +# 创建带特定时间的周作业 +job5 = schedule.every().monday.at(args.a).do(lambda: None) # 周一特定时间作业 +print(job5) +job6 = schedule.every().tuesday.at(args.b).do(lambda: None) # 周二特定时间作业 +print(job6) +job7 = schedule.every().wednesday.at(args.c).do(lambda: None) # 周三特定时间作业 +print(job7) +job8 = schedule.every().thursday.at(args.d).do(lambda: None) # 周四特定时间作业 +print(job8) +job9 = schedule.every().friday.at(args.a).do(lambda: None) # 周五特定时间作业 +print(job9) +job10 = schedule.every().saturday.at(args.b).do(lambda: None) # 周六特定时间作业 +print(job10) +job11 = schedule.every().sunday.at(args.c).do(lambda: None) # 周日特定时间作业 +print(job11) + +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) diff --git a/schedule/test13_executable.zip b/schedule/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2b99d05a50380ab0218c004fbf9652df6648eaa7 --- /dev/null +++ b/schedule/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:070dac2c216381ea1bc6f1995d7c7583e6190f6215668b7e0a9b4a7ca5c27be8 +size 7364734 diff --git a/schedule/test14.py b/schedule/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..d6888523047bc44590b84e467a5b16f073d51c7e --- /dev/null +++ b/schedule/test14.py @@ -0,0 +1,44 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +# 批量创建和删除作业 +jobs_list = [] +for i in range(args.a): + job = schedule.every(1).seconds.do(lambda: None) # 创建秒级作业 + jobs_list.append(job) +print(len(jobs_list)) + +for i in range(args.b): + job = schedule.every(1).minutes.do(lambda: None) # 创建分钟作业 + jobs_list.append(job) +print(len(jobs_list)) + +for i in range(args.c): + job = schedule.every(1).hours.do(lambda: None) # 创建小时作业 + jobs_list.append(job) +print(len(jobs_list)) + +# 删除部分作业 +for i in range(min(args.d, len(jobs_list))): + schedule.cancel_job(jobs_list[i]) # 取消作业 +print(len(schedule.get_jobs())) + +# 清除部分作业 +schedule.clear() # 清除所有作业 +print(len(schedule.get_jobs())) + +# 重新创建作业 +for i in range(args.e): + job = schedule.every(1).seconds.do(lambda: None) # 重新创建作业 +print(len(schedule.get_jobs())) + +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) diff --git a/schedule/test14_executable.zip b/schedule/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..729ce36e8eb731ac3e097088c5528698d0b8961c --- /dev/null +++ b/schedule/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d81a684e065fd53318198d85bea5e9651873345e6406355858767b07326dbe0a +size 7364322 diff --git a/schedule/test16.py b/schedule/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..bb44abe0cb1a1ee5f9294c82bfb7bb36867205cc --- /dev/null +++ b/schedule/test16.py @@ -0,0 +1,58 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +# 大规模作业创建和管理 +jobs = [] +for i in range(args.a): + job = schedule.every(i+1).seconds.do(lambda: None) # 创建不同间隔的秒级作业 + jobs.append(job) +print(len(jobs)) + +for i in range(args.b): + job = schedule.every(i+1).minutes.do(lambda: None) # 创建不同间隔的分钟作业 + jobs.append(job) +print(len(jobs)) + +for i in range(args.c): + job = schedule.every(i+1).hours.do(lambda: None) # 创建不同间隔的小时作业 + jobs.append(job) +print(len(jobs)) + +# 批量添加标签 +for i, job in enumerate(jobs): + job.tag(f'batch{i//5}') # 为作业添加批次标签 +print(len(jobs)) + +# 根据批次标签查询 +batch0_jobs = schedule.get_jobs('batch0') # 获取batch0作业 +print(len(batch0_jobs)) +batch1_jobs = schedule.get_jobs('batch1') # 获取batch1作业 +print(len(batch1_jobs)) + +# 批量删除作业 +for i in range(min(args.d, len(jobs))): + schedule.cancel_job(jobs[i]) # 取消前args.d个作业 +print(len(schedule.get_jobs())) + +# 清除特定批次 +schedule.clear('batch0') # 清除batch0 +print(len(schedule.get_jobs())) + +schedule.clear('batch1') # 清除batch1 +print(len(schedule.get_jobs())) + +# 重新创建作业 +for i in range(args.e): + job = schedule.every(1).seconds.do(lambda: None) # 重新创建作业 +print(len(schedule.get_jobs())) + +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) diff --git a/schedule/test16_executable.zip b/schedule/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..88608f4db1e9be650b94be1c6eb6d4d58756be6d --- /dev/null +++ b/schedule/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0a3b490f538126604b9b16f75d1324984cfb54cfdfcc40130dcb9c5ad9f2498 +size 7367029 diff --git a/schedule/test18.py b/schedule/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..d8353c13d35e000fd6a1966cde56885376ff8f13 --- /dev/null +++ b/schedule/test18.py @@ -0,0 +1,53 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=str, required=True) +args = parser.parse_args() + +# 创建各种时间组合的作业 +job1 = schedule.every().second.do(lambda: None) # 创建每秒作业 +print(job1) +job2 = schedule.every().minute.do(lambda: None) # 创建每分钟作业 +print(job2) +job3 = schedule.every().hour.do(lambda: None) # 创建每小时作业 +print(job3) +job4 = schedule.every().day.do(lambda: None) # 创建每日作业 +print(job4) +job5 = schedule.every().week.do(lambda: None) # 创建每周作业 +print(job5) + +# 创建特定星期的作业 +job6 = schedule.every().monday.do(lambda: None) # 创建周一作业 +print(job6) +job7 = schedule.every().tuesday.do(lambda: None) # 创建周二作业 +print(job7) +job8 = schedule.every().wednesday.do(lambda: None) # 创建周三作业 +print(job8) +job9 = schedule.every().thursday.do(lambda: None) # 创建周四作业 +print(job9) +job10 = schedule.every().friday.do(lambda: None) # 创建周五作业 +print(job10) +job11 = schedule.every().saturday.do(lambda: None) # 创建周六作业 +print(job11) +job12 = schedule.every().sunday.do(lambda: None) # 创建周日作业 +print(job12) + +# 创建带特定时间的作业 +job13 = schedule.every().day.at(args.a).do(lambda: None) # 创建每日特定时间作业 +print(job13) +job14 = schedule.every().monday.at(args.b).do(lambda: None) # 创建周一特定时间作业 +print(job14) +job15 = schedule.every().tuesday.at(args.c).do(lambda: None) # 创建周二特定时间作业 +print(job15) +job16 = schedule.every().wednesday.at(args.d).do(lambda: None) # 创建周三特定时间作业 +print(job16) +job17 = schedule.every().thursday.at(args.e).do(lambda: None) # 创建周四特定时间作业 +print(job17) + +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) diff --git a/schedule/test18_executable.zip b/schedule/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..45cb6b8f6b634890b528db310cfb3fe00032e1be --- /dev/null +++ b/schedule/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81c5d6d665acdf74ff5df6d11c2d825f6ff853a59774b5a967911fb469c04cb2 +size 7365602 diff --git a/schedule/test19.py b/schedule/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..a8f85d44f55bb063a7de6e438332fc4f0281fc8a --- /dev/null +++ b/schedule/test19.py @@ -0,0 +1,62 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +# 复杂的作业生命周期管理 +jobs = [] + +# 阶段1:创建基础作业 +for i in range(args.a): + job = schedule.every(1).seconds.tag(f'phase1', f'job{i}').do(lambda: None) # 创建phase1作业 + jobs.append(job) +print(len(jobs)) + +# 阶段2:创建更多作业 +for i in range(args.b): + job = schedule.every(1).minutes.tag(f'phase2', f'job{args.a+i}').do(lambda: None) # 创建phase2作业 + jobs.append(job) +print(len(jobs)) + +# 查询不同阶段的作业 +phase1_jobs = schedule.get_jobs('phase1') # 获取phase1作业 +print(len(phase1_jobs)) +phase2_jobs = schedule.get_jobs('phase2') # 获取phase2作业 +print(len(phase2_jobs)) + +# 阶段3:创建带特定时间的作业 +job_time1 = schedule.every().day.at(args.c).tag('timed').do(lambda: None) # 创建定时作业1 +print(job_time1) +job_time2 = schedule.every().day.at(args.d).tag('timed').do(lambda: None) # 创建定时作业2 +print(job_time2) + +timed_jobs = schedule.get_jobs('timed') # 获取timed作业 +print(len(timed_jobs)) + +# 阶段4:删除部分作业 +for i in range(min(len(jobs)//2, len(jobs))): + schedule.cancel_job(jobs[i]) # 取消一半作业 +print(len(schedule.get_jobs())) + +# 阶段5:清除特定标签 +schedule.clear('phase1') # 清除phase1 +print(len(schedule.get_jobs())) + +schedule.clear('phase2') # 清除phase2 +print(len(schedule.get_jobs())) + +# 阶段6:创建最终作业 +for i in range(5): + job = schedule.every(1).hours.tag(f'final', f'task{i}').do(lambda: None) # 创建最终作业 +print(len(schedule.get_jobs())) + +final_jobs = schedule.get_jobs('final') # 获取final作业 +print(len(final_jobs)) + +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) diff --git a/schedule/test19_executable.zip b/schedule/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..87d4a1d1327a779fdca87c9a8d393629216c222a --- /dev/null +++ b/schedule/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c81c57848d9e19fef522ddb8d6807fd245f7344238df6d2ab861477cbdb666ff +size 7365500 diff --git a/schedule/test1_executable.zip b/schedule/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0823d75ad66e81b0fa0fa15fdb2f8d03de2ca92a --- /dev/null +++ b/schedule/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49ebac520726df6f6fe5416fb380833e2ac813dbf980bb62c095fb4d70a1f700 +size 7365489 diff --git a/schedule/test2.py b/schedule/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..42c5f57d125b45da2c81a3dfd0f1db1d70bedcf8 --- /dev/null +++ b/schedule/test2.py @@ -0,0 +1,9 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +job = schedule.every().day.at(args.a) # 创建每日定时作业 +print(job) diff --git a/schedule/test20.py b/schedule/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..22fb1b3f3cc73d4cece216eaf16ed4673c6e2911 --- /dev/null +++ b/schedule/test20.py @@ -0,0 +1,81 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +# 大规模压力测试:创建、管理和删除大量作业 +all_jobs_list = [] + +# 第一批:秒级作业 +for i in range(args.a): + job = schedule.every(i+1).seconds.tag(f'batch1', f'sec{i}').do(lambda: None) # 创建第一批秒级作业 + all_jobs_list.append(job) +print(len(all_jobs_list)) + +# 第二批:分钟作业 +for i in range(args.b): + job = schedule.every(i+1).minutes.tag(f'batch2', f'min{i}').do(lambda: None) # 创建第二批分钟作业 + all_jobs_list.append(job) +print(len(all_jobs_list)) + +# 第三批:小时作业 +for i in range(args.c): + job = schedule.every(i+1).hours.tag(f'batch3', f'hour{i}').do(lambda: None) # 创建第三批小时作业 + all_jobs_list.append(job) +print(len(all_jobs_list)) + +# 第四批:日作业 +for i in range(args.d): + job = schedule.every(i+1).days.tag(f'batch4', f'day{i}').do(lambda: None) # 创建第四批日作业 + all_jobs_list.append(job) +print(len(all_jobs_list)) + +# 第五批:周作业 +for i in range(args.e): + job = schedule.every(i+1).weeks.tag(f'batch5', f'week{i}').do(lambda: None) # 创建第五批周作业 + all_jobs_list.append(job) +print(len(all_jobs_list)) + +# 查询不同批次的作业 +batch1_jobs = schedule.get_jobs('batch1') # 获取batch1作业 +print(len(batch1_jobs)) +batch2_jobs = schedule.get_jobs('batch2') # 获取batch2作业 +print(len(batch2_jobs)) +batch3_jobs = schedule.get_jobs('batch3') # 获取batch3作业 +print(len(batch3_jobs)) +batch4_jobs = schedule.get_jobs('batch4') # 获取batch4作业 +print(len(batch4_jobs)) +batch5_jobs = schedule.get_jobs('batch5') # 获取batch5作业 +print(len(batch5_jobs)) + +# 批量删除作业 +for i in range(min(len(all_jobs_list)//3, len(all_jobs_list))): + schedule.cancel_job(all_jobs_list[i]) # 取消1/3的作业 +print(len(schedule.get_jobs())) + +# 清除特定批次 +schedule.clear('batch1') # 清除batch1 +print(len(schedule.get_jobs())) + +schedule.clear('batch2') # 清除batch2 +print(len(schedule.get_jobs())) + +schedule.clear('batch3') # 清除batch3 +print(len(schedule.get_jobs())) + +# 重新创建作业 +for i in range(10): + job = schedule.every(1).seconds.tag('new').do(lambda: None) # 创建新作业 +print(len(schedule.get_jobs())) + +new_jobs = schedule.get_jobs('new') # 获取new作业 +print(len(new_jobs)) + +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) diff --git a/schedule/test20_executable.zip b/schedule/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d224150bf644a320e1da9147bb72066e7ac4dcec --- /dev/null +++ b/schedule/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10054ddb75d52e003260fd04034b7b575e263deadaebb3f815526f3aefe64d94 +size 7366388 diff --git a/schedule/test2_executable.zip b/schedule/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6f98017c59e47335aa77f9c45a2e24dcf5e58eb5 --- /dev/null +++ b/schedule/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8ffe2384ff0d80e20c02f1b4b8973b22f2ee21c47c6ce6de700cdb492cb7f18 +size 7365317 diff --git a/schedule/test3.py b/schedule/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..130010529ad87d694642e1d123709e05b6f1afc6 --- /dev/null +++ b/schedule/test3.py @@ -0,0 +1,10 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +job = schedule.every(args.a).minutes # 创建分钟间隔作业 +print(job.interval) diff --git a/schedule/test3_executable.zip b/schedule/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ba273b0326fb9d9098da053de18b93005bd1c931 --- /dev/null +++ b/schedule/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae286224be392f0060bd23122df706d7f6b1e421c07ead4cd532217b5adee3ed +size 7365541 diff --git a/schedule/test4.py b/schedule/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..829c531c06965799d82e2f26c640c6095fc0ab56 --- /dev/null +++ b/schedule/test4.py @@ -0,0 +1,11 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +job = schedule.every().monday.at(args.a) # 创建每周一特定时间作业 +print(job) diff --git a/schedule/test4_executable.zip b/schedule/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d66c02e1b5b2c6e822f6913313c6ed0163197714 --- /dev/null +++ b/schedule/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8982f559f09e7723a80dcf0f0c6f6a0df1da053e623c9e21adb7b2774920015c +size 7365843 diff --git a/schedule/test5.py b/schedule/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..fb1a24b55ff1452d7e85534cf853ab285d198f8a --- /dev/null +++ b/schedule/test5.py @@ -0,0 +1,13 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=str, required=True) +args = parser.parse_args() + +job = schedule.every(args.a).hours # 创建小时间隔作业 +print(job.interval) diff --git a/schedule/test5_executable.zip b/schedule/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d82e0f53e2b845e2a9dea8f4b144eb1f552842fd --- /dev/null +++ b/schedule/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50cb480622c554fe2a540c63ce921f8b4182b2b833d3663b299843ca31bdbb86 +size 7365592 diff --git a/schedule/test6.py b/schedule/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..273230ddfd50a2320b41f867adaa49e060f86d1e --- /dev/null +++ b/schedule/test6.py @@ -0,0 +1,23 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +job1 = schedule.every(args.a).seconds.do(lambda: None) # 创建秒级作业1 +print(job1.interval) +job2 = schedule.every(args.b).seconds.do(lambda: None) # 创建秒级作业2 +print(job2.interval) +job3 = schedule.every(args.c).minutes.do(lambda: None) # 创建分钟作业3 +print(job3.interval) +job4 = schedule.every(args.d).hours.do(lambda: None) # 创建小时作业4 +print(job4.interval) +job5 = schedule.every(args.e).days.do(lambda: None) # 创建每日作业5 +print(job5.interval) +jobs = schedule.get_jobs() # 获取所有作业 +print(len(jobs)) diff --git a/schedule/test6_executable.zip b/schedule/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..702fbbff51acf5e0077dbe3271b87bb9ef6ad556 --- /dev/null +++ b/schedule/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e433c1fb78c71a0c00ca08267a73afdf9b8791bc6d6774c6cabeb268d5171f20 +size 7365916 diff --git a/schedule/test7.py b/schedule/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..698a57ff815323f12f9540a3fbd48a48ceae4892 --- /dev/null +++ b/schedule/test7.py @@ -0,0 +1,23 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=str, required=True) +args = parser.parse_args() + +job1 = schedule.every().monday.at(args.a).do(lambda: None) # 周一作业 +print(job1) +job2 = schedule.every().tuesday.at(args.b).do(lambda: None) # 周二作业 +print(job2) +job3 = schedule.every().wednesday.at(args.c).do(lambda: None) # 周三作业 +print(job3) +job4 = schedule.every().thursday.at(args.d).do(lambda: None) # 周四作业 +print(job4) +job5 = schedule.every().friday.at(args.e).do(lambda: None) # 周五作业 +print(job5) +jobs = schedule.get_jobs() # 获取所有作业 +print(len(jobs)) diff --git a/schedule/test7_executable.zip b/schedule/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d9abbc1c5d77556abb20ef2617bce50315db2afd --- /dev/null +++ b/schedule/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1d8514ec0e3471690c666d0747d997be12e2eb5e3beed34f3cf437c1171fe45 +size 7365804 diff --git a/schedule/test9.py b/schedule/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..7eee6ba0306dd4ca0b5b762b4d2ca7eda47cb737 --- /dev/null +++ b/schedule/test9.py @@ -0,0 +1,29 @@ +import argparse +import schedule + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=int, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +jobs = [] +for i in range(args.a): # 循环创建多个秒级作业 + job = schedule.every(1).seconds.do(lambda: None) + jobs.append(job) +print(len(jobs)) +for i in range(args.b): # 循环创建多个分钟作业 + job = schedule.every(1).minutes.do(lambda: None) + jobs.append(job) +print(len(jobs)) +for i in range(args.c): # 循环创建多个小时作业 + job = schedule.every(1).hours.do(lambda: None) + jobs.append(job) +print(len(jobs)) +for i in range(args.d): # 循环创建多个每日作业 + job = schedule.every(1).days.do(lambda: None) + jobs.append(job) +print(len(jobs)) +all_jobs = schedule.get_jobs() # 获取所有作业 +print(len(all_jobs)) diff --git a/schedule/test9_executable.zip b/schedule/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..abe221a5d8338c59f28081153d319b381f124047 --- /dev/null +++ b/schedule/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7bdc41806c2a1725e1538f725751ed05725e993d91d4fb451ff6e9cbbb13f1c +size 7366081 diff --git a/sqlparse/.DS_Store b/sqlparse/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..38734ca2de71d90578b12a191d5ff30a57f26d5c Binary files /dev/null and b/sqlparse/.DS_Store differ diff --git a/sqlparse/__pycache__/test16.cpython-310.pyc b/sqlparse/__pycache__/test16.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..96a5d4751f94c2c670bb92001a8f83a637f9670e Binary files /dev/null and b/sqlparse/__pycache__/test16.cpython-310.pyc differ diff --git a/sqlparse/test10.py b/sqlparse/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..8e156549bceb208a2ed8d723f0dcd95c92845d43 --- /dev/null +++ b/sqlparse/test10.py @@ -0,0 +1,58 @@ +import argparse +import sqlparse + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + parsed1 = sqlparse.parse(args.a) # 解析第一个SQL语句 + parsed2 = sqlparse.parse(args.b) # 解析第二个SQL语句 + tokens1 = list(parsed1[0].flatten()) # 获取扁平化的token列表 + tokens2 = list(parsed2[0].flatten()) # 获取扁平化的token列表 + print(len(tokens1)) + print(len(tokens2)) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'SELECT name, email FROM employees ORDER BY name DESC' +# --b = "SELECT COUNT(*) as total FROM orders WHERE status = 'completed'" +# Output: +# 16 +# 22 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'ALTER TABLE users ADD COLUMN phone VARCHAR(20)' +# --b = 'DROP TABLE IF EXISTS old_data' +# Output: +# 16 +# 7 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = "WITH recent_orders AS (SELECT * FROM orders WHERE created_at > NOW() - INTERVAL '7 days') SELECT COUNT(*) FROM recent_orders" +# --b = 'SELECT user_id, SUM(amount) as total_spent FROM orders GROUP BY user_id HAVING SUM(amount) > 1000 ORDER BY total_spent DESC' +# Output: +# 42 +# 38 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = "SELECT CASE WHEN score >= 90 THEN 'A' WHEN score >= 80 THEN 'B' WHEN score >= 70 THEN 'C' ELSE 'F' END as grade FROM exams" +# --b = "SELECT COALESCE(address, 'No address provided') as address FROM customers" +# Output: +# 53 +# 17 +# Return Code: 0 diff --git a/sqlparse/test10_executable.zip b/sqlparse/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8390f745a1d45f7e9b6c3716bc74f9f16006e3ea --- /dev/null +++ b/sqlparse/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a97ac2b540f82dff716544f36407a174baa1ddfaf91f2d15bd3a7190ee21c03 +size 7429053 diff --git a/sqlparse/test16.py b/sqlparse/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..2d1cda57d6c7f38aac3426b70712d35d78676cd0 --- /dev/null +++ b/sqlparse/test16.py @@ -0,0 +1,67 @@ +import argparse +import sqlparse + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + parser.add_argument('--c', type=str, required=True) + args = parser.parse_args() + + # 测试空字符串和只有分号的情况 + test_cases = [args.a, args.b, args.c] + + for sql in test_cases: + split_result = sqlparse.split(sql) # 分割SQL语句 + print(split_result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'CREATE TABLE t1 (id INT);' +# --b = 'DROP TABLE t1;' +# --c = '' +# Output: +# ['CREATE TABLE t1 (id INT);'] +# ['DROP TABLE t1;'] +# [] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '' +# --b = 'DELETE FROM temp;' +# --c = 'TRUNCATE TABLE cache;' +# Output: +# [] +# ['DELETE FROM temp;'] +# ['TRUNCATE TABLE cache;'] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = ";SELECT 'test';" +# --b = "SELECT 'a'; ; SELECT 'b';" +# --c = '' +# Output: +# [';', "SELECT 'test';"] +# ["SELECT 'a';", ';', "SELECT 'b';"] +# [] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '' +# --b = '; ; ;' +# --c = 'BEGIN; COMMIT;' +# Output: +# [] +# [';', ';', ';'] +# ['BEGIN;', 'COMMIT;'] +# Return Code: 0 diff --git a/sqlparse/test16_executable.zip b/sqlparse/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2d944289088721fcb83cf9fa2f11361b0387bf83 --- /dev/null +++ b/sqlparse/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31b768f2f61cf0e67477c427716fcbbd1551af78492ec1caf6a99052cfea9f9f +size 7427524 diff --git a/sqlparse/test2.py b/sqlparse/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..05dcd5864253bdd1fdee896a5a8c2e8478fc8d79 --- /dev/null +++ b/sqlparse/test2.py @@ -0,0 +1,45 @@ +import argparse +import sqlparse + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + result = sqlparse.split(args.a) # 分割多个SQL语句 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = "DELETE FROM logs WHERE created_at < '2022-01-01'; DELETE FROM temp_data WHERE processed = true; TRUNCATE TABLE session_data" +# Output: +# ["DELETE FROM logs WHERE created_at < '2022-01-01';", 'DELETE FROM temp_data WHERE processed = true;', 'TRUNCATE TABLE session_data'] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'ALTER TABLE users ADD COLUMN phone VARCHAR(20); ALTER TABLE orders ADD CONSTRAINT fk_user FOREIGN KEY (user_id) REFERENCES users(id); ALTER TABLE products DROP COLUMN old_field' +# Output: +# ['ALTER TABLE users ADD COLUMN phone VARCHAR(20);', 'ALTER TABLE orders ADD CONSTRAINT fk_user FOREIGN KEY (user_id) REFERENCES users(id);', 'ALTER TABLE products DROP COLUMN old_field'] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'SELECT * FROM users LIMIT 10; SELECT * FROM products LIMIT 5 OFFSET 10; SELECT * FROM orders WHERE amount > 100 LIMIT 20' +# Output: +# ['SELECT * FROM users LIMIT 10;', 'SELECT * FROM products LIMIT 5 OFFSET 10;', 'SELECT * FROM orders WHERE amount > 100 LIMIT 20'] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = "INSERT INTO users (name, email, age) VALUES ('Charlie', 'charlie@test.com', 30); INSERT INTO orders (user_id, amount) VALUES (1, 99.99), (2, 149.99), (3, 79.99)" +# Output: +# ["INSERT INTO users (name, email, age) VALUES ('Charlie', 'charlie@test.com', 30);", 'INSERT INTO orders (user_id, amount) VALUES (1, 99.99), (2, 149.99), (3, 79.99)'] +# Return Code: 0 diff --git a/sqlparse/test2_executable.zip b/sqlparse/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..4de8fe80a3b4f5be73aa7e15799ebd12add785ba --- /dev/null +++ b/sqlparse/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66af88095b245cebdb74a6a03a73c44c7e726cacd010c1fe6378f83fda327178 +size 7428220 diff --git a/sqlparse/test3.py b/sqlparse/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..9faf347a252796471490bb258f1a01a62bddfae9 --- /dev/null +++ b/sqlparse/test3.py @@ -0,0 +1,69 @@ +import argparse +import sqlparse + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + result = sqlparse.format(args.a, reindent=True) # 格式化SQL语句 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'CREATE INDEX idx_users_email ON users(email);CREATE INDEX idx_orders_user_status ON orders(user_id,status);CREATE UNIQUE INDEX idx_products_sku ON products(sku)' +# Output: +# CREATE INDEX idx_users_email ON users(email); +# +# CREATE INDEX idx_orders_user_status ON orders(user_id, status); +# +# CREATE UNIQUE INDEX idx_products_sku ON products(sku) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = "SELECT product_id,SUM(quantity)as total_quantity,AVG(price)as avg_price FROM sales WHERE sale_date BETWEEN '2023-01-01'AND '2023-12-31'GROUP BY product_id HAVING total_quantity>100 ORDER BY total_quantity DESC" +# Output: +# SELECT product_id, +# SUM(quantity)as total_quantity, +# AVG(price)as avg_price +# FROM sales +# WHERE sale_date BETWEEN '2023-01-01'AND '2023-12-31' +# GROUP BY product_id +# HAVING total_quantity>100 +# ORDER BY total_quantity DESC +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = "UPDATE products SET price=ROUND(price*0.9,2),last_updated=NOW()WHERE category IN('Electronics','Books')AND stock>0 AND discontinued=FALSE" +# Output: +# UPDATE products +# SET price=ROUND(price*0.9, 2), +# last_updated=NOW() +# WHERE category IN('Electronics', +# 'Books') +# AND stock>0 +# AND discontinued=FALSE +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = "SELECT product_id,description FROM products WHERE description ILIKE '%wireless%' OR description ILIKE '%bluetooth%' ORDER BY price LIMIT 20 OFFSET 0" +# Output: +# SELECT product_id, +# description +# FROM products +# WHERE description ILIKE '%wireless%' +# OR description ILIKE '%bluetooth%' +# ORDER BY price +# LIMIT 20 +# OFFSET 0 +# Return Code: 0 diff --git a/sqlparse/test3_executable.zip b/sqlparse/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0affd5320bbce393ce07bc9c2a4727bf3e919b1a --- /dev/null +++ b/sqlparse/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff485d93a3820c685988fa74e0316a997dde665e0ab3fa487372b72ccb98190a +size 7427355 diff --git a/sqlparse/test4.py b/sqlparse/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..56ee736bc69f0c97464cd8f028bb02fb15c73ca9 --- /dev/null +++ b/sqlparse/test4.py @@ -0,0 +1,45 @@ +import argparse +import sqlparse + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + args = parser.parse_args() + + result = sqlparse.format(args.a, keyword_case='upper') # 格式化并大写关键字 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = "select date_trunc('month', created_at) as month, category, sum(amount) as revenue, count(*) as orders from sales group by month, category order by month desc, revenue desc" +# Output: +# SELECT date_trunc('month', created_at) AS MONTH, category, sum(amount) AS revenue, count(*) AS orders FROM sales GROUP BY MONTH, category ORDER BY MONTH DESC, revenue DESC +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = "select case when age < 13 then 'child' when age between 13 and 19 then 'teen' when age between 20 and 64 then 'adult' else 'senior' end as age_group, count(*) from users group by age_group" +# Output: +# SELECT CASE WHEN age < 13 THEN 'child' WHEN age BETWEEN 13 AND 19 THEN 'teen' WHEN age BETWEEN 20 AND 64 THEN 'adult' ELSE 'senior' END AS age_group, count(*) FROM users GROUP BY age_group +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'drop table if exists old_data; drop view if exists outdated_view; drop index if exists idx_old_index' +# Output: +# DROP TABLE IF EXISTS old_data;DROP VIEW IF EXISTS outdated_view;DROP INDEX IF EXISTS idx_old_index +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = "select * from products where name like '%wireless%' and price between 50 and 500 order by price asc limit 10" +# Output: +# SELECT * FROM products WHERE name like '%wireless%' AND price BETWEEN 50 AND 500 ORDER BY price ASC LIMIT 10 +# Return Code: 0 diff --git a/sqlparse/test4_executable.zip b/sqlparse/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e3b1c285232a22cb01e23a395cf9e59b7e64d7b0 --- /dev/null +++ b/sqlparse/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88b095ec1566e86e970e5d5c9b884fece9020b05e7da796dab385265a06c2fba +size 7428075 diff --git a/sqlparse/test7.py b/sqlparse/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..ecaf23a43cf8bfe39d38de48daf9f1fbd7a6eb95 --- /dev/null +++ b/sqlparse/test7.py @@ -0,0 +1,51 @@ +import argparse +import sqlparse + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + combined = args.a + '; ' + args.b # 连接两个SQL语句 + result = sqlparse.split(combined) # 分割连接的SQL语句 + print(result) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'SELECT name FROM employees' +# --b = 'SELECT COUNT(*) FROM orders' +# Output: +# ['SELECT name FROM employees;', 'SELECT COUNT(*) FROM orders'] +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = "INSERT INTO logs (message) VALUES ('test')" +# --b = 'DELETE FROM temp' +# Output: +# ["INSERT INTO logs (message) VALUES ('test');", 'DELETE FROM temp'] +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = "SELECT DATE_TRUNC('day', created_at) as day, COUNT(*) FROM orders GROUP BY day" +# --b = 'SELECT EXTRACT(MONTH FROM created_at) as month, SUM(amount) FROM sales GROUP BY month' +# Output: +# ["SELECT DATE_TRUNC('day', created_at) as day, COUNT(*) FROM orders GROUP BY day;", 'SELECT EXTRACT(MONTH FROM created_at) as month, SUM(amount) FROM sales GROUP BY month'] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'BEGIN TRANSACTION' +# --b = 'ROLLBACK' +# Output: +# ['BEGIN TRANSACTION;', 'ROLLBACK'] +# Return Code: 0 diff --git a/sqlparse/test7_executable.zip b/sqlparse/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..489d9396222573a57a3270b171741e4f0fdc5665 --- /dev/null +++ b/sqlparse/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:325e6a8bbc8e2d72572d05a47b105cbd7e31b702e0785960f2f9a465a24f19be +size 7427800 diff --git a/sqlparse/test9.py b/sqlparse/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..ef04b1992ab90090d4e3c168376e4994bbf164b5 --- /dev/null +++ b/sqlparse/test9.py @@ -0,0 +1,72 @@ +import argparse +import sqlparse + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument('--a', type=str, required=True) + parser.add_argument('--b', type=str, required=True) + args = parser.parse_args() + + result1 = sqlparse.format(args.a, reindent=True, keyword_case='upper') # 格式化并重新缩进 + result2 = sqlparse.format(args.b, reindent=True, keyword_case='lower') # 格式化并小写关键字 + print(result1) + print(result2) + +if __name__ == "__main__": + main() + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'create table test (id int primary key)' +# --b = 'CREATE TABLE employees (id SERIAL, name VARCHAR(100), salary DECIMAL(10,2))' +# Output: +# CREATE TABLE test (id int PRIMARY KEY) +# create table employees (id SERIAL, name VARCHAR(100), +# salary DECIMAL(10, 2)) +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'delete from temp where processed = true' +# --b = "DELETE FROM logs WHERE level = 'DEBUG'" +# Output: +# DELETE +# FROM TEMP +# WHERE processed = TRUE +# delete +# from logs +# where level = 'DEBUG' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = "select case when score >= 90 then 'A' when score >= 80 then 'B' else 'C' end as grade from tests" +# --b = "SELECT CASE WHEN age < 13 THEN 'Child' WHEN age < 20 THEN 'Teen' WHEN age < 65 THEN 'Adult' ELSE 'Senior' END AS age_group FROM users" +# Output: +# SELECT CASE +# WHEN score >= 90 THEN 'A' +# WHEN score >= 80 THEN 'B' +# ELSE 'C' +# END AS grade +# FROM tests +# select case +# when age < 13 then 'Child' +# when age < 20 then 'Teen' +# when age < 65 then 'Adult' +# else 'Senior' +# end as age_group +# from users +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'alter table users add column phone varchar(20)' +# --b = 'ALTER TABLE products ADD CONSTRAINT check_price CHECK (price > 0)' +# Output: +# ALTER TABLE users ADD COLUMN phone varchar(20) +# alter table products add constraint check_price check (price > 0) +# Return Code: 0 diff --git a/sqlparse/test9_executable.zip b/sqlparse/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..68a342d680cbb7d71c4f2e73b561d8a0fd4459ee --- /dev/null +++ b/sqlparse/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19537687ac9c429a1aaf42d144f026cd640a56edd7d49914c83a4fe72bfadcee +size 7427330 diff --git a/sqlparse/verify_testcases.sh b/sqlparse/verify_testcases.sh new file mode 100644 index 0000000000000000000000000000000000000000..df6b07ef3a0d49f7acbe770bf52c98d2f4328a29 --- /dev/null +++ b/sqlparse/verify_testcases.sh @@ -0,0 +1,8 @@ +#!/bin/bash +python3 test10.py --a 'SELECT name, email FROM employees ORDER BY name DESC' --b "SELECT COUNT(*) as total FROM orders WHERE status = 'completed'" +echo "---" +python3 test10.py --a 'ALTER TABLE users ADD COLUMN phone VARCHAR(20)' --b 'DROP TABLE IF EXISTS old_data' +echo "---" +python3 test10.py --a "WITH recent_orders AS (SELECT * FROM orders WHERE created_at > NOW() - INTERVAL '7 days') SELECT COUNT(*) FROM recent_orders" --b 'SELECT user_id, SUM(amount) as total_spent FROM orders GROUP BY user_id HAVING SUM(amount) > 1000 ORDER BY total_spent DESC' +echo "---" +python3 test10.py --a "SELECT CASE WHEN score >= 90 THEN 'A' WHEN score >= 80 THEN 'B' WHEN score >= 70 THEN 'C' ELSE 'F' END as grade FROM exams" --b "SELECT COALESCE(address, 'No address provided') as address FROM customers" diff --git a/whoosh/.DS_Store b/whoosh/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..38734ca2de71d90578b12a191d5ff30a57f26d5c Binary files /dev/null and b/whoosh/.DS_Store differ diff --git a/whoosh/__pycache__/test4.cpython-312.pyc b/whoosh/__pycache__/test4.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6099d264912976933df85f29b8efbc6a5f82b5ca Binary files /dev/null and b/whoosh/__pycache__/test4.cpython-312.pyc differ diff --git a/whoosh/put b/whoosh/put new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/whoosh/python_output.txt b/whoosh/python_output.txt new file mode 100644 index 0000000000000000000000000000000000000000..33ca5b0b305eefca49f098959eb7be6c40d321b9 --- /dev/null +++ b/whoosh/python_output.txt @@ -0,0 +1 @@ + diff --git a/whoosh/test1.py b/whoosh/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..f0db5025b73b3065836bf24844a3704b772fc69b --- /dev/null +++ b/whoosh/test1.py @@ -0,0 +1,9 @@ +import argparse +from whoosh.fields import Schema, TEXT, ID + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), path=ID(stored=True), content=TEXT) # Create schema with TEXT and ID fields +print(schema) diff --git a/whoosh/test10.py b/whoosh/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..148d88fb9d54c303c5e1db209e5b69e64eba3841 --- /dev/null +++ b/whoosh/test10.py @@ -0,0 +1,24 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID +from whoosh.index import create_in +from whoosh.qparser import QueryParser +from whoosh.query import And, Or, Term + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), content=TEXT) # Create schema +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, content=args.b) # Add document +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +term1 = Term("title", args.a) # Create term query +term2 = Term("content", args.b) # Create another term query +and_query = And([term1, term2]) # Create AND query +results = searcher.search(and_query) # Search with AND query +print(len(results)) # Get result count diff --git a/whoosh/test10_executable.zip b/whoosh/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..041a7daa61729fe5cdcbab973c940bbcde6c2bc9 --- /dev/null +++ b/whoosh/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1445c0fe8584d668abab803a622789f960cbfffeb916eae7ab1fb164f254b0a6 +size 9002070 diff --git a/whoosh/test11.py b/whoosh/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..40c8b9c184013086292df2feef5e6d4aa7438f1a --- /dev/null +++ b/whoosh/test11.py @@ -0,0 +1,25 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID +from whoosh.index import create_in +from whoosh.qparser import QueryParser +from whoosh.query import Every + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), content=TEXT) # Create schema +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, content=args.b) # Add first document +writer.add_document(title=args.b, content=args.c) # Add second document +writer.add_document(title=args.c, content=args.a) # Add third document +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +every_query = Every() # Create query to match all documents +results = searcher.search(every_query) # Search all documents +print(len(results)) # Get total document count diff --git a/whoosh/test11_executable.zip b/whoosh/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..ae804bb09c384986928ff5604fb08e5756971df1 --- /dev/null +++ b/whoosh/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:901f36f93af88a2347cbba70667db76516f5442069f7424c3619ab97a692bd87 +size 9001419 diff --git a/whoosh/test14.py b/whoosh/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..4f7a645e673c6b41906afdb779727366f225af38 --- /dev/null +++ b/whoosh/test14.py @@ -0,0 +1,26 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID +from whoosh.index import create_in +from whoosh.qparser import QueryParser +from whoosh import sorting + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), content=TEXT) # Create schema +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title="zebra", content=args.a) # Add document with title "zebra" +writer.add_document(title="apple", content=args.b) # Add document with title "apple" +writer.add_document(title="banana", content=args.c) # Add document with title "banana" +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +query = QueryParser("content", ix.schema).parse(args.a) # Parse query +facet = sorting.FieldFacet("title", reverse=False) # Create field facet for sorting +results = searcher.search(query, sortedby=facet) # Search with sorting +print(results[0]["title"]) # Get first title after sorting diff --git a/whoosh/test14_executable.zip b/whoosh/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..345173336717b1df96f724e207c143191ff1ed89 --- /dev/null +++ b/whoosh/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e69b8623bffc37b80fa2bf9817ecfda7e54d102f2090ca84373bb5e42e7334b8 +size 9002035 diff --git a/whoosh/test15.py b/whoosh/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..e6dbf7d957403e0e444f785186875be1236a65f3 --- /dev/null +++ b/whoosh/test15.py @@ -0,0 +1,24 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID, NUMERIC +from whoosh.index import create_in +from whoosh.qparser import QueryParser + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), price=NUMERIC(stored=True), content=TEXT) # Create schema with NUMERIC field +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, price=args.b, content="item1") # Add first document +writer.add_document(title=args.a, price=args.c, content="item2") # Add second document +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +query = QueryParser("title", ix.schema).parse(args.a) # Parse query +results = searcher.search(query, limit=10) # Search with limit +total_price = sum([r["price"] for r in results]) # Sum prices from results +print(total_price) # Print total price diff --git a/whoosh/test15_executable.zip b/whoosh/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b5ed28e476299506882f8b8554ad1c0f743e4cfc --- /dev/null +++ b/whoosh/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2290532d3486beb7ed4733b9c69fea9b34d741c654df9de71fb41426cf8e82b7 +size 9002180 diff --git a/whoosh/test16.py b/whoosh/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..f83f2d4abb1406b0678306941849d4f7e379c475 --- /dev/null +++ b/whoosh/test16.py @@ -0,0 +1,29 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID +from whoosh.index import create_in +from whoosh.qparser import QueryParser +from whoosh.query import And, Or, Term, Not + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), content=TEXT) # Create schema +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, content=args.b) # Add document 1 +writer.add_document(title=args.b, content=args.c) # Add document 2 +writer.add_document(title=args.c, content=args.d) # Add document 3 +writer.add_document(title=args.d, content=args.a) # Add document 4 +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +term1 = Term("title", args.a) # Create term 1 +term2 = Term("content", args.c) # Create term 2 +or_query = Or([term1, term2]) # Create OR query +results = searcher.search(or_query) # Execute OR query +print(len(results)) # Get result count diff --git a/whoosh/test16_executable.zip b/whoosh/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5aafc6203c71881da71a688d98bca89110cc57bd --- /dev/null +++ b/whoosh/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca5ec33154ad3e205e9c63168ab039878754c2137679644677375a1c667644f8 +size 9000350 diff --git a/whoosh/test17.py b/whoosh/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..667d99c794a6763a5d6c384285719bfae6ad6b80 --- /dev/null +++ b/whoosh/test17.py @@ -0,0 +1,30 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID, NUMERIC +from whoosh.index import create_in, exists_in, open_dir +from whoosh.qparser import QueryParser, RangePlugin + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), price=NUMERIC(stored=True), content=TEXT) # Create schema +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, price=args.b, content="doc1") # Add document 1 +writer.add_document(title=args.a, price=args.c, content="doc2") # Add document 2 +writer.add_document(title=args.a, price=args.d, content="doc3") # Add document 3 +writer.commit() # Commit +ix2 = open_dir(temp_dir) # Open existing index +searcher = ix2.searcher() # Create searcher from opened index +query_parser = QueryParser("title", ix2.schema) # Create query parser +query = query_parser.parse(args.a) # Parse query +results = searcher.search(query) # Execute search +min_price = min([r["price"] for r in results]) # Find minimum price +max_price = max([r["price"] for r in results]) # Find maximum price +print(min_price) # Print minimum price +print(max_price) # Print maximum price diff --git a/whoosh/test17_executable.zip b/whoosh/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..1c5a6d80e17a9c955b85df9fd0260f385657a18a --- /dev/null +++ b/whoosh/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8dea4347be62763b22153c6eddf91d1907c7a57a20d94b51a731d06d1822d3c0 +size 9002683 diff --git a/whoosh/test18.py b/whoosh/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..41b4abaa26e670c15cca9c4e1644b73f6d06a7b9 --- /dev/null +++ b/whoosh/test18.py @@ -0,0 +1,26 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID +from whoosh.index import create_in +from whoosh.qparser import QueryParser, GtLtPlugin + +parser = argparse.ArgumentParser() +for i in range(10): + parser.add_argument(f'--{chr(97+i)}', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), content=TEXT) # Create schema +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +inputs = [args.a, args.b, args.c, args.d, args.e, args.f, args.g, args.h, args.i, args.j] +for i, val in enumerate(inputs): # Add 10 documents + writer.add_document(title=f"doc{i}", content=val) # Add document +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +count = 0 +for i, val in enumerate(inputs): # Search for each value + query = QueryParser("content", ix.schema).parse(val) # Parse query + results = searcher.search(query) # Execute search + count += len(results) # Count results +print(count) # Print total result count diff --git a/whoosh/test18_executable.zip b/whoosh/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f11a6cc4fa23fb19f0d381eac7b8b4a9559badc9 --- /dev/null +++ b/whoosh/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fc4febb6d4675b9054b800803b6518ed417b2df386fbde36af57d9135cf400a +size 9002783 diff --git a/whoosh/test19.py b/whoosh/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..000e1fa5986b2d45917ec0ad0c51d0b8e7078662 --- /dev/null +++ b/whoosh/test19.py @@ -0,0 +1,28 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID, NUMERIC +from whoosh.index import create_in +from whoosh.qparser import QueryParser +from whoosh.query import NumericRange + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=int, required=True) +parser.add_argument('--d', type=int, required=True) +parser.add_argument('--e', type=int, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), price=NUMERIC(stored=True), content=TEXT) # Create schema +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, price=args.b, content="doc1") # Add document 1 +writer.add_document(title=args.a, price=args.c, content="doc2") # Add document 2 +writer.add_document(title=args.a, price=args.d, content="doc3") # Add document 3 +writer.add_document(title=args.a, price=args.e, content="doc4") # Add document 4 +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +range_query = NumericRange("price", args.b, args.d) # Create numeric range query +results = searcher.search(range_query) # Execute range query +print(len(results)) # Get result count diff --git a/whoosh/test19_executable.zip b/whoosh/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5e8723a56fd33c535f64068bd1953dd30a7d3fc6 --- /dev/null +++ b/whoosh/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60c04320b5bb5904b682f112152ba1b9c791ce1fdf03512f1238dd302c484402 +size 9001937 diff --git a/whoosh/test1_executable.zip b/whoosh/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..a4b6d8b3ecf50e0f195c73adead3ded549b56463 --- /dev/null +++ b/whoosh/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4e8af1032635c16356d874bee5823094feecac21331519372476c3f4360a806 +size 9001667 diff --git a/whoosh/test2.py b/whoosh/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..238262b09acb08184372211c17cc9d771bcf4f9f --- /dev/null +++ b/whoosh/test2.py @@ -0,0 +1,9 @@ +import argparse +from whoosh.fields import Schema, TEXT, ID, KEYWORD, NUMERIC + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +schema = Schema(id=ID(stored=True), title=TEXT(stored=True), tags=KEYWORD, price=NUMERIC(stored=True)) # Create schema with multiple field types +print(schema) diff --git a/whoosh/test20.py b/whoosh/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..2862329eb27ba95fdbbfb8508f01c73ef91ed047 --- /dev/null +++ b/whoosh/test20.py @@ -0,0 +1,35 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID +from whoosh.index import create_in +from whoosh.qparser import QueryParser +from whoosh.query import And, Or, Term, Not, Every + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +parser.add_argument('--d', type=str, required=True) +parser.add_argument('--e', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), content=TEXT) # Create schema +temp_dir = tempfile.mkdtemp() # Create temp dir +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, content=args.b) # Add document 1 +writer.add_document(title=args.b, content=args.c) # Add document 2 +writer.add_document(title=args.c, content=args.d) # Add document 3 +writer.add_document(title=args.d, content=args.e) # Add document 4 +writer.add_document(title=args.e, content=args.a) # Add document 5 +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +term1 = Term("title", args.a) # Create term 1 +term2 = Term("content", args.c) # Create term 2 +term3 = Term("title", args.c) # Create term 3 +term4 = Term("content", args.e) # Create term 4 +or_query1 = Or([term1, term2]) # Create OR query 1 +or_query2 = Or([term3, term4]) # Create OR query 2 +and_query = And([or_query1, or_query2]) # Combine with AND +results = searcher.search(and_query) # Execute complex query +print(len(results)) # Get result count diff --git a/whoosh/test20_executable.zip b/whoosh/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6595481efca9c944e0fc63d85a8716547743e240 --- /dev/null +++ b/whoosh/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ec92eeccaeac2f94c46d0dc542b81e844da1cd56fa43f99078b6c14383964b0 +size 9002537 diff --git a/whoosh/test2_executable.zip b/whoosh/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..c6085bb517e7c2e47498ec3fcd91ae46bdbb841f --- /dev/null +++ b/whoosh/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb7cc4492c3598fa521d67bf0311ae2ac993ca99e24679c6088abcd13f4958c3 +size 9000950 diff --git a/whoosh/test3.py b/whoosh/test3.py new file mode 100644 index 0000000000000000000000000000000000000000..8a57b8e838f0a5b807537596b75539126ad99313 --- /dev/null +++ b/whoosh/test3.py @@ -0,0 +1,11 @@ +import argparse +from whoosh.fields import Schema, TEXT +from whoosh.analysis import StemmingAnalyzer + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +analyzer = StemmingAnalyzer() # Create stemming analyzer +schema = Schema(content=TEXT(analyzer=analyzer)) # Create schema with custom analyzer +print(schema) diff --git a/whoosh/test3_executable.zip b/whoosh/test3_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7ca43219a987403d688042a4cfe47ee16432f200 --- /dev/null +++ b/whoosh/test3_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15bb60a6a624b9bf7f7b3d8d1c3f0179885f2d93a5a7575e9d96df26ef51348c +size 9001378 diff --git a/whoosh/test4.py b/whoosh/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..1374ee1c7910084d5bd3f3e9df2c62d2ed56d5cf --- /dev/null +++ b/whoosh/test4.py @@ -0,0 +1,11 @@ +import argparse +from whoosh.fields import Schema, TEXT, ID +from whoosh.analysis import StandardAnalyzer + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +analyzer = StandardAnalyzer() # Create standard analyzer +tokens = [token.text for token in analyzer(args.a)] # Tokenize input string using standard analyzer +print(len(tokens)) diff --git a/whoosh/test4_executable.zip b/whoosh/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..e2a954862a485e5d7f2b93405008a8659f412d6d --- /dev/null +++ b/whoosh/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce57cc19c16030d78676d3f49b2ebde6174fd8ceeb21a4e59bdb4f2a0662b750 +size 9002094 diff --git a/whoosh/test5.py b/whoosh/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..5d4c0042257372f706f03f5421c8897d8f74ad67 --- /dev/null +++ b/whoosh/test5.py @@ -0,0 +1,11 @@ +import argparse +from whoosh.fields import Schema, TEXT, ID +from whoosh.analysis import SimpleAnalyzer + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +analyzer = SimpleAnalyzer() # Create simple analyzer +tokens = [token.text for token in analyzer(args.a)] # Tokenize input string using simple analyzer +print(len(tokens)) diff --git a/whoosh/test5_executable.zip b/whoosh/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..d4ee0225c4b24d151eedaca9bca5c1d542369078 --- /dev/null +++ b/whoosh/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95f43f331a1e088ce36b50d3dd6caa6779b26ec0785b228c71ca4eee5466b82a +size 9000949 diff --git a/whoosh/test6.py b/whoosh/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..9786b54a3c12c4ae42c9f21ac6e7708f3422d138 --- /dev/null +++ b/whoosh/test6.py @@ -0,0 +1,18 @@ +import argparse +import tempfile +import os +from whoosh.fields import Schema, TEXT, ID +from whoosh.index import create_in, exists_in, open_dir + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), content=TEXT) # Create schema with TEXT fields +temp_dir = tempfile.mkdtemp() # Create temporary directory +ix = create_in(temp_dir, schema) # Create index in temporary directory +writer = ix.writer() # Create index writer +writer.add_document(title=args.a, content=args.b) # Add document to index +writer.commit() # Commit changes to index +print(ix.doc_count()) # Get document count from index diff --git a/whoosh/test6_executable.zip b/whoosh/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..b65b8351fe81accd6cf5a6479fa3396a1d78abd6 --- /dev/null +++ b/whoosh/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74c1d42caf4863e03407917a65c185e4ff9a96470a0487f89c55666b963e71a6 +size 9002759 diff --git a/whoosh/test7.py b/whoosh/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..c0f1b1897672f50fe54197db58f5f42ed8f7b8df --- /dev/null +++ b/whoosh/test7.py @@ -0,0 +1,24 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID +from whoosh.index import create_in +from whoosh.qparser import QueryParser + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), content=TEXT) # Create schema with TEXT fields +temp_dir = tempfile.mkdtemp() # Create temporary directory +ix = create_in(temp_dir, schema) # Create index in temporary directory +writer = ix.writer() # Create index writer +writer.add_document(title=args.a, content=args.b) # Add first document +writer.add_document(title=args.b, content=args.c) # Add second document +writer.commit() # Commit changes to index +searcher = ix.searcher() # Create searcher from index +query_parser = QueryParser("content", ix.schema) # Create query parser for content field +query = query_parser.parse(args.c) # Parse search query +results = searcher.search(query) # Execute search query +print(len(results)) # Print number of search results diff --git a/whoosh/test7_executable.zip b/whoosh/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..06e40f784de4cd81dcdfd5e609d2a7d0a74f0163 --- /dev/null +++ b/whoosh/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e25d79ac1f46c99f27e16ea91dd2480498b924f2d9f3c5f29f752d39be9fdd92 +size 9001851 diff --git a/whoosh/test8.py b/whoosh/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..f275cc3e8c5475b63979f54dd1f5ef06a2ce34e2 --- /dev/null +++ b/whoosh/test8.py @@ -0,0 +1,24 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID, NUMERIC +from whoosh.index import create_in +from whoosh.qparser import QueryParser, FuzzyTermPlugin + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=int, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), price=NUMERIC(stored=True), content=TEXT) # Create schema with NUMERIC field +temp_dir = tempfile.mkdtemp() # Create temporary directory +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, price=args.b, content=args.c) # Add document with numeric field +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +query_parser = QueryParser("title", ix.schema) # Create query parser +query_parser.add_plugin(FuzzyTermPlugin()) # Add fuzzy term plugin to parser +query = query_parser.parse(args.a) # Parse query +results = searcher.search(query) # Search +print(results[0]["price"]) # Get price from first result diff --git a/whoosh/test8_executable.zip b/whoosh/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f4c7e00cefe185e6dca28c5675e64f849180a8c6 --- /dev/null +++ b/whoosh/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:390cde97737cc0cc8fce7c4df3d3c453860f640bbd7d7f7c8bb52ecf69b8ad2f +size 9001892 diff --git a/whoosh/test9.py b/whoosh/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..3a59a89180811e71073f61128193285ce2f0afb6 --- /dev/null +++ b/whoosh/test9.py @@ -0,0 +1,23 @@ +import argparse +import tempfile +from whoosh.fields import Schema, TEXT, ID, KEYWORD +from whoosh.index import create_in +from whoosh.qparser import QueryParser, MultifieldParser + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +parser.add_argument('--b', type=str, required=True) +parser.add_argument('--c', type=str, required=True) +args = parser.parse_args() + +schema = Schema(title=TEXT(stored=True), tags=KEYWORD(stored=True), content=TEXT) # Create schema with KEYWORD field +temp_dir = tempfile.mkdtemp() # Create temp directory +ix = create_in(temp_dir, schema) # Create index +writer = ix.writer() # Create writer +writer.add_document(title=args.a, tags=args.b, content=args.c) # Add document +writer.commit() # Commit +searcher = ix.searcher() # Create searcher +query_parser = MultifieldParser(["title", "content"], ix.schema) # Create multifield query parser +query = query_parser.parse(args.a) # Parse query for multiple fields +results = searcher.search(query) # Execute search +print(results[0]["tags"]) # Get tags from result diff --git a/whoosh/test9_executable.zip b/whoosh/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..5b68a3ef78f198b45eac580e7cd0281f5667e869 --- /dev/null +++ b/whoosh/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa583d8bc5a7416a5e5eb7d9909d1ef3d9b43b0692af52aba9a7d1d9609e5150 +size 8998721 diff --git a/yaml/__pycache__/test12.cpython-312.pyc b/yaml/__pycache__/test12.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3345787f7a84c04ab9436a7d9c17f08966cc2af5 Binary files /dev/null and b/yaml/__pycache__/test12.cpython-312.pyc differ diff --git a/yaml/test1.py b/yaml/test1.py new file mode 100644 index 0000000000000000000000000000000000000000..1ce8cdf1ac625193e31eef2c99fd10ed4268770a --- /dev/null +++ b/yaml/test1.py @@ -0,0 +1,41 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.safe_load(args.a) # 安全加载YAML +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '--- # comment\ndocument: with comment\n...' +# Output: +# {'document': 'with comment'} +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'iso_timestamp: 2024-01-15T14:30:00Z' +# Output: +# {'iso_timestamp': datetime.datetime(2024, 1, 15, 14, 30, tzinfo=datetime.timezone.utc)} +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '- 1\n- two\n- 3.0\n- true\n- null' +# Output: +# [1, 'two', 3.0, True, None] +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '"double quoted": "value with \\"quotes\\""' +# Output: +# {'double quoted': 'value with "quotes"'} +# Return Code: 0 diff --git a/yaml/test10.py b/yaml/test10.py new file mode 100644 index 0000000000000000000000000000000000000000..d106bafdf8a4f25252e4c735787d441a3ed4aab4 --- /dev/null +++ b/yaml/test10.py @@ -0,0 +1,48 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), explicit_end=True) # 显式结束 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '--- !!str string' +# Output: +# string +# ... +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'pi: 3.14159\ne: 2.71828\nnegative: -1.5' +# Output: +# e: 2.71828 +# negative: -1.5 +# pi: 3.14159 +# ... +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '&anchor\nname: Alice\nage: 30\n<<: *anchor' +# Output: +# age: 30 +# name: Alice +# ... +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'true' +# Output: +# true +# ... +# Return Code: 0 diff --git a/yaml/test10_executable.zip b/yaml/test10_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..71713f00c89b58d81f6f39fcfddf807274e05edd --- /dev/null +++ b/yaml/test10_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d177251edec3512af9977a27cf570a4aa290cb6a94b6bb33fa678367abf66652 +size 8190043 diff --git a/yaml/test11.py b/yaml/test11.py new file mode 100644 index 0000000000000000000000000000000000000000..6b21fb4325230894da06548b0e9c14a1f74b4c6e --- /dev/null +++ b/yaml/test11.py @@ -0,0 +1,45 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.load(args.a, Loader=yaml.FullLoader)) # FullLoader +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'iso_timestamp: 2024-01-15T14:30:00Z' +# Output: +# iso_timestamp: 2024-01-15 14:30:00+00:00 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '[apple, banana, cherry]' +# Output: +# - apple +# - banana +# - cherry +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'simple string' +# Output: +# simple string +# ... +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '' +# Output: +# null +# ... +# Return Code: 0 diff --git a/yaml/test11_executable.zip b/yaml/test11_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6ac67ec72e8fa83941d9bcfad4cb2b1827c1fb62 --- /dev/null +++ b/yaml/test11_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96fb8158f755ce5217191b56fe55ed9ba4b78eadd70e3ab6c9ba304e57a359e5 +size 8189481 diff --git a/yaml/test12.py b/yaml/test12.py new file mode 100644 index 0000000000000000000000000000000000000000..35114b4a71da5718660e90058e63b0e7b025bc00 --- /dev/null +++ b/yaml/test12.py @@ -0,0 +1,49 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.load(args.a, Loader=yaml.BaseLoader)) # BaseLoader +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '' +# Output: +# null +# ... +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'preserve: |+\n Line 1\n Line 2\n\n' +# Output: +# preserve: 'Line 1 +# +# Line 2 +# +# +# ' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'big_int: 9223372036854775807\nsmall_int: -9223372036854775808' +# Output: +# big_int: '9223372036854775807' +# small_int: '-9223372036854775808' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '--- ! string' +# Output: +# string +# ... +# Return Code: 0 diff --git a/yaml/test12_executable.zip b/yaml/test12_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8921b2f8f5d953dace7c8d1f204c92701dfab6cf --- /dev/null +++ b/yaml/test12_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33f5d3d2345ef45a09eb793e88e1ae1baa6680e33e02cdf7dde93274a63a1827 +size 8190900 diff --git a/yaml/test13.py b/yaml/test13.py new file mode 100644 index 0000000000000000000000000000000000000000..485caa4338d1af019c12d9e3d6130b9bef8ef4fb --- /dev/null +++ b/yaml/test13.py @@ -0,0 +1,67 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), default_style='"') # 双引号样式 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '- 1\n- two\n- 3.0\n- true\n- null' +# Output: +# - !!int "1" +# - "two" +# - !!float "3.0" +# - !!bool "true" +# - !!null "null" +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'metadata:\n version: "1.0"\n authors:\n - Alice\n - Bob\n - Charlie\n tags:\n - python\n - yaml\n - test\ndata:\n - id: 1\n value: 100\n active: true\n - id: 2\n value: 200\n active: false\nconfig:\n debug: false\n log_level: INFO\n max_retries: 3' +# Output: +# "config": +# "debug": !!bool "false" +# "log_level": "INFO" +# "max_retries": !!int "3" +# "data": +# - "active": !!bool "true" +# "id": !!int "1" +# "value": !!int "100" +# - "active": !!bool "false" +# "id": !!int "2" +# "value": !!int "200" +# "metadata": +# "authors": +# - "Alice" +# - "Bob" +# - "Charlie" +# "tags": +# - "python" +# - "yaml" +# - "test" +# "version": "1.0" +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = "greeting: Hello, World!\nempty: ''\nmultiline: |\n Line1\n Line2\n Line3" +# Output: +# "empty": "" +# "greeting": "Hello, World!" +# "multiline": "Line1\nLine2\nLine3" +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'literal: |-\n Line 1\n Line 2\n\n Line 4' +# Output: +# "literal": "Line 1\nLine 2\n\nLine 4" +# Return Code: 0 diff --git a/yaml/test13_executable.zip b/yaml/test13_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..80412a8ab58c4a4dae2e94f4a389e8ccfe069583 --- /dev/null +++ b/yaml/test13_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e916ce38309a8a1704b0a8d3d12f9c657c3e1f99699ad9edb72471319d562182 +size 8189987 diff --git a/yaml/test14.py b/yaml/test14.py new file mode 100644 index 0000000000000000000000000000000000000000..694b44f9e423cfa94dfd430fbd67f59124a931ed --- /dev/null +++ b/yaml/test14.py @@ -0,0 +1,65 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), default_style='|') # 字面块样式 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '[apple, banana, cherry]' +# Output: +# - |- +# apple +# - |- +# banana +# - |- +# cherry +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'omap: !!omap\n - key1: value1\n - key2: value2\n - key3: value3' +# Output: +# "omap": +# - !!python/tuple +# - |- +# key1 +# - |- +# value1 +# - !!python/tuple +# - |- +# key2 +# - |- +# value2 +# - !!python/tuple +# - |- +# key3 +# - |- +# value3 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'large: 1.23e10\nsmall: 5.67e-8' +# Output: +# "large": |- +# 1.23e10 +# "small": !!float |- +# 5.67e-08 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'folded_block: >\n This is a folded\n string that will\n be on one line.' +# Output: +# "folded_block": |- +# This is a folded string that will be on one line. +# Return Code: 0 diff --git a/yaml/test14_executable.zip b/yaml/test14_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..0eaa64da94abe4f585b6936fd322d7fac49e4491 --- /dev/null +++ b/yaml/test14_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98379785a957ce06c4af985baeebb58bb401d585c2f2a7643307be6f5c6fe413 +size 8191126 diff --git a/yaml/test15.py b/yaml/test15.py new file mode 100644 index 0000000000000000000000000000000000000000..bd11d3be640057f11bacbc007e8683f6aa09162f --- /dev/null +++ b/yaml/test15.py @@ -0,0 +1,47 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), default_style='>') # 折叠块样式 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'folded: >-\n This is a folded\n scalar that removes\n trailing newlines.' +# Output: +# "folded": >- +# This is a folded scalar that removes trailing newlines. +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'big_int: 9223372036854775807\nsmall_int: -9223372036854775808' +# Output: +# "big_int": !!int >- +# 9223372036854775807 +# "small_int": !!int >- +# -9223372036854775808 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '42' +# Output: +# !!int >- +# 42 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '--- !!str string' +# Output: +# >- +# string +# Return Code: 0 diff --git a/yaml/test15_executable.zip b/yaml/test15_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8ec6efddd70bb4216f8a894b2bb3d315710632f6 --- /dev/null +++ b/yaml/test15_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46915f7237a97dae11b5d57e6fae41397dcc50c2560a83549207013a795f079b +size 8190451 diff --git a/yaml/test16.py b/yaml/test16.py new file mode 100644 index 0000000000000000000000000000000000000000..ba0dbbdc72065dd32f153e1d971fc687b87e132d --- /dev/null +++ b/yaml/test16.py @@ -0,0 +1,48 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), Dumper=yaml.SafeDumper) # 安全转储器 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'chomp: |\n Line 1\n Line 2\n' +# Output: +# chomp: 'Line 1 +# +# Line 2 +# +# ' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'simple string' +# Output: +# simple string +# ... +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '' +# Output: +# null +# ... +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '&id001 !!str\nString with anchor' +# Output: +# String with anchor +# ... +# Return Code: 0 diff --git a/yaml/test16_executable.zip b/yaml/test16_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..8e8077703d4424b23ed82d3a3e00939efd128b98 --- /dev/null +++ b/yaml/test16_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d244ff6fc71f50beaac872ef64c1465d5bdcbb1e947bb4750fb104122fd76f5 +size 8188201 diff --git a/yaml/test17.py b/yaml/test17.py new file mode 100644 index 0000000000000000000000000000000000000000..4a7a4cf6087cda464d21915ed16ba3f662e30e83 --- /dev/null +++ b/yaml/test17.py @@ -0,0 +1,57 @@ +import yaml +import argparse +from io import StringIO + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +stream = StringIO(args.a) +result = yaml.dump(yaml.safe_load(stream)) # 从流加载 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '&id001 !!str\nString with anchor' +# Output: +# String with anchor +# ... +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'date: 2024-01-15\ntime: 14:30:00\ndatetime: 2024-01-15T14:30:00Z' +# Output: +# date: 2024-01-15 +# datetime: 2024-01-15 14:30:00+00:00 +# time: 52200 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '3.14' +# Output: +# 3.14 +# ... +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'defaults: &defaults\n adapter: postgres\n host: localhost\ndevelopment:\n database: dev\n <<: *defaults\nproduction:\n database: prod\n <<: *defaults' +# Output: +# defaults: +# adapter: postgres +# host: localhost +# development: +# adapter: postgres +# database: dev +# host: localhost +# production: +# adapter: postgres +# database: prod +# host: localhost +# Return Code: 0 diff --git a/yaml/test17_executable.zip b/yaml/test17_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..957ff3653363a4e9b66e585feb223fe183cb454b --- /dev/null +++ b/yaml/test17_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e772edabd8a0f2e674aa58ac5c151d9f4a42d545b2c34bc7663ec87b54e505e +size 8190558 diff --git a/yaml/test18.py b/yaml/test18.py new file mode 100644 index 0000000000000000000000000000000000000000..3c82ab4ec8994ed210112858e2bf426fe35fb1c7 --- /dev/null +++ b/yaml/test18.py @@ -0,0 +1,74 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump({"data": yaml.safe_load(args.a)}) # 嵌套结构 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'metadata:\n version: "1.0"\n authors:\n - Alice\n - Bob\n - Charlie\n tags:\n - python\n - yaml\n - test\ndata:\n - id: 1\n value: 100\n active: true\n - id: 2\n value: 200\n active: false\nconfig:\n debug: false\n log_level: INFO\n max_retries: 3' +# Output: +# data: +# config: +# debug: false +# log_level: INFO +# max_retries: 3 +# data: +# - active: true +# id: 1 +# value: 100 +# - active: false +# id: 2 +# value: 200 +# metadata: +# authors: +# - Alice +# - Bob +# - Charlie +# tags: +# - python +# - yaml +# - test +# version: '1.0' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'level1:\n level2:\n level3:\n - deep\n - nesting' +# Output: +# data: +# level1: +# level2: +# level3: +# - deep +# - nesting +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '--- !!str string' +# Output: +# data: string +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = "greeting: Hello, World!\nempty: ''\nmultiline: |\n Line1\n Line2\n Line3" +# Output: +# data: +# empty: '' +# greeting: Hello, World! +# multiline: 'Line1 +# +# Line2 +# +# Line3' +# Return Code: 0 diff --git a/yaml/test18_executable.zip b/yaml/test18_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..32e1cb05f8f4fa2159ff56a2db223bea534f1f5d --- /dev/null +++ b/yaml/test18_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bbc70927e0e990ce12211755f75b6947dfc26200985293a13f5171aa2a1bff3 +size 8189406 diff --git a/yaml/test19.py b/yaml/test19.py new file mode 100644 index 0000000000000000000000000000000000000000..2a9987b679974b791f003eaef860a47d2a602bdf --- /dev/null +++ b/yaml/test19.py @@ -0,0 +1,50 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a) or {}) # 处理None值 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'true' +# Output: +# true +# ... +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'set: !!set\n ? a\n ? b\n ? c' +# Output: +# set: !!set +# a: null +# b: null +# c: null +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'level1:\n level2:\n level3:\n - deep\n - nesting' +# Output: +# level1: +# level2: +# level3: +# - deep +# - nesting +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'true' +# Output: +# true +# ... +# Return Code: 0 diff --git a/yaml/test19_executable.zip b/yaml/test19_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..f5fb531709cea9a4ec80e6603ebdf81f5b8226f6 --- /dev/null +++ b/yaml/test19_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70aaab114b56dedd52af6f0b714803349aae9ac73c1cc0262d3b0a36d24d7f21 +size 8188378 diff --git a/yaml/test1_executable.zip b/yaml/test1_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..cd3aa30af4ca8086f7eed6b6ed13302ba08975fb --- /dev/null +++ b/yaml/test1_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ce4886e1cf0cfc2f1dce69a7caa1dd688bf65482e5d8448b8e6760cbd9cb785 +size 8190025 diff --git a/yaml/test2.py b/yaml/test2.py new file mode 100644 index 0000000000000000000000000000000000000000..e9bb530f317364736c89be00587ccae4c619aa17 --- /dev/null +++ b/yaml/test2.py @@ -0,0 +1,46 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(eval(args.a)) # 序列化Python对象 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = "[{'id': 1, 'name': 'Item1'}, {'id': 2, 'name': 'Item2'}]" +# Output: +# - id: 1 +# name: Item1 +# - id: 2 +# name: Item2 +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = "'2024-01-15T14:30:00Z'" +# Output: +# '2024-01-15T14:30:00Z' +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'True' +# Output: +# true +# ... +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'True' +# Output: +# true +# ... +# Return Code: 0 diff --git a/yaml/test20.py b/yaml/test20.py new file mode 100644 index 0000000000000000000000000000000000000000..6052fe0e0ff2ca61a3f0338ae6378322af9de59a --- /dev/null +++ b/yaml/test20.py @@ -0,0 +1,51 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a)) # 简单加载和转储 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'multiline_block: |\n This is a\n multiline\n string.' +# Output: +# multiline_block: 'This is a +# +# multiline +# +# string.' +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'name: Alice # inline comment\nage: 30 # another inline' +# Output: +# age: 30 +# name: Alice +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'chomp: |\n Line 1\n Line 2\n' +# Output: +# chomp: 'Line 1 +# +# Line 2 +# +# ' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'big_int: 9223372036854775807\nsmall_int: -9223372036854775808' +# Output: +# big_int: 9223372036854775807 +# small_int: -9223372036854775808 +# Return Code: 0 diff --git a/yaml/test20_executable.zip b/yaml/test20_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..7b6315fab7036732d03a7f9a4efe7c8ba32f5922 --- /dev/null +++ b/yaml/test20_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:248a15539421ed5cc992fe449ccc34626d9e63ef3b4753bca69fb069363ccd57 +size 8189973 diff --git a/yaml/test2_executable.zip b/yaml/test2_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..88c90884993f2d9de6a34bc96e736f7a22a3f996 --- /dev/null +++ b/yaml/test2_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5f52e9d2288c0cf7a1962e4e9ad45661a02d0f6fc03bfebd9777f420f1fbd9f +size 8190392 diff --git a/yaml/test4.py b/yaml/test4.py new file mode 100644 index 0000000000000000000000000000000000000000..8cd10261c042651fb3f12d8fe64371d636d0aacd --- /dev/null +++ b/yaml/test4.py @@ -0,0 +1,47 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), default_flow_style=False) # 块样式 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '!!bool true' +# Output: +# true +# ... +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '- id: 1\n name: Item1\n- id: 2\n name: Item2' +# Output: +# - id: 1 +# name: Item1 +# - id: 2 +# name: Item2 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '!!int 123' +# Output: +# 123 +# ... +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '--- ! string' +# Output: +# string +# ... +# Return Code: 0 diff --git a/yaml/test4_executable.zip b/yaml/test4_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..2db11c997925fd2cd37c6a650eb483a5a02eef7b --- /dev/null +++ b/yaml/test4_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f07e25b37ac1f332c9b862ad276f183f60004069ad0aef020eb4259b0e2879ca +size 8189450 diff --git a/yaml/test5.py b/yaml/test5.py new file mode 100644 index 0000000000000000000000000000000000000000..adf5d63029629c7e93450f6535217678fe26c3c7 --- /dev/null +++ b/yaml/test5.py @@ -0,0 +1,44 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump_all(list(yaml.safe_load_all(args.a))) # 多文档处理 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '!!int 123' +# Output: +# 123 +# ... +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = '--- ! string' +# Output: +# string +# ... +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '--- # comment\ndocument: with comment\n...' +# Output: +# document: with comment +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'large: 1.23e10\nsmall: 5.67e-8' +# Output: +# large: 1.23e10 +# small: 5.67e-08 +# Return Code: 0 diff --git a/yaml/test5_executable.zip b/yaml/test5_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..3bb86d70cd70c71b19664150170d6777ca0a41e9 --- /dev/null +++ b/yaml/test5_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:408d41a914034c0b0798dbb4014fbac19b299f83ef1d08d6c867b75019f6eee4 +size 8189674 diff --git a/yaml/test6.py b/yaml/test6.py new file mode 100644 index 0000000000000000000000000000000000000000..0d9d18249be3fe9c257c2fe99ee573cef523f0e9 --- /dev/null +++ b/yaml/test6.py @@ -0,0 +1,48 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), indent=2) # 带缩进 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = 'name: Alice # inline comment\nage: 30 # another inline' +# Output: +# age: 30 +# name: Alice +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'large: 1.23e10\nsmall: 5.67e-8' +# Output: +# large: 1.23e10 +# small: 5.67e-08 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '&anchor\nname: Alice\nage: 30\n<<: *anchor' +# Output: +# age: 30 +# name: Alice +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = '- 1\n- two\n- 3.0\n- true\n- null' +# Output: +# - 1 +# - two +# - 3.0 +# - true +# - null +# Return Code: 0 diff --git a/yaml/test6_executable.zip b/yaml/test6_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..cd7a1a366973b5abb77305ed70fccb8123a5ad98 --- /dev/null +++ b/yaml/test6_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6935c6cac9e5da77c42acc4bb6f0f32cc29079ecfc3d45f5cf8e6ff70d876e04 +size 8189554 diff --git a/yaml/test7.py b/yaml/test7.py new file mode 100644 index 0000000000000000000000000000000000000000..5919e4197b06002d86b4ab633c2cdbbc450efdb5 --- /dev/null +++ b/yaml/test7.py @@ -0,0 +1,46 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), sort_keys=True) # 按键排序 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '' +# Output: +# null +# ... +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'true' +# Output: +# true +# ... +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'octal: 0o755\nhex: 0xFF' +# Output: +# hex: 255 +# octal: 0o755 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'a: 123\nb: -456\nc: 0' +# Output: +# a: 123 +# b: -456 +# c: 0 +# Return Code: 0 diff --git a/yaml/test7_executable.zip b/yaml/test7_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..6796f50105bc026cfc39975cdef370d582f5a895 --- /dev/null +++ b/yaml/test7_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a5c7e2de9887bd05858b7ab74cff973dd74e1e5df43e800e8c405b8782b6119 +size 8190565 diff --git a/yaml/test8.py b/yaml/test8.py new file mode 100644 index 0000000000000000000000000000000000000000..d97bbfce2ed8f6f7496267dfe6ba40cbc31d82ea --- /dev/null +++ b/yaml/test8.py @@ -0,0 +1,46 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), allow_unicode=True) # 允许Unicode +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '!!bool true' +# Output: +# true +# ... +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'false' +# Output: +# false +# ... +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = '- id: 1\n name: Item1\n- id: 2\n name: Item2' +# Output: +# - id: 1 +# name: Item1 +# - id: 2 +# name: Item2 +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'iso_timestamp: 2024-01-15T14:30:00Z' +# Output: +# iso_timestamp: 2024-01-15 14:30:00+00:00 +# Return Code: 0 diff --git a/yaml/test8_executable.zip b/yaml/test8_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..58651e74368ae420f68e37f73b3cb20a0cdc1dbf --- /dev/null +++ b/yaml/test8_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd37bb864e8130da22968783245bb3a4f678fee4215848675de81150064aaab9 +size 8190797 diff --git a/yaml/test9.py b/yaml/test9.py new file mode 100644 index 0000000000000000000000000000000000000000..170aa2a4f85a79f4fc4336ce9de57eff54e15f2b --- /dev/null +++ b/yaml/test9.py @@ -0,0 +1,73 @@ +import yaml +import argparse + +parser = argparse.ArgumentParser() +parser.add_argument('--a', type=str, required=True) +args = parser.parse_args() + +result = yaml.dump(yaml.safe_load(args.a), explicit_start=True) # 显式开始 +print(result) + +# ================================================== +# Sample Test Cases (randomly selected) +# ================================================== + +# ===== Test Case 1 ===== +# Input: +# --a = '{name: Alice, age: 30, city: New York}' +# Output: +# --- +# age: 30 +# city: New York +# name: Alice +# Return Code: 0 + +# ===== Test Case 2 ===== +# Input: +# --a = 'a: 123\nb: -456\nc: 0' +# Output: +# --- +# a: 123 +# b: -456 +# c: 0 +# Return Code: 0 + +# ===== Test Case 3 ===== +# Input: +# --a = 'metadata:\n version: "1.0"\n authors:\n - Alice\n - Bob\n - Charlie\n tags:\n - python\n - yaml\n - test\ndata:\n - id: 1\n value: 100\n active: true\n - id: 2\n value: 200\n active: false\nconfig:\n debug: false\n log_level: INFO\n max_retries: 3' +# Output: +# --- +# config: +# debug: false +# log_level: INFO +# max_retries: 3 +# data: +# - active: true +# id: 1 +# value: 100 +# - active: false +# id: 2 +# value: 200 +# metadata: +# authors: +# - Alice +# - Bob +# - Charlie +# tags: +# - python +# - yaml +# - test +# version: '1.0' +# Return Code: 0 + +# ===== Test Case 4 ===== +# Input: +# --a = 'chomp: |\n Line 1\n Line 2\n' +# Output: +# --- +# chomp: 'Line 1 +# +# Line 2 +# +# ' +# Return Code: 0 diff --git a/yaml/test9_executable.zip b/yaml/test9_executable.zip new file mode 100644 index 0000000000000000000000000000000000000000..50dabf67a4624cb4d0b3d8c71828d25fe1115c2b --- /dev/null +++ b/yaml/test9_executable.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:884cd0c33f6be760265d63e682a73fc3f469794c5977aae68ad7b66b9e39ecb2 +size 8190386