Skip to main content

PeaSTB - Python Environment Analyzer

Project description

PeaSTB - Python Environment Analyzer

PeaSTB analyzes your current Python environment and prints a structured report.

Installation

Install from PyPI:

python -m pip install peastb

Usage

Show help:

peastb --help
usage: peastb [-h] [--version] [--analyze] [--outputfile OUTPUTFILE] [--outputfileonly]
              [--packagefile PACKAGEFILE]

PeaSTB - Python Environment Analyzer

options:
  -h, --help            show this help message and exit
  --version             Shows the current version fo the Python Environment Analyzer.
  --analyze             Analyzes the Python Environment.
  --outputfile OUTPUTFILE
                        Writes the analysis output to the given file path.
  --outputfileonly      Writes output only to the output file. Requires --outputfile.
  --packagefile PACKAGEFILE
                        Path to a text file with package names (one package per line) to check
                        imports for.

Run an environment analysis with package checks:

peastb --analyze --packagefile sample_packages.txt

Run as a module:

python -m peastb.pea01_main --analyze --packagefile sample_packages.txt

Package File Example

Example file: sample_packages.txt

# sample package list
sys
colorama
non_existing_demo_package

Version

Current version: 0.1.0a1

License

MIT © Markus Breuer.

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

peastb-0.1.0a1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

peastb-0.1.0a1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file peastb-0.1.0a1.tar.gz.

File metadata

  • Download URL: peastb-0.1.0a1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.3 Linux/6.8.0-124-generic

File hashes

Hashes for peastb-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 b735e2b2a12e9cb8de65fb6afb74e44d15a2b38830bc12bd30536435204692c9
MD5 6deeff9ebb166135217be0e2d42c15b3
BLAKE2b-256 9fdadda632121d7aac4c08887750cd923a29539e937d3cbc55982f42499f9297

See more details on using hashes here.

File details

Details for the file peastb-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: peastb-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.3 Linux/6.8.0-124-generic

File hashes

Hashes for peastb-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 e13b3f2e487783134de23508de3a2ce915e2d47684fefdb83908fdd18c975a82
MD5 4c0b4224f6e6da4590162a2b422c6f4a
BLAKE2b-256 543575d154a5246ff140469ab76570ff2f684967060f2cce504ba03ab20ee3ad

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