{"id":18799842,"url":"https://github.com/viur-framework/safeeval","last_synced_at":"2025-04-13T17:31:08.368Z","repository":{"id":57463551,"uuid":"272689256","full_name":"viur-framework/safeeval","owner":"viur-framework","description":"Safely evaluate simple expressions from untrusted sources","archived":false,"fork":false,"pushed_at":"2023-09-01T09:39:12.000Z","size":33,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-13T03:38:08.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/viur-framework.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}},"created_at":"2020-06-16T11:25:51.000Z","updated_at":"2024-07-02T23:36:45.000Z","dependencies_parsed_at":"2022-09-13T11:01:03.822Z","dependency_job_id":null,"html_url":"https://github.com/viur-framework/safeeval","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/viur-framework%2Fsafeeval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fsafeeval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fsafeeval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fsafeeval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viur-framework","download_url":"https://codeload.github.com/viur-framework/safeeval/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223596966,"owners_count":17170872,"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-11-07T22:16:39.243Z","updated_at":"2024-11-07T22:16:39.786Z","avatar_url":"https://github.com/viur-framework.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# safeeval\n\nSafely evaluate an expression from an untrusted party\n\n## Getting Started\n\nSimply install via pip:\n    \n    pip install safeeval\n\n### Prerequisites\n\nNo dependencies are required.\n\n## Example\n\nSimple Comparision:\n\n    import safeeval\n    ast = safeeval.SafeEval.parse(\"x == y\")\n    res = safeeval.SafeEval.evalAst(ast, {\"x\": 4, \"y\": 3)\n    print(\"res\", res)\n    \n    \nMore examples can be found in tests directory.\n\n## Contributing\n\nWrite issues and provide patches via PRs on github.\n\n## Authors\n\n* **Tobias Steinrücken** - *Initial work* - [Mausbrand Informationsysteme GmbH](https://github.com/viur-framework/safeeval)\n* **Stefan Kögl** - *Packaging, callable support, docstrings* - [Mausbrand Informationsysteme GmbH](https://github.com/viur-framework/safeeval) \n\nSee also the list of [contributors](https://github.com/viur-framework/safeeval/blob/master/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviur-framework%2Fsafeeval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviur-framework%2Fsafeeval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviur-framework%2Fsafeeval/lists"}