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.
Metadata
Release files for the-agreement 0.1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| the_agreement-0.1.2.1.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| the_agreement-0.1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / the_agreement-0.1.2.1.tar.gz
| Download URL | the_agreement-0.1.2.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dec212133d80853dd468f61d8860d7e99dcbee828d74b7c181d759b29c49b4a5
|
|
BLAKE2b-256 checksum How to use checksums |
6c504187f52fad800c7b17cea35193eba4b0dc99a689c8b3319e86fcd7944259
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / the_agreement-0.1.2.1-py3-none-any.whl
| Download URL | the_agreement-0.1.2.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4acca15c535ce0118aa176947b1940ea09f892b12e7590af465b9bddfe1ea71b
|
|
BLAKE2b-256 checksum How to use checksums |
375c443bf151658bc5442850b3cee46aa6905097925d698dc24aba3e7d2ad2f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for the-agreement 0.1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.