colorls


Namecolorls JSON
Version 1.3.0 PyPI version JSON
download
home_pagehttps://github.com/unixnut/cls
Summaryc*ls commands that use colour and pipe output to less, with a sensible prompt
upload_time2023-09-12 09:45:51
maintainer
docs_urlNone
authorAlastair Irvine
requires_python>=3.4
licenseGNU General Public License v2
keywords cls ls less colour color
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            `c*ls`
======

Uses colour and pipes output to less, with a sensible prompt.

Each command is equivalent to:-

    cls      ls -FC
    clls     ls -lF --time-style=long-iso
    cllls    ls -lF --time-style=full-iso
    cals     ls -FCA
    calls    ls -lFA --time-style=long-iso
    callls   ls -lFA --time-style=full-iso
    csls     sudo ls -FC
    cslls    sudo ls -lF --time-style=long-iso
    csllls   sudo ls -lF --time-style=full-iso
    csals    sudo ls -FCA
    csalls   sudo ls -lFA --time-style=long-iso
    csallls  sudo ls -lFA --time-style=full-iso

Installation
------------

  1. Run **`pip3 -V`**
  1. If you get a *Command not found* error, run **`sudo apt install python3-pip`** and redo from start
  1. If your *pip* major version is less than 9, run **`pip3 install -U pip && hash -r`**
  1. Run **`pip3 install colorls`** 

TO-DO
-----
  + `LINK_COL_WIDTH` (what does this mean??)
  + Fix inum handling
  + Check for numeric owner/group
  + Use `type -a python3` and `unset VIRTUAL_ENV` when in a venv to break out of it

Development
-----------

Package dependencies are handled by [pipenv](https://pipenv.kennethreitz.org/).
It is assumed that *pipenv* will manage the installation of all concrete
dependency versions.  setup.py reads the dependency info from Pipfile
via the `pipenv` pacakge.

Before you can build the package, you will have to have `make`
installed.  You can then run **`make setup`** to create a [Virtualenv][]
(the `.venv` subdirectory where packages and metadata will be installed)
and then **`. .venv/bin/activate`** to activate it.

Then you can run **`pip install pipenv wheel`** and then use a build
process such as:-

    make build
    make dist
    # ... test .whl file now ...
    make release

Credits
-------

This package was created with [Cookiecutter][] and the [`audreyr/cookiecutter-pypackage`][pp]
project template.

  [Cookiecutter]: https://github.com/audreyr/cookiecutter
  [pp]: https://github.com/audreyr/cookiecutter-pypackage
  [Virtualenv]: http://packaging.python.org/guides/installing-using-pip-and-virtual-environments



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/unixnut/cls",
    "name": "colorls",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.4",
    "maintainer_email": "",
    "keywords": "cls,ls,less,colour,color",
    "author": "Alastair Irvine",
    "author_email": "alastair@plug.org.au",
    "download_url": "https://files.pythonhosted.org/packages/52/b8/ec1b722edd9fa3c2bd70d7c6d2f9e968497b6c5ed7eac9824803dc9ca2f2/colorls-1.3.0.tar.gz",
    "platform": null,
    "description": "`c*ls`\n======\n\nUses colour and pipes output to less, with a sensible prompt.\n\nEach command is equivalent to:-\n\n    cls      ls -FC\n    clls     ls -lF --time-style=long-iso\n    cllls    ls -lF --time-style=full-iso\n    cals     ls -FCA\n    calls    ls -lFA --time-style=long-iso\n    callls   ls -lFA --time-style=full-iso\n    csls     sudo ls -FC\n    cslls    sudo ls -lF --time-style=long-iso\n    csllls   sudo ls -lF --time-style=full-iso\n    csals    sudo ls -FCA\n    csalls   sudo ls -lFA --time-style=long-iso\n    csallls  sudo ls -lFA --time-style=full-iso\n\nInstallation\n------------\n\n  1. Run **`pip3 -V`**\n  1. If you get a *Command not found* error, run **`sudo apt install python3-pip`** and redo from start\n  1. If your *pip* major version is less than 9, run **`pip3 install -U pip && hash -r`**\n  1. Run **`pip3 install colorls`** \n\nTO-DO\n-----\n  + `LINK_COL_WIDTH` (what does this mean??)\n  + Fix inum handling\n  + Check for numeric owner/group\n  + Use `type -a python3` and `unset VIRTUAL_ENV` when in a venv to break out of it\n\nDevelopment\n-----------\n\nPackage dependencies are handled by [pipenv](https://pipenv.kennethreitz.org/).\nIt is assumed that *pipenv* will manage the installation of all concrete\ndependency versions.  setup.py reads the dependency info from Pipfile\nvia the `pipenv` pacakge.\n\nBefore you can build the package, you will have to have `make`\ninstalled.  You can then run **`make setup`** to create a [Virtualenv][]\n(the `.venv` subdirectory where packages and metadata will be installed)\nand then **`. .venv/bin/activate`** to activate it.\n\nThen you can run **`pip install pipenv wheel`** and then use a build\nprocess such as:-\n\n    make build\n    make dist\n    # ... test .whl file now ...\n    make release\n\nCredits\n-------\n\nThis package was created with [Cookiecutter][] and the [`audreyr/cookiecutter-pypackage`][pp]\nproject template.\n\n  [Cookiecutter]: https://github.com/audreyr/cookiecutter\n  [pp]: https://github.com/audreyr/cookiecutter-pypackage\n  [Virtualenv]: http://packaging.python.org/guides/installing-using-pip-and-virtual-environments\n\n\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v2",
    "summary": "c*ls commands that use colour and pipe output to less, with a sensible prompt",
    "version": "1.3.0",
    "project_urls": {
        "Homepage": "https://github.com/unixnut/cls"
    },
    "split_keywords": [
        "cls",
        "ls",
        "less",
        "colour",
        "color"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d32df1a3d73b7b1fb81d993b143c375af5261b7bcd67028567df5dcb3eaeac25",
                "md5": "7bb3c675b3f3ec17b2992b60ee7d06c6",
                "sha256": "1808bed4f14af40c48a1a1692aa99c20ea3d4f50d74c2aa4605b35072d188f13"
            },
            "downloads": -1,
            "filename": "colorls-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7bb3c675b3f3ec17b2992b60ee7d06c6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.4",
            "size": 28942,
            "upload_time": "2023-09-12T09:45:48",
            "upload_time_iso_8601": "2023-09-12T09:45:48.909615Z",
            "url": "https://files.pythonhosted.org/packages/d3/2d/f1a3d73b7b1fb81d993b143c375af5261b7bcd67028567df5dcb3eaeac25/colorls-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "52b8ec1b722edd9fa3c2bd70d7c6d2f9e968497b6c5ed7eac9824803dc9ca2f2",
                "md5": "a219efb23fc53357db9043129d3e2257",
                "sha256": "8c4c37ff9ed868310f478097424cb44ad70df578334ca626fe9e2501506859c5"
            },
            "downloads": -1,
            "filename": "colorls-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a219efb23fc53357db9043129d3e2257",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.4",
            "size": 17558,
            "upload_time": "2023-09-12T09:45:51",
            "upload_time_iso_8601": "2023-09-12T09:45:51.291185Z",
            "url": "https://files.pythonhosted.org/packages/52/b8/ec1b722edd9fa3c2bd70d7c6d2f9e968497b6c5ed7eac9824803dc9ca2f2/colorls-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-12 09:45:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "unixnut",
    "github_project": "cls",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "colorls"
}
        
Elapsed time: 0.27089s