Skip to content

4akhilkumar/PyCrawlerX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCrawlerX

PyCrawlerX is a Python CLI tool to crawl through directories and execute files.

Installation

python -m pip install pycrawlerx

Example Usage

Read input from command line

import sys
from PyCrawlerX import PyCrawlerX

if __name__ == "__main__":
    pcx = PyCrawlerX()
    code_folder = sys.argv[1]
    pcx.run_pycrawlerx(folder_path = code_folder)

Read input from the script

from PyCrawlerX import PyCrawlerX

if __name__ == "__main__":
    pcx = PyCrawlerX()
    code_folder = './test'
    pcx.run_pycrawlerx(folder_path = code_folder)

Load environment variables

from PyCrawlerX import PyCrawlerX

if __name__ == "__main__":
    pcx = PyCrawlerX()
    code_folder = './test'
    pcx.run_pycrawlerx(folder_path = code_folder)
    pcx.load_environment_variables(key_value = {"key": "value"})

About

PyCrawlerX is a Python CLI tool to crawl through directories and execute files.

Resources

License

Stars

Watchers

Forks

Languages