Skip to main content

A Great Dane turned Python environment detective

Project description

scooby

Build Status

A Great Dane turned Python environment detective

Scooby has rich formatting for Jupyter notebooks and rich text formatting for just about every other environment. We designed this module to be lightweight such that it could easily be added as a dependency to Python projects for environment reporting when debugging. Simply add scooby to your dependencies and implement a function to have scooby report on the aspects of the environment you care most about.

Is scooby unable to detect aspects of an environment that you'd like to know? We absolutely welcome feature requests and pull requests, so let us know what you think!

This work is derived from Dieter Werthmuller's work towards creating a version reporting tool for the empymod and SimPEG projects. This package has been altered to create a lightweight, pure Python implementation with no non-standard dependencies so that it can easily be used as an environment reporting tool in any Python library with minimal impact.

Usage

This is a toolset to easily report your Python environment's package versions and hardware resources. Usage is simply:

>>> import scooby
>>> scooby.Versions()

------------------------------------------------------
  Tue Jun 25 13:10:46 2019 MDT

         Darwin : OS
             12 : CPU(s)
         1.16.3 : numpy
          1.3.0 : scipy
          7.5.0 : IPython
          3.1.0 : matplotlib

  3.7.3 | packaged by conda-forge | (default, Mar 27
  2019, 15:43:19)  [Clang 4.0.1
  (tags/RELEASE_401/final)]

  Intel(R) Math Kernel Library Version 2018.0.3
  Product Build 20180406 for Intel(R) 64
  architecture applications
------------------------------------------------------

But you can also add addtional packages too if you'd like via the addtional keyword argument:

>>> scooby.Versions(additional='pyvista')

------------------------------------------------------
  Tue Jun 25 13:13:37 2019 MDT

         Darwin : OS
             12 : CPU(s)
         1.16.3 : numpy
          1.3.0 : scipy
          7.5.0 : IPython
          3.1.0 : matplotlib
         0.20.4 : pyvista

  3.7.3 | packaged by conda-forge | (default, Mar 27
  2019, 15:43:19)  [Clang 4.0.1
  (tags/RELEASE_401/final)]

  Intel(R) Math Kernel Library Version 2018.0.3
  Product Build 20180406 for Intel(R) 64
  architecture applications
------------------------------------------------------

Or maybe you want a whole bunch of additional packages:

>>> scooby.Versions(additional=['pyvista', 'vtk', 'appdirs',])

------------------------------------------------------
  Tue Jun 25 13:14:52 2019 MDT

         Darwin : OS
             12 : CPU(s)
         1.16.3 : numpy
          1.3.0 : scipy
          7.5.0 : IPython
          3.1.0 : matplotlib
         0.20.4 : pyvista
          8.2.0 : vtk
          1.4.3 : appdirs

  3.7.3 | packaged by conda-forge | (default, Mar 27
  2019, 15:43:19)  [Clang 4.0.1
  (tags/RELEASE_401/final)]

  Intel(R) Math Kernel Library Version 2018.0.3
  Product Build 20180406 for Intel(R) 64
  architecture applications
------------------------------------------------------

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

scooby-0.0.1.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file scooby-0.0.1.tar.gz.

File metadata

  • Download URL: scooby-0.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for scooby-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4cd1f2281c6ff6ac1f1b219811481d1a9869aceea590681bae8e223af9edb4ff
MD5 183b9317d31e977a84eb1d40774dd9e7
BLAKE2b-256 eae27a0ca53b1fb6e5ff7301942d79e515eedf93c901a933e3ae07ba96603e59

See more details on using hashes here.

Supported by

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