How to use the deepdish.__version__ function in deepdish

To help you get started, we’ve selected a few deepdish examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github uchicago-cs / deepdish / doc / source / conf.py View on Github external
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'deepdish'
copyright = '2015, Gustav Larsson, Mark Stoehr'
author = 'Gustav Larsson, Mark Stoehr'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = deepdish.__version__
# The full version, including alpha/beta/rc tags.
release = deepdish.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
github uchicago-cs / deepdish / doc / source / conf.py View on Github external
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'deepdish'
copyright = '2015, Gustav Larsson, Mark Stoehr'
author = 'Gustav Larsson, Mark Stoehr'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = deepdish.__version__
# The full version, including alpha/beta/rc tags.
release = deepdish.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'
github uchicago-cs / deepdish / deepdish / io / ls.py View on Github external
'data types, such as sparse matrices and pandas '
                              'data frames'))
    parser.add_argument('-f', '--filter', type=str,
                        help=('print only entries that match this regular '
                              'expression'))
    parser.add_argument('-l', '--leaves-only', action='store_true',
                        help=('print only leaves'))
    parser.add_argument('-a', '--all', action='store_true',
                        help=('do not abridge'))
    parser.add_argument('-s', '--summarize', action='store_true',
                        help=('print summary statistics of numpy arrays'))
    parser.add_argument('-c', '--compression', action='store_true',
                        help=('print compression method for each array'))
    parser.add_argument('-v', '--version', action='version',
                        version='deepdish {} (io protocol {})'.format(
                            __version__, IO_VERSION))
    parser.add_argument('--column-width', type=int, default=None)

    args = parser.parse_args()

    colorize = sys.stdout.isatty() and not args.no_color

    settings = {}
    if args.filter:
        settings['filter'] = args.filter

    if args.leaves_only:
        settings['leaves-only'] = True

    if args.summarize:
        settings['summarize'] = True