call a function in any python scripts using a formated string or json
Project description
moshimoshi
call a function in any python scripts using a formated string or json It
TLDR
pip install moshimoshi
from moshimoshi import moshi
import json
moshi('flows.jobseeker:start', 123, sex="male")
async def foo():
await moshi.moshi('flows.jobseeker:start', 123, sex="male")
json_format = json.dumps({
"call": 'flows.jobseeker:start',
"args": [123],
"kwargs": {
"sex": "male"
}
})
moshi(json_format)
Why it is calling 'Moshi Moshiii ~'?
It is the most kawaii way of call something, no exception to python function. This comes from my waifu named 'Kocho Shinobu', Demo Slayer.
⛑ Spoil Alert: This Video contain scenes and conversation of deep episodes.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file moshimoshi-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: moshimoshi-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.8.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 034bae58d1e8e5286b46daff0036ee422401992d1f3ec4eafd2cdc0255c52afe |
|
MD5 | 765a7637479176a74012df50b72851eb |
|
BLAKE2b-256 | dc2a83c4471e70be5cc1a4319b03b4f627e850ed25b472297c93ceac7eaf0907 |