consolecmdtools


Nameconsolecmdtools JSON
Version 6.6.2 PyPI version JSON
download
home_pageNone
SummaryConsole command tools in Python
upload_time2024-11-30 09:30:14
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseMIT License Copyright (c) 2020 Kyan 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 python console command tool
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyConsoleCMDTools
![PyPI - Downloads](https://img.shields.io/pypi/dm/consolecmdtools)
![GitHub release](https://img.shields.io/github/v/release/kyan001/PyConsoleCMDTools)
[![GitHub license](https://img.shields.io/github/license/kyan001/PyConsoleCMDTools.svg)](https://github.com/kyan001/PyConsoleCMDTools/blob/master/LICENSE)

## Installation

```sh
pip install consolecmdtools  # install
pip install --upgrade consolecmdtools  # update
python -m consolecmdtools  # examples
```

## Get Started

```python
import consolecmdtools as cct
print(cct.__version__)
```

## Functions

```python
>>> cct.banner("hello, world!")  # Generate banner for text
#######################
#    hello, world!    #
#######################

>>> cct.md5("blah blah blah")  # Return md5 hash for text.
'55e562bfee2bde4f9e71b8885eb5e303'

>>> cct.md5(42)  # Return md5 hash for number.
'a1d0c6e83f027327d8461063f4ac58a6'

>>> cct.md5('file.txt')  # Return md5 hash for file.
'd07aa6ddab4d6d2d2891aa9f3625a5db'

>>> cct.md5('file.txt', force_text=True)  # Force to return the md5 has for text, even the file exists.
'3d8e577bddb17db339eae0b3d9bcf180'

>>> cct.crc32("blah blah blah")  # Return crc32 hash for text.
753353432

>>> cct.crc32(42)  # Return crc32 hash for number.
841265288

>>> cct.crc32('file.txt')  # Return crc32 hash for file.
1030388931

>>> cct.crc32('file.txt', force_text=True)  # Force to return the md5 has for text, even the file exists.
3774289445

>>> cct.main_color('image.jpg')  # Get theme color of image.
(152, 156, 69)  # RGB value

>>> cct.main_color('http://image-url/image', is_url=True)  # Get theme color of web image.
(152, 156, 69)  # RGB value

>>> cct.main_color('image.jpg', scale=500)  # Cost more time to generate a preciser color. default scale is 200.
(152, 156, 69)

>>> cct.main_color('image.jpg', triplet='hex')  # Return color in hex triplet format. default mode is 'rgb'.
'#989C45'

>>> cct.clear_screen()  # Clear the console.

>>> cct.get_py_cmd()  # Get python running command for different OS.
'python3'

>>> cct.run_cmd("echo hello")  # Run console command. If the command failed, a warning message echoed. Returns bool.
*
| __RUN COMMAND__________________________
| (Command) echo hello
hello
`

>>> cct.read_cmd("echo hello")  # Run a command and return the output.
| (_command) echo hello
'hello\n'

>>> cct.read_cmd("echo hello", verbose=False)  # Run a command and return the output without verbose.
'hello\n'

>>> cct.read_cmd("notexist")  # If the command failed, a warning message echoed.
| (_command) echo hello
| (Warn) Command Failed:
'Error Messages'

>>> cct.resolve_value(42)  # If the input is not a dict, return itself.
42

>>> cct.resolve_value({"Windows": "win", "Darwin": "macOS", "*": "Linux"})  # Get the value for current platform. `*` is for default.
'Linux'

>>> cct.is_cmd_exist("ls")  # Test if a command is exist.
True

>>> cct.install_package("git")  # Install a package.
True

>>> cct.install_package(name="ping3", manager="pip3")  # Install a package using a different package manager. Options: scoop, choco, brew, port, apt, snap, pip, pip3, pipx.
True

>>> cct.install_package({
    "Windows": "pypy",
    "Darwin": "python",
    "Linux": "python3"
})  # Install a package using different package names for different OS.
True

>>> cct.install_package({
    "Linux": "python3",
    "*": "python"
})  # Install a package using different package names for different OS with a default one.
True

>>> cct.install_package("git", manager={
    "Windows": "choco",
    "Darwin": "port",
    "Linux": "snap",
    "*": "npm"
})  # Install a package using different package managers for different OS with a default one.

>>> cct.get_path("./file.txt")  # Get the absolute path.
Path('/path/to/file.txt')  # Path Object which is a subclass of str.

>>> cct.get_path("./file.txt").split('/')  # Path Object can be used as str.
['path', 'to', 'file.txt']

>>> cct.get_path("./file.txt").path  # Get the original path.
'./file.txt'

>>> cct.get_path("./file.txt").abs  # Get the absolute path. Same as `get_path("./file.txt")` itself.

>>> cct.get_path("./file.txt").exists  # Test if the path exists.
True

>>> cct.get_path("./file.txt").is_file  # Test if the path is a file.
True

>>> cct.get_path("./file.txt").is_dir  # Test if the path is a dir.
False

>>> cct.get_path("/path/to/file.txt").basename  # Get the basename of the file or dir.
'file.txt'

>>> cct.get_path("/path/to/file.txt").ext  # Get the extension of the path. If the path is a dir, return ''.
'txt'

>>> cct.get_path("/path/to/file.txt").stem  # Get the name of the path without extension. If the path is a dir, return its basename.
'file'

>>> cct.get_path("/path/to/file.txt").parent  # Get the parent dir path of the file or dir.
'/path/to'

>>> cct.get_path("/path/to/file.txt").parent.basename  # Get the parent dir path's basename of the file or dir.
'to'

>>> cct.select_path()  # Show file dialog to get file path. Additional args pass to tkinter.filedialog.askopenfilename()
'/path/to/file'

>>> cct.select_path(multiple=True)  # Show file dialog to get multiple file paths.
['/path/to/file1', '/path/to/file2']

>>> cct.select_path(dir=True)  # Show file dialog to get dir path.
'/path/to/dir'

>>> cct.bfs_walk("/path/to/root")  # Get all paths in the root dir using Breadth-first search.
['/path/to/root', '/path/to/root/folder', '/path/to/root/folder/file1', '/path/to/root/folder/file2']

>>> cct.get_paths("/path/to/root", filter=lambda path: path.name.startswith("f"))  # Filter paths and return as list[str]
['/path/to/root/folder', '/path/to/root/folder/file1', '/path/to/root/folder/file2']

>>> cct.ls_tree(root="/path/to/root")  # Show folders and files in a tree.
📂 root\
├──📁 folder\
│   ├──📄 file1
│   ├──📄 file2

>>> cct.ls_tree(root="/path/to/root", show_icon=False, ascii=True)  # Show without icons, using ASCII chars.
root/
|-- folder/
|  |-- file1
|  |-- file2

>>> cct.ls_tree(root="/path/to/root", to_visible=lambda path: path.is_dir())  # Show only folders.
📂 root\
├──📁 folder\

>>> cct.ls_tree(root="/path/to/root", to_highlight=lambda path: path.name == "file1")  # Highlight certain file.
📂 root\
├──📁 folder\
│   ├──📄 file1  # highlighted
│   ├──📄 file2

>>> cct.ls_tree(root="/path/to/root", add_suffix=lambda path: "(current)" if pathe.name == "file1" else "")  # Add suffix to path name.
📂 root\
├──📁 folder\
│   ├──📄 file1 (current)
│   ├──📄 file2

>>> cct.show_in_file_manager("/path/to/file")  # Show file in Explorer/Finder/File Manager.

>>> cct.show_in_file_manager("/path/to/file", ask=True)  # Ask before show.

>>> cct.diff("str1", "str2")  # Compare 2 strings, return the list of diffs.
[  # you can use `"\n".join(diff)` to print the diff.
    "-str1",
    "+str2"
]

>>> cct.diff("str1", "str2", meta=True)  # show meta data in the first 3 lines.
[
    "--- <class 'str'>",
    "+++ <class 'str'>",
    "@@ -1 +1 @@",
    "-str1",
    "+str2"
]


>>> cct.diff(["a", "b"], ["a", "b", "c"])  # Compare 2 lists and print diffs.
[
    "+c"
]

>>> cct.diff(["a", "b"], ["a", "b", "c"], context=2)  # Show diffs with 2 extra context lines.
[
    " a",  # context line
    " b",  # context line
    "+c"  # diff
]

>>> cct.diff("/path/to/file1", "/path/to/file2")  # Compare between 2 files.

>>> cct.diff("/path/to/file1", "str")  # Compare between file and str/list.

>>> cct.diff('str', 'str')  # If no diff, return [].
[]

>>> cct.update_file('file', 'http://file-url')  # Update file if the file is not as same as url content.
False  # if already up-to-date.

>>> cct.read_file('file')  # Read file using different encoding automatically.
"file content"

>>> cct.move_file("/path/to/src", "/path/to/dst")  # Move file from src to dst, overwrite if dst already exists.

>>> cct.move_file("/path/to/src", "/path/to/dst", copy=True)  # Copy file from src to dst.

>>> cct.move_file("/path/to/src", "/path/to/dst", backup=True)  # Backup dst file before move or copy.

>>> cct.move_file("/path/to/src", "/path/to/dst", ensure=True)  # Ensure the dst dir exists before move or copy.

>>> cct.move_file("/path/to/src", "/path/to/dst", msgout=print)  # Use `print` to handle output logs.

>>> cct.copy_file("/path/to/src", "/path/to/dst")  # Copy file from src to dst. Same as `move_file(src, dst, copy=True)`.

>>> cct.ajax('http://ajax-url')  # Start a AJAX request.
{'result': 'data'}  # As python dict.

>>> cct.ajax('http://ajax-url', {'data': 'value'})  # AJAX request with param.
{'result': 'data'}

>>> cct.ajax('http://ajax-url', method='post')  # AJAX request using post. default is 'get'.
{'result': 'data'}

>>> if not cct.is_admin():  # Check does the script has admin privileges.
...     cct.runas_admin(__file__)  # run the script with admin privileges.
... else:
...     # your code here
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "consolecmdtools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "python, console, command, tool",
    "author": null,
    "author_email": "Kyan <kai@kyan001.com>",
    "download_url": "https://files.pythonhosted.org/packages/6b/3d/12f7288fd961f9c235256e2f87d526d7268e2cc7fb86da2fe224384f5d84/consolecmdtools-6.6.2.tar.gz",
    "platform": null,
    "description": "# PyConsoleCMDTools\r\n![PyPI - Downloads](https://img.shields.io/pypi/dm/consolecmdtools)\r\n![GitHub release](https://img.shields.io/github/v/release/kyan001/PyConsoleCMDTools)\r\n[![GitHub license](https://img.shields.io/github/license/kyan001/PyConsoleCMDTools.svg)](https://github.com/kyan001/PyConsoleCMDTools/blob/master/LICENSE)\r\n\r\n## Installation\r\n\r\n```sh\r\npip install consolecmdtools  # install\r\npip install --upgrade consolecmdtools  # update\r\npython -m consolecmdtools  # examples\r\n```\r\n\r\n## Get Started\r\n\r\n```python\r\nimport consolecmdtools as cct\r\nprint(cct.__version__)\r\n```\r\n\r\n## Functions\r\n\r\n```python\r\n>>> cct.banner(\"hello, world!\")  # Generate banner for text\r\n#######################\r\n#    hello, world!    #\r\n#######################\r\n\r\n>>> cct.md5(\"blah blah blah\")  # Return md5 hash for text.\r\n'55e562bfee2bde4f9e71b8885eb5e303'\r\n\r\n>>> cct.md5(42)  # Return md5 hash for number.\r\n'a1d0c6e83f027327d8461063f4ac58a6'\r\n\r\n>>> cct.md5('file.txt')  # Return md5 hash for file.\r\n'd07aa6ddab4d6d2d2891aa9f3625a5db'\r\n\r\n>>> cct.md5('file.txt', force_text=True)  # Force to return the md5 has for text, even the file exists.\r\n'3d8e577bddb17db339eae0b3d9bcf180'\r\n\r\n>>> cct.crc32(\"blah blah blah\")  # Return crc32 hash for text.\r\n753353432\r\n\r\n>>> cct.crc32(42)  # Return crc32 hash for number.\r\n841265288\r\n\r\n>>> cct.crc32('file.txt')  # Return crc32 hash for file.\r\n1030388931\r\n\r\n>>> cct.crc32('file.txt', force_text=True)  # Force to return the md5 has for text, even the file exists.\r\n3774289445\r\n\r\n>>> cct.main_color('image.jpg')  # Get theme color of image.\r\n(152, 156, 69)  # RGB value\r\n\r\n>>> cct.main_color('http://image-url/image', is_url=True)  # Get theme color of web image.\r\n(152, 156, 69)  # RGB value\r\n\r\n>>> cct.main_color('image.jpg', scale=500)  # Cost more time to generate a preciser color. default scale is 200.\r\n(152, 156, 69)\r\n\r\n>>> cct.main_color('image.jpg', triplet='hex')  # Return color in hex triplet format. default mode is 'rgb'.\r\n'#989C45'\r\n\r\n>>> cct.clear_screen()  # Clear the console.\r\n\r\n>>> cct.get_py_cmd()  # Get python running command for different OS.\r\n'python3'\r\n\r\n>>> cct.run_cmd(\"echo hello\")  # Run console command. If the command failed, a warning message echoed. Returns bool.\r\n*\r\n| __RUN COMMAND__________________________\r\n| (Command) echo hello\r\nhello\r\n`\r\n\r\n>>> cct.read_cmd(\"echo hello\")  # Run a command and return the output.\r\n| (_command) echo hello\r\n'hello\\n'\r\n\r\n>>> cct.read_cmd(\"echo hello\", verbose=False)  # Run a command and return the output without verbose.\r\n'hello\\n'\r\n\r\n>>> cct.read_cmd(\"notexist\")  # If the command failed, a warning message echoed.\r\n| (_command) echo hello\r\n| (Warn) Command Failed:\r\n'Error Messages'\r\n\r\n>>> cct.resolve_value(42)  # If the input is not a dict, return itself.\r\n42\r\n\r\n>>> cct.resolve_value({\"Windows\": \"win\", \"Darwin\": \"macOS\", \"*\": \"Linux\"})  # Get the value for current platform. `*` is for default.\r\n'Linux'\r\n\r\n>>> cct.is_cmd_exist(\"ls\")  # Test if a command is exist.\r\nTrue\r\n\r\n>>> cct.install_package(\"git\")  # Install a package.\r\nTrue\r\n\r\n>>> cct.install_package(name=\"ping3\", manager=\"pip3\")  # Install a package using a different package manager. Options: scoop, choco, brew, port, apt, snap, pip, pip3, pipx.\r\nTrue\r\n\r\n>>> cct.install_package({\r\n    \"Windows\": \"pypy\",\r\n    \"Darwin\": \"python\",\r\n    \"Linux\": \"python3\"\r\n})  # Install a package using different package names for different OS.\r\nTrue\r\n\r\n>>> cct.install_package({\r\n    \"Linux\": \"python3\",\r\n    \"*\": \"python\"\r\n})  # Install a package using different package names for different OS with a default one.\r\nTrue\r\n\r\n>>> cct.install_package(\"git\", manager={\r\n    \"Windows\": \"choco\",\r\n    \"Darwin\": \"port\",\r\n    \"Linux\": \"snap\",\r\n    \"*\": \"npm\"\r\n})  # Install a package using different package managers for different OS with a default one.\r\n\r\n>>> cct.get_path(\"./file.txt\")  # Get the absolute path.\r\nPath('/path/to/file.txt')  # Path Object which is a subclass of str.\r\n\r\n>>> cct.get_path(\"./file.txt\").split('/')  # Path Object can be used as str.\r\n['path', 'to', 'file.txt']\r\n\r\n>>> cct.get_path(\"./file.txt\").path  # Get the original path.\r\n'./file.txt'\r\n\r\n>>> cct.get_path(\"./file.txt\").abs  # Get the absolute path. Same as `get_path(\"./file.txt\")` itself.\r\n\r\n>>> cct.get_path(\"./file.txt\").exists  # Test if the path exists.\r\nTrue\r\n\r\n>>> cct.get_path(\"./file.txt\").is_file  # Test if the path is a file.\r\nTrue\r\n\r\n>>> cct.get_path(\"./file.txt\").is_dir  # Test if the path is a dir.\r\nFalse\r\n\r\n>>> cct.get_path(\"/path/to/file.txt\").basename  # Get the basename of the file or dir.\r\n'file.txt'\r\n\r\n>>> cct.get_path(\"/path/to/file.txt\").ext  # Get the extension of the path. If the path is a dir, return ''.\r\n'txt'\r\n\r\n>>> cct.get_path(\"/path/to/file.txt\").stem  # Get the name of the path without extension. If the path is a dir, return its basename.\r\n'file'\r\n\r\n>>> cct.get_path(\"/path/to/file.txt\").parent  # Get the parent dir path of the file or dir.\r\n'/path/to'\r\n\r\n>>> cct.get_path(\"/path/to/file.txt\").parent.basename  # Get the parent dir path's basename of the file or dir.\r\n'to'\r\n\r\n>>> cct.select_path()  # Show file dialog to get file path. Additional args pass to tkinter.filedialog.askopenfilename()\r\n'/path/to/file'\r\n\r\n>>> cct.select_path(multiple=True)  # Show file dialog to get multiple file paths.\r\n['/path/to/file1', '/path/to/file2']\r\n\r\n>>> cct.select_path(dir=True)  # Show file dialog to get dir path.\r\n'/path/to/dir'\r\n\r\n>>> cct.bfs_walk(\"/path/to/root\")  # Get all paths in the root dir using Breadth-first search.\r\n['/path/to/root', '/path/to/root/folder', '/path/to/root/folder/file1', '/path/to/root/folder/file2']\r\n\r\n>>> cct.get_paths(\"/path/to/root\", filter=lambda path: path.name.startswith(\"f\"))  # Filter paths and return as list[str]\r\n['/path/to/root/folder', '/path/to/root/folder/file1', '/path/to/root/folder/file2']\r\n\r\n>>> cct.ls_tree(root=\"/path/to/root\")  # Show folders and files in a tree.\r\n\ud83d\udcc2 root\\\r\n\u251c\u2500\u2500\ud83d\udcc1 folder\\\r\n\u2502   \u251c\u2500\u2500\ud83d\udcc4 file1\r\n\u2502   \u251c\u2500\u2500\ud83d\udcc4 file2\r\n\r\n>>> cct.ls_tree(root=\"/path/to/root\", show_icon=False, ascii=True)  # Show without icons, using ASCII chars.\r\nroot/\r\n|-- folder/\r\n|  |-- file1\r\n|  |-- file2\r\n\r\n>>> cct.ls_tree(root=\"/path/to/root\", to_visible=lambda path: path.is_dir())  # Show only folders.\r\n\ud83d\udcc2 root\\\r\n\u251c\u2500\u2500\ud83d\udcc1 folder\\\r\n\r\n>>> cct.ls_tree(root=\"/path/to/root\", to_highlight=lambda path: path.name == \"file1\")  # Highlight certain file.\r\n\ud83d\udcc2 root\\\r\n\u251c\u2500\u2500\ud83d\udcc1 folder\\\r\n\u2502   \u251c\u2500\u2500\ud83d\udcc4 file1  # highlighted\r\n\u2502   \u251c\u2500\u2500\ud83d\udcc4 file2\r\n\r\n>>> cct.ls_tree(root=\"/path/to/root\", add_suffix=lambda path: \"(current)\" if pathe.name == \"file1\" else \"\")  # Add suffix to path name.\r\n\ud83d\udcc2 root\\\r\n\u251c\u2500\u2500\ud83d\udcc1 folder\\\r\n\u2502   \u251c\u2500\u2500\ud83d\udcc4 file1 (current)\r\n\u2502   \u251c\u2500\u2500\ud83d\udcc4 file2\r\n\r\n>>> cct.show_in_file_manager(\"/path/to/file\")  # Show file in Explorer/Finder/File Manager.\r\n\r\n>>> cct.show_in_file_manager(\"/path/to/file\", ask=True)  # Ask before show.\r\n\r\n>>> cct.diff(\"str1\", \"str2\")  # Compare 2 strings, return the list of diffs.\r\n[  # you can use `\"\\n\".join(diff)` to print the diff.\r\n    \"-str1\",\r\n    \"+str2\"\r\n]\r\n\r\n>>> cct.diff(\"str1\", \"str2\", meta=True)  # show meta data in the first 3 lines.\r\n[\r\n    \"--- <class 'str'>\",\r\n    \"+++ <class 'str'>\",\r\n    \"@@ -1 +1 @@\",\r\n    \"-str1\",\r\n    \"+str2\"\r\n]\r\n\r\n\r\n>>> cct.diff([\"a\", \"b\"], [\"a\", \"b\", \"c\"])  # Compare 2 lists and print diffs.\r\n[\r\n    \"+c\"\r\n]\r\n\r\n>>> cct.diff([\"a\", \"b\"], [\"a\", \"b\", \"c\"], context=2)  # Show diffs with 2 extra context lines.\r\n[\r\n    \" a\",  # context line\r\n    \" b\",  # context line\r\n    \"+c\"  # diff\r\n]\r\n\r\n>>> cct.diff(\"/path/to/file1\", \"/path/to/file2\")  # Compare between 2 files.\r\n\r\n>>> cct.diff(\"/path/to/file1\", \"str\")  # Compare between file and str/list.\r\n\r\n>>> cct.diff('str', 'str')  # If no diff, return [].\r\n[]\r\n\r\n>>> cct.update_file('file', 'http://file-url')  # Update file if the file is not as same as url content.\r\nFalse  # if already up-to-date.\r\n\r\n>>> cct.read_file('file')  # Read file using different encoding automatically.\r\n\"file content\"\r\n\r\n>>> cct.move_file(\"/path/to/src\", \"/path/to/dst\")  # Move file from src to dst, overwrite if dst already exists.\r\n\r\n>>> cct.move_file(\"/path/to/src\", \"/path/to/dst\", copy=True)  # Copy file from src to dst.\r\n\r\n>>> cct.move_file(\"/path/to/src\", \"/path/to/dst\", backup=True)  # Backup dst file before move or copy.\r\n\r\n>>> cct.move_file(\"/path/to/src\", \"/path/to/dst\", ensure=True)  # Ensure the dst dir exists before move or copy.\r\n\r\n>>> cct.move_file(\"/path/to/src\", \"/path/to/dst\", msgout=print)  # Use `print` to handle output logs.\r\n\r\n>>> cct.copy_file(\"/path/to/src\", \"/path/to/dst\")  # Copy file from src to dst. Same as `move_file(src, dst, copy=True)`.\r\n\r\n>>> cct.ajax('http://ajax-url')  # Start a AJAX request.\r\n{'result': 'data'}  # As python dict.\r\n\r\n>>> cct.ajax('http://ajax-url', {'data': 'value'})  # AJAX request with param.\r\n{'result': 'data'}\r\n\r\n>>> cct.ajax('http://ajax-url', method='post')  # AJAX request using post. default is 'get'.\r\n{'result': 'data'}\r\n\r\n>>> if not cct.is_admin():  # Check does the script has admin privileges.\r\n...     cct.runas_admin(__file__)  # run the script with admin privileges.\r\n... else:\r\n...     # your code here\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2020 Kyan  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": "Console command tools in Python",
    "version": "6.6.2",
    "project_urls": {
        "Homepage": "https://github.com/kyan001/PyConsoleCMDTools",
        "Issue Tracker": "https://github.com/kyan001/PyConsoleCMDTools/issues",
        "Source Code": "https://github.com/kyan001/PyConsoleCMDTools"
    },
    "split_keywords": [
        "python",
        " console",
        " command",
        " tool"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "76cc771e447e724d94e28412ab7703716012b21ddb577bcf9db4dbec30574564",
                "md5": "a2e97c2ead055b0982d55df7101f0000",
                "sha256": "011317a4936a77dc70eecc6985f8310dc26d1890dceda09a4054047ee2a598fd"
            },
            "downloads": -1,
            "filename": "consolecmdtools-6.6.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a2e97c2ead055b0982d55df7101f0000",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 15184,
            "upload_time": "2024-11-30T09:29:55",
            "upload_time_iso_8601": "2024-11-30T09:29:55.540181Z",
            "url": "https://files.pythonhosted.org/packages/76/cc/771e447e724d94e28412ab7703716012b21ddb577bcf9db4dbec30574564/consolecmdtools-6.6.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b3d12f7288fd961f9c235256e2f87d526d7268e2cc7fb86da2fe224384f5d84",
                "md5": "d4aca457bed30e2f9a0837f9952b5918",
                "sha256": "c230c13d24f62f50df55c4b1662d79ab82ec0229d3bc0f31ece03c5c270a3904"
            },
            "downloads": -1,
            "filename": "consolecmdtools-6.6.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d4aca457bed30e2f9a0837f9952b5918",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 20901,
            "upload_time": "2024-11-30T09:30:14",
            "upload_time_iso_8601": "2024-11-30T09:30:14.240360Z",
            "url": "https://files.pythonhosted.org/packages/6b/3d/12f7288fd961f9c235256e2f87d526d7268e2cc7fb86da2fe224384f5d84/consolecmdtools-6.6.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-30 09:30:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kyan001",
    "github_project": "PyConsoleCMDTools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "consolecmdtools"
}
        
Elapsed time: 0.38856s