8.1.1.8.1.11. skimpy.utils.tabdict

[———]

Copyright 2017 Laboratory of Computational Systems Biotechnology (LCSB), Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

8.1.1.8.1.11.1. Module Contents

8.1.1.8.1.11.1.1. Classes

TabDict

Really just an ordered dict with tab completion in interactive terminals

8.1.1.8.1.11.1.2. Functions

iterable_to_tabdict(iterable, use_name=True)

Takes the items from an iterable and puts them in a TabDict, indexed by the

class skimpy.TabDict

Bases: collections.OrderedDict

Really just an ordered dict with tab completion in interactive terminals

__dir__(self)

__dir__() -> list default dir() implementation

__getattr__(self, attr)
iloc(self, ix)
skimpy.iterable_to_tabdict(iterable, use_name=True)

Takes the items from an iterable and puts them in a TabDict, indexed by the elements’ .name property

Parameters

iterable

Returns