semvec/pypi-packages huggingface dataset:
sequence2hash 1.1.2
This tool converts a valid value in a sequence to a hash and contains a path to a valid value in the key field
Keywords: tuple dict list sequence hash key/value

# sequence2hash - Convert sequence to hash
This tool converts a valid value in a sequence to a hash and contains a path to a valid value in the key field

## Features
- Convert valid values in the sequence to hashes
- Paths showing valid values in the key field
- Valid values not (), [], {}, None, ''

## Requirements
- Does not require any third party libraries

## Installation
```Bash
pip install sequence2hash
```

## Examples
Define the sequence variable:
```Python
parameters = {
    'queryKey': '',
    'constraints': {
        'ids': [],
        'phids': (),
        'name': 'Operating platform'
        'members': ('Bunoob', 1944, 'Google'),
        'watchers': [],
        'status': '',
        'isMilestone': True,
        'icons': [],
        'colors': ['blue', '', 'red', ''],
        'parents': [],
        'ancestors': [],
    },
    'attachments': {
        'subscribers': None
    },
    'order': 'newest',
    'before': '',
    'after': '',
    'limit': {}
}
```
Transfer:
```Python
import sequence2hash
for x in sequence2hash.flatten(parameters):
    print(x)
```
Output:
```Bash
{'key': ['constraints', 'name'], 'value': 'Operating platform'}
{'key': ['constraints', 'members', '0'], 'value': 'Bunoob'}
{'key': ['constraints', 'members', '1'], 'value': 1944}
{'key': ['constraints', 'members', '2'], 'value': 'Google'}
{'key': ['constraints', 'isMilestone'], 'value': True}
{'key': ['constraints', 'colors', '0'], 'value': 'blue'}
{'key': ['constraints', 'colors', '2'], 'value': 'red'}
{'key': ['order'], 'value': 'newest'}
```

## Credits
- [Python Cookbook 3rd Edition Documentation](http://python3-cookbook.readthedocs.io/zh_CN/latest/) : Life is short and I use Python!
pyfindvs 0.6.291
Python module for locating Visual Studio

pyfindvs
========

Python client library for locating Visual Studio 2017.

Usage
=====

The basic functions are ``findall``, ``findwithall`` and ``findwithany``.

Calling ``findall`` will return a (potentially cached) list of currently installed copies of
Visual Studio 2017. Each list item is a ``VisualStudioInstance`` object with attributes for
``name``, ``version``, ``version_info`` (numeric parts of ``version`` as a tuple), ``path`` and
``packages`` (a set of the installed components).

Calling ``findwithall`` or ``findwithany`` will only return instances of Visual Studio where
all/any of the specified package names are installed.

For example::

    >>> pyfindvs.findall()
    [<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>, 
     <VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]

    >>> pyfindvs.findwithall('Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
                             'Microsoft.VisualStudio.Component.Windows10SDK.10586')
    [<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]

    >>> pyfindvs.findwithany('Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
                             'Microsoft.VisualStudio.Component.Windows10SDK.10586')
    [<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>, 
     <VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]