Metadata-Version: 2.4
Name: forbiddencurse
Version: 1.0.0
Summary: Modificated curse
Author-email: Muhammed Zeynalli <bildiris15@gmail.com>
License-Expression: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: forbiddenfruit

### About the module
Hello!
You probably know about `forbiddenfruit` module. `curse` in this module can create your own attributes **only for certain types**. `forbiddenfruit` does not have an official command for all types. But not in this module!
This module is a tiny module. Because its only function is to make a attributes not only for certain types, make a **to all types**! Code:
```Python
from forbiddencurse import Curse
def add(a, b):
    return a+b
class A: # Not important for Curse working, this's only demonstration
    def __add__(self, b):
        return "Added!"
Curse(add)
print((5).add(6)) # 11
print("Hello".add(" World!")) # "Hello World!"
print(A().add(5)) # Added!
```
This applies to almost all types!
### Default values
 - `types`: If you're don't want all types, only some types like a normal Curse, you can change this to important types. Default is `None`:
	```Python
	Curse(add, types=[str, int])
	```
 - `name`: If you want to curse function with another name, you can change this parameter. Default is `None`:
	```Python
	Curse(add, name="other_add")
	```
	This's created an attribute "other_add", no add. On this argument, add is only rule, not name.
 - `Property` - default `False`. If this's `True`, this make a property function
### Other interesting functions and variables
This module has other interesting things.
 - `Reverse` - like `forbiddenfruit` `reverse` and `Curse` in this module
 - `allTypes` and `allClasses` - after the curse the function(without `types` parameter!), this variables will have all types(in `allTypes`) and all classes(in `allClasses`) in list! If you don't want to curse function and get this, write this code:
	```Python
	from forbiddencurse import Curse, Reverse, allTypes
	def _(self):
	    return None
	Curse(_)
	Reverse(_)
	print(allTypes) # print an array with all Python types!
	```
	This rule working and to `allClasses`😉
