python cli program to organize files
Project description
pygeonhole-cli
pygeonhole-cli is a convenient python package that can list, sort, and customize the contents of the current directory and export the display to a new directory directly from the command line.
Usage
To get help with command-line arguments
pygeonhole-cli --help
Initialize pygeonhole-cli databases
pygeonhole-cli init
Example output
pygeonhole-cli show -d
/Users/betterthan-yesterday/pygeonhole-cli:
# | Name | Mode | Last Modified | Size | Ext. |
---------------------------------------------------------------------------------
1 | tests/ | drwxr-xr-x | 2024-01-05 18:19:26 | -- | -- |
2 | pygeonhole/ | drwxr-xr-x | 2024-01-05 18:15:43 | -- | -- |
3 | requirements.txt | -rw-r--r-- | 2024-01-05 18:11:00 | 61 | .txt |
4 | pyproject.toml | -rw-r--r-- | 2024-01-07 22:07:33 | 788 | .toml |
5 | README.md | -rw-r--r-- | 2024-01-05 18:14:04 | 54 | .md |
6 | setup.py | -rw-r--r-- | 2024-01-07 22:56:50 | 1046 | .py |
7 | LICENSE.txt | -rw-r--r-- | 2024-01-07 22:08:00 | 1076 | .txt |
---------------------------------------------------------------------------------
pygeonhole-cli sort Name
/Users/betterthan-yesterday/pygeonhole-cli:
# | Name | Mode | Last Modified | Size | Ext. |
---------------------------------------------------------------------------------
1 | pygeonhole/ | drwxr-xr-x | 2024-01-05 18:15:43 | -- | -- |
2 | tests/ | drwxr-xr-x | 2024-01-05 18:19:26 | -- | -- |
3 | LICENSE.txt | -rw-r--r-- | 2024-01-07 22:08:00 | 1076 | .txt |
4 | README.md | -rw-r--r-- | 2024-01-05 18:14:04 | 54 | .md |
5 | pyproject.toml | -rw-r--r-- | 2024-01-07 22:07:33 | 788 | .toml |
6 | requirements.txt | -rw-r--r-- | 2024-01-05 18:11:00 | 61 | .txt |
7 | setup.py | -rw-r--r-- | 2024-01-07 22:56:50 | 1046 | .py |
---------------------------------------------------------------------------------
Disclaimer
It is recommended that you install the package in a local virtual env.
First, create an env.
python3 -m venv env_for_pyhcli
activate that env
source env_for_pyhcli/bin/activate
and then pip install.
Installation
The current stable version of pygeonhole-cli is available on PyPI and
can be installed by running pip install pygeonhole-cli
.
Other sources:
- PyPI:
- GitHub:
Note: Compatibility with Windows not yet tested.
Meta
William Pol - polwilliam0@gmail.com
Distributed under the MIT license. See LICENSE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pygeonhole_cli-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3da69e9803258b22f7a062cf4605b95eb725a7baf24133918f154b61fa55a2e |
|
MD5 | 845170ff04400306e8e06c5167bdd3fc |
|
BLAKE2b-256 | 0f35c855a3d9e0fe460e40e4363e367489ccf4adbf343358249e4e520e94eadd |