Skip to main content

Python with Valorant

Project description

Valthon

Python with Valorant.

Valthon is a Python preprosessor which translates which translates regular Python code into Valorant maddness, because why not? After losing a game of Valorant, you can now go back to your code and see the same thing. The only difference is that you can not blame your teammates for the code.

Code example

# python
def test() -> None:
    print("Hello World!")

test()

# valthon
loadout test() -> afk:
    chat("Hello World!")

test()

Installation

You can install Valthon directly from PyPI using pip. (You might need to use sudo and pip3 instead of pip depending on your system)

pip install valthon

Quick intro

Valthon works by first translating Valthon-files (suggested file ending: .vln) into Python-files, and then using Python to run them. You therefore need a working installation of Python for Valthon to work.

To run a Valthon program from the command line

valthon main.vln

For a full list of options

valthon -h
# or
man valthon

Valthon also includes a translator from Python to Valthon. This will create a Valthon file called test.vln from a Python file called test.py.

py2vln test.py

For a full list of options

py2vln -h
# or
man py2vln

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

valthon-1.0.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

valthon-1.0.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file valthon-1.0.1.tar.gz.

File metadata

  • Download URL: valthon-1.0.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for valthon-1.0.1.tar.gz
Algorithm Hash digest
SHA256 82138c6b5e52f70ecd029549b919ea71a195e4f73cbd8d07d4bc5c23bf1bc047
MD5 253b31441f82ab836d570817baffa337
BLAKE2b-256 dfd5970844e65e9b8e8c59cec22073fe3942d2abe6507a74eabc9857061d6ba9

See more details on using hashes here.

File details

Details for the file valthon-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: valthon-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for valthon-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d757758b2c346c6a047ae95c7620a733c8a2b1b81ff630c3deecd8154894e145
MD5 722c01bff74cea0f3bbf4bacfcd95a47
BLAKE2b-256 0a7e1b9127112eedb2e5b7ab4136d52cf71926777c3ede2f8ae2c3dbfc0bca47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page