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.8.tar.gz (11.3 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.8-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: splupy2check-1.0.8.tar.gz
  • Upload date:
  • Size: 11.3 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.8.tar.gz
Algorithm Hash digest
SHA256 62e82950b4cc02572e0c46e04d31c213d6cf2f9559a743bbbf4fb67641bf53a6
MD5 c709562d48943521bdbde6131e1e2841
BLAKE2b-256 83f2ba5a051366713a1742bfbb40667c2cdd90cc2f3121cdd03474937f9fbf07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: splupy2check-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.9 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d88d6ff3ca643e89714c8328f9e242a16dfb195008123dd3288033543a8f43fc
MD5 e2c5ec8d34801b2dde0943eb18e5ac07
BLAKE2b-256 d1de8819aa20d81dec9d7d0e0f12cee2abccfe73c735e3a033de7863899d8c78

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