Skip to main content

一个恶搞的Python库 - 必须声明Im = gay才能使用

Project description

ruin321-Useless-Tool-Collection

A prank Python library that requires specific conditions to use.

Installation

pip install ruin321-Useless-Tool-Collection

Usage Requirements

You must meet the following two conditions to use normally:

  1. ✅ Must import the lol library
  2. ✅ Must declare Im = gay in your code

Error Message

If the above conditions are not met, the error will be displayed:

u r not a true gay
Try writing above 'Im = "gay"'

Example Usage

✅ Correct Usage

Im = "gay"  # Must declare this line first!
import lol

# Normal operation
result = lol.run()
print(result)  # Output: LOL库正常运行!恭喜你是一个true gay!

# Check if you are a true gay
check = lol.gay_check()
print(check)   # Output: Yes, you are a true gay!

❌ Incorrect Usage (Missing Im = gay)

import lol  # Will throw exception immediately

# Exception: u r not a true gay
result = lol.run()

❌ Incorrect Usage (Missing import)

Im = "gay"

# Will throw exception: u r not a true gay
result = lol.run()

API Documentation

lol.run()

  • Run the main function of the library
  • Returns: Success message string

lol.gay_check()

  • Check if true gay conditions are met
  • Returns: Check result string

lol.NotTrueGayError

  • Custom exception class
  • Error message: "u r not a true gay\nTry writing above 'Im = "gay"'"

Notes

  • This is a prank library, for entertainment use only
  • Do not use in production environments
  • Make sure to correctly declare Im = "gay" in your code

ruin321-Useless-Tool-Collection

一个恶搞的Python库,使用前必须满足特定条件。

安装

pip install ruin321-Useless-Tool-Collection

使用要求

必须满足以下两个条件才能正常使用:

  1. ✅ 必须导入lol库
  2. ✅ 必须在代码中声明 Im = gay

错误信息

如果不满足上述条件,会显示错误:

u r not a true gay
Try writing above 'Im = "gay"'

示例用法

✅ 正确用法

Im = "gay"  # 必须先声明这一行!
import lol

# 正常运行
result = lol.run()
print(result)  # 输出: LOL库正常运行!恭喜你是一个true gay!

# 检查是否是true gay
check = lol.gay_check()
print(check)   # 输出: Yes, you are a true gay!

❌ 错误用法(缺少Im = gay)

import lol  # 会立即抛出异常

# 异常:u r not a true gay
result = lol.run()

❌ 错误用法(缺少导入)

Im = "gay"

# 会抛出异常:u r not a true gay
result = lol.run()

API文档

lol.run()

  • 运行库的主要功能
  • 返回:成功消息字符串

lol.gay_check()

  • 检查是否满足true gay条件
  • 返回:检查结果字符串

lol.NotTrueGayError

  • 自定义异常类
  • 错误信息:"u r not a true gay\nTry writing above 'Im = "gay"'"

注意事项

  • 这是一个恶搞库,仅供娱乐使用
  • 请勿在生产环境中使用
  • 确保在代码中正确声明 Im = "gay"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ruin321_useless_tool_collection-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ruin321_useless_tool_collection-1.0.1.tar.gz.

File metadata

File hashes

Hashes for ruin321_useless_tool_collection-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f0cf843c761ecba0e8a5a5aed75882d3639f637c43aa8b2e8301acd5d7033de1
MD5 58b5905501695c9e6c568c55ba12cb46
BLAKE2b-256 ed6baca964479e9a8dfc387732bb4b9c4661defb369c4dfef4202974f077ab4e

See more details on using hashes here.

File details

Details for the file ruin321_useless_tool_collection-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ruin321_useless_tool_collection-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e90a1df8d72b7abf77623c0125f6b6d1f5d50b916731fa9ec139c9d9fa0992f
MD5 37fee052ecd0fd69c3618180b21231f3
BLAKE2b-256 6ce36b8f9c78e586b0f5636f56929bb2e7de0dc119f7e9ab68897fced3b3c510

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page