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 evidenct, 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.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-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: the_agreement-0.1.2.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.tar.gz
Algorithm Hash digest
SHA256 56f4528b4f7f2715bdba242cb29680cf83b9f22f3e77e2836b796cd0a03cd404
MD5 81b4f190d48a61b3bb6bc7e25725c07f
BLAKE2b-256 7f0e9b0dabc68cffd5e69249811aaa732a2aa940a64c7204bec6c79846e2ec0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: the_agreement-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for the_agreement-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c7689b2494275b66a24513cc906930b0fac213a35f0506ec4cea018f64f2bdc9
MD5 bed865aa0f216240acc593735e63373e
BLAKE2b-256 3d30e5a92d6783ab3e39dabaec7522156d6910f0d373ef11e9e97882c28369f6

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