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

  • <input type="checkbox" checked="" disabled="" /> beautify stack info
  • <input type="checkbox" checked="" disabled="" /> support log
  • <input type="checkbox" checked="" disabled="" /> cache
  • <input type="checkbox" disabled="" /> support super()
  • <input type="checkbox" disabled="" /> 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.

Files for realtimefunc, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size realtimefunc-0.1.1-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size realtimefunc-0.1.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page