<a href="https://github.com/dynamic-graphics-inc/dgpy-libs">
<img align="right" src="https://github.com/dynamic-graphics-inc/dgpy-libs/blob/main/docs/images/dgpy_banner.svg?raw=true" alt="drawing" height="120" width="300"/>
</a>
# funkify
[![Wheel](https://img.shields.io/pypi/wheel/funkify.svg)](https://img.shields.io/pypi/wheel/funkify.svg)
[![Version](https://img.shields.io/pypi/v/funkify.svg)](https://img.shields.io/pypi/v/funkify.svg)
[![py_versions](https://img.shields.io/pypi/pyversions/funkify.svg)](https://img.shields.io/pypi/pyversions/funkify.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/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
```python
import funkify
@funkify
def some_funk_name_doesnt_matter():
return 'howdy'
```
### 2) Import a_module and call it like you would a function!
```python
import a_module
a_module.some_funk_name_doesnt_matter_what_it_is() # returns 'howdy'
a_module() # ALSO returns 'howdy'
```
Raw data
{
"_id": null,
"home_page": "https://github.com/dynamic-graphics-inc/dgpy-libs/tree/main/libs/funkify",
"name": "funkify",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "funk,dgpy,python,modules,funky",
"author": "jesse",
"author_email": "jesse@dgi.com",
"download_url": "https://files.pythonhosted.org/packages/0b/ea/d095d1799770c9083dd8fd88e63f49f353abc0f41edb41157ac8e8ea4128/funkify-0.4.5.tar.gz",
"platform": null,
"description": "<a href=\"https://github.com/dynamic-graphics-inc/dgpy-libs\">\n<img align=\"right\" src=\"https://github.com/dynamic-graphics-inc/dgpy-libs/blob/main/docs/images/dgpy_banner.svg?raw=true\" alt=\"drawing\" height=\"120\" width=\"300\"/>\n</a>\n\n# funkify\n\n[![Wheel](https://img.shields.io/pypi/wheel/funkify.svg)](https://img.shields.io/pypi/wheel/funkify.svg)\n[![Version](https://img.shields.io/pypi/v/funkify.svg)](https://img.shields.io/pypi/v/funkify.svg)\n[![py_versions](https://img.shields.io/pypi/pyversions/funkify.svg)](https://img.shields.io/pypi/pyversions/funkify.svg)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n**Install:** `pip install funkify`\n\nMake a module/package/script callable.\n\n## Usage:\n\n### 1) Write a file called `a_module.py` with some function and decorate said function with funkify\n\n```python\nimport funkify\n\n@funkify\ndef some_funk_name_doesnt_matter():\n\treturn 'howdy'\n```\n\n### 2) Import a_module and call it like you would a function!\n\n```python\nimport a_module\na_module.some_funk_name_doesnt_matter_what_it_is() # returns 'howdy'\na_module() # ALSO returns 'howdy'\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Funkify modules so that they are callable",
"version": "0.4.5",
"split_keywords": [
"funk",
"dgpy",
"python",
"modules",
"funky"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4babba6f9fadfff877d9c5cf270049ec06d229bd9f4d294530796c7ee3ec5bc3",
"md5": "f25d5988b7147ba17657176018a9f315",
"sha256": "43f1e6c27263468a60ba560dfc13e6e4df57aa75376438a62f741ffc7c83cdfe"
},
"downloads": -1,
"filename": "funkify-0.4.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f25d5988b7147ba17657176018a9f315",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 4445,
"upload_time": "2023-04-20T23:42:20",
"upload_time_iso_8601": "2023-04-20T23:42:20.959122Z",
"url": "https://files.pythonhosted.org/packages/4b/ab/ba6f9fadfff877d9c5cf270049ec06d229bd9f4d294530796c7ee3ec5bc3/funkify-0.4.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0bead095d1799770c9083dd8fd88e63f49f353abc0f41edb41157ac8e8ea4128",
"md5": "5d3a2eaa03074ff50b2377efd64405b4",
"sha256": "42df845f4afa63e0e66239a986d26b6572ab0b7ad600d7d6365d44d8a0cff3d5"
},
"downloads": -1,
"filename": "funkify-0.4.5.tar.gz",
"has_sig": false,
"md5_digest": "5d3a2eaa03074ff50b2377efd64405b4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 3761,
"upload_time": "2023-04-20T23:42:22",
"upload_time_iso_8601": "2023-04-20T23:42:22.656637Z",
"url": "https://files.pythonhosted.org/packages/0b/ea/d095d1799770c9083dd8fd88e63f49f353abc0f41edb41157ac8e8ea4128/funkify-0.4.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-20 23:42:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "funkify"
}