# rye-shebang
*rye-shebang* allows you to put scripts in your path that run in a rye environment.
This solves the problem of launching `rye run script.py` from outside the script directory.
## Credits
This project is based on [*pipenv-shebang*](https://github.com/laktak/pipenv-shebang) and [*poetry-shebang*](https://github.com/ericriff/poetry-shebang).
## Usage
Put this shebang at the top of your script:
```
#!/usr/bin/env rye-shebang
```
You can also run your script with
```
rye-shebang /path/to/script
```
## Installation
```
sudo pip install rye-shebang
# or
pip install --user rye-shebang
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Tacha-S/rye-shebang",
"name": "rye-shebang",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Tatsuro Sakaguchi",
"author_email": "tacchan.mello.ioiq@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ab/e4/69f83e720deb6e155d4b9560710fae5874169f7198f733bc6cd44e77ba36/rye-shebang-0.1.0.tar.gz",
"platform": null,
"description": "# rye-shebang\n\n*rye-shebang* allows you to put scripts in your path that run in a rye environment.\n\nThis solves the problem of launching `rye run script.py` from outside the script directory.\n\n## Credits\n\nThis project is based on [*pipenv-shebang*](https://github.com/laktak/pipenv-shebang) and [*poetry-shebang*](https://github.com/ericriff/poetry-shebang).\n\n## Usage\n\nPut this shebang at the top of your script:\n\n```\n#!/usr/bin/env rye-shebang\n```\n\nYou can also run your script with\n\n```\nrye-shebang /path/to/script\n```\n\n## Installation\n\n```\nsudo pip install rye-shebang\n\n# or\npip install --user rye-shebang\n```\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "rye-shebang allows you to put scripts in your path that run in a rye environment.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/Tacha-S/rye-shebang"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "abe469f83e720deb6e155d4b9560710fae5874169f7198f733bc6cd44e77ba36",
"md5": "e8c96d4f420eec26b84400d2e07d231f",
"sha256": "aa7d738959ab2011961235bf26dd1004a15b4490a1b0a7e53630ee7030bcd796"
},
"downloads": -1,
"filename": "rye-shebang-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e8c96d4f420eec26b84400d2e07d231f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2629,
"upload_time": "2023-08-11T01:51:13",
"upload_time_iso_8601": "2023-08-11T01:51:13.767715Z",
"url": "https://files.pythonhosted.org/packages/ab/e4/69f83e720deb6e155d4b9560710fae5874169f7198f733bc6cd44e77ba36/rye-shebang-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-11 01:51:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Tacha-S",
"github_project": "rye-shebang",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "rye-shebang"
}