semvec/pypi-packages huggingface dataset:
twall 0.5.1
Twitter Wall project for MI-PYT by Daniel Maly
License: MIT
Keywords: twitter

.. image:: https://travis-ci.com/DanielMaly/twall.svg?token=yoWLxXubPxheVtq154yv&branch=master
   :target: https://travis-ci.com/DanielMaly/twall.svg?token=yoWLxXubPxheVtq154yv&branch=master

TWall
=====

TWall is a simple application to display tweets returned by the
`Twitter's Search API <https://dev.twitter.com/rest/public/search>`_. You can run it from the command line to watch
newly added tweets in near real-time, or launch a simple web application on your machine that mirrors Twitter's search
feature. It supports all three modes of search offered by the API: recent, popular and mixed.

Developed for MI-PYT 2016/2017


Documentation
-------------
The module's documentation is located in the ``docs`` folder. To build HTML documentation, navigate to 
the directory, then run::

    pip install -r requirements.txt
    make html

This will create a ``_build/html`` folder containing an ``index.html`` file, which you can browse. If you don't
need the entire documentation and just want to get started quickly, follow the tutorial laid out in 
``docs/introduction.rst``.


Authors
-------

TWall is developed and maintained by `Daniel Maly <https://github.com/DanielMaly>`_


License
-------

`MIT <https://opensource.org/licenses/MIT>`_
django-bigfeat 0.1.1
Custom field to add multiple boolean features using a BigIntegerField.
License: MIT

==============
Django BigFeat
==============

Django BigFeat is custom field to add up to 63 boolean features using a BigIntegerField.

Quick start
-----------

.. code:: python

    from django.db import models
    from bigfeat import BigFeatField
    
    class ModelWithOptionalFeatures(models.Model):
        FEATURES = {
            'FEATURE_1'  : 0x0000000000000001,
            'FEATURE_2'  : 0x0000000000000002,
            'FEATURE_3'  : 0x0000000000000004,
            'FEATURE_4'  : 0x0000000000000008,
            ...
            'FEATURE_61' : 0x1000000000000000,
            'FEATURE_62' : 0x2000000000000000,
            'FEATURE_63' : 0x4000000000000000,
        }
        features = BigFeatField(masks=FEATURES)
    
    m = ModelWithOptionalFeatures.objects.get(id=1)
    print m.features.feature_1
    if m.features.feature_2:
        print m.features.feature_3 if m.features.feature_4 else m.features.feature_5
    print m.features

Notes
-----

The most significant bit (0x8000000000000000) cannot be used since
BigIntegerField is stored as a signed integer and will cause an OverflowError