usr-local-pull


Nameusr-local-pull JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryInstalls popular cmdline utils into /usr/local directly from GitHub released artifacts.
upload_time2024-11-08 19:12:15
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords commandline cli packaging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # usr-local-pull

[![PyPI Status](https://badge.fury.io/py/usr-local-pull.svg)](https://badge.fury.io/py/usr-local-pull)
[![license](https://img.shields.io/pypi/l/usr-local-pull.svg)](https://opensource.org/licenses/MIT)
[![python_versions](https://img.shields.io/pypi/pyversions/usr-local-pull.svg)](https://pypi.org/project/usr-local-pull/)

Installs bunch of cmdline utilities into `/usr/local` directly from GitHub releases.

Installing into `/usr/local` doesn't interfere with the rest of the system. Ie. you can
have `ripgrep` installed from both, official distro package and this script and updating
any of them will not overwrite the other. Which one gets used when you call `ripgrep`
from your shell, depends on your `$PATH`. In most modern distros, stuff from
`/usr/local` has priority.

Supported operating systems:

- any and only Linux
- only `x86_64` architecture

Supported shells:

- ZSH

Supported apps:

- [bat](https://github.com/TomWright/dasel)
- [dasel](https://github.com/starship/starship)
- [eza](https://github.com/eza-community/eza)
- [fd](https://github.com/sharkdp/fd)
- [fzf](https://github.com/junegunn/fzf)
- [goyq](https://github.com/itchyny/gojq)
- [jid](https://github.com/simeji/jid)
- [jq](https://github.com/jqlang/jq)
- [jqp](https://github.com/noahgorstein/jqp)
- [lazygit](https://github.com/jesseduffield/lazygit)
- [mdbook](https://github.com/rust-lang/mdBook)
- [neovide](https://github.com/neovide/neovide)
- [ripgrep](https://github.com/BurntSushi/ripgrep)
- [starship](https://github.com/starship/starship)
- [stylua](https://github.com/JohnnyMorganz/StyLua)
- [xq](https://github.com/sibprogrammer/xq)
- [yq](https://github.com/starship/starship)

## How to use it?

Install or update:

```sh
sudo su -
mkdir ~/usr-local-pull
cd usr-local-pull
python -m venv .venv
source .venv/bin/activate
pip install -U usr-local-pull
```

- needs to be run as `root` to be able to write into `/usr/local`

Install or update apps:

```sh
sudo su -
cd usr-local-pull
source .venv/bin/activate
usr-local-pull --help
usr-local-pull --prefix /tmp/try_it_out
usr-local-pull --prefix /usr/local
```

Other side-effects:

- uses `~/.cache` for stuff downloaded from `GitHub`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "usr-local-pull",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "commandline cli packaging",
    "author": null,
    "author_email": "Tomislav Adamic <tomislav.adamic@tellus.hr>",
    "download_url": "https://files.pythonhosted.org/packages/6a/e0/0dc0247f9ee6b57a8e5e8b3a832e96b5d4c5ad878528a58dce012572006a/usr_local_pull-0.2.0.tar.gz",
    "platform": "any",
    "description": "# usr-local-pull\n\n[![PyPI Status](https://badge.fury.io/py/usr-local-pull.svg)](https://badge.fury.io/py/usr-local-pull)\n[![license](https://img.shields.io/pypi/l/usr-local-pull.svg)](https://opensource.org/licenses/MIT)\n[![python_versions](https://img.shields.io/pypi/pyversions/usr-local-pull.svg)](https://pypi.org/project/usr-local-pull/)\n\nInstalls bunch of cmdline utilities into `/usr/local` directly from GitHub releases.\n\nInstalling into `/usr/local` doesn't interfere with the rest of the system. Ie. you can\nhave `ripgrep` installed from both, official distro package and this script and updating\nany of them will not overwrite the other. Which one gets used when you call `ripgrep`\nfrom your shell, depends on your `$PATH`. In most modern distros, stuff from\n`/usr/local` has priority.\n\nSupported operating systems:\n\n- any and only Linux\n- only `x86_64` architecture\n\nSupported shells:\n\n- ZSH\n\nSupported apps:\n\n- [bat](https://github.com/TomWright/dasel)\n- [dasel](https://github.com/starship/starship)\n- [eza](https://github.com/eza-community/eza)\n- [fd](https://github.com/sharkdp/fd)\n- [fzf](https://github.com/junegunn/fzf)\n- [goyq](https://github.com/itchyny/gojq)\n- [jid](https://github.com/simeji/jid)\n- [jq](https://github.com/jqlang/jq)\n- [jqp](https://github.com/noahgorstein/jqp)\n- [lazygit](https://github.com/jesseduffield/lazygit)\n- [mdbook](https://github.com/rust-lang/mdBook)\n- [neovide](https://github.com/neovide/neovide)\n- [ripgrep](https://github.com/BurntSushi/ripgrep)\n- [starship](https://github.com/starship/starship)\n- [stylua](https://github.com/JohnnyMorganz/StyLua)\n- [xq](https://github.com/sibprogrammer/xq)\n- [yq](https://github.com/starship/starship)\n\n## How to use it?\n\nInstall or update:\n\n```sh\nsudo su -\nmkdir ~/usr-local-pull\ncd usr-local-pull\npython -m venv .venv\nsource .venv/bin/activate\npip install -U usr-local-pull\n```\n\n- needs to be run as `root` to be able to write into `/usr/local`\n\nInstall or update apps:\n\n```sh\nsudo su -\ncd usr-local-pull\nsource .venv/bin/activate\nusr-local-pull --help\nusr-local-pull --prefix /tmp/try_it_out\nusr-local-pull --prefix /usr/local\n```\n\nOther side-effects:\n\n- uses `~/.cache` for stuff downloaded from `GitHub`\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Installs popular cmdline utils into /usr/local directly from GitHub released artifacts.",
    "version": "0.2.0",
    "project_urls": {
        "Source": "https://github.com/tadams42/usr-local-pull"
    },
    "split_keywords": [
        "commandline",
        "cli",
        "packaging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "866a8abc79d4f578ec01cd163f5c48c1c448d791eb2b961dfb111609d5d5d9f8",
                "md5": "ace83deaf26054701c8dcad04d9c679d",
                "sha256": "fc6cd9a7b36d04bea09c97152e57e157fc24ac04d608cd1c273786f2ca0af31b"
            },
            "downloads": -1,
            "filename": "usr_local_pull-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ace83deaf26054701c8dcad04d9c679d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 31565,
            "upload_time": "2024-11-08T19:12:14",
            "upload_time_iso_8601": "2024-11-08T19:12:14.162589Z",
            "url": "https://files.pythonhosted.org/packages/86/6a/8abc79d4f578ec01cd163f5c48c1c448d791eb2b961dfb111609d5d5d9f8/usr_local_pull-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ae00dc0247f9ee6b57a8e5e8b3a832e96b5d4c5ad878528a58dce012572006a",
                "md5": "1f8775107cf57a3554651761b6eb9b33",
                "sha256": "40db85dac07deb656ab7f31130798df4affceef0d5914e4bba74d264256049f3"
            },
            "downloads": -1,
            "filename": "usr_local_pull-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1f8775107cf57a3554651761b6eb9b33",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 15580,
            "upload_time": "2024-11-08T19:12:15",
            "upload_time_iso_8601": "2024-11-08T19:12:15.902154Z",
            "url": "https://files.pythonhosted.org/packages/6a/e0/0dc0247f9ee6b57a8e5e8b3a832e96b5d4c5ad878528a58dce012572006a/usr_local_pull-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-08 19:12:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tadams42",
    "github_project": "usr-local-pull",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "usr-local-pull"
}
        
Elapsed time: 0.53912s