rsbox


Namersbox JSON
Version 0.0.15 PyPI version JSON
download
home_page
SummaryA toolbox of utility functions I commonly use when programming in Python.
upload_time2023-05-29 00:15:42
maintainer
docs_urlNone
author
requires_python>=3.7
licenseCopyright (c) 2018 The Python Packaging Authority Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # `rsbox`: Utility Toolbox

([Github](https://github.com/rosikand/rsbox) | [PyPI](https://pypi.org/project/rsbox) | [Documentation](https://rosikand.github.io/rsbox/))

A toolbox of utility functions [I](http://rosikand.github.io/) commonly use when programming in Python. Includes mostly machine learning utilities. 

The full API consists of importable functions from modules located in `src/rsbox/`. Functions are documented via docstrings under the function header. An HTML front-end documentation for the API is available [here](https://rosikand.github.io/rsbox/).

## Installation 

```
$ pip install rsbox
```

## Examples 

Here are some highlighted functions: 

```python
import rsbox
from rsbox import ml, misc

ml.print_model_size(pytorch_net)
current_time_in_string = misc.timestamp()
dataset = ml.image_dir_to_data(dirpath="./data", extension='png')
img_np_array = ml.get_img(url='https://stanford.edu/~rsikand/assets/images/seal.png')  
ml.plot(img_np_array)
```

<img width="200" alt="image" src="https://user-images.githubusercontent.com/57341225/190890819-6b4a5266-2f21-4703-a70e-e18358f5c247.png">





## Modules 

The modules are located in `src/rsbox/`

- `ml.py`: machine learning programming utilities. 
- `misc.py`: misc. utilities. 

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "rsbox",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Rohan Sikand <rsikand29@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a2/38/53d4f9c09bf081bb6aeb9d737ee84302f3986b18c6f301a6df67d002c8a9/rsbox-0.0.15.tar.gz",
    "platform": null,
    "description": "# `rsbox`: Utility Toolbox\n\n([Github](https://github.com/rosikand/rsbox) | [PyPI](https://pypi.org/project/rsbox) | [Documentation](https://rosikand.github.io/rsbox/))\n\nA toolbox of utility functions [I](http://rosikand.github.io/) commonly use when programming in Python. Includes mostly machine learning utilities. \n\nThe full API consists of importable functions from modules located in `src/rsbox/`. Functions are documented via docstrings under the function header. An HTML front-end documentation for the API is available [here](https://rosikand.github.io/rsbox/).\n\n## Installation \n\n```\n$ pip install rsbox\n```\n\n## Examples \n\nHere are some highlighted functions: \n\n```python\nimport rsbox\nfrom rsbox import ml, misc\n\nml.print_model_size(pytorch_net)\ncurrent_time_in_string = misc.timestamp()\ndataset = ml.image_dir_to_data(dirpath=\"./data\", extension='png')\nimg_np_array = ml.get_img(url='https://stanford.edu/~rsikand/assets/images/seal.png')  \nml.plot(img_np_array)\n```\n\n<img width=\"200\" alt=\"image\" src=\"https://user-images.githubusercontent.com/57341225/190890819-6b4a5266-2f21-4703-a70e-e18358f5c247.png\">\n\n\n\n\n\n## Modules \n\nThe modules are located in `src/rsbox/`\n\n- `ml.py`: machine learning programming utilities. \n- `misc.py`: misc. utilities. \n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2018 The Python Packaging Authority  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A toolbox of utility functions I commonly use when programming in Python.",
    "version": "0.0.15",
    "project_urls": {
        "Homepage": "https://github.com/rosikand/rsbox"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e02be57dac911b725ffe768f4b9412a00a6ba5cf08a018b18517a361f04fc96a",
                "md5": "0666d2c7ffe9b1c503f663665f1ea2ae",
                "sha256": "dae72b1b66b8b8f33fe062eb871fc4d95185b03af7897a5c868f8af2856c0936"
            },
            "downloads": -1,
            "filename": "rsbox-0.0.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0666d2c7ffe9b1c503f663665f1ea2ae",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 8990,
            "upload_time": "2023-05-29T00:15:41",
            "upload_time_iso_8601": "2023-05-29T00:15:41.339653Z",
            "url": "https://files.pythonhosted.org/packages/e0/2b/e57dac911b725ffe768f4b9412a00a6ba5cf08a018b18517a361f04fc96a/rsbox-0.0.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a23853d4f9c09bf081bb6aeb9d737ee84302f3986b18c6f301a6df67d002c8a9",
                "md5": "3c23c6c5d31effbf80265a5d63863ff8",
                "sha256": "de8e7a14ea04575de13afccda8d32a834be03a21261b5eb60ed322401d052256"
            },
            "downloads": -1,
            "filename": "rsbox-0.0.15.tar.gz",
            "has_sig": false,
            "md5_digest": "3c23c6c5d31effbf80265a5d63863ff8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 9669,
            "upload_time": "2023-05-29T00:15:42",
            "upload_time_iso_8601": "2023-05-29T00:15:42.610613Z",
            "url": "https://files.pythonhosted.org/packages/a2/38/53d4f9c09bf081bb6aeb9d737ee84302f3986b18c6f301a6df67d002c8a9/rsbox-0.0.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-29 00:15:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rosikand",
    "github_project": "rsbox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "rsbox"
}
        
Elapsed time: 0.06946s