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.6.tar.gz (11.7 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.6-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: splupy2check-1.0.6.tar.gz
  • Upload date:
  • Size: 11.7 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.6.tar.gz
Algorithm Hash digest
SHA256 912cf6f6c72a6ad4704662ed036adfbd9dba23d9e61b817ed2e2c689dc670e6d
MD5 9e11250055ef7a17db8daf06ef6722ca
BLAKE2b-256 ec1ed909852a7e16a32440a0dbebae56ef766613a80c5ba8e1230ee9f60cb7cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: splupy2check-1.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8064515862c9a4b2293fd282c289149033de14cc35470af276fbf6cce8fffa8e
MD5 54c52f4a2af6adaefbfdad31a1872e70
BLAKE2b-256 dd4ee09a92ad7c3e90a7f668e342723758fcb232d0d9aa35898d99947511914c

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