FastApi-J2S


NameFastApi-J2S JSON
Version 0.1 PyPI version JSON
download
home_pagehttps://github.com/staykimin/MFastApi-J2S
SummaryFast Api With Dictionary
upload_time2024-11-18 22:11:46
maintainerNone
docs_urlNone
authorKIMIN
requires_pythonNone
licenseMIT
keywords kimin fastapi fastapi-j2s j2s
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Modul-Wrapper

Modul Wrapper Adalah Modul Untuk Menyimpan Semua Library Yang Akan Digunakan Dalam Bentuk Dictionary Guna Menghindari Crash Karena Penamaan Class atau Function Yang Sama Antar Library. 

## Example

Tanpa Menggunakan Deklarasi Khusus
```python
from Modul_Wrapper import Wrap

modul = Wrap(modul_path="modul.json")
datetime = modul.modul['datetime'].datetime.now().strftime("%H:%M")
print(datetime)
```

Menggunakan Deklarasi Khusus
```python
from Modul_Wrapper import Wrap

modul = Wrap(modul_path="modul.json")
datetime = modul.modul['modul_jam'].datetime.now().strftime("%H:%M")
print(datetime)
```
## Konfigurasi Modul


| Field | Description                |
| :-------- | :------------------------- |
| `folder` | Nama Library / Lokasi File Dimana Class / Function Disimpan |
| `file` |  Nama File Library / Class / Function |
| `class` |  Nama Class / Function Yang Akan Dipanggil |
| `defined` |  Akan Disimpan Menggunakan Deklarasi Khusus |

**NB: Jika Field "defined" di isi "" atau di isi Kosong, Maka Yang Untuk Memanggil Library Yang Kita Set Bisa Menggunakan "class"**

## Load / Import Library

Tanpa Menggunakan Deklarasi Khusus
```python
modul = Wrap(modul_path="modul.json")
# modul_path adalah lokasi Dimana Konfigurasi Modul Disimpan

datetime = modul.modul['datetime'].datetime.now().strftime("%H:%M")
# Memanggil Modul Dengan class "datetime" kemudian Panggil Fungsi datetime.now()
print(datetime)

datetime = modul.modul['modul_jam'].datetime.now().strftime("%H:%M")
# Memanggil Modul Dengan defined "datetime" kemudian Panggil Fungsi datetime.now()
print(datetime)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/staykimin/MFastApi-J2S",
    "name": "FastApi-J2S",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "Kimin, FastApi, FastApi-J2S, J2S",
    "author": "KIMIN",
    "author_email": "staykimin@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b6/55/6e33246c201e07a5338f3f46fbaafdc6743417ea9ed6467790dcbaf9a845/fastapi_j2s-0.1.tar.gz",
    "platform": null,
    "description": "# Modul-Wrapper\r\n\r\nModul Wrapper Adalah Modul Untuk Menyimpan Semua Library Yang Akan Digunakan Dalam Bentuk Dictionary Guna Menghindari Crash Karena Penamaan Class atau Function Yang Sama Antar Library. \r\n\r\n## Example\r\n\r\nTanpa Menggunakan Deklarasi Khusus\r\n```python\r\nfrom Modul_Wrapper import Wrap\r\n\r\nmodul = Wrap(modul_path=\"modul.json\")\r\ndatetime = modul.modul['datetime'].datetime.now().strftime(\"%H:%M\")\r\nprint(datetime)\r\n```\r\n\r\nMenggunakan Deklarasi Khusus\r\n```python\r\nfrom Modul_Wrapper import Wrap\r\n\r\nmodul = Wrap(modul_path=\"modul.json\")\r\ndatetime = modul.modul['modul_jam'].datetime.now().strftime(\"%H:%M\")\r\nprint(datetime)\r\n```\r\n## Konfigurasi Modul\r\n\r\n\r\n| Field | Description                |\r\n| :-------- | :------------------------- |\r\n| `folder` | Nama Library / Lokasi File Dimana Class / Function Disimpan |\r\n| `file` |  Nama File Library / Class / Function |\r\n| `class` |  Nama Class / Function Yang Akan Dipanggil |\r\n| `defined` |  Akan Disimpan Menggunakan Deklarasi Khusus |\r\n\r\n**NB: Jika Field \"defined\" di isi \"\" atau di isi Kosong, Maka Yang Untuk Memanggil Library Yang Kita Set Bisa Menggunakan \"class\"**\r\n\r\n## Load / Import Library\r\n\r\nTanpa Menggunakan Deklarasi Khusus\r\n```python\r\nmodul = Wrap(modul_path=\"modul.json\")\r\n# modul_path adalah lokasi Dimana Konfigurasi Modul Disimpan\r\n\r\ndatetime = modul.modul['datetime'].datetime.now().strftime(\"%H:%M\")\r\n# Memanggil Modul Dengan class \"datetime\" kemudian Panggil Fungsi datetime.now()\r\nprint(datetime)\r\n\r\ndatetime = modul.modul['modul_jam'].datetime.now().strftime(\"%H:%M\")\r\n# Memanggil Modul Dengan defined \"datetime\" kemudian Panggil Fungsi datetime.now()\r\nprint(datetime)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Fast Api With Dictionary",
    "version": "0.1",
    "project_urls": {
        "Documentation": "https://github.com/staykimin/FastApi-J2S",
        "Funding": "https://github.com/staykimin/FastApi-J2S",
        "Homepage": "https://github.com/staykimin/MFastApi-J2S",
        "Say Thanks!": "https://saweria.co/staykimin",
        "Source": "https://github.com/staykimin/FastApi-J2S",
        "Tracker": "https://github.com/staykimin/FastApi-J2S/issues"
    },
    "split_keywords": [
        "kimin",
        " fastapi",
        " fastapi-j2s",
        " j2s"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26e78afd0c50feac900b5188e7e4b1d3e0e56595bfaba2fdbb4f943027ebc155",
                "md5": "d04fc9e3b802aa1a47ed9cb01b483bc7",
                "sha256": "91baab41d07443e36d2fcb1033a0f8ad513a92a23e099bdbabd81cc2913f497f"
            },
            "downloads": -1,
            "filename": "FastApi_J2S-0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d04fc9e3b802aa1a47ed9cb01b483bc7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4548,
            "upload_time": "2024-11-18T22:11:44",
            "upload_time_iso_8601": "2024-11-18T22:11:44.493906Z",
            "url": "https://files.pythonhosted.org/packages/26/e7/8afd0c50feac900b5188e7e4b1d3e0e56595bfaba2fdbb4f943027ebc155/FastApi_J2S-0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6556e33246c201e07a5338f3f46fbaafdc6743417ea9ed6467790dcbaf9a845",
                "md5": "b00ed209d1433bf811edb4aa3ff6063e",
                "sha256": "eae2a433fa8fa1461e1a77b687a0a7acf617473f5a509ddbbb1040cbba0f54cd"
            },
            "downloads": -1,
            "filename": "fastapi_j2s-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b00ed209d1433bf811edb4aa3ff6063e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4771,
            "upload_time": "2024-11-18T22:11:46",
            "upload_time_iso_8601": "2024-11-18T22:11:46.870427Z",
            "url": "https://files.pythonhosted.org/packages/b6/55/6e33246c201e07a5338f3f46fbaafdc6743417ea9ed6467790dcbaf9a845/fastapi_j2s-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-18 22:11:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "staykimin",
    "github_project": "MFastApi-J2S",
    "github_not_found": true,
    "lcname": "fastapi-j2s"
}
        
Elapsed time: 0.41505s