Skip to main content

Scans file or folder to be scanned for containing Python 2 code.

Project description

Splunk Python 2 Checker

Checks for occurances of Python2 files in a given folder structure. The program recursively traverses the folder structure, and if a .py file is encountered, it is compiled with Python3.9.

Please make sure to have Python 3.9 installed, since this program specifically uses Python 3.9 to compile the files.

Installation

pip install splupy2check

Usage

splupy2check [-h] [-o OUTPUT] [-v] input
positional arguments:
  input                 File or folder to be scanned for containing Python 2 code.

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Stores program output in a file.
  -v, --version         Prints the version.

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

splupy2check-1.0.7.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

splupy2check-1.0.7-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file splupy2check-1.0.7.tar.gz.

File metadata

  • Download URL: splupy2check-1.0.7.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for splupy2check-1.0.7.tar.gz
Algorithm Hash digest
SHA256 216a1624a82379d084ef345fcff925d544d402424f57164f1a0c2f63ba537de1
MD5 921c9f2f1d86283afbd50bf4e04eca14
BLAKE2b-256 acc7cf27432e705a19d274077ba59c24ab98f740845edbdde473ec462d1bc21d

See more details on using hashes here.

File details

Details for the file splupy2check-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: splupy2check-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for splupy2check-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9cad95250483c0149e50673c66b709ef81336ce11c59d65bc0b3dcc067eb4abf
MD5 c2f4253f711d0d152b082c591525ebf8
BLAKE2b-256 a71af5d5d03acc73059b8302dcc35cfa734a4526528faf0ba2cb472644a65e63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page