Skip to main content

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


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)

Uploaded Source

Built Distribution

realtimefunc-0.1.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page