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
File details
Details for the file pygeonhole-cli-1.0.0.tar.gz
.
File metadata
- Download URL: pygeonhole-cli-1.0.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d1d7ee8b4f38bb5ae1f2478daff24ceb9715803598c63fb87793795b1a81c86 |
|
MD5 | bc7eff913a52931c37fdbe0c4f8b7037 |
|
BLAKE2b-256 | d6db4d2f07359386afcd60d693d195d961915dab583361e26f01ab7fee5713c6 |
File details
Details for the file pygeonhole_cli-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pygeonhole_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3da69e9803258b22f7a062cf4605b95eb725a7baf24133918f154b61fa55a2e |
|
MD5 | 845170ff04400306e8e06c5167bdd3fc |
|
BLAKE2b-256 | 0f35c855a3d9e0fe460e40e4363e367489ccf4adbf343358249e4e520e94eadd |