Skip to main content

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.

Kocho Shinobu Moshi Moshi]

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

moshimoshi-0.1.5-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file moshimoshi-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: moshimoshi-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.8.2 Windows/10

File hashes

Hashes for moshimoshi-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0c671755f471dbceb30e734cbeed37faf0ee207105cead8011c123e7ef62d570
MD5 fb1dbf1a396c321b63c5b04130b44ba1
BLAKE2b-256 0297c87a017a3306acffa3cf1c4a9177320f6fa5c907ce66f9cd2c4eef563a6a

See more details on using hashes here.

Provenance

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