Skip to main content

A small lightweight language that combines Python and HTML. Recommended file extension: .γ/.gmaj

Example syntax:

# comment
x: int = 123 # variable
def xyz() -> None:
    ... # ellipsis (ignores the line)
    
def main() -> None:
    # to insert html, use the 'html' opening and closing tags as shown below
    <html>
        <!-- html code here -->
        <h1>
            Hello, world!
        </h1> <!-- this will open your browser to a random unused port with a 'Hello, world' heading -->
    </html>
    
    # after the closing 'html' tag, you can continue with python code
    
if __name__ == '__main__': # runs only when the file is executed directly
    main() # executes the main function

DISCLAIMER: You cannot import GammaJ files in Python files or from other GammaJ files. You can import Python from GammaJ files though.

Running a GammaJ file

Method 1: Run using python module

python -m gammaj <filename>

Method 2: Use cmdlet

gammaj <filename>

How to get Syntax Highlighting (new in v4)

  • Disclaimer: Right now, syntax highlighting is only available for PyCharm
  • Download GammaJ.xml here
  • Click 'Download raw file'
  • Move the downloaded file (usually in C:/Users//Downloads) to your PyCharm 'filetypes' directory (usually C:/Users//AppData/Roaming/JetBrains/PyCharm/filetypes)
  • Restart PyCharm (if needed)
  • Voilà! You now have colour in your GammaJ file.

Metadata

Release files for GammaJ 4

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

Source distribution (sdist)

Source distribution for GammaJ 4
File Size Uploaded Provenance Actions
gammaj-4.tar.gz 16.5 kB Without provenance Details for gammaj-4.tar.gz

Built distribution (wheel)

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

Total release size: 32.7 kB

Release files / gammaj-4.tar.gz

Download URL gammaj-4.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5361353254cd63fefd1e8c8588f076a01d0e6da6f331c0c32b03dbfd8550a1d4
BLAKE2b-256 checksum
How to use checksums
e7aacb1126f84bf428a20dfa24215748a9eaa14e93c3c657a7b8a56fa1ad4d55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / GammaJ-4-py3-none-any.whl

Download URL GammaJ-4-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb180b208c5594a54ebcfbf31dcd1a8c214a0e0305c8569cd8f3361cc0b44d02
BLAKE2b-256 checksum
How to use checksums
b60980f6c45f0154d65c509d8d94b58e4368fffb99147dd556570db9ecdfcc89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for GammaJ 4

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