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

Uploaded Source

File details

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

File metadata

  • Download URL: PyCrawlerX-0.0.1.tar.gz
  • Upload date:
  • Size: 4.3 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.1.tar.gz
Algorithm Hash digest
SHA256 f82e99133ed3a7d7e9c4d68ef6b04b7e14876425a0cd84bf1108dc30db03b8a4
MD5 821296a21ea0cfce9eb14d1e75786bb4
BLAKE2b-256 c004bcc3f3cef359b89e70f223a06b4d56242fe5fdef93b22d3e5b571117049e

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