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 details)
File details
Details for the file PyCrawlerX-0.0.4.tar.gz
.
File metadata
- Download URL: PyCrawlerX-0.0.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e13737c6f3cd1f41c3c0f591c3a5ffcf0a7266bdccbac182e75cae1473008a |
|
MD5 | a3daf53d90a7f23be2afa3733ef355e6 |
|
BLAKE2b-256 | a749ac40f89535faf41df72c3405a1e5e86458e5191f84af56d602ed31d09aac |