kfutils


Namekfutils JSON
Version 0.1.7 PyPI version JSON
download
home_page
SummaryA tool for common data file operation.
upload_time2023-08-13 15:53:46
maintainer
docs_urlNone
authorKoushik Naskar
requires_python>=3.6
licenseMIT
keywords file operations
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## `kfutils`: A tool for common data file operations.
[![Alt text](https://img.shields.io/pypi/v/kfutils.svg?logo=pypi)](https://pypi.org/project/kfutils/)
[![Alt text](https://img.shields.io/pypi/pyversions/kfutils.svg?logo=python)](https://pypi.org/project/kfutils/)
[![Alt text](https://img.shields.io/pypi/dm/kfutils.svg)](https://pypi.org/project/kfutils/)
[![Alt text](https://img.shields.io/pypi/l/kfutils.svg)](https://pypi.org/project/kfutils/)
[![Alt text](https://img.shields.io/pypi/status/kfutils.svg)](https://pypi.org/project/kfutils/)
[![Alt text](https://github.com/koushikphy/kfutils/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Koushikphy/kfutils/releases/latest)


### ⚒ Instalation
Download and install the latest package from the [release section](https://github.com/Koushikphy/kfutils/releases/latest) or directly by pip
```bash
pip install kfutils
```
This installs the python module and a command line tool named `kfutils`.  



### ⚡ Usage 

 __✈ Using as a command line tool.__
```bash
kutils [-h] -i FILE [-o FILE] [-c COLS [COLS ...]] [-rd COLS [COLS ...]] [-dr COLS [COLS ...]] [-dc COLS [COLS ...]] [-int N [N ...]] [-mir N] [-rep N]
```

| Argument    |  Description|
| ----------- | ----------- 
|    `-i`     | Input file name <br>If no operations are given it will show the stats about the file |
|    `-o`     | Output file name. (default: '_out' prefix to input file name) | 
|    `-c`     | Index(s) of grid columns. 2 columns for 2D file | 
|    `-rd`    | Index(s) of columns to convert to degree from radian |
|    `-dr`    | Index(s) of columns to convert to radian from degree |
|    `-dc`    | Index(s) of columns to delete |
|    `-int`   | Number of grid to interpolate to. Can be 1D or 2D |  
|    `-mir`   | Number of times to mirror |  
|    `-rep`   | Number of times to repeat |  



 __🚀 Using as a python module__  
The toplevel python module `kfutils` exposes several functions/class.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "kfutils",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "File Operations",
    "author": "Koushik Naskar",
    "author_email": "koushik.naskar9@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/80/8d/0f717f1fde0c53033aeac5e6b3aab348501d1ce9494bced35b69bd0da158/kfutils-0.1.7.tar.gz",
    "platform": null,
    "description": "## `kfutils`: A tool for common data file operations.\n[![Alt text](https://img.shields.io/pypi/v/kfutils.svg?logo=pypi)](https://pypi.org/project/kfutils/)\n[![Alt text](https://img.shields.io/pypi/pyversions/kfutils.svg?logo=python)](https://pypi.org/project/kfutils/)\n[![Alt text](https://img.shields.io/pypi/dm/kfutils.svg)](https://pypi.org/project/kfutils/)\n[![Alt text](https://img.shields.io/pypi/l/kfutils.svg)](https://pypi.org/project/kfutils/)\n[![Alt text](https://img.shields.io/pypi/status/kfutils.svg)](https://pypi.org/project/kfutils/)\n[![Alt text](https://github.com/koushikphy/kfutils/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Koushikphy/kfutils/releases/latest)\n\n\n### \u2692 Instalation\nDownload and install the latest package from the [release section](https://github.com/Koushikphy/kfutils/releases/latest) or directly by pip\n```bash\npip install kfutils\n```\nThis installs the python module and a command line tool named `kfutils`.  \n\n\n\n### \u26a1 Usage \n\n __\u2708 Using as a command line tool.__\n```bash\nkutils [-h] -i FILE [-o FILE] [-c COLS [COLS ...]] [-rd COLS [COLS ...]] [-dr COLS [COLS ...]] [-dc COLS [COLS ...]] [-int N [N ...]] [-mir N] [-rep N]\n```\n\n| Argument    |  Description|\n| ----------- | ----------- \n|    `-i`     | Input file name <br>If no operations are given it will show the stats about the file |\n|    `-o`     | Output file name. (default: '_out' prefix to input file name) | \n|    `-c`     | Index(s) of grid columns. 2 columns for 2D file | \n|    `-rd`    | Index(s) of columns to convert to degree from radian |\n|    `-dr`    | Index(s) of columns to convert to radian from degree |\n|    `-dc`    | Index(s) of columns to delete |\n|    `-int`   | Number of grid to interpolate to. Can be 1D or 2D |  \n|    `-mir`   | Number of times to mirror |  \n|    `-rep`   | Number of times to repeat |  \n\n\n\n __\ud83d\ude80 Using as a python module__  \nThe toplevel python module `kfutils` exposes several functions/class.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A tool for common data file operation.",
    "version": "0.1.7",
    "project_urls": {
        "Source Code": "https://github.com/Koushikphy/kfutils"
    },
    "split_keywords": [
        "file",
        "operations"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f593cea321a29ba812617bbdd2345aa16100929e63b6668df88cc4ca4cfe88df",
                "md5": "3cf92fc67347dffed64d51bea885e32f",
                "sha256": "a398a4f882e345f2604f4c93bdfd0c9add200bf9731195c89096784c0c8c4aef"
            },
            "downloads": -1,
            "filename": "kfutils-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3cf92fc67347dffed64d51bea885e32f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 7549,
            "upload_time": "2023-08-13T15:53:45",
            "upload_time_iso_8601": "2023-08-13T15:53:45.391040Z",
            "url": "https://files.pythonhosted.org/packages/f5/93/cea321a29ba812617bbdd2345aa16100929e63b6668df88cc4ca4cfe88df/kfutils-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "808d0f717f1fde0c53033aeac5e6b3aab348501d1ce9494bced35b69bd0da158",
                "md5": "258408a60dc89ca074c27cfa9122af25",
                "sha256": "07da0b2119ae9e62f731403e770fc5c7a44c906ed5a5397daab157b053b6b841"
            },
            "downloads": -1,
            "filename": "kfutils-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "258408a60dc89ca074c27cfa9122af25",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 6465,
            "upload_time": "2023-08-13T15:53:46",
            "upload_time_iso_8601": "2023-08-13T15:53:46.751167Z",
            "url": "https://files.pythonhosted.org/packages/80/8d/0f717f1fde0c53033aeac5e6b3aab348501d1ce9494bced35b69bd0da158/kfutils-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-13 15:53:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Koushikphy",
    "github_project": "kfutils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "kfutils"
}
        
Elapsed time: 0.10051s