little-timmy


Namelittle-timmy JSON
Version 0.6.1 PyPI version JSON
download
home_pageNone
SummaryLittle Timmy will try their best to find those unused Ansible variables.
upload_time2024-07-25 10:13:50
maintainerNone
docs_urlNone
authorHuw
requires_python>=3.9
licenseMIT License Copyright (c) 2024 Huw 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.
            # little-timmy

Little Timmy will try their best to find those unused Ansible variables.

```sh
cd repo/ansible/plays
ansible-galaxy collection install -f -r requirements.yml -p .
ansible-galaxy role install -f -r requirements.yml -p galaxy_roles

pip3 install little-timmy

little-timmy
# or 
python3 -m little_timmy
```

## Config

Additional, optional configuration can be specified in a YAML configuration file named `.little-timmy`.
The file can be located at any level between the current working directory and `/`.

```yaml
skip_vars:
  - vars
  - to
  - ignore
```

## Help

```text
little-timmy -h
usage: little-timmy [-h] [-l LOG_LEVEL] [-c CONFIG_FILE] [directory]

Process a directory path

positional arguments:
  directory             The directory to process

options:
  -h, --help            show this help message and exit
  -l LOG_LEVEL, --log-level LOG_LEVEL
                        set the logging level (default: INFO)
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        Config file to use. By default it will search all dirs to `/` for .little-timmy
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "little-timmy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Huw",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/c0/1b/2baf52d553e10a786155b5034d5211dae4a17d655f9d1e87abded35fcce7/little_timmy-0.6.1.tar.gz",
    "platform": null,
    "description": "# little-timmy\n\nLittle Timmy will try their best to find those unused Ansible variables.\n\n```sh\ncd repo/ansible/plays\nansible-galaxy collection install -f -r requirements.yml -p .\nansible-galaxy role install -f -r requirements.yml -p galaxy_roles\n\npip3 install little-timmy\n\nlittle-timmy\n# or \npython3 -m little_timmy\n```\n\n## Config\n\nAdditional, optional configuration can be specified in a YAML configuration file named `.little-timmy`.\nThe file can be located at any level between the current working directory and `/`.\n\n```yaml\nskip_vars:\n  - vars\n  - to\n  - ignore\n```\n\n## Help\n\n```text\nlittle-timmy -h\nusage: little-timmy [-h] [-l LOG_LEVEL] [-c CONFIG_FILE] [directory]\n\nProcess a directory path\n\npositional arguments:\n  directory             The directory to process\n\noptions:\n  -h, --help            show this help message and exit\n  -l LOG_LEVEL, --log-level LOG_LEVEL\n                        set the logging level (default: INFO)\n  -c CONFIG_FILE, --config-file CONFIG_FILE\n                        Config file to use. By default it will search all dirs to `/` for .little-timmy\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Huw  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": "Little Timmy will try their best to find those unused Ansible variables.",
    "version": "0.6.1",
    "project_urls": {
        "Homepage": "https://github.com/hoo29/little-timmy"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aa16f9285f97a890bfe8cbdaf14244a878028cfe0fae4da5fad3d9d2094e68ec",
                "md5": "5272f9e5031806538bf57f478579a961",
                "sha256": "95bff09ad35ae6769577671024e3c686f4647bd6468e26ff3ab4439a3d05644d"
            },
            "downloads": -1,
            "filename": "little_timmy-0.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5272f9e5031806538bf57f478579a961",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 7573,
            "upload_time": "2024-07-25T10:13:49",
            "upload_time_iso_8601": "2024-07-25T10:13:49.345378Z",
            "url": "https://files.pythonhosted.org/packages/aa/16/f9285f97a890bfe8cbdaf14244a878028cfe0fae4da5fad3d9d2094e68ec/little_timmy-0.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c01b2baf52d553e10a786155b5034d5211dae4a17d655f9d1e87abded35fcce7",
                "md5": "df28bfafdb5e36799bfcf0015c2bf99d",
                "sha256": "f7f13d81c072c384d5eea6b10030d021bb4625a659d2fb53cec1bdb0d2174669"
            },
            "downloads": -1,
            "filename": "little_timmy-0.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "df28bfafdb5e36799bfcf0015c2bf99d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 6200,
            "upload_time": "2024-07-25T10:13:50",
            "upload_time_iso_8601": "2024-07-25T10:13:50.468582Z",
            "url": "https://files.pythonhosted.org/packages/c0/1b/2baf52d553e10a786155b5034d5211dae4a17d655f9d1e87abded35fcce7/little_timmy-0.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-25 10:13:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hoo29",
    "github_project": "little-timmy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "little-timmy"
}
        
Huw
Elapsed time: 0.39794s