{"id":15558477,"url":"https://github.com/lukesavefrogs/bash_pymport","last_synced_at":"2026-04-16T13:40:17.247Z","repository":{"id":103950851,"uuid":"401110763","full_name":"LukeSavefrogs/bash_pymport","owner":"LukeSavefrogs","description":"Python-like import, which allows to include only specific functions/variables from an external script","archived":false,"fork":false,"pushed_at":"2024-05-07T14:22:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T14:11:22.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukeSavefrogs.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":"2021-08-29T18:12:10.000Z","updated_at":"2021-08-29T18:23:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"a104ca22-c035-452a-a096-ab83f08a4c4c","html_url":"https://github.com/LukeSavefrogs/bash_pymport","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSavefrogs%2Fbash_pymport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSavefrogs%2Fbash_pymport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSavefrogs%2Fbash_pymport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSavefrogs%2Fbash_pymport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeSavefrogs","download_url":"https://codeload.github.com/LukeSavefrogs/bash_pymport/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243213980,"owners_count":20254902,"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":[],"created_at":"2024-10-02T15:35:03.590Z","updated_at":"2025-12-26T14:03:25.721Z","avatar_url":"https://github.com/LukeSavefrogs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bash_pymport\nPython-like import, which allows to include only specific functions/variables from an external script\n\n## Why?\nNo real reason, just made this side project as a challenge... \n\n## Usage\n- **Global** import (same as `source`ing the module). Note that the `*` **MUST** be enclosed in **quotes** to prevent shell globbing expansion:\n```Python\nfrom test.lib import \"*\"\n```\n\n- **Selective** import (only a specific subset of variables/functions):\n```Python\nfrom test.lib import function_name, variable_name\n```\n\n- **Namespaced** import (variables/functions will be available as `MyNamespace.{variable_name/function_name}`):\n```Python\nfrom test.lib import function_name, variable_name as MyNamespace\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukesavefrogs%2Fbash_pymport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukesavefrogs%2Fbash_pymport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukesavefrogs%2Fbash_pymport/lists"}