Skip to main content

Patl helps you in creating a monitorable structure for your files and folder of your big project.

Project description

Patl

Patl is a Python package which helps you in creating a monitorable structure for your files and folder of your big project.

Installing


Install and update using pip:

> pip install patl

A Simple Example


In order to use patl you first have to create a patl.json file in your project's root area.

Inside patl.json you have to structure your files and folder in such a perfect manner that how you wanted to arrange them and afterall we are all doing this is a JSON file we have to follow a certain kind of rules in order to structure our project.

  • Each file and folder's name must be as key holder.

  • Each file's value must be null to recognize it as a file.

e.g: 
    { "index.js" : null }
  • Each folder's value must be {} to recognize it as a folder.
e.g:
    { 
        "empty_folder" : {},
        "folder":{ "index.js" : null } 
    }

After constructing your structure in patl.json file you have to open your terminal and change your current working directory to folder where patl.json file is located.

To Scan Project Layout


Here you have to use -s flag in order to scan files and folders and take it to patl.json file

    path/to/patl.json> patl -s

To Create Project Layout


Here you have to use -c flag in order to create files and folders as you described inside patl.json

    path/to/patl.json> patl -c

To Remove Project Layout


Here you have to use -r flag in order to remove files and folders as you described inside patl.json

    path/to/patl.json> patl -r

Links

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

Patl-0.0.1b0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

Patl-0.0.1b0-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

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