hawksoft.tools package
Provides many useful command line in python.
Now includes:
- md2zhihu: convert md file with math formula to zhihu-compatible file.
- tree: show directory as tree graph.
- selmv: move file with specified extensions from source directory to destine directory.
- rename: rename all file with special extension to new name.
Installation:
pip install hawksoft.tools
usage:
md2zhihu
Installation will add a new command line: md2zhihu. you can use it like this:
md2zhihu sourceFilename destineFilename
or
md2zhihu sourceFilename destineDirectory
The command will create a new file which can be imported to zhihu website.
tree
Installation will add a new command line: tree. you can use it like this:
tree
or
tree [diretory]
The command will show the directory as tree graph.
selmv
Installation will add a new command line: selmv. you can use it as following:
selmv extension fromDirectory toDirectory
The command line will move all files with specified extension from fromDirectory to toDirectory, involving all the files in sub-fromDirectory.
rename
Installation will add a new command line:rename. you can use it as following:
rename extension fromDirectory newName
The command line will rename all files with specified extension , involving all the files in sub-fromDirectory.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hawksoft.tools-1.1.4.tar.gz.
File metadata
- Download URL: hawksoft.tools-1.1.4.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
839a28087214bc0fd8a5cfb54b22c7915264a17dc2ad9e5a73ae30bea7efe6de
|
|
| MD5 |
09e1f0995c8cae12fb4bb54f2fa3ad36
|
|
| BLAKE2b-256 |
6db5ab8029d8ef36abc542c2305d42bf4c32b0e07be1c873e8606b10995f3db9
|