Easily import values into python
Project description
PyVals
WARNING: THIS PROJECT IS NOT CURRENTLY WORKING SO DON'T USE IT
File extension: *.pv
Example
####values.pv:
a=%math(5+5)
####main.py:
import pyvals
pyvals.vals_from(open("values.pv").read())
# You need to re-import all the values after executing vals_from
from pyvals import *
# Yes, this variable did automatically generate
print(a)
# output: 10
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
PyVals-0.1-py3-none-any.whl
(2.6 kB
view details)
File details
Details for the file PyVals-0.1-py3-none-any.whl
.
File metadata
- Download URL: PyVals-0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e6de412028d8334b7bb45d059a059525a0a20264a90bfc6f75ed43bb6170ef |
|
MD5 | d23e97a63c7f581cadaa3bfa00854cd2 |
|
BLAKE2b-256 | 6e1988b9593dade43d24961e8da168679a6f41ea203f43c294b3610dbd8c859d |