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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file Patl-0.0.1b0.tar.gz.

File metadata

  • Download URL: Patl-0.0.1b0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2

File hashes

Hashes for Patl-0.0.1b0.tar.gz
Algorithm Hash digest
SHA256 7dccbe98625109c42a06f040c72568668d9b6086ef1db3598e8d7e28772eafa5
MD5 2280029f394277f19398056c3ecba379
BLAKE2b-256 e9771475b1932514739776b047fe2654fcf87aa9cc0416e33da8ca45018e40a3

See more details on using hashes here.

File details

Details for the file Patl-0.0.1b0-py3-none-any.whl.

File metadata

  • Download URL: Patl-0.0.1b0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2

File hashes

Hashes for Patl-0.0.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e659d5127b0733205029499d23178eea6a2d01c1fb19886afef162fd31e68c1
MD5 31dcd976212ac223b173c2706bdb19e8
BLAKE2b-256 e359c2fee1433b9d93b25eb74587bfd2d4bcf5b5dc2b4eab1c5f68bca5f8803a

See more details on using hashes here.

Supported by

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