Niram


NameNiram JSON
Version 1.0.5 PyPI version JSON
download
home_pagehttps://github.com/aswanthabam/Niram
SummarySimple python module to colour text
upload_time2023-10-04 09:14:12
maintainer
docs_urlNone
authorAswanth Vc
requires_python>=3.6
license
keywords colours change coloure terminal colour python colours pip colours change colour in terminal vhange text colour in python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Available Colors](https://raw.githubusercontent.com/aswanthabam/Niram/images/banner.png)

# Python Niram

This is a simple module to get coloured text in linux, max , and also in android termux (not supported in windows CMD)

## Installation

### Using pypi

You can install Niram using pypi. Execute..

```console
python3 -m pip install Niram
```

### Using setup.py

You can install Niram module by source code. Download source code from <a href="https://abam.herokuapp.com/projects/Niram">Link is not available. Checkout Github instead</a>

Download the zip file and unzip the file.(Use `unzip` command) Then execute setup.py install.

```console
cd Niram-1.0.4
python3 setup.py install
```

## Usage

```python
from Niram import Colours
obj = Colours() # Create a object
# Print using print() method
obj.print("Your Text Goes here",110) # 110 is the colour code
obj.print(["Hi","How are you?","Checkout niram"],[22,119,220],seperator="\n") # print multiple text with multiple colours
# Get formatted string using colour() method
txt = obj.colour(273,"Your text goes here") # returns the string representing the coloured text
print(txt) # Print the formatte text
txt2 = obj.format(["Example","Formatting"],[80,51],seperator=", ",end=" - Niram") # Gives foramted string with multiple colors
print(txt2)
```

This will return the formated text
here colour_code is a number of the colour get it by executing

```console
python3 -m Niram -c
```

This will list out all colours and responsible number
Second argument is your text and third argument "second" is the background colour or any other colour you need

### Available Colors

![Available Colors](https://raw.githubusercontent.com/aswanthabam/Niram/images/colors.png)

## Requirements

This module don't need any additional requirements



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aswanthabam/Niram",
    "name": "Niram",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "colours,change coloure,terminal colour,python colours,pip colours,change colour in terminal,vhange text colour in python",
    "author": "Aswanth Vc",
    "author_email": "aswanth.abam@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/23/2a/0ac1d58068d7b6ecc99d2fca9465976601f9e42ec5667fe2ca049705785a/Niram-1.0.5.tar.gz",
    "platform": null,
    "description": "![Available Colors](https://raw.githubusercontent.com/aswanthabam/Niram/images/banner.png)\n\n# Python Niram\n\nThis is a simple module to get coloured text in linux, max , and also in android termux (not supported in windows CMD)\n\n## Installation\n\n### Using pypi\n\nYou can install Niram using pypi. Execute..\n\n```console\npython3 -m pip install Niram\n```\n\n### Using setup.py\n\nYou can install Niram module by source code. Download source code from <a href=\"https://abam.herokuapp.com/projects/Niram\">Link is not available. Checkout Github instead</a>\n\nDownload the zip file and unzip the file.(Use `unzip` command) Then execute setup.py install.\n\n```console\ncd Niram-1.0.4\npython3 setup.py install\n```\n\n## Usage\n\n```python\nfrom Niram import Colours\nobj = Colours() # Create a object\n# Print using print() method\nobj.print(\"Your Text Goes here\",110) # 110 is the colour code\nobj.print([\"Hi\",\"How are you?\",\"Checkout niram\"],[22,119,220],seperator=\"\\n\") # print multiple text with multiple colours\n# Get formatted string using colour() method\ntxt = obj.colour(273,\"Your text goes here\") # returns the string representing the coloured text\nprint(txt) # Print the formatte text\ntxt2 = obj.format([\"Example\",\"Formatting\"],[80,51],seperator=\", \",end=\" - Niram\") # Gives foramted string with multiple colors\nprint(txt2)\n```\n\nThis will return the formated text\nhere colour_code is a number of the colour get it by executing\n\n```console\npython3 -m Niram -c\n```\n\nThis will list out all colours and responsible number\nSecond argument is your text and third argument \"second\" is the background colour or any other colour you need\n\n### Available Colors\n\n![Available Colors](https://raw.githubusercontent.com/aswanthabam/Niram/images/colors.png)\n\n## Requirements\n\nThis module don't need any additional requirements\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Simple python module to colour text",
    "version": "1.0.5",
    "project_urls": {
        "Homepage": "https://github.com/aswanthabam/Niram"
    },
    "split_keywords": [
        "colours",
        "change coloure",
        "terminal colour",
        "python colours",
        "pip colours",
        "change colour in terminal",
        "vhange text colour in python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b850bed5b46f93dd430cbe7d259a83480a5dde2c76f577deddd879544ab50ab",
                "md5": "844ca63caf88b80b2d616bf3c891ee64",
                "sha256": "3f153078d88466b3e61f0f3bd50edefbe3ad5811ba26269b7735daea8dadbc38"
            },
            "downloads": -1,
            "filename": "Niram-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "844ca63caf88b80b2d616bf3c891ee64",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5191,
            "upload_time": "2023-10-04T09:14:10",
            "upload_time_iso_8601": "2023-10-04T09:14:10.150954Z",
            "url": "https://files.pythonhosted.org/packages/1b/85/0bed5b46f93dd430cbe7d259a83480a5dde2c76f577deddd879544ab50ab/Niram-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "232a0ac1d58068d7b6ecc99d2fca9465976601f9e42ec5667fe2ca049705785a",
                "md5": "175a8f6271e4b677595727bb5d10b69d",
                "sha256": "7bef3f0d7a89bf96d5c108a6e53ad9b8fae9894025dbc0dc83607b94c2e60437"
            },
            "downloads": -1,
            "filename": "Niram-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "175a8f6271e4b677595727bb5d10b69d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4867,
            "upload_time": "2023-10-04T09:14:12",
            "upload_time_iso_8601": "2023-10-04T09:14:12.916964Z",
            "url": "https://files.pythonhosted.org/packages/23/2a/0ac1d58068d7b6ecc99d2fca9465976601f9e42ec5667fe2ca049705785a/Niram-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-04 09:14:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aswanthabam",
    "github_project": "Niram",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "niram"
}
        
Elapsed time: 0.12741s