semvec/pypi-packages huggingface dataset:
prettier-printer 0.1.4
A syntax highlighting prettier printer for Python 3.6+
License: MIT
Requires Python: >=3.6.0


Prettier_Printer: A syntax highlighting prettier printer for Python 3.6+
========================================================================

This library intends to print prettier for python code as simple and intuitive as possible.

Tutorial
========
Pretty print common Python values:

.. code-block:: pycon

    >>> from prettier_printer import pprint
    >>> d = {
    ...    'example_tuple': (1, 2, 3, 4),
    ...    'word': 'Python is an interpreted programming language.',
    ...    'example dict': {'set': set([1, 2, 3, 4])}
    ...}
    >>> pprint(d, depth=10, indent=2, width=12, sort_dict_keys=True)

    {
      'example dict': {
        'set': {1, 2, 3, 4}
      },
      'example_tuple': (1, 2, 3, 4),
      'word': (
        'Python is an ',
        'interpreted ',
        'programming ',
        'language.'
      )
    }

Pretty print common Python values with syntax highlight:

.. image:: https://farm8.staticflickr.com/7803/40459058903_0469f24702_b.jpg

Installation
============

.. code-block:: shell

    $ pipenv install prettier_printer

Only **Python 3.6** is supported.
cryptofinance 0.0.1
One API connecting you to cryptocurrency exchanges, indices, on-chain and social data.
License: MIT

# CRYPTOFINANCE Python SDK

*Status:*  To be released, register [here](https://docs.google.com/forms/d/e/1FAIpQLSejlxXCsPwSIoZ3JHcfwpKXneghyd0ViRe0yicyA5eD914n2Q/viewform) to be notified when live.

This repository hosts the Python SDK for the CRYPTOFINANCE API provided by [cryptofinance.ai](https://cryptofinance.ai/).

## Installation

You can install the CRYPTOFINANCE Python SDK from [PyPI](https://pypi.org/project/cryptofinance/):

```
pip install cryptofinance
```

The sdk is supported on Python 3.4 and above.
mapreduce-py 0.5.1
"A simple multi-processing based MapReduce framework"
License: MIT
Keywords: MapReduce,functional

A Multi-processing based single-host MapReduce Framework
========================================================

This is a simple mapreduce framework.

Sample program
----------------------
.. code-block:: python

    from mapreduce import *
    from math import ceil, sqrt


    def mapper_2(item):
        return (item + 5) * 23 - 1


    def reducer_2(accumulated, item):
        return accumulated + item


    def is_prime(n):
        for i in range(2, ceil(sqrt(n))):
            if n % i == 0:
                return False
        return True


    if __name__ == "__main__":
        N = 150000
        print('* map & reduce ')
        mr = MapReducer().prefilter(is_prime).mapper(mapper_2).reducer(reducer_2, 0)
        result = mr(range(N))
        print('  MR Result  :', result)
        n = sum([(n + 5) * 23 - 1 for n in range(N) if is_prime(n)])
        print('  Validation:', n)






History
===========
0.5.1
----------
* update examples
* optimize export & imports

0.5.0
----------
* process speed optimized

0.1.0
----------
* First release