Skip to main content

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

hawksoft.tools-1.1.4.tar.gz (4.5 kB view details)

Uploaded Source

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

Hashes for hawksoft.tools-1.1.4.tar.gz
Algorithm Hash digest
SHA256 839a28087214bc0fd8a5cfb54b22c7915264a17dc2ad9e5a73ae30bea7efe6de
MD5 09e1f0995c8cae12fb4bb54f2fa3ad36
BLAKE2b-256 6db5ab8029d8ef36abc542c2305d42bf4c32b0e07be1c873e8606b10995f3db9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.4 This release

1 file

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.1

1 file

1.0.0

1 file

0.2.0

1 file

0.1.3

1 file

0.1.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page