Skip to main content

Funkify modules so that they are callable

Project description

drawing

funkify

Wheel Version py_versions Code style: black

Install: pip install funkify

Make a module/package/script callable.

Usage:

1) Write a file called a_module.py with some function and decorate said function with funkify

import funkify

@funkify
def some_funk_name_doesnt_matter():
	return 'howdy'

2) Import a_module and call it like you would a function!

import a_module
a_module.some_funk_name_doesnt_matter_what_it_is()  # returns 'howdy'
a_module()  # ALSO returns 'howdy'

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

funkify-0.4.5.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

funkify-0.4.5-py3-none-any.whl (4.4 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