semvec/pypi-packages huggingface dataset:
odictliteral 1.0.0
A tidier way of coding literal OrderedDicts
License: MIT

from odictliteral import odict
==============================

Provides a nice way of specifying ordered dictionaries from Python source.

Example:

    >>> from odictliteral import odict
    >>> x = odict[1:2,3:4]
    >>> print(x)
    odict[1: 2, 3: 4]

You can use odict as a replacement for OrderedDict otherwise, eg:

    >>> y = odict( [(1,2), (3,4)] )
    >>> print(y)
    odict[1: 2, 3: 4]
    >>> x == y
    True

You should also be able to use odict in combination with OrderedDicts:

    >>> z = OrderedDict( [(1,2), (3,4)] )
    >>> print(z)
    OrderedDict([(1, 2), (3, 4)])
    >>> y == z
    True

That's pretty much all there is to it. Should be compatible with Python
2.7 and Python 3; requires the "ordereddict" module to work with Python
2.4, 2.5 or 2.6.
tabtool 0.2.0
Utility to operate with tab separated files
License: MIT

.. image:: https://travis-ci.org/pavlov99/tabtool.png
    :target: https://travis-ci.org/pavlov99/tabtool
    :alt: Build Status

.. image:: https://coveralls.io/repos/pavlov99/tabtool/badge.png
    :target: https://coveralls.io/r/pavlov99/tabtool
    :alt: Coverage Status

.. image:: https://pypip.in/v/tabtool/badge.png
    :target: https://crate.io/packages/tabtool
    :alt: Version

.. image:: https://pypip.in/d/tabtool/badge.png
    :target: https://crate.io/packages/tabtool
    :alt: Downloads

Documentation: http://tabtool.readthedocs.org

Install
-------

.. code-block:: python

    pip install tabtool

Tests
-----

.. code-block:: python

    tox

Preface
-------

Utils for tab separated files management were developed in `Yandex <http://yandex.com>`_.
Core functionality was designed and implemented by Alex Akimov.
I was working as developer there and used utils.
During that period I decided to use tab separated files format in `pmll <https://github.com/pavlov99/pmll>`_ library to handle datasets for machine learning.
After I left Yandex, I asked team to open source package.
Guys agreed, but did not do it.
As far as I needed some functionality, I started my own implementation of simple package version.
Then `Andrey Fyodorov <https://github.com/andreifyodorov>`_ (developer from the team) released `tabkit <https://github.com/andreifyodorov/tabkit>`_ version (very similar to one we had).
I dont know, whether tabkit code is supported or not, if supported, who is responsible for that.
I would like to continue development with Alex Akimov, if he would like to join.
As of now, there is implementation I write according to pep standards with python2 and python3 support.
dataview 1.0.5
A module that allows you to create views of your sequences or its slices
License: MIT
Keywords: list slice

========
dataview
========

**dataview** is a module that allows you to create views of your sequences or its slices

Install
-------

.. code-block::

    pip install dataview

To upgrade a previous installation, use:

.. code-block::

    pip install dataview

Usage && Examples
-----------------

.. code-block::

    >>> from dataview import DataView
    >>> # You have some data, it can be any sequence (str, list, bytes, tuple, etc..)
    >>> source_data = list(range(5))
    >>> # DataView is just a pointer to your source_data and start/stop/step
    >>> DataView(source_data)
    [0, 1, 2, 3, 4]
    >>> DataView(source_data, 3)
    [0, 1, 2]
    >>> DataView(source_data, 1, 5)
    [1, 2, 3, 4]
    >>> DataView(source_data, None, None, -1)
    [4, 3, 2, 1, 0]
    >>> # You can use slices (completely the same way as list slices)
    >>> DataView(source_data)[::-1]
    [4, 3, 2, 1, 0]
    >>> # Slice return a new DataView object, that points to the previous DataView
    >>> DataView(source_data)[::-1][2:4]
    [2, 1]
    >>> # You can change start/stop/step anytime
    >>> view = DataView(source_data, 0, 1)
    >>> view.start = 1
    >>> view.stop = 2
    >>> view
    [1]
    >>> # View always points to actual data
    >>> source_data[1] = 2
    >>> view
    [2]
    >>> # You can change a view source data
    >>> view.data = list(range(5))
    >>> view
    [1]