1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
"""Scooby.
Great Dane turned Python environment detective
==============================================
A lightweight toolset to easily report your Python environment's package
versions and hardware resources.
History
-------
The scooby reporting is derived from the versioning-scripts created by Dieter
Werthmüller for ``empymod``, ``emg3d``, and the ``SimPEG`` framework
(https://empymod.github.io; https://simpeg.xyz). It was heavily inspired by
``ipynbtools.py`` from ``qutip`` (https://github.com/qutip) and
``watermark.py`` from https://github.com/rasbt/watermark.
"""
from scooby.knowledge import ( # noqa
get_standard_lib_modules,
in_ipykernel,
in_ipython,
meets_version,
version_tuple,
)
from scooby.report import AutoReport, Report, get_version
from scooby.tracker import TrackedReport, track_imports, untrack_imports
doo = Report
__all__ = [
'AutoReport',
'Report',
'TrackedReport',
'doo',
'get_standard_lib_modules',
'in_ipython',
'in_ipykernel',
'get_version',
'track_imports',
'untrack_imports',
]
__author__ = 'Dieter Werthmüller, Bane Sullivan, Alex Kaszynski, and contributors'
__license__ = 'MIT'
__copyright__ = '2019, Dieter Werthmüller & Bane Sullivan'
try:
from scooby.version import version as __version__
except ImportError: # Only happens if not properly installed.
from datetime import datetime
__version__ = 'unknown-' + datetime.today().strftime('%Y%m%d')
|