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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file realtimefunc-0.1.1.tar.gz.

File metadata

  • Download URL: realtimefunc-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

File hashes

Hashes for realtimefunc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4df0717617cb071129f12c1d10996b93207e5315d06a88b6321b7eb19d25265b
MD5 0b946674d9e2c643e330c9c325048224
BLAKE2b-256 59291fd704e5dd2a266d6f1cbcf26875bc9dac8a3ef585f6f510a05695950035

See more details on using hashes here.

File details

Details for the file realtimefunc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: realtimefunc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

File hashes

Hashes for realtimefunc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf461b9fba3af359a1949ed25c0a54238b5c31dbef46566de2ae87e893ac2e81
MD5 4fc32ddf7dada4bb90e64c90f693c3b0
BLAKE2b-256 b3904077d53e572b68fdee3f00c534cbd3e932fc154b082449307ccda2668fb5

See more details on using hashes here.

Supported by

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