Skip to main content

Create python folders with files automagically!

Project description

# pymkdir

A command line utility to create python folders (folders with ``) to quickly create Python packages without the burden of manually creating new folders and then an `` file in it.

## Python Packages

Python treats folders with an `` as packages which can be used to hold python code. Also, in the init file may contain initialization code for the package.

However… after some time coding in Python, one realizes that creating folders and then creating

a file name `` becomes a burden!

But… worry no more! By using pymkdir, the old unix OS function `mkdir` will be improved to ALSO create automagically the `` file! Yes, no more worries!

## Usage

To create a local pyfolder, use the -f/–folder to create a pyfolder with the desired name:

`bash pymkdir -f <folder_name> `

To create a pyfolder at a given directory, use the -p/–path flag (defaults to `./`):

`bash pymkdir -f <folder_name> -p <path_name> `

And… just in case one becomes SO addicted to pymkdir (which is normal) and wants to start using it to create even normal folders (without the ``), just use the -e/–empty flag!

`bash pymkdir -f <folder_name> -p <path_name> -e `

Then, just enjoy the nice output (hopefully one has an UTF-8 based terminal):

`bash _ . * . 📂 Pymkdir 📂 . * . _ Creating the folder name... Creating the file... Done! `

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymkdir-1.1.tar.gz (2.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page