python3-utils-tdinoto


Namepython3-utils-tdinoto JSON
Version 1.0.13 PyPI version JSON
download
home_page
SummaryUseful wrapper functions for the most common python data types, and for nifti/dicom arrays.
upload_time2024-03-08 15:35:49
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2018 Real Python 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 utils wrappers
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Utils
This repository contains wrapper functions and code snippets for the most common python dtypes. Truth is I'm tired of searching on Stack Overflow the same problems over and over again, so I am just gathering them here :)

### Installation
python_utils_tdinoto is OS independent and compatible with Python >= 3.7. 
To install it, ensure you have python installed and then run:
```python
python3 -m pip install python3_utils_tdinoto
```

### Example usage
```python
>>> from utils_tdinoto.utils_lists import find_common_elements
>>> list_1 = [1, 2, 3]
>>> list_2 = [3, 4, 5]
>>> find_common_elements(list_1, list_2)
[3]

>>> from utils_tdinoto.utils_strings import keep_only_digits
>>> s = 'ses-20221026'
>>> keep_only_digits(s)
'20221046'
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python3-utils-tdinoto",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "utils,wrappers",
    "author": "",
    "author_email": "Tommaso Di Noto <tommydino@hotmail.it>",
    "download_url": "https://files.pythonhosted.org/packages/80/fc/5c4ee28fbaf2c7f0fabe7a883b43acc0fece0d272d0527b9807a9b2be961/python3_utils_tdinoto-1.0.13.tar.gz",
    "platform": null,
    "description": "# Python Utils\r\nThis repository contains wrapper functions and code snippets for the most common python dtypes. Truth is I'm tired of searching on Stack Overflow the same problems over and over again, so I am just gathering them here :)\r\n\r\n### Installation\r\npython_utils_tdinoto is OS independent and compatible with Python >= 3.7. \r\nTo install it, ensure you have python installed and then run:\r\n```python\r\npython3 -m pip install python3_utils_tdinoto\r\n```\r\n\r\n### Example usage\r\n```python\r\n>>> from utils_tdinoto.utils_lists import find_common_elements\r\n>>> list_1 = [1, 2, 3]\r\n>>> list_2 = [3, 4, 5]\r\n>>> find_common_elements(list_1, list_2)\r\n[3]\r\n\r\n>>> from utils_tdinoto.utils_strings import keep_only_digits\r\n>>> s = 'ses-20221026'\r\n>>> keep_only_digits(s)\r\n'20221046'\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2018 Real Python  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": "Useful wrapper functions for the most common python data types, and for nifti/dicom arrays.",
    "version": "1.0.13",
    "project_urls": {
        "Homepage": "https://github.com/tommydino93/python3_utils_tdinoto"
    },
    "split_keywords": [
        "utils",
        "wrappers"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "930e5a25e288ab2652d1718be26f15a6329f5d7602e0a10ae24ddb8fa0e4b1d7",
                "md5": "ac454d43eeac9a2b5a7ac184cd460232",
                "sha256": "734aeb84f5aeb3af4fdffde112d41b16d37592390d7649bb0994381edd60aefd"
            },
            "downloads": -1,
            "filename": "python3_utils_tdinoto-1.0.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ac454d43eeac9a2b5a7ac184cd460232",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 22304,
            "upload_time": "2024-03-08T15:35:47",
            "upload_time_iso_8601": "2024-03-08T15:35:47.860714Z",
            "url": "https://files.pythonhosted.org/packages/93/0e/5a25e288ab2652d1718be26f15a6329f5d7602e0a10ae24ddb8fa0e4b1d7/python3_utils_tdinoto-1.0.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80fc5c4ee28fbaf2c7f0fabe7a883b43acc0fece0d272d0527b9807a9b2be961",
                "md5": "045a56bcc76c6547ac83286771c34ffc",
                "sha256": "16697591b89b4e90ce54e2358d65eb39d3fdd6977e25e515d4de7fe9de918398"
            },
            "downloads": -1,
            "filename": "python3_utils_tdinoto-1.0.13.tar.gz",
            "has_sig": false,
            "md5_digest": "045a56bcc76c6547ac83286771c34ffc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 18601,
            "upload_time": "2024-03-08T15:35:49",
            "upload_time_iso_8601": "2024-03-08T15:35:49.647701Z",
            "url": "https://files.pythonhosted.org/packages/80/fc/5c4ee28fbaf2c7f0fabe7a883b43acc0fece0d272d0527b9807a9b2be961/python3_utils_tdinoto-1.0.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-08 15:35:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tommydino93",
    "github_project": "python3_utils_tdinoto",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "python3-utils-tdinoto"
}
        
Elapsed time: 0.19501s