semvec/pypi-packages huggingface dataset:
zenfeed 0.4.0
Zen RSS feed reader.
License: BSD

ZenFeed
=======

Zen feed reader − inspired by zencancan.

Documentation is available at <http://fspot.github.io/zenfeed/>.


Screenshots
-----------

Feed list :

![feed_list](https://cdn.mediacru.sh/85fg1zEf8fQR.png)

Feed view :

![feed_view](https://cdn.mediacru.sh/pX8d2iWXpHI6.png)

Article view :

![article_view](https://cdn.mediacru.sh/3iiUrJfCRFql.png)

Layout on smartphones :

![layout_mobile](https://cdn.mediacru.sh/2qFVC52hgB6X.png)



Todo
----

- add import/export OPML feature
- test zenfeed with mysql and postgresql
- actually remove oldest entries when threshold is exceeded
patterns 0.3
Pattern matching for python
License: BSD

Patterns 
========

Pattern matching for python. Works in Python 2.7, 3.3+ and pypy.


Installation
-------------

::

    pip install patterns


Usage
-----

.. code:: python

    from patterns import patterns, Mismatch

    @patterns
    def factorial():
        if 0: 1
        if n is int: n * factorial(n-1)
        if []: []
        if [x] + xs: [factorial(x)] + factorial(xs)
        if {'n': n, 'f': f}: f(factorial(n))

    assert factorial(0) == 1
    assert factorial(5) == 120
    assert factorial([3,4,2]) == [6, 24, 2]
    assert factorial({'n': [5, 1], 'f': sum}) == 121

    factorial('hello') # raises Mismatch

See tests for more examples.


TODO
----

- docs
- aliases for structures
- destructure objects
- name parameter
- better handling of ``Mismatch`` passing to function env
- non-strict dict matching


.. |Build Status| image:: https://travis-ci.org/Suor/patterns.svg?branch=master
   :target: https://travis-ci.org/Suor/patterns