Name | ssrs JSON |
Version |
0.1.3
JSON |
| download |
home_page | https://github.com/brunofauth/ssrs |
Summary | 'Simple Scripting for Rust' enables you to run rust source files as scripts, from the command line, by prefixing them with a shebang line. It's useful because sometimes you just want to write a quick-and-dirty 'script', without having to creaate a new crate/package. |
upload_time | 2023-05-29 01:45:32 |
maintainer | |
docs_url | None |
author | Bruno Fauth |
requires_python | >=3.10,<4.0 |
license | MIT |
keywords |
rust
scripting
shebang
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Description
This program enables you to run rust source files as scripts, from the command
line, by prefixing them with a shebang line. It's useful because sometimes you
just want to write a quick-and-dirty "script", without having to creaate a new
crate/package.
# Installation
## With `pipx`
```sh
pipx install ssrs
```
## With `makepkg`
```sh
git clone "https://github.com/brunofauth/ssrs"
cd ssrs
makepkg -cris
```
# Usage
## From the Command Line
```sh
ssrs-cli [ssrs-options] -- <script-file> [script-options]
```
## From Script Files
```rust
#! /usr/bin/env ssrs
// your rust code here
fn main() {
println!("Hello World!");
}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/brunofauth/ssrs",
"name": "ssrs",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "rust,scripting,shebang",
"author": "Bruno Fauth",
"author_email": "149593@upf.br",
"download_url": "https://files.pythonhosted.org/packages/92/99/82f8fac6bff763a81f9802f26062c96c7da43e3445cbacdc40b0848c8fb9/ssrs-0.1.3.tar.gz",
"platform": null,
"description": "# Description\n\nThis program enables you to run rust source files as scripts, from the command \nline, by prefixing them with a shebang line. It's useful because sometimes you \njust want to write a quick-and-dirty \"script\", without having to creaate a new \ncrate/package.\n\n\n# Installation\n\n## With `pipx`\n```sh\npipx install ssrs\n```\n\n## With `makepkg`\n```sh\ngit clone \"https://github.com/brunofauth/ssrs\"\ncd ssrs\nmakepkg -cris\n```\n\n# Usage\n\n## From the Command Line\n```sh\nssrs-cli [ssrs-options] -- <script-file> [script-options]\n```\n\n## From Script Files\n```rust\n#! /usr/bin/env ssrs\n\n// your rust code here\nfn main() {\n println!(\"Hello World!\");\n}\n```\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "'Simple Scripting for Rust' enables you to run rust source files as scripts, from the command line, by prefixing them with a shebang line. It's useful because sometimes you just want to write a quick-and-dirty 'script', without having to creaate a new crate/package.",
"version": "0.1.3",
"project_urls": {
"Bug Tracker": "https://github.com/brunofauth/ssrs/issues",
"Homepage": "https://github.com/brunofauth/ssrs",
"Repository": "https://github.com/brunofauth/ssrs"
},
"split_keywords": [
"rust",
"scripting",
"shebang"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ac1a244bc8b1d39b90db7503bbf394874ae0df7fe1699c7b297a3c57231f350e",
"md5": "9333022c7afda487b4f3aa9a7f4b0ca4",
"sha256": "1972eace15327e81f8360ea905c035e0bc6672966434518a45993c1c56727e80"
},
"downloads": -1,
"filename": "ssrs-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9333022c7afda487b4f3aa9a7f4b0ca4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 3268,
"upload_time": "2023-05-29T01:45:31",
"upload_time_iso_8601": "2023-05-29T01:45:31.002434Z",
"url": "https://files.pythonhosted.org/packages/ac/1a/244bc8b1d39b90db7503bbf394874ae0df7fe1699c7b297a3c57231f350e/ssrs-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "929982f8fac6bff763a81f9802f26062c96c7da43e3445cbacdc40b0848c8fb9",
"md5": "7b6fc7c2d1529f392e9d1d53873a4b9d",
"sha256": "6aadf0ed5eaf96d822a9f4467f350dae45c911eca398ef8b69be41d8cf8489a4"
},
"downloads": -1,
"filename": "ssrs-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "7b6fc7c2d1529f392e9d1d53873a4b9d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 2547,
"upload_time": "2023-05-29T01:45:32",
"upload_time_iso_8601": "2023-05-29T01:45:32.687977Z",
"url": "https://files.pythonhosted.org/packages/92/99/82f8fac6bff763a81f9802f26062c96c7da43e3445cbacdc40b0848c8fb9/ssrs-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-29 01:45:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "brunofauth",
"github_project": "ssrs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ssrs"
}