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.1.0.tar.gz (17.6 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.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valthon-1.1.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for valthon-1.1.0.tar.gz
Algorithm Hash digest
SHA256 92c1792ba536b99c4e37be64b88d14362a70964e9df1cf60a566058527741b26
MD5 6955957cebe74c4c9dee264f4734be05
BLAKE2b-256 3c3779f57d9b778d2131adef532b8f400bc92547e51178f5fa122679a083f5af

See more details on using hashes here.

Provenance

The following attestation bundles were made for valthon-1.1.0.tar.gz:

Publisher: python-publish.yml on Harshal6927/valthon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: valthon-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for valthon-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3104bea2bec361e8fe93d78c085bc4c4ed836196d80fb73c883dc4090234c6f
MD5 c5ac9f60e6f5d4a541a337ea3bf7ef04
BLAKE2b-256 91cae97705aef9a4871689debcbe9e679d717159cbecfa515c0ecdeb99ebd936

See more details on using hashes here.

Provenance

The following attestation bundles were made for valthon-1.1.0-py3-none-any.whl:

Publisher: python-publish.yml on Harshal6927/valthon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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