Funkify modules so that they are callable
Project description
funkify
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
Release history Release notifications | RSS feed
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.6.0.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file funkify-0.6.0.tar.gz
.
File metadata
- Download URL: funkify-0.6.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d4b98a9c22a20ae94263431479e3c4023fcfe2aa5b5361576d3d8bee27ed6f8d
|
|
MD5 |
ccb65d24b61d711b69ec962265924152
|
|
BLAKE2b-256 |
6b0b2bbcf8a8b87865d5290613c3e3389ae66bae5343c381e93a81fcf9430444
|
File details
Details for the file funkify-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: funkify-0.6.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
80fb90f5870b0ddbc2cf1d9e66629a144c53d96ca7e958fbbfbc842004d95831
|
|
MD5 |
827c3367d505a3c7d644f0a15b1c36b9
|
|
BLAKE2b-256 |
28ac7148e7e79e4e951dea795a975aed5544fe61f825682f7eb04dff57a5bf64
|