A stack-VM scripting language and distributed workflow runtime
Project description
Nodus
Nodus is a scripting language runtime with a small CLI for running files, starting projects, and using an interactive REPL.
Install
pip install nodus-lang
For the optional FastAPI/Uvicorn HTTP server path:
pip install "nodus-lang[server]"
Plain pip install nodus-lang still works for the CLI, REPL, project commands,
and nodus serve. Without the server extra, nodus serve uses the built-in
fallback HTTP server instead of the FastAPI/Uvicorn path.
Canonical User Flow
Start a new project:
nodus init
nodus run
nodus repl
nodus init creates a new Nodus project in your current directory.
nodus run runs the project entry file created by nodus init.
nodus repl starts an interactive prompt.
Example 1: Standalone File
Create hello.nd:
print("hello")
Run it:
nodus run hello.nd
Example 2: Project Flow
Create a directory for your project and move into it:
mkdir my-app
cd my-app
Initialize the project:
nodus init
Run the project:
nodus run
REPL
Start the REPL:
nodus repl
The REPL lets you run code interactively, one line or block at a time.
Useful commands inside the REPL:
:helpshows REPL commands.exit,quit, or:quitleaves the REPL.
Common Commands
nodus run hello.ndruns a file.nodus runruns the current project.nodus replstarts the interactive REPL.nodus check hello.ndvalidates a file without running it.nodus checkvalidates the current project's default entry file when run from a project directory.nodus fmt hello.ndformats a file.
Getting Started
See docs/onboarding/GETTING_STARTED.md for the same first-time setup in a step-by-step form.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nodus_lang-1.1.1.tar.gz.
File metadata
- Download URL: nodus_lang-1.1.1.tar.gz
- Upload date:
- Size: 217.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bc066fe423aa43b1e1a360146f1e3f2ca2cef6d94f14e4dc7f3783d0768dfd0
|
|
| MD5 |
9e52e138e5a8c6bee890d131f0dfbfdf
|
|
| BLAKE2b-256 |
4ec56cfb7b41e46b1a7ef2461c566feb7719eac654415aa744010341e69fee31
|
File details
Details for the file nodus_lang-1.1.1-py3-none-any.whl.
File metadata
- Download URL: nodus_lang-1.1.1-py3-none-any.whl
- Upload date:
- Size: 195.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec130dac186132f709d9c34f34e92d0d20b4f36c40e273617b7eaec06b0e35fa
|
|
| MD5 |
5ffb46f77f3d7343a631123d869a9deb
|
|
| BLAKE2b-256 |
422b40a5b8652d98d974f852fb85a33103b973fcc41d932b1605acb2a3a98e45
|