A cli tool with an terminal editor to compile over 35 languages instantly using the piston api.
Project description
Piston CLI
A cli tool which uses the piston api, developed by Engineerman and his team to compile over 35 languages instantly. Accepts files, paste.pythondiscord.com links and input.
Installation
With pip
# Installing the package
pip install piston-cli -U
# Help Command
piston -h
With Nix/NixOS
Add this to your configuration.nix
environment.systemPackages = with pkgs; [
piston-cli
];
Or if you're using home-manager
home.packages = with pkgs; [
piston-cli
];
And finally using nix-env or nix profile
# using nix-env
nix-env -i piston-cli
# using nix profile (in nixUnstable)
nix profile install nixpkgs#piston-cli
For Arch/ArchBased
With yay
yay piston-cli
With paru
paru piston-cli
Or any AUR helper you use with doesn't matter. You get the point.
Example usage
Default
Shell
File
Link
Languages
piston --list
How to run it? (Contributing)
# This will install the development and project dependencies.
poetry install
# This will install the pre-commit hooks.
poetry run task precommit
# Optionally: run pre-commit hooks to initialize them.
# You can start working on the feature after this.
poetry run task pre-commit run --all-files
# Run it
poetry run task start --help
Contributing
You can comment on the issues you would like to work on.
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
piston-cli-1.4.0.tar.gz
(15.2 kB
view hashes)
Built Distribution
piston_cli-1.4.0-py3-none-any.whl
(22.8 kB
view hashes)
Close
Hashes for piston_cli-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e128ac042323038656202f5ee43f7f736ab1d9fba1fda3b8440dd062e36e36c |
|
MD5 | 587e20afd3e62ed790c2f891b9c6da86 |
|
BLAKE2b-256 | f97161ec86c4f419f61e11b185d7f405268c47cabf2a4d85d3741f5086618d79 |