Skip to main content

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


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.2.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file PyCrawlerX-0.0.2.tar.gz.

File metadata

  • Download URL: PyCrawlerX-0.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for PyCrawlerX-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5f485b0cf6b61c5fcbde2fc23101edfd3d765cbee9b71d2fd8413ce518dedf4a
MD5 d60133778aa7a82f486f5584518a65db
BLAKE2b-256 da8448b949d504d2883daf7b238702a8a271cc999c195128beec2dfe9fe0b3c3

See more details on using hashes here.

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