{"id":16851764,"url":"https://github.com/they4kman/pysmx","last_synced_at":"2025-04-11T06:55:33.476Z","repository":{"id":3911429,"uuid":"5000311","full_name":"theY4Kman/pysmx","owner":"theY4Kman","description":"Python package to interact with SourceMod plug-ins","archived":false,"fork":false,"pushed_at":"2023-03-14T17:40:56.000Z","size":3770,"stargazers_count":19,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T04:51:14.429Z","etag":null,"topics":["python","sourcemod"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pysmx","language":"SourcePawn","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"coreos/rkt","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theY4Kman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-07-12T07:33:27.000Z","updated_at":"2024-08-28T23:01:29.000Z","dependencies_parsed_at":"2023-07-06T22:01:18.995Z","dependency_job_id":null,"html_url":"https://github.com/theY4Kman/pysmx","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theY4Kman%2Fpysmx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theY4Kman%2Fpysmx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theY4Kman%2Fpysmx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theY4Kman%2Fpysmx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theY4Kman","download_url":"https://codeload.github.com/theY4Kman/pysmx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358555,"owners_count":21090402,"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":["python","sourcemod"],"created_at":"2024-10-13T13:30:31.288Z","updated_at":"2025-04-11T06:55:33.444Z","avatar_url":"https://github.com/theY4Kman.png","language":"SourcePawn","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pysmx\n\n**pysmx** is a Python package for parsing, executing, and simulating the environment of SourceMod plug-ins.\n\n\n## Quickstart\n\n```shell\npip install pysmx\n```\n\n```python\nfrom smx import compile_plugin\n\nplugin = compile_plugin('''\n    public TwoPlusTwo() {\n        return 2 + 2;\n    }\n    public float FiveDividedByTen() {\n        return 5.0 / 10.0;\n    }\n    public String:Snakes() {\n        new String:s[] = \"hiss\";\n        return s;\n    }\n''')\n\nprint(plugin.runtime.call_function_by_name('TwoPlusTwo'))\n# 4\nprint(plugin.runtime.call_function_by_name('FiveDividedByTen'))\n# 0.5\nprint(plugin.runtime.call_function_by_name('Snakes'))\n# 'hiss'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthey4kman%2Fpysmx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthey4kman%2Fpysmx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthey4kman%2Fpysmx/lists"}