φyrx
Also known as PhyrxScript and PhyrexianScript.
φyrx is a programming language written in Phyrexian. Its orthography, vocabulary, and grammar are not invented: they come from the community Phyrexian Dictionary (tutorial chapters 1–3). A program is a sequence of Phyrexian sentences. The verb comes last. Numbers are hexadecimal. Text is read in vertical columns.
The toolchain is a small Python 3.11+ interpreter with no third-party dependencies. The language and interpreter are MIT. The optional font and dictionary JSON are GPL-3.0 and are fetched, not vendored. Source: github.com/Brage1025/phyrexianscript.
python -m phyx examples/01_welcome.phyx
šdeχd-keθəɢð
x: 5 x+10: 15
jnaķm
Names
| Name | Use |
|---|---|
| φyrx | native short name (romanised phyx) |
| PhyrxScript | English name of the language |
| PhyrexianScript | full English name; also this project’s folder |
All three name the same language. After pip install -e . the commands phyx, phyrx, phyrxscript, and phyrexianscript are the same toolchain.
Install
pip install phyx
phyx examples/01_welcome.phyx
From this folder, without the index:
cd PhyrexianScript
python -m phyx examples/01_welcome.phyx # no install required
pip install -e . # optional: phyx on PATH
phyx examples/01_welcome.phyx
Cursor / VS Code: Open VSX (Cursor’s in-editor marketplace) and the Visual Studio Marketplace (brage1025.phyx). Local install from editors/ is in editors/README.md.
Typing ţ is painful. --ascii lets a capital stand for the special letter it resembles (TTE'' → ţə''):
python -m phyx --ascii examples/07_ascii.phyx
python -m phyx fetch # official Phyrexian font + dictionary
python -m phyx render examples/01_welcome.phyx -o welcome.html # embeds the font
A program is a file
python -m phyx # interactive session
python -m phyx examples/09_sieve.phyx
python -m phyx examples/10_command.phyx red blue
python -m phyx -c "!1-2-babg."
python -m phyx words # every marker, verb, constant
python -m phyx explain if # English → Phyrexian (ba)
python -m phyx lookup add
python -m phyx fmt examples/01_welcome.phyx
python -m phyx lint examples/12_sort.phyx
python -m phyx lib # shipped herds (asərθ, ťewn, compleat)
python -m phyx test # tests written in φyrx (tests/phyx/)
python -m phyx new NAME # shebang program + test_NAME.phyx
python -m phyx lsp # language server (editor extension starts this)
python -m phyx bench
python -m phyx dis examples/03_abilities.phyx
Inside a program, 'uxq (command) is the list of arguments. A first line #! /usr/bin/env phyx is ignored. naķm (work) quotes an ability so a zero-parameter ťe can be stored and activated.
^ťe-greet:
!"šdeχd".
^xe-greet-naķm-fn-ţə''.
^lo-0-ťewn-fn-čtəčpliɣn.
Documentation
| Document | Contents |
|---|---|
| docs/index.md | Map of every page |
| docs/tour.md | First program, no Phyrexian assumed |
| docs/guide.md | How to write and how to think in φyrx |
| docs/stdlib.md | Shipped herds (abs, sort, map, …) and bukð search path |
| docs/spec.md | Language specification (normative) |
| docs/reference.md | Types, verbs, sentences, grammar, errors |
| docs/python.md | Map from Python (what is the same, what is not) |
| docs/cookbook.md | Short recipes |
| docs/toolchain.md | CLI, REPL, modules, tests, vertical script, ASCII |
| docs/rationale.md | Why the language is this shape |
| docs/roadmap.md | Known issues, and how language decisions are made |
| CHANGELOG.md | What changed |
| editors/README.md | TextMate and Vim grammars |
Worked programs live in examples/: welcome through a Turing machine, list sort, file notes, a command-line script, and compleat. The standard library is phyx/lib/; examples/lib_*.phyx are aliases.
python -m phyx test
python -m unittest discover -s tests -v
Status
Language version: 1.7
The toolchain version is the PyPI badge above.
Python 3.11 to 3.14, as the classifiers in pyproject.toml say. It runs on Linux, macOS and Windows (see CI).
Known issues: docs/roadmap.md.
Specification. Tour. Reference.
Fan content
φyrx is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards. Portions of the materials used are property of Wizards of the Coast. ©Wizards of the Coast LLC.
Metadata
Release files for phyx 1.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phyx-1.7.0.tar.gz | 172.1 kB | With provenance | Details for phyx-1.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phyx-1.7.0-py3-none-any.whl | Python 3 | none | any | Details for phyx-1.7.0-py3-none-any.whl |
Total release size: 256.8 kB
Release files / phyx-1.7.0.tar.gz
| Download URL | phyx-1.7.0.tar.gz |
|---|---|
| Size | 172.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76f25ca10e3c45774e766b0ae35ad8115dfeb4f767106599034cf793bab68622
|
|
BLAKE2b-256 checksum How to use checksums |
316ed5f96c13deebb0fe987af51ed39b098abe41ed42d8d97f7d747957ce7310
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / phyx-1.7.0-py3-none-any.whl
| Download URL | phyx-1.7.0-py3-none-any.whl |
|---|---|
| Size | 84.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cbdd35fc9067693876c8c1699b72f324047297592d2b3793e317c837fd7d616
|
|
BLAKE2b-256 checksum How to use checksums |
b881b337feb67a815cd5c3feb4227d9795c9bca4ad9e94dbbe7b43c7c2cfc501
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for phyx 1.7.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for phyx-1.7.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA 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.