PyCrawlerX is a Python CLI tool to crawl through directories and execute files.
Project description
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"})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyCrawlerX-0.0.4.tar.gz
(4.4 kB
view hashes)