Skip to main content

A package that demonstrates a decorator for simulating a small part of female consent in China

Project description

the_agreement

This is a program that simulate the difficuty of the male in China now. You can run or import the program and decoration your function.
In China, the male are facing to be a "rapist" if they have stayed with the female without the physical evidence, just like the female_func in the program.

How to install?

pip:

pip install the_agreement

git:

git clone https://github.com/Locked-chess-official/the_agreement

How to use?

Run the code, and you need to input 1 or 2 to choose a game.
Game 1: you don't need to operation. You will known how many times you can print.
Game 2: you need to choose whether to call. If the female_func doesn't agree, you will get some punish.

Import it, and you can decoration your function.
import the_agreement
@the_agreement.protection_female_wrap(0.5):
def some_function():
    ...

Change Log

2025.4.22

Fix

Correct the type hint.
Change some sentences.

2025.4.25

Fix

Change the doc of the decorator.

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

the_agreement-0.1.2.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

the_agreement-0.1.2.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file the_agreement-0.1.2.1.tar.gz.

File metadata

  • Download URL: the_agreement-0.1.2.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for the_agreement-0.1.2.1.tar.gz
Algorithm Hash digest
SHA256 dec212133d80853dd468f61d8860d7e99dcbee828d74b7c181d759b29c49b4a5
MD5 e30b1abf33e77340605cacbe2582063b
BLAKE2b-256 6c504187f52fad800c7b17cea35193eba4b0dc99a689c8b3319e86fcd7944259

See more details on using hashes here.

File details

Details for the file the_agreement-0.1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for the_agreement-0.1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4acca15c535ce0118aa176947b1940ea09f892b12e7590af465b9bddfe1ea71b
MD5 7b0964268497c56d56a7026d4246d978
BLAKE2b-256 375c443bf151658bc5442850b3cee46aa6905097925d698dc24aba3e7d2ad2f0

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