call a function in any python scripts using a formated string or json
Project description
moshi moshi~
call a function in any python scripts using a formated string or json
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.2.0-py3-none-any.whl
.
File metadata
- Download URL: moshimoshi-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.1 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 | 7ebe95917e158663cadf086beae1090bea4cd638f89cdf73cbd978b38a89fb1c |
|
MD5 | 25c74261f09520792dc55f5a739d23c3 |
|
BLAKE2b-256 | 96ee3d49e11ab35f2ccd597c7d381355e1860eefe13c37319a2e98ba1ccefecb |