Skip to main content

PyVals

WARNING: THIS IS EXTREMELY HACKABLE, DO NOT USE IT FOR CLIENT INTERACTIONS!

Standard file extension: *.val

Possible Types(currently):

  • Integers
  • Float
  • Strings (with backslash chars)
  • Arrays
  • Math (Syntax: + - * / % ^)
  • Variable = Variable

Notes

  • Allowed variable characters are a-z, A-Z and _
  • You may not use custom Classes, Functions or Modules

Todo

  • Pycharm Extension
  • Implement other languages
  • Bridge the other languages(Although this is a Wish Dream)

Example

values.val:

a = 2
b = 'Hello World'
c = a
d = %math(2+2*2^2)
e = [1, '2', c]

main.py:

import pyvals

pyvals.register(globals()) # Always use this before running a pyvals command
pyvals.vals_from(open("values.val").read()) # you can use any string here

# Yes, these variables did automatically generate
print(a)
print(b)
print(c)
print(d)
# output:
# 2
# Hello World
# 2
# 10

a = 3
z = 4

pyvals.register(globals())
print(save())
# output:
# a = 3
# b = 'Hello World'
# c = 2.0
# d = 10
# e = [1, '2', 2.0]
# z = 4

Metadata

Release files for PyVals 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for PyVals 1.2.2
File Interpreter ABI Platform Actions
PyVals-1.2.2-py3-none-any.whl Python 3 none any Details for PyVals-1.2.2-py3-none-any.whl

Release files / PyVals-1.2.2-py3-none-any.whl

Download URL PyVals-1.2.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c918ab508e669876d17c58e9bf127bf34abcb3b6d6b98e58b86c6d0650bf3d6
BLAKE2b-256 checksum
How to use checksums
93a3062ced4ffc903f2398d14ee25ee93556829c1da0fbf0e27a1de21b5e694e
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for PyVals 1.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page