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.0.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.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valthon-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 11a355c3b305e06abd62f2966852c903acc7991e1567c20462c142c89dd8b672
MD5 25d311155273c6419f9e7c81f3a424a3
BLAKE2b-256 3b327226a9192d2f379c27ebe31b9fe36754e26d9fc66e83af67ee230386e346

See more details on using hashes here.

File details

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

File metadata

  • Download URL: valthon-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0c11d668173d09508852891ff72f50706184b51f95de8911446ff4d07bf159a
MD5 7a740ac674eb182303382b039557d4e8
BLAKE2b-256 ec417b38bd07432e33b71aa5cd108d500811c9174cc630768d94659013ddfb84

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