A decorator is used to update a function at runtime.
Project description
realtimefunc
A decorator is used to update a function at runtime to easy correct code in development.
install
pip install realtimefunc
usage
from realtimefunc import realtimefunc
@coroutine
@realtimefunc
def test():
# function body
NOTE
super()
is not allowed while super(kls, obj)
is ok.
WARNING
Code that below the decorated function could not map to the correct line anymore.
TODO
- beautify stack info
- support log
- cache
- support
super()
- solve warning mentioned
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
realtimefunc-0.1.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for realtimefunc-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf461b9fba3af359a1949ed25c0a54238b5c31dbef46566de2ae87e893ac2e81 |
|
MD5 | 4fc32ddf7dada4bb90e64c90f693c3b0 |
|
BLAKE2b-256 | b3904077d53e572b68fdee3f00c534cbd3e932fc154b082449307ccda2668fb5 |