Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

  • [x] beautify stack info
  • [x] support log
  • [x] 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.

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 hashes
Filename, size realtimefunc-0.1.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page