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.9.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.9-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: splupy2check-1.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 887f172a0e6c76398d095338827f16e7efad91855b63b84ea6ab033252cbea76
MD5 6ca8baf2e99e864e56a4909fb3515111
BLAKE2b-256 71d6356608c4186ca31a4264fad7fa2a9de77dd89be0a4493a76d7e87e2a72fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: splupy2check-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 beaad617a74646ece52fc0ca9646a8c92550ce6c5f826b30fe3a50b63bbb627e
MD5 4158a7c7dd03facff40c07ec9c6b1d5c
BLAKE2b-256 81f92e6f7746fc8f5bf61f85d8bf682677f2189b41cc01fcf15120b329e6a99a

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