{"id":25011552,"url":"https://github.com/wattai/pg-modal","last_synced_at":"2025-03-30T03:16:50.884Z","repository":{"id":263438939,"uuid":"890413761","full_name":"wattai/pg-modal","owner":"wattai","description":"A playground for modal: a serverless GPU service","archived":false,"fork":false,"pushed_at":"2024-11-20T13:50:21.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T05:35:50.648Z","etag":null,"topics":["modal","python","serverless-functions","serverless-gpu"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wattai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-18T14:25:22.000Z","updated_at":"2024-11-20T13:50:26.000Z","dependencies_parsed_at":"2024-11-19T04:54:43.989Z","dependency_job_id":null,"html_url":"https://github.com/wattai/pg-modal","commit_stats":null,"previous_names":["wattai/pg-modal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wattai%2Fpg-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wattai%2Fpg-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wattai%2Fpg-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wattai%2Fpg-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wattai","download_url":"https://codeload.github.com/wattai/pg-modal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246269927,"owners_count":20750321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["modal","python","serverless-functions","serverless-gpu"],"created_at":"2025-02-05T05:34:24.653Z","updated_at":"2025-03-30T03:16:50.865Z","avatar_url":"https://github.com/wattai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔥 Play gound for modal: a serverless GPU service\n\n1. Install python package\n\n    ```shell\n    pip install -e .\n    ```\n\n1. Setup modal\n\n    Run this command, and it will show you a URL to authentication.\n\n\n    ```shell\n    python -m modal setup\n    ```\n\n    Follow the instruction, then you will see an response like below.\n\n\n    ```shell\n    Token verified successfully!\n    ```\n\n1. Run your first modal app\n\n    ```shell\n    modal run scripts/001-calc-square.py\n    ```\n\n    Once you run the command above, you will see the output like below.\n\n    ```shell\n    ✓ Initialized. View run at https://modal.com/apps/...\n    ✓ Created objects.\n    ├── 🔨 Created mount /home/wattai/dev/pg-modal/scripts/001-calc-square.py\n    └── 🔨 Created function square.\n    This code is running on a remote worker!\n    the square is 1764\n    Stopping app - local entrypoint completed.\n    ✓ App completed. View run at https://modal.com/apps/...\n    ```\n\n    Now that, you can see the result of `the square is 1764`.\\\n    🎉 Happy hacking!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwattai%2Fpg-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwattai%2Fpg-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwattai%2Fpg-modal/lists"}