A module to bundle xml using xpath
Project description
Evaluation
The goal is to provide a safer way to eval/exec code and provide some utilities.
DISCLAIMER: This is still not sandboxed nor fool-proof and will never be. The user should not trust unverified inputs and is the only one responsible for the extra variables he provides. Even though the modules allow to change the globals variables used for eval/exac, I am not responsible for any addons to the globals either.
Usage
Basique eval_code/exec_code
Work in the same way as eval/exec, but with limited set of action
possibles. Especially:
- IO is removed (no open/file/print/… available)
- No complex declaration (classes, functions, …)
- we are limited to a single statement
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file code_evaluation-0.1-py3-none-any.whl
.
File metadata
- Download URL: code_evaluation-0.1-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.10.0 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938932cb0df814c5264bad55b25a9ca46dd66ea69a4549499c98e8d8e3d43299 |
|
MD5 | 1ff335ea418ec6bcc1136996c8c7a498 |
|
BLAKE2b-256 | 9f755b8f4000c0389a7ddf3512452b1c58c0725d3dc368d8de530f5ce8e9a51d |