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.

usage

from /path/to/realtimefunc import realtimefunc

@coroutine
@realtimefunc
def test():
    # function body

NOTE

super() is not allowed while super(kls, obj) is ok.

TODO

  • beautify stack info
  • support log
  • cache
  • support super()

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.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

realtimefunc-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: realtimefunc-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 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.0.1.tar.gz
Algorithm Hash digest
SHA256 a773230d0bb9952b723fbc69d9aa50ad9d66b226538282e3d940e091ea93dd07
MD5 3313296c0a8a527e71f36245105048cf
BLAKE2b-256 1eca84bc84094eb9a83c644aa96e81c2766a6a8880c8d7e8fb941413999bd745

See more details on using hashes here.

File details

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

File metadata

  • Download URL: realtimefunc-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dacd48afcbc7f654a5bee5ed1b6f4007de9f623df300adc45580d0b3c389e198
MD5 09a62aafffc210bf084519d93c3521db
BLAKE2b-256 f90efaece797e4a8fd6a22a6f8c85b103987247f9024fa728c0bbf0704823963

See more details on using hashes here.

Supported by

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