Metadata-Version: 2.1
Name: decoratemethod
Version: 0.1.1
Summary: Let function decorator decorate the bound method of per instance.
Home-page: https://github.com/Cologler/decoratemethod-python
License: MIT
Author: Cologler
Author-email: skyoflw@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Project-URL: Repository, https://github.com/Cologler/decoratemethod-python
Description-Content-Type: text/markdown

# decoratemethod

Let function decorator decorate the bound method for each instance.

## Usage

### lru_cache

To let each instance has their own lru cache:

``` py
from functools import lru_cache
from decoratemethod import decorate

class Foo:
    @decorate(lru_cache)
    def decorated_method(self, x):
        ...
```

